Professional Documents
Culture Documents
Procedure:
1) MATLAB was opened.
2) To Find the Maclaurin series expansions of trignometric functions, the
following commands were entered:
syms x taylor(exp(x)) taylor(sin(x)) taylor(cos(x))
3) The following commands were entered and the ouput was obtained as
follows:
syms x
taylor(exp(-x), 'Order', 10)
taylor((sin(x)/x), 'Order', 10)
syms x taylor(log(x),
'ExpansionPoint', 1)
5) The following commands were entered :
syms x y z
f = sin(x) + cos(y) + exp(z);
taylor(f) with:
syms x y z
f = sin(x) + cos(y) + exp(z);
taylor(f , [x y z])
6) Try Maclaurin series for cotangent. Discuss, why can’t you. How to solve
it?
7) Maclaurin series for tangent, secant and cosecant was obtained
CONCLUSION: In this experiment we found out the taylor series for different
trigonometric functions and we were able to make use of MATLAB commands.