Variable use between CAS and Home.
|
08-08-2017, 04:19 PM
Post: #9
|
|||
|
|||
RE: Variable use between CAS and Home.
I have written a user defined function. It change little x to great X.
------------------------------------------------------ I have defined the Name of the function in the follow: CHANGE x to X CH x 2 X ------------------------------------------------------ #cas CHx2X(cmd):= BEGIN return subst(cmd,x = ('X')); END; #end Examples (In Mode CAS): 1. CHx2X(2*x+5*x²-5) ==> 2*X+5*X²-5 2. F1:= CHx2X(2*x+5*x²-5) ==> X-> (2*X+5*X²-5) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)