Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Re: Problem with units

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

03-18-2011
06:57 AM

03-18-2011
06:57 AM

Hi,

I'm having the following issue with the units in mathcad15:

L:=20.76m

Then when I go to repeat L later in my sheet it comes out as L=0.

Anyone got any ideas how I can solve this issue? I'm having the same problem even when I change L to Beam for example.

Thanks

Mike

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

03-18-2011
07:53 AM

03-18-2011
07:53 AM

On page 7 of 9 you have defined m as zero.

Try not to use varibles names which are units. Just call it m1 or something similiar.

Mike

10 REPLIES 10

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

03-18-2011
07:08 AM

03-18-2011
07:08 AM

Re: Problem with units

No, have a look below. Can you post the worksheet?

Mike

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

03-18-2011
07:46 AM

03-18-2011
07:46 AM

Re: Problem with units

Mike,

I've added the sheet, the problem is on page 10 and highlighted in red.

Cheers,

Mike

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

03-18-2011
07:53 AM

03-18-2011
07:53 AM

On page 7 of 9 you have defined m as zero.

Try not to use varibles names which are units. Just call it m1 or something similiar.

Mike

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

03-18-2011
07:59 AM

03-18-2011
07:59 AM

Re: Problem with units

Ahh that never occurred to me!

Thanks!!

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

12-31-2019
01:09 AM

12-31-2019
01:09 AM

Re: Problem with units

Please help me to check where i am doing wrong.

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

12-31-2019
03:42 AM

12-31-2019
03:42 AM

Re: Problem with units

That depends on what you think is 'wrong'. What did you expect as value for P or X?

You're using units rpm and s. Do you know what they mean?

In your formula for calculating P (or X) you use a division by 60 and a multplication with 2pi. What is that for?

Have you checked the ratio of X/P?

Success!

Luc

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

12-31-2019
04:00 AM

12-31-2019
04:00 AM

Re: Problem with units

As per the answer of X & P..

Values in P : N=50rpm & T= 50 sec

Answer should be : (2 * pi * N * T)/60=261.8333

but it getting : 27...

If i put the numbers instead of defined parameters, answer is right.

then why the answers of X and P are not matching..?

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

12-31-2019
04:48 AM

12-31-2019
04:48 AM

Re: Problem with units

Looks like you did not understand the unit rpm (revolutions per minute). The factor 2 pi /60 is already part of it.

So get rid of that factor and simply calculate N*T

For future questions open a new thread and keep in mind to always also attach your worksheet(s).

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

12-31-2019
04:55 AM

12-31-2019
04:55 AM

Re: Problem with units

You did not answer all questions that I formulated. This means that you do not understand yet the usage of units...

Do you know what '50 rpm' means? Note that it is VERY different from '50'.

Why does your fomula for the calculation of P use a 2pi multiplication and a division by 60?

(I see that in the mean time Werner explained the situation. I was trying to get you intrigued into finding out yourself what is going on.)

Success!

Luc