If I know sin(alpha), how to get alpha out of it?
For instance, I input:
@a= sin(260);
If I write
@b= degrees(asin(@a));
Shouldnt I get 260 back? But I get 43.0973 instead
Is there way to get angle if I already know sin(angle) ?
Is there way to get angle if I already know sin(angle) ?
1298 2 1-
- kamasali
- Member
- 6 posts
- Joined: June 2019
- Offline
-
- jsmack
- Member
- 8177 posts
- Joined: Sept. 2011
- Offline
kamasali
If I know sin(alpha), how to get alpha out of it?
For instance, I input:
@a= sin(260);
If I write
@b= degrees(asin(@a));
Shouldnt I get 260 back? But I get 43.0973 instead
Is there way to get angle if I already know sin(angle) ?
sin() takes an angle in radians (in vex). Modifying your first function to take the sin of 260 degrees converted to radians will still not get 260 back in the second function as the domain of arcsin is -pi/2 to pi/2 (-90 to 90). The arcsin will result in the equivalent angle within the defined range, in this case -80 degrees.
-
- kamasali
- Member
- 6 posts
- Joined: June 2019
- Offline
-
- Quick Links

