Message Boards Message Boards

0
|
3355 Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Express equation results as numbers

Consider the following code:

x1c=Im[x1c1]
      x1cc=Re[x1c1]
       rr=x1cc-x1c

output: The output gets me a series of equations instead of showing me the numerical results. Could anyone tell me how to get the result of the computation in terms of real or complex numbers such as 3,456+2,345i for the output of rr?

4 Replies
Posted 4 years ago

The Wolfram language is symbolic, by default.

If you want to see numeric responses, you need to explicitly ask for numeric responses using the function N.

Of course, there are many different ways to use the function N. Check out the documentation: at https://reference.wolfram.com/language/ref/N.html.

POSTED BY: Mike Besso

Thank you Mike Besso so much.

x1c1=\!( *UnderoverscriptBox[([Sum]), (zx = 1), (100)](1/zx^s1c))

It comes out fine for the computational calculations, but it is expressed in terms of equations :

{1/10 Cos[
   10000 Sqrt[(2 \[Pi] (1 + \[Pi]))/((200 \[Pi])/541 + 40000 \[Pi]^2)]

and I want the numbers of the result of the calculus.

Thank you very much.

Posted 4 years ago

Please add the definition of x1c1 to your question.

POSTED BY: Rohit Namjoshi
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