Group Abstract Group Abstract

Message Boards Message Boards

0
|
7.6K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

How to output conditional expression to a real number

Posted 10 years ago
POSTED BY: Tianhang Zhou
2 Replies
Posted 10 years ago

You can also choose one of the solutions by replacing the constant with a value:

In[9]:= c = 
  ConditionalExpression[
   0.000145 (9.2597*10^6 - (0. + (4.332*10^10) I) C[1]), 
   C[1] \[Element] Integers];

In[10]:= c /. C[1] -> 0 // Chop

Out[10]= 1342.66
POSTED BY: David Keith

You are solving a trascendental equation. The ConditionalExpressions that you are seeing are families of complex solutions, which are parameterized by C[1], which takes integer values.

If you are interested in the real solutions you can try with Solve[fmatbal2[Np, dp], dp,Reals]

POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard