There could be some more like...
Factorial - The number, times its previous, repeated until 1 (ex. 6! is 720 because 6*5*4*3*2*1=720)
Double Factorial - The number, times it's previous by 2, repeated until one - or basically for an odd number, all of the odd ones until 1, and for even all of the even ones until to (ex. 5! is 15 because 5*3*1=15)
Exponents - 3 to the power of 3, for example. That would be 3*3*3=27
LCM/LCD (Least common multiple/denominator)
GCF (gratest common factor)
They could all be handy...althnough their possible with long algorithms.
Any other ideas I should add?
Last edited by Lucario621 (2009-11-24 14:56:27)
Offline
All of these are good ideas... imagine the power!
The problem with factorials is that they quickly get big. Computing 917859281! requries a lot of space.
pinochio, your idea is an exponent. A to the power of 5 is written as A5, with the 5 smaller and on the top-right of the A.
But anyway, great ideas!
Offline
I absolutely agree.
Streak, a Scratch modification by billyedward, has all of those functions except factorial, I think, but unfortunately you can not upload it to the website. But at least it has the blocks....
Last edited by cocoanut (2009-11-23 23:38:16)
Offline
Chrischb wrote:
All of these are good ideas... imagine the power!
The problem with factorials is that they quickly get big. Computing 917859281! requries a lot of space.
pinochio, your idea is an exponent. A to the power of 5 is written as A5, with the 5 smaller and on the top-right of the A.
But anyway, great ideas!
FAIL... I forgot the math-y term...
Offline
cocoanut wrote:
greenflash wrote:
What about a logarithm block? That would be awesome!
They have that.....
http://img214.imageshack.us/img214/8753/logr.gif
If they have those, why not have an exponent block? They're related.
Offline
Just include all the math functions from this page and it would be perfect
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Math.html
Offline
cocoanut wrote:
greenflash wrote:
What about a logarithm block? That would be awesome!
They have that.....
http://img214.imageshack.us/img214/8753/logr.gif
Oops! I forgot about that!
Offline
archmage wrote:
Just include all the math functions from this page and it would be perfect
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Math.html
Those look complicated and useless to me, but I bet some scratchers might just adore them. And if it's already used in different programming languages, than it should be doable in scratch...
Offline
They are all useful. However, many are not necessary because scratch only has 1 number variable type.
Offline
archmage wrote:
They are all useful. However, many are not necessary because scratch only has 1 number variable type.
Umm...what does that mean?
Offline
Lucario621 wrote:
archmage wrote:
They are all useful. However, many are not necessary because scratch only has 1 number variable type.
Umm...what does that mean?
Does it use other types of numbers...?
Offline
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/datatypes.html
Those are all the variable types in java. They have different limits on what values can be assigned to them. When doing general programming, you would use the double variable for numbers.
Offline
Right, I'm bumping this. This isn't one of those ridiculous ideas you see all the time.
Offline
Yeah... HAVE YOU? No mod or admin has posted here. If this is your way of saying 'Well as great as these suggestions are, but we can't really do that, and/or it will be complicated for new people..." without hurting our feelings or something, than its a pretty lame way. I'm a man, and my feelings can take quite a punch
Offline
Lucario621 wrote:
I'm a man, and my feelings can take quite a punch
XD
Maybe they'll read this thread sometime later. They don't ignore the Suggestions section, don't they?
Offline
technoguyx wrote:
Lucario621 wrote:
I'm a man, and my feelings can take quite a punch
XD
Maybe they'll read this thread sometime later. They don't ignore the Suggestions section, don't they?
The Scratch Team does not ignore the Suggestions. They are just busy. Imagine, being the owner/creator of a community this big. You would have to be doing way more stuff than what is usually to be done by regular members.
Offline
Or they could just give us a for loop... Then we could do factorials/doublefactorials
I cant imagine any scenario however where LCM/HCF would be useful :S
Offline
DawnLight wrote:
technoguyx wrote:
Lucario621 wrote:
I'm a man, and my feelings can take quite a punch
XD
Maybe they'll read this thread sometime later. They don't ignore the Suggestions section, don't they?The Scratch Team does not ignore the Suggestions. They are just busy. Imagine, being the owner/creator of a community this big. You would have to be doing way more stuff than what is usually to be done by regular members.
But wouldn't you imagine that they would give some sort of feedback?
Offline