Question: matlab You should try this. Write your own function expHorner based on the Horner's method pseudo-code given to you in this lab. Remember you are
You should try this. Write your own function expHorner based on the Horner's method pseudo-code given to you in this lab. Remember you are not submitting this lab, but try to complete these exercises. Your function should have the following header Integer of last term to evaluate in Taylor polynonial % ourper \%. B : Evaluated Taylor polynominl at pointin given by x degree A function H=expHorner(x,n) Create-a script file (m-file) called plotofExp. m that produces a raingle plot on the interval [4,4] using 50 equally-spaced nodes with the following curves: - ex - H2(x) - H3(x) - H5(v) Use different line styles or colours or both for evich curve. Your plot should also include an legend (see the legend function in MAILAB) that clearly indicates what cach carwo is. Your plot must include an appropriate title and itxis labcls. Save the resilting plot as expHornerp Pot-pdf
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
