How I can use the right part of any equation in Lua?
Ej.
y+4z+c=4+6j+9u
I just need "4+6j+9u"
And also, How I can store a equation???
I can`t do this
eqn=" y+4z+c=4+6j+9u"
I`ve two equal signs, How I can store this equation on a variable named eqn
Getright Function
Started by
Colombia
, Jun 06 2006 11:22 PM
2 replies to this topic
#1
Posted 06 June 2006 - 11:22 PM
#2
Posted 06 June 2006 - 11:29 PM
How I can use the right part of any equation in Lua?
Ej.
y+4z+c=4+6j+9u
I just need "4+6j+9u"
require "cas" eq = cas("y+4z+c=4+6j+9u") -- your equation, as a CAS object print( cas.getRight(eq) ) -- prints the right part (it's a CAS object too)
And also, How I can store a equation???
I can`t do this
eqn=" y+4z+c=4+6j+9u"
I`ve two equal signs, How I can store this equation on a variable named eqn
require "cas" eq = cas("y+4z+c=4+6j+9u") cas(eq .. "=>eqn") -- '=>' is the assignment key
#3
Posted 06 June 2006 - 11:43 PM
Thanks I`m reading the manual but i couldn't find about this. Thanks a lot
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users