(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

Write a matlab program to compute f'(0) for f(x)=e^x and h=1;0.1;0.01....1E-9 using the forward and central difference formula. What is the optimal h?

3. The attempt at a solution

I have no clue how to write programs in matlab, if anyone can help me get started I would REALLY appreciate it.

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab program help

**Physics Forums | Science Articles, Homework Help, Discussion**