Is this a bug or an error on my side?

ariznaf shared this problem 6 years ago
Answered

I am trying to créate a sequence of arcs.

I am using last Geogebra versión (5.0.27-3D)


If I use this sequence it Works (pi is the pi symbol, as I cannot write it in the forum):


aa=Sequence[CircumcircularArc[(0, 1, 0), (cos(t), 0, 0), (0, -1, 0)], t, 0, pi/2, .05]]


But if I try to define the increment using an expresión it doesn't


bb=Sequence[CircumcircularArc[(0, 1, 0), (cos(t), 0, 0), (0, -1, 0)], t, 0, pi/2,pi/18]]


It says "Sorry, something went wrong.Please check your input."


After that extrange things happen.

If I undo, everything is deleted, if I repeat statement, it is accepted but nothing is created.


It seems a bug to me, but I am quite a newbie.


Can anybody check the examples given and confirm if it does not work for him?

Comments (11)

photo
1

I have tried to use a variable for the increment, but it seems you cannot use a variable, just a fix value, like 0.05.


For the initial value you cannot use a variable either, or a negative number.


It seems a bug in the parser, but I am not sure.

photo
1

Hi,


bb=Sequence[CircumcircularArc[(0, 1, 0), (cos(t), 0, 0), (0, -1, 0)], t, 0, pi/2,pi/18]


doesn't work !!!???


bb=Sequence[CircumcircularArc[(0, 1, 0), (cos(t), 0, 0), (0, -1, 0)], t, 0, pi/2,pi/n]


work, with n an integer slider !!!


bb=Sequence[CircumcircularArc[(0, 1, 0), (cos(t), 0, 0), (0, -1, 0)], t, 0, 1.57,pi/18]


work !!???


bb=Sequence[CircumcircularArc[(0, 1, 0), (cos(t), 0, 0), (0, -1, 0)], t, 0.001, pi/2,pi/18]


work !!!???


It's seems a bug...

photo
1

Yes the sequence command seems to have a extrange behaviour.


The bad news is that if you use any of the not working commands given above, the file seems to get corrupted.


I now am almost sure it a bug.


As you have pointed, some combinations work but not others (it has no sense being able to use pi/n if n is a slider and not being able to use pi/18).


You cannot use a variable or a negative number in the initial value of the sequence (at least in this sequence).

photo
1

Thanks to you.


Will wait for the solution.

photo
1

Hi,

    bb=Sequence[CircumcircularArc[(0, 1, 0), (cos(t), 0, 0), (0, -1, 0)], t, 0, 4pi/9,pi/18]

seems to work fine.

I've just deleted the last t value which becomes : pi/2-pi/18=4pi/9 because for t==pi/2 the 3 points are on the same line.

Not a big problem for me if we can't create a circular arc through 3 points aligned but the alone object :

    CircumcircularArc[(0, 1, 0), (0, 0, 0), (0, -1, 0)]

does not yeld an error so my demonstration is not good !

photo
1

In projective geometry an arc degenerated to a stright line should be perfectly valid.

Any way if an object is invalid it should be rendered as undefined not crash the system.

photo
1

Hi,


Fixed for next release.


Cheers,

Mathieu

photo
1

Great!!!

Thanks for the great work.


Is there a way to get a patch for the current release?

In the nightly builds?


I would prefer to install a patch file for correcting just that bug, but probably it is not possible.


I need a way to get the sequences working.

photo
1

Please try 5.0.29.0

photo
1

Thanks a lot, now it Works flawlessly!!

© 2021 International GeoGebra Institute