Message Boards Message Boards

0
|
7327 Views
|
2 Replies
|
3 Total Likes
View groups...
Share
Share this post:

How to get an answer without square root signs?

So, basically Mathematica gives me this answer:
1/5 (3 + 6 Sqrt[3/5] + 3 Sqrt[6/5] + 3 Sqrt[7/5] + Sqrt[2] + Sqrt[11/
   5] + Sqrt[13/5] + Sqrt[14/5] + Sqrt[3] + Sqrt[17/5] + Sqrt[19/5] +
   Sqrt[21/5] + Sqrt[22/5] + Sqrt[23/5] + 16/Sqrt[5] + Sqrt[5] + Sqrt[
   26/5] + Sqrt[29/5] + Sqrt[6] + Sqrt[31/5] + Sqrt[33/5] + Sqrt[34/
   5] + Sqrt[7] + Sqrt[37/5] + Sqrt[38/5] + Sqrt[39/5] + 2 Sqrt[10])
I need this as just one number. How can I make Mathematica calculate this?
POSTED BY: Meagan Williams
2 Replies
You may also specify the number of decimal places you would like the exact numerical solution to be approximated to by calling:
N[Expression,3]

Where 3 indicates that you will receive three decimal places.
POSTED BY: Guy Mongelli
Posted 11 years ago
Just use this command;
N[Expression] or Expression//N
POSTED BY: Girish Arabale
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract