Changing the Range Over Which a Function is Displayed

eugbug shared this question 6 months ago
Answered

I have animated the movement of a point on a function and a tangent to the function at the point. The point object is linked to a slider. I want to display the derivative of the function as the tangent moves, but I want the derivative to be "revealed" as the tangent moves from left to right.Can I change the rightmost range over which a function will be displayed?

Comments (8)

photo
1

I just discovered the Locus command. Maybe I can use that?

photo
2

Try

Function(f'(x),0,a)
or post your file

photo
1

Hi,

As a complete novice... please help.

Where would I enter this function?

photo
1

in input bar or in algebra view in ver6

you can see input bar clicking menu-->view-->input bar

type function(x^2,-1,2) ie.

photo
photo
1

I tried adding that as a script command to a slider object. The problem is that every time the object updates, it creates a new instance of a function object. even if I reference an existing object g. I.e. Function(g,0,a), a being the slider.

photo
1

I'm not really sure what you want to do. Move a point on a curve and show the tangent line by that point. What else? Show the value of the derivative (slope of tangent)? And you want that to happen on a specific range?

photo
1

I solved this by putting a condition on the definition property of the function:


If(0 < x < angle, f'(x))

where "angle" is a slider object.

photo
1

This is what it looks like now:


https://www.geogebra.org/cl...

© 2019 International GeoGebra Institute