Setting a constant.

RobSimpson shared this question 6 years ago
Answered

I would like to set a constant value using the value of a formula with the argument values given by sliders. I want this value to remain constant even when the sliders change. Is there a geogebra command that I can use to do this. What about using scripting?

Comments (3)

photo
1

It mainly depends on how your formula and sliders work.

Could you attach an example, please?

photo
1

f(x)=x^5x+7

CopyFreeObject(f(5)) - gives a=57, where "a" is a name given by default, so to get Jenny=91 write:

Jenny=CopyFreeObject(f(7))

Just your usual constant from any other language, say JS.

photo
1

x^2+5x+7 of course, sorry

photo
© 2021 International GeoGebra Institute