Hi,(adsbygoogle = window.adsbygoogle || []).push({});

when I run those commands in mathematica:

y[x_,A_]:=Sin[x]+A+5

Plot[{y[x,5],y[x,6]},{x,0,5}]

z[x_]:=D[y,x]

Everything seems to go well.

But when I trie to plot the derivative:

Plot[{y[x,5],z[x]},{x,0,5}]

I allways have these errors:

Plot::plnrz[x] is not a machine-size real number at x= 2.0833333333333333`*^-7

....

What am I doing wrong ?

I allready tried to change the arguments of z[] to z[x,4], z[x,A] etc...

There's nothing about plotting derivatives on the quick tutorial.

Any help is really appreciated.

I uploaded my mathematica file here http://s47.yousendit.com/d.aspx?id=0LG6F35A7OTY2SVEC7L1T6GXA

Thanks in advance

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica question - Beginner.

Loading...

Similar Threads for Mathematica question Beginner |
---|

Mathematica Storing Mathematica output |

Mathematica Mathematica to MATLAB |

Mathematica Cannot do the integral of the Hyper-geometric function? |

Mathematica Cannot Plot This Function in Mathematica |

Mathematica While Loop in Mathematica |

**Physics Forums | Science Articles, Homework Help, Discussion**