Solved

Posted on 2006-05-20
500 Views
Hello,

I just installed Mathcad 12 for some simple timming pulley calculations. I get the software to be stuck in some wierd calculation loop that seem to take forever when I use PI (Greek letter) constant.

If I redifine the PI value myself I get a warning from Mathcad ("This expression redefines a Mathcad built-in constant") but the calculation gets done.

Exemple:

a := sin(PI)

a =

Am I doing something wrong?

Thanks in adavance for all the help.

Manuel Silva
0

LVL 44

Assisted Solution

you do realize that Sin(Pi) = 0?

AW
0

Author Comment

Is that a reason for the software to freeze?
0

LVL 26

Accepted Solution

"Am I doing something wrong?"

Probably

Now what is your provlem. A good guess is that some place you divided by 0 because, as Arthur_Wood sreported sin (pi) = 0. When you redefined pi you probably did not do it to the 15 decimal places that MathCad uses so that sin( your pi) was not quite 0.

There are a number of other consideration. Were you asking for a numerical calculation? Were you asking for a symbolic calculation? How complicated was your expression?

If the above does not answer your question give me more details or send me the complete MathCad program and I will try to run it on my machine. (assuming that your problem will translate to MathCad 8.)
0

Author Comment

The problem must have something to do with Mathcad 12 installation. I tested the above example in Mathcad 13 and it returned a = 0 as expected.

About the former problem. There were no divisions by zero. The above above example were the only expressions on the worksheet. I was asking for a numerical calculation. When I redefined PI value I got a result as precise as the PI value aproximation suplied. I got a = 0.

Thanks for your cooperation. I split the points between you two.
0

## Featured Post

### Suggested Solutions

Python tuple index error 4 58
sending sweets to asia!! 5 57
Sample Space 12 35
Energy conservation - Edward Leedskalnin 20 51
A Guide to the PMT, FV, IPMT and PPMT Functions In MS Excel we have the PMT, FV, IPMT and PPMT functions, which do a fantastic job for interest rate calculations.  But what if you don't have Excel ? This article is for programmers looking to re…
This is a research brief on the potential colonization of humans on Mars.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…