you do realize that Sin(Pi) = 0?

AW

AW

Solved

Posted on 2006-05-20

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

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

4 Comments

Probably

When I repeated your example I had no trouble whatsoever. MathCad reported a = 0.

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.)

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.

Title | # Comments | Views | Activity |
---|---|---|---|

Python tuple index error | 4 | 58 | |

sending sweets to asia!! | 5 | 57 | |

Sample Space | 12 | 35 | |

Energy conservation - Edward Leedskalnin | 20 | 51 |

This is a research brief on the potential colonization of humans on Mars.

Join the community of 500,000 technology professionals and ask your questions.

Connect with top rated Experts

**16** Experts available now in Live!