Post Reply 
How to plot a summation?
09-25-2015, 07:48 PM
Post: #5
RE: How to plot a summation?
No, didn't fix it. I tried modifying the code a bit, as to make it return the summation only when X>0 and X<10. Now it doesn't crash, but in the interval from 0 to 10, nothing is plotted, like the program didn't return anything. Here is the code:

EXPORT sumplot(X)
BEGIN
IF X < 1 THEN
return 0;
END;
IF X > 10 THEN
return 0;
END;
return CAS.sum("N","N",0,X);
END;

Maybe CAS is returning something the plotting does not understand?
Find all posts by this user
Quote this message in a reply
Post Reply 


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? - 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



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