Point coordinates changes with an InputBox

Rumburak shared this question 5 years ago
Answered

I have an mobile point

A=Point[xAxis]


and I want :

a) when point is moved on X axis in an Inputbox show x(A)

b) when I modify value of inputbox Xcoordinates changes.


Is that possible?

Comments (3)

photo
1

hi

- define a number xa and make an inputbox to show in in the Graphic View.

- define A as A=(xa,0).

Now you can drag A as well as change the value of the inputbox to define A.

chris

Files: xa.ggb
photo
1

Thank you ccambre

Yours example work great in 2D for xa and yb defined about yours example.

But, I put : C=(0,0,za) for z axis and not work ... You have sugestions ?

photo
1

Il ne sera pas deplacable. Il apareit la fenêtre de définition pour inputbox (valeur pour z axe). Mais si j'entre la valeur dans inputbox c'est bien.

© 2021 International GeoGebra Institute