Professional Documents
Culture Documents
JanMarch 2017
Please follow all the instructions carefully and submit before the deadline
+ 2 + 4 + 3
2
For value of = 1, perform the above for various different values of the step-size
= 10'2
10'3
'(
to compute error, err, as absolute difference between the true and approximate values.
1, 2.
Report value of h at which error is minimum. Also report this minimum err value
2
2!
3
3!
;
4!
>
!
pre-computed for you. Please use the vector vec to compute approximate values of cosh .
Your function should return coshVal, while taking the values of x and n as inputs. Report the
following results:
3.
4.
JanMarch 2017
Write a MATLAB code that takes in the value n and computes the above series sum S.
Please report the value S for various cases, n = 500, 1000, 5000 and 10000.
58.
Report the values of S for different values of n: 500, 1000, 5000 and 10000.
1+ 1
2 = ( + ,
1
3 = 2 +
,
1+
9.
10.
ED( E +
= E +
1+
1+
1+ 1