The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Simple CAS program
08-09-2018, 05:08 AM
Post: #1
Simple CAS program
Hi all, I am trying to write a simple CAS program, to get my feet wet and eventually write a fairly complicated Laplace transform/ matrix / resolvent thing.

My program is:

#cas
QQQ(A):=
BEGIN
RETURN CAS.factor(A);
END
#end

In the CAS screen, when I enter "QQQ(x^2-1)" it yields "factor(A)" but I want "(x-1)*(x+1)"

Could someone tell me what I am doing wrong, and maybe guide me to some documentation? I really have tried googling and RTFMing, but I have no idea.[/font]

Thanks!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Simple CAS program - wsprague - 08-09-2018 05:08 AM
RE: Simple CAS program - JMB - 08-09-2018, 12:35 PM
RE: Simple CAS program - wsprague - 08-19-2018, 05:00 AM
RE: Simple CAS program - Fabrizio R2 - 08-09-2018, 07:10 PM



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