Question 1.
Find Taylor series for ; đ(đ„)Â =Â ln(đ„)Â at x=1.
Use MATLAB to plot đ(đ„) = ln(đ„) for đ„ â (0, 5], along with Taylor approximations around đ„ = 1 with đ = 0, 2, 4, 6.
Question 2.
Find Taylor series for đ(đ„) = sin(2đ„) at đ„ = đ
Use an appropriate Taylor series to write a MATLAB function Mâfile that approximates đ(đ„) = sin(2đ„) for all x with a maximum error of 0.01. That is, your Mâfile should take values of x as input, and return values of sin(2đ„) as output, but should not use MATLABâs builtâin sine function i.e., sin.m. Hint. You might find MATLABâs builtâin function mod useful in dealing with the periodicity.