Why there is a difference between trignometry and matlab answers
Show older comments
we know that
radian ×pi/180=degree but when i calculated sin(90) that is 0.8940 and multiplied it like sin(0.8940×pi/180) give me 0.0156 not 90
1 Comment
"but when i calculated sin(90) that is 0.8940"
The function sin's input is in radians. What possible significance do you see in calculating sine of 90 radians ? Do you perhaps mean to calculate sine of 90 degrees ? If so, the conversion from degrees to radians is simple:
sin(valueInDegrees*pi/180)
or simpler:
sind(valueInDegrees)
"...sin(0.8940×pi/180) give me 0.0156 not 90"
Regardless of its input units, what sine function could possibly have 90 as an output value?
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!