1 страниц (7 вхождений)
Problem with degrees - Сообщения
#1 Опубликовано: 20.02.2011 18:43:10
I'm using the last version over WXP and i have one problem using 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
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
#2 Опубликовано: 21.02.2011 04:26:40
Hello,
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
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
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Опубликовано: 21.02.2011 07:32:25
You 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.
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.
#4 Опубликовано: 21.02.2011 09:51:40
Hello,
[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
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
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#5 Опубликовано: 21.02.2011 09:59:12
scooter,
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.
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.
Ed
#6 Опубликовано: 21.02.2011 10:26:11
Ah yes, I forgot that sorry
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

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
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#7 Опубликовано: 21.02.2011 15:46:18
Thanks a lot i just starting to use SM and i'm not using units because i have a trouble with the complex units for the electric power in AC; W, VA, VAR seems that only W are reconized but i need all.
Well, degrees solved for now.
Well, degrees solved for now.
1 страниц (7 вхождений)
-
Новые сообщения
-
Нет новых сообщений