scientific programming homework

profileaasaad

 

Calculate the approximate value of e^x for x=0.5 and x=2.0 using the Maclauren series approximation.

A) compare with built-in matlab function and terminate when the values agree to within .00001, and

B) compare successive iterations of the Maclauren series until they differ by less than 0.00001.

You will submit 2 M-files and one PDF showing screen shots of the code and results for all 4 cases.

    • 8 years ago
    • 5
    Answer(0)