mw99aj

24 Reputation

2 Badges

14 years, 111 days

MaplePrimes Activity


These are Posts that have been published by mw99aj

We are trying to create an animation of arrows, where we calculate the vertices of the arrow in a procedure.  We are receiving the error:

Error, (in peak_slow) cannot determine if this expression is true or false: t < -.4506938557
 

where the animate command is trying to evaluate our procedure instead of calculating the value.  The procedure is

Hello,

We ran into this problem today during our class.  It appears that the 'int' command truncates Pi at a different digit than we have set, which changes our answer. We expect the orthogonality of the two sin(Pi*x) functions, but there is a sensitive truncation error that we would like to get to the bottom of.

Here is the code:

> Digits:=10;

This is what we expect:

Page 1 of 1