How to find the time of a sine wave based on the y position?

106 Views Asked by At

I'm trying to find an equation that allows me to find the time of x of the sine wave based on the y position.

For example:

  • The y position of 0.25 on the sine wave should equal to 0.0804 in x time
  • y0.5 = x0.1667 ((pi/6)/pi)
  • y0.75 = x0.2699
  • y1 = x0.5

and not to mention the other x values on the other side of the sine in this picture below, if it's possible.

enter image description here enter image description here

I looked everywhere as I can and tried many equations but none of them work and I can't find the equation I'm looking for that would help me get all those x values and more values in between, so I thought I could ask for help because I've been stuck on this math problem for days, thank you.

1

There are 1 best solutions below

0
On BEST ANSWER

I'm going to post this as an answer, just to leave this for anybody who might have the same trouble. Sorry for the late response; I got preoccupied with something and just kind of forgot about the forum for a good while.

Credit goes to Karl for telling me to use the arcsine in the comments above.

Here's the math and an example for anybody's perusal.

$$\sin(xπ)$$

$$a=amplitude / Y position$$

$$x = \frac{\arcsin(a)}\pi$$

$$x = 1-\frac{\arcsin(a)}\pi$$

enter image description here