Home
Home
Apps
Apps
Ask
Ask
Manual
Manual
Share
Share

Sin and signs


#1

Doh. Never mind. I had prefs set to Radians.!

How can I avoid the sign changes when calculating the Sin() of these values?

I am looking to get the Sin(List of values)

[from MathStudio on MacOS Mojave:]

s=3:15

[3,4,5,6,7,8,9,10,11,12,13,14,15]

180/s
[60,45,36,30,25.7142857142857117,22.5,20,18,16.3636363636363633,15,13.8461538461538467,12.8571428571428559,12]

Sin(180/s)
[-0.3048106211022167,0.8509035245341184,-0.9917788534431158,-0.9880316240928618,0.5493151871308894,-0.4871745124605095,0.9129452507276277,-0.7509872467716761,-0.6096929024372429,0.6502878401571169,0.9579536870404376,0.2866921366840826,-0.5365729180004349]

But some values are returned as negative and it is not clear to me why.