This preview shows page 1. Sign up to view the full content.
Unformatted text preview: much credit as I can receive. %Make the first plot plot(x,f1) hold on plot(x,f2) legend('n=20','n=50') title('Taylor series for varying n values') xlabel('x') ylabel('f(x)') %make the second plot plot(x,f1) hold on plot(x,ln(x+1)) legend('x','ln(x+1)') title('Approximated Taylor series vs. Actual') xlabel('x') ylabel('ln(x+1)')...
View Full Document
- Spring '12