How to acotate a function based on function length, not X axis

Hi. I have a function that I’ve called A
It is nothing more than a line starting from X=0 to infinity that I can change it’s elevation with the following function:

A=X x tan(B x PI/180)
Where B is a number that oscilates between -90 and 90 so the graph can show all the angles from 0 to 180 with the Y axis

I’m going to link this as english isn’t my first language and I’m sure that’s confusing:

Now, the thing is, I know how to acotate the function based on the X or Y axis, for example if I only want to see the graph from X=0 to X=30000 I can just add after the ecuation {0<x<30000}

But is it possible to acotate it in a lenght of A? Like show the line until A it reaches 30000 units in lenght, not 30000 units in the X axis

I hope I’ve made myself clear, thanks for any help

Use this settings while seeing the function to understand what’s happening

Well the formula linked also has a 5000 value to make it not start from Y=0 but Y=5000 but otherwise is the same function as I’ve linked

I’ve added a circle with radius = 30000 units, that’s the distance I would like A to be acotated to

I think this will do what you need. The polygon feature, draws a shape between the points. With only two points you will obtain a line.

1 Like

It’s exactly what I wanted thank you so much! Now to decipher how it’s done :joy::joy:


Okay there’s one thing I don’t understand
Why the 5000?

Oh it’s the position so it starts at Y=5000 okay jaja

The 5000 is the y-value for the center of your circle.

1 Like

Do you know if there is any function like polygon that can make an arc going from Red point to Black point?

Found it:

This is the result:

If you reset the center to (0,0). You can use a polar inequality and actually shade the sector instead of just the arc.

1 Like