Groups
Groups
Sign in
Groups
Groups
FriCAS - computer algebra system
Conversations
About
Send feedback
Help
number instead of expression
9 views
Skip to first unread message
68th
unread,
Sep 27, 2023, 10:53:27 AM
9/27/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to '68th' via FriCAS - computer algebra system
Hello,
sum2 := sum(cos(%pi*i/n), i = 1..n)
eval(sum2, n=10)
gives me an expression. How do I get a real number instead?
Waldek Hebisch
unread,
Sep 27, 2023, 11:08:06 AM
9/27/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to '68th' via FriCAS - computer algebra system
After the to lines above use:
numeric(%)
--
Waldek Hebisch
68th
unread,
Sep 28, 2023, 10:55:30 AM
9/28/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fricas...@googlegroups.com
> numeric(%)
Thank you.
Reply all
Reply to author
Forward
0 new messages