List Members,
I have a problem with Float:
****************************************************************************
xxxxxxxxxxxx$ fricas
Checking for foreign routines
AXIOM="/opt/local/lib/fricas/target/x86_64-apple-darwin15.6.0"
spad-lib="/opt/local/lib/fricas/target/x86_64-apple-darwin15.6.0/lib/libspad.so"
foreign routines found
openServer result 0
FriCAS Computer Algebra System
Version: FriCAS 1.3.2
Timestamp: Thu Aug 10 14:53:04 UTC 2017
-----------------------------------------------------------------------------
Issue )copyright to view copyright notices.
Issue )summary for a summary of useful system commands.
Issue )quit to leave FriCAS and return to shell.
-----------------------------------------------------------------------------
(1) -> f := integrate(sqrt(1 + y^2 + (1- z)^2),z)
<snip>
Type:
Union(Expression(Integer),...)
(2) -> g := eval(f,[y=1]) - eval(f,[y=z])
<snip>
Type:
Expression(Integer)
(3) -> h := eval(g,[z=1]) - eval(g,[z=0])
<snip>
Type:
Expression(Integer)
(4) -> sqrt(2)::Float
(4) 1.4142135623_730950488
Type: Float
(5) -> h :: Float
Cannot convert the value from type Expression(Integer) to Float .
****************************************************************************
Can you help me convert the result (h) to floating point?
Thanks,
Jalaluddin
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.