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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Help! "This variable is undefined"

dpons
1-Visitor

Help! "This variable is undefined"

I'm trying to use Mathcad to solve a series of equations. I keep getting the error message WhatsApp Image 2017-04-08 at 4.49.36 PM.jpeg"This variable is undefined" Any tips?

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:dpons)

1) You forgot to type multiplication dots when calculating A.t * (....). If you write A.t(...) then A.t is interpreted as function.

2) You have a unit mismatch in your second equation. The first summand has to be multiplied by a length (I had simply multiplied by 1m which sure is not correct)

View solution in original post

4 REPLIES 4
Werner_E
25-Diamond I
(To:dpons)

1) You forgot to type multiplication dots when calculating A.t * (....). If you write A.t(...) then A.t is interpreted as function.

2) You have a unit mismatch in your second equation. The first summand has to be multiplied by a length (I had simply multiplied by 1m which sure is not correct)

dpons
1-Visitor
(To:Werner_E)

Thank you! Very helpful.

It intrigued me that your first solve block worked but the second one didn't.  I found two things from Werner's unit balance:

  • , and
  • You need to define A_t and A_s the same: 

These, along with Werner's fixes . . .

Announcements

Top Tags