{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Approximating functions on $R^2$\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: **demapp02.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-Oct-22\n", "
\n", " | Numerical | \n", "Analytic | \n", "
---|---|---|
Function | \n", "0.53228 | \n", "0.53228 | \n", "
Partial 1 | \n", "-0.29079 | \n", "-0.29079 | \n", "
Partial 2 | \n", "-0.53228 | \n", "-0.53228 | \n", "
Partial 11 | \n", "-0.53223 | \n", "-0.53228 | \n", "
Partial 12 | \n", "0.29079 | \n", "0.29079 | \n", "
Partial 22 | \n", "0.53223 | \n", "0.53228 | \n", "