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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

how to solve for variable with units

MC_BT_18
10-Marble

how to solve for variable with units

Hi guys!

I'm new here, trying to learn the basics of mathcad prime 4. I'm having trouble solving what I thought was a simple operation.

 

I'm trying to get a numerical value for k, but I can't make it work. I tried looking in the help and googling, but I'm not getting any closer. I know the answer is probably simple, but I'm just not finding it. So I was hoping for some advice and help on how to write this stuff in mathcad so it understands what I want to do..

 

One last thing, k is a factor in wind resistance (Wind resistance = k * velocity)

 

EDIT: I tried removing all units, which seems to work. But then I have to reassign all my units again, which is rather annoying.. I believe there is a way, which I'm just not seeing (yet)

ACCEPTED SOLUTION

Accepted Solutions

Updated worksheet, with the solution 🙂

View solution in original post

4 REPLIES 4
RichardJ
19-Tanzanite
(To:MC_BT_18)

The symbolic solver does not understand units, so the numeric solve block is the best option. You need to multiply the guess value of k by units of kg/s. This should be obvious, because the units in the exponential must cancel.

Well, I tried assigning my guess value for k a unit of kg/s, but it still won't work. I end up with the error that the units aren't compatible..

 

EDIT: Just got help from support. Now it works, by making the function v(t) to v(t,k) instead

RichardJ
19-Tanzanite
(To:MC_BT_18)

Sorry. I noticed v(t,k) problem, but forgot to mention it.

Updated worksheet, with the solution 🙂

Announcements

Top Tags