This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-01-05 23:59:45

Nlucia
New Scratcher
Registered: 2013-01-01
Posts: 2

Math ASIN function

Hello all, I'm a newbie here and love this Scratch programming.
While learning this new language, I decided to learn while practicing with a program from my spreadsheet, but I wonder if there is something I am doing wrong with the asin function; for instance asin(0.3243243243243243) should return the answer of 0.3302973... but in scratch I am getting an answer of 18.92464441605123.

Please advise.
Nlucia

(asine) of (0.3243243243243243)

Offline

 

#2 2013-01-06 00:08:35

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Math ASIN function

Hi Nlucia,

Scratch calculates trig functions in degrees, but you're calculating trig functions in radians. Just switch over to using degrees.  smile


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

Board footer