Post Reply 
BUG with e^x in CAS in program
06-13-2014, 03:17 PM
Post: #3
RE: BUG with e^x in CAS in program
(06-13-2014 02:39 PM)Tim Wessman Wrote:  Could you please elaborate how you are making this and where you are calling it from?

Yes I can. The program to ilustrate the problem is also in my previous post:
EXPORT test1(f,v)
BEGIN
diff(f,v);
END;
I run this program in CAS mode. All functions of f(x) that do not include the exponential function ?*e^(?*x) as an argument to test1 seam to give the correct answer and run without error. As soon as f(x) includes e^x the prog1 gives me the error "Error: Bad argument type". The same f(x) run in CAS on command line ex. diff(x*a*e^(b*x^s),x) gives the correct answer and no problems. Only f(x) with exponential function as an argument to prog1() gives the error. For me it looks like in program environment there is some kind of problem accepting e^(x) included in argument.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
BUG with e^x in CAS in program - John P - 06-12-2014, 09:36 PM
RE: BUG with e^x in CAS in program - John P - 06-13-2014 03:17 PM



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