Post Reply 
Prime Python 101
02-23-2022, 12:43 PM
Post: #3
RE: Prime Python 101
That sounds good.

If I wanted to call cas for symbolic computation I think the "from cas import *" will do the trick.
Sadly there is no help available for the function so maybe someone can help?
Say I want to calculate '(x-2)*(x+3)':

Using the console i.e. numeric view inside the app I try a naive approach

>from cas import *
>caseval(CAS.simplify("(x-2)*(x+3)"))

unfortunatly does not work.

- CAS.simplify is automatically generated when I use Simplify from the toolbox

- I noticed that the xtphin-key uses capital X so I type x using the keyboard.

Any ideas? What is the difference between xcas-command and caseval-command?

thanks a lot
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Prime Python 101 - hape - 02-23-2022, 08:42 AM
RE: Prime Python 101 - toml_12953 - 02-23-2022, 09:54 AM
RE: Prime Python 101 - hape - 02-23-2022 12:43 PM
RE: Prime Python 101 - roadrunner - 02-23-2022, 05:06 PM
RE: Prime Python 101 - Thomas_Sch - 02-23-2022, 02:25 PM
RE: Prime Python 101 - hape - 02-24-2022, 05:48 AM
RE: Prime Python 101 - Thomas_Sch - 02-24-2022, 08:34 AM
RE: Prime Python 101 - roadrunner - 02-24-2022, 02:28 PM
RE: Prime Python 101 - parisse - 02-25-2022, 08:20 PM



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