making curve stay

lawrence shared this question 1 year ago
Answered

Need to make a complete piecewise function f which is supposed to be a square of sides a, b,c,d. As slider v moves from value 0 to 4 only one part of required square appeared. Any help or suggestion is much appreciated. thanks

Best Answer
photo

I am sure there is better method for this

Files: foro.ggb

Comments (3)

photo
1

Please check your intervals. The end points of each interval for v are both defined twice in the component functions a,b,c,d or not defined at all in f. So for v=1, 2, 3, 4 f is undefined.

I'd suggest using two parameters, one for the segments definition, and another one to display them, because each segment is defined to exist only for some values of the parameter v. This means that they cannot be displayed all together, because each one of them doesn't exist for all v.

photo
2

I am sure there is better method for this

Files: foro.ggb
photo
1

Thanks so much !

photo
© 2021 International GeoGebra Institute