Community Profile

photo

Tony Gillard


Last seen: meer dan 2 jaar ago Active since 2019

Statistics

Content Feed

View by

Question


Write a MATLAB code to estimate the exponential function. Inputs should be x and n. The outputs must include approximate value, true value, error, absolute error, and relative error.
This is what I have but it's not working. function e_to_x = exp_taylor(x,n) e_to_x = 0; for k = 1:n e_to_x = e_to_x + (x^(k-...

meer dan 4 jaar ago | 1 answer | 0

1

answer