Problem with the Locus command

josipk shared this question 3 weeks ago
Answered

So, I have a problem with the Locus command in my applet (in the attachment). I am trying to visualize domain and range with tracing point and using command Locus. The problem occurs in several functions:


  • Function "Racionalna 1" - I figured range is shown only where the point on the function is visible, but the same doesn't apply to the domain. The domain is actually correctly shown, the range isn't. Of course, I can show domain and range "manually" using the If() command, but I was wondering if I can do it without manually plotting?
  • Function "Iracionalna 1" - point on the function is not even defined until I redefine it. And by redefining I mean "double click in Algebra View, and press Enter without changing anything". Locus is not working in this part at all!
  • Function "Eksponencijalna" - locus is shown even if the point on the function is not visible! Same thing I want for function "Racionalna 1"
  • Function "Logaritamska" - locus that is showing domain is only on the left, but on the right. And again - the domain for the left part is only for the area where the function is visible.

Please, help me if I am doing something wrong. Or is it a bug? :)

Comments (5)

photo
1

Locus() only moves the point on what's visible. Does that help?

photo
1

In one case it acts like that, in another, it shows the entire domain. Take a look at the applet I have attached. Example "Eksponencijalna". It shows even the part where the function is visible. In some cases, it doesn't show at all ("Iracionalna 1") or shows it partially ("Logaritamska"). :/

photo
photo
1

Better when the moving point of locus are ever defined

see the attached

if there is a case that it does not work you can create a list of points in xAxis, then select one point with f() and use it for defining A

Files: foro.ggb
photo
1

Someone needs to build you a golden statue! :) Thank you very much! :)

photo
1

f111d3c328c95a731d57a222e3e44452

yes

photo
© 2021 International GeoGebra Institute