Problem with degrees - Сообщения
The acos and asin functions seems didn't work because i get the result "Index out of the matrix limits" it works well in radian and in certain angles like 0º, 60º and 90º but i can't get the acos(0.8) for example.
The error message is aproximated because i'm working in spanish and i get "Índice fuera de los límites de la matriz"
As in spain we use a comma as a decimal dot i changed it in the preferences but i get the same error with 0,8 or 0.8
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
Very strange. I do not have any idea what has gone wrong.
[MATH=eng]acos(0.8)=0.64[/MATH]
[MATH]acos(0,8)=0,64[/MATH]
Please double check what did you have in Tools|Optons|Interface Decimal symbol and Argument separator. Try to change it.
Regards,
Radovan
acos(0.8)must be 36.86º and i get the error
however acos(0.5) = 60º works ok. With acos(0) and acos(1) works well too but not for all angles.
In radians all is working well.
Other strange thing: if i do sin(acos(0.8)) i get 0.6 that is ok but i can't get the angle value in degrees.
I tryed with the comma and dot for decimal sign and i get the same wrong resuts for both using degrees, using radians all is ok.
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
WroteYou are working in radians, in radians works well but not in degrees:
acos(0.8)must be 36.86º and i get the error
however acos(0.5) = 60º works ok. With acos(0) and acos(1) works well too but not for all angles.
In radians all is working well.
Other strange thing: if i do sin(acos(0.8)) i get 0.6 that is ok but i can't get the angle value in degrees.
I tryed with the comma and dot for decimal sign and i get the same wrong resuts for both using degrees, using radians all is ok.
[LIVE width=256 height=239]http://smath.info/live/?file=2388[/LIVE]
Just click into the result:
- then click into the rightmost placeholder that appears
- pres CTRL+SPACE to activate Dynamic assistance
- You will see the list
- Chose Angles (the first in the list)
- Press TAB
This way you changed the results from radians (number with unit "rad" or without the unit - to angles)
Number without the units are regarded as radians - if you want angles, you have to use the unit Angle-Degree.
I hope this helped. If you can not reproduce this, I do not know what is the problem - sorry.
Regards,
Radovan
I have the same problem, 0.89 on Win7. If I change the Tools->Options->Angle Units to Degrees the the arc trig functions don't work. I get the same error message.
It appears Degrees can only be used as input to trig functions, not results. My guess.
Radovan has posted a good work around.
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator

Thank you Ed for pointing out to this.
In the stable version 0.89 there is option Tools|Options|Angle units, and you can set it to Radians or Degrees. That can cause some problems, and should be avoided. Actually, just keep the default Radians as angle units and use "deg" or "º" unit for Degrees.
In the recent Beta 0.89.8 this option does not exist anymore. Numbers without units are regarded as Radians (or we can add the "rad" as unit) and if you want Degrees you must add the "deg" or "º" unit.
Regards,
Radovan
Well, degrees solved for now.
-
Новые сообщения
-
Нет новых сообщений