Uploaded by brk klc

homework 97b0e9f25551ca63f27ca32376596ab3

advertisement
MATH224 HW
Homework must be solved using Microsoft excel with functions in the software and the excel file has to
be submitted on moodle.
1. Solve the following initial value problem over the interval from t= 0 to 2 where y(0) = 1. Display
all your results on the same graph.
a) Analytical solution (you can use wofram alpha free on web or other software to find the analytical
solution) h = 0.1
b) Use Euler’s method h=0.1
c) Use Heun’s method without iteration h=0.1
2. Use least square regression to fit a) linear, b)second order polynomial and c) exponential equation
to the data given below. Find R2 for each of the cases. You can use “add trendline” function of
excel to simply solve this problem. Provide plots of data points and fitted equations.
x
0
1
2
3
4
5
6
7
8
9
10
y
5
21
38
44
65
75
82
95
105
122
150
Download