The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: "Not enough input arguments."?
Replies: 4   Last Post: Nov 27, 2012 2:16 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 1
Registered: 11/21/12
"Not enough input arguments."?
Posted: Nov 21, 2012 9:52 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I am working on a problem that says: Calculate the 2nd and 3rd degree Taylor polynomials for the function f(x)=ln(1+x) about the point a=0 Plot these polynomials and the function on the interval -1<x<3

This is what I have so far. I thought it was right, but Matlab said "Not enough input arguments." What does that mean, and I how do I fix it?
>> figure(1);clf;
P2= x-(x^2/2)!;
P3= x-(x^2/2)+(x^3/3)!;
title('The function and the 2^{nd} and ^{rd} order Taylor Polynomials')
title('Errors in the two Taylor Polynomials')

Thanks in advance!:)

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.