Post Reply 
using diff() in a program
05-08-2016, 01:13 PM
Post: #3
RE: using diff() in a program
(05-08-2016 11:15 AM)roadrunner Wrote:  Try these changes:

1. change X to lower case
2. use double quotes for the equation
3. store it in a local variable
4. run diff from the CAS

Code:
EXPORT ABCD()
 BEGIN
 LOCAL temp;
 "3*x+1"▶temp;
 PRINT(CAS.diff(temp));
END;

Everything mentioned may not be required, but those are rules I generally follow.

In the articles section Mr. Han has a good post about running CAS functions from a program.

-road
does not work
[Image: erro10.png]

Leo

Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
using diff() in a program - hpfx - 05-08-2016, 09:18 AM
RE: using diff() in a program - roadrunner - 05-08-2016, 11:15 AM
RE: using diff() in a program - jrozsas - 05-08-2016 01:13 PM
RE: using diff() in a program - roadrunner - 05-08-2016, 11:56 PM
RE: using diff() in a program - jrozsas - 05-09-2016, 12:52 PM
RE: using diff() in a program - informach - 05-08-2016, 02:13 PM
RE: using diff() in a program - DrD - 05-08-2016, 03:03 PM
RE: using diff() in a program - hpfx - 05-08-2016, 08:47 PM
RE: using diff() in a program - DrD - 05-08-2016, 09:46 PM
RE: using diff() in a program - informach - 05-09-2016, 12:14 AM
RE: using diff() in a program - roadrunner - 05-09-2016, 01:05 PM
RE: using diff() in a program - leprechaun - 05-10-2016, 09:56 AM



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