How to plot a summation?
09-26-2015, 03:27 AM
Post: #8
 Didier Lachieze Senior Member Posts: 1,648 Joined: Dec 2013
RE: How to plot a summation?
First rule when dealing with CAS functions: avoid using upper case single letter variables such as N or X for undefined variables, use lower case variables such as n or x instead to avoid unwanted side effects. On the Prime upper-case single letter variables are predefined as reals with a default value of 0.

You don't need a program, you can do in the function app F1(X):=CAS.sum(n,n,0,X)
and you will plot steps between each integer value of X *.

If you want a nice continuous curve you can do in CAS: f:=sum(n,n,0 x)
and in the function app: F1(X)=f(X)

Do you see the difference in what you're plotting ?

*an interesting mix of lower case undefined CAS variable (n) and upper case app variable (X).
 « Next Oldest | Next Newest »

 Messages In This Thread How to plot a summation? - RodrigoPontes - 09-25-2015, 12:46 PM RE: How to plot a summation? - roadrunner - 09-25-2015, 05:25 PM RE: How to plot a summation? - RodrigoPontes - 09-25-2015, 07:14 PM RE: How to plot a summation? - roadrunner - 09-25-2015, 07:29 PM RE: How to plot a summation? - RodrigoPontes - 09-25-2015, 07:48 PM RE: How to plot a summation? - Tim Wessman - 09-25-2015, 09:25 PM RE: How to plot a summation? - RodrigoPontes - 09-25-2015, 10:06 PM RE: How to plot a summation? - Didier Lachieze - 09-26-2015 03:27 AM

User(s) browsing this thread: 1 Guest(s)