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

#1 2010-01-18 05:49:16

reuben2011
Scratcher
Registered: 2010-01-18
Posts: 2

more math functions

i think scratch should have more math functions for its more advanced users, espcially for physics games. there should be +, _, *, /, round to nearest x, sin, cos, tan, arcsin, arccos, arctan, absolute value, floor, ceiling, x to the y, xth root of y, modulus division, log base x, 1/x, x!, x converted to radians, x converted to degrees. i know some of these are already in scratch, i just felt like making a complete list of what there should be. there might be some other good math fuctions that other people might to. i think there should be some constant blocks for pi and e and other popular non-terminating decimal constants.

Offline

 

#2 2010-01-18 06:38:47

ihaveamac
Scratcher
Registered: 2007-09-22
Posts: 1000+

Re: more math functions

We do have +, -, *, /, round, sin, cos, tan, abs, 10^ and more but I can't go see now. That's all i know we have.  smile


~ihaveamac - visit ihaveamac.net

Offline

 

#3 2013-02-19 16:15:34

curiouscrab
Scratcher
Registered: 2012-06-25
Posts: 100+

Re: more math functions

You can find all these at beta.scratch.mit.edu


http://i50.tinypic.com/dopbtw.png

Offline

 

#4 2013-02-19 18:35:22

lalala3
Scratcher
Registered: 2008-10-03
Posts: 100+

Re: more math functions

curiouscrab wrote:

You can find all these at beta.scratch.mit.edu

reuben2011 wrote:

x to the y, xth root of y, modulus division, log base x, 1/x, x!, x converted to radians, x converted to degrees

Basically, everything after ceiling.


http://img515.imageshack.us/img515/9374/signature2nt.png

Offline

 

#5 2013-02-19 18:49:52

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: more math functions

We have modulus and you can easily work around 1/x.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

Board footer