PLEASE have a ((10)^(2)) block!!
and no matter what people say about how you can do
[blocks]
<set{ product }to( 1
<repeat( exponent
<set{ product }to( (( product <*> num ))
<end>
[/blocks]
to do the same thing for any WHOLE NUMBER exponent, its basically like not having a [blocks](( <*> ))[/blocks] block, and saying that instead you can just do
[blocks]
<set{ sum }to( 0
<repeat( factor
<set{ sum }to( (( sum <+> num ))
<end>
[/blocks]
and guess what? its not possible this way to multiply 0.7 by 35.78! because neither are Whole Numbers. OR -5 by -7, because neither are whole numbers!
So, the way some people say you can do it won't work if you want to do:
2^(-3) [equal to 1/2^3]
2^(1/3) [equal to the cube root of 2]
And it is extremely annoying sometimes when you are working with distance formula and other things to have to duplicate long arithmetic expressions.
Offline
How to make a Calculator work
1. Make Three Varibles
<{ First number }>
<{ Second number }>
<{ NUMBER TOTALY }>
Then make the script
<when green flag clicked>
Ask "Whats your first number going to be"
<set{ First Number }to Answere
Then ask " And your Second Number"
<set{ Second Number }to Answere
<say[ Right i am calculating your Totaly ]for( 2)secs>
<set{ NUMBER TOTALY }to( (( First Number <+> Second Number ))
<say[ Right your totaly is <{ NUMBER TOTALY }> ]for( 10 )secs>
And thats how to make it!
Offline
The exponent block idea would be useful.
Last edited by Kileymeister (2010-12-27 11:58:37)
Offline
I support Though it would make factorial finders and such too easy
Offline
Nth root can be done!
from Paddle2see,
([10^ v] of (([log v] of (X))/(Y)))where X is the base and Y is the root
([10^ v] of (([log v] of (X))/((1)/(Y))))and here y is the power and X is the base
Last edited by thebriculator (2012-07-06 17:12:15)
Offline
Lucario621 wrote:
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
Well, you're now a Mod, so WHAT NOW.
Offline
In scratch 2.0 you can make your own blocks. Even though it's stack-blocks only, the basic workaround is to have a variable called "return".
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.)
Just round to infinity.
I do support this.
Offline
yeah, large factorials are a problem. on my calculator, the highest it can compute is 69!
Offline