Problem Displaying Quadratic Inequalities

cemccourseware shared this question 1 year ago
Answered

In the following app I have 4 inequalities (two linear and two quadratic) defined in a spreadsheet.

Clicking "Try Another" cycles through the four.

I do not understand why, in the case where the inequality is quadratic, the inequality doesn't display.

Interesting note, it works if I delete the isACorrect and isBCorrect boolean variables. But why should those boolean variables impact whether or not an object is shown?

Thanks for your thoughts!

Comments (5)

photo
1

las propiedades de un objeto se pierden cuando ese objeto es incluido en una lista; por eso aunque A4 tenga un relleno dicho relleno es perdido cuando es considerado el tercer elemento de A2:A5.

lo mejor para tener visibles las propiedades de un objeto es ocultarlo o mostrarlo segun un indice como en el adjunto

mira en propiedades "condition to show object" para A2,A3,A4,A5

Files: foro.ggb
photo
1

Thank you. I implemented your suggestion but I still have the same problem. The problem goes away if I again delete my boolean variables. I noticed in your attached app you do not have the boolean variables.

photo
1

the problem appears when you write A4(A) using theInequality(A)

I can not solve it. possible bug

photo
1

there was a problem of updating. I tried updateconstruction() but it did not work.then (after tens of hours) I thought in zoomin(1) for updating the view of objects and it WORKED

see the last line in script of button

Files: foro.ggb
photo
1

Wonderful! Thank you!

© 2020 International GeoGebra Institute