cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Variable undefined, what am i doing wrong

rscott
6-Contributor

Variable undefined, what am i doing wrong

I have no idea what im doing wrong as usual with Mathcad. I have been forced to go back to Mathcad 15 because i no longer have prime.

Why am I getting an error that says undefined variable.

 

I am defining a few variables above that are hard set

 

 

 

 

 

 

 

Defined above
Rin:= 100
DeltaV := .04

Intial Guess

out:=100

given
V = DeltaV * (out/Rin)
Av = out / Rin

find (V,Av) = 

And all i get is variable undefined 


 

 

 

 

 

 

 

Im sorry, I don't know why it wont let me post the code. The sudo code is above I have double and tripled checked syntax. I am obviously not getting this. I absolutely hate 15 I can do this in prime with my eyes closed  

2 REPLIES 2
LucMeekes
23-Emerald III
(To:rscott)

If you want to solve V and Av, you HAVE to provide initial guesses for V and Av...

LucMeekes_0-1576446627353.png

 

 

Success!
Luc

Werner_E
25-Diamond I
(To:rscott)

Obviously you are missing the guess values for the variables you are looking for.

I wonder why you are using a solve block for this, as you could calculate Av and V also directly using the values you defined earlier.

Werner_E_0-1576446985573.png

out is NOT a guess value, as you write, because out is not a searched for variable. So out will hold its initial value 100 throughout.

Looks like you had something different in mind.

 

You sure should be able to attach your Mathcad worksheet. What problem do you experience when you try to attach it here (you sure can't embed it, of course) ?

 

BTW, switching from Prime to Mathcad 15 is not a step backward. Rather the opposite, given that MC15 is much more capable.

Announcements

Top Tags