{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Compute fixedpoint of $f(x) = x^{0.5}$\n", "\n", "**Randall Romero Aguilar, PhD**\n", "\n", "This demo is based on the original Matlab demo accompanying the Computational Economics and Finance 2001 textbook by Mario Miranda and Paul Fackler.\n", "\n", "Original (Matlab) CompEcon file: **demslv03.m**\n", "\n", "Running this file requires the Python version of CompEcon. This can be installed with pip by running\n", "\n", " !pip install compecon --upgrade\n", "\n", "Last updated: 2022-Sept-04\n", "
\n", " | Time | \n", "Norm of f | \n", "x | \n", "
---|---|---|---|
Newton | \n", "0.100112 | \n", "7.083223e-14 | \n", "1.0 | \n", "
Broyden | \n", "0.899744 | \n", "7.837671e-09 | \n", "1.0 | \n", "
Function | \n", "0.199771 | \n", "5.071073e-09 | \n", "1.0 | \n", "