Skip to main content
1-Visitor
March 20, 2020
Question

How to assign solved numerical value to use in the formulas?

  • March 20, 2020
  • 6 replies
  • 2859 views

Hi, 

I am trying to use solve function to calculate variable's value, but I do not know how to assign this for further calculations. 

 

Please see attached.

 

Thanks

6 replies

23-Emerald I
March 20, 2020

Your top expression,  fco :;  (xxxx) solve, C  will do the trick, it returns your answer.

 

BUT:  Mathcad symbolics is weak.  It doesn't understand units.

 

Try this:

Capture.JPG

Attached as Prime 4

Artiom1-VisitorAuthor
1-Visitor
March 23, 2020

Thank you Fred. It makes sense that rearranging the formula I could get the result assign to the variable and use that in other formulas. But is there a way for Mathcad to rearrange that for me and use that figure linked to other formulas?

 

This equation is quite simple, but if we imagine having very complex one, we wouldn't want to rearrange the formula manually as we have a software for that.

 

Thanks for your help!

 

23-Emerald I
March 23, 2020

Artiom;

 

Werner has shown you how to do what you wanted.  (Since I am constrained to Prime Express, where symbolics are not possible, I had to resort to high school algebra.)

 

I am surprised that Werner didn't extrapolate his solution one more step:  You can assign a function to the symbolic expression.  Instead of just Cinput, put Cinput(fco,Lin) on the left hand side (put the whole symbolic line ABOVE where you define what the frequency and inductance values are.)  Now you can solve for the capacitor value that  satisfies any combination of frequency and inductance.

25-Diamond I
March 21, 2020

You have to assign the result to the correct variable.

Try this:

Werner_E_0-1584782977341.png

 

Artiom1-VisitorAuthor
1-Visitor
March 23, 2020

Hi Werner!

 

You are genius! the solution is always in its simplicity!

Thank you! works great!