Discuss Scratch
- Discussion Forums
- » Suggestions
- » Could we please have an exponents block? ( ) ^ ( )
- Malicondi
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
Wowie wow this was created a few days before I was born…x^2 would be x*x or x times itself twice.
What does this do exactly? I’m.. bad at math
there are workarounds for this block, but most of them are hard to do and or use alot of blocks
also (from that i know of) no workarounds work with using decimal exponents which is why this would be a very useful block
(and it's not really that hard to understand)
Last edited by Malicondi (Feb. 26, 2024 18:33:41)
- JacksterBobster
-
91 posts
Could we please have an exponents block? ( ) ^ ( )
This is a good idea. It'd make things like Pythagorean Theorem so much easier to do. Also, I'd like to point out that writing things like “+1” or “support” doesn't affect anything about the chances of the suggestion being implemented, the best way to do it is describe why you want the change or a potential benefit that the addition could bring.

- undeterminstic
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
its the difference between This is a good idea. It'd make things like Pythagorean Theorem so much easier to do. Also, I'd like to point out that writing things like “+1” or “support” doesn't affect anything about the chances of the suggestion being implemented, the best way to do it is describe why you want the change or a potential benefit that the addition could bring.
- Malicondi
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
often we do this when doing pythagorem theorem, usually for distances: its the difference between
so this would simplify it by 3 blocks.
- starlightsparker
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
oh thats pretty easy and usefulWowie wow this was created a few days before I was born…x^2 would be x*x or x times itself twice.
What does this do exactly? I’m.. bad at math
there are workarounds for this block, but most of them are hard to do and or use alot of blocks
also (from that i know of) no workarounds work with using decimal exponents which is why this would be a very useful block
(and it's not really that hard to understand)
full support, could be useful for various codes and calculator projects too maybe
- DangerPuppy10
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
I feel like this suggestion is too good to be true, I've been waiting for this FOREVER!
- ELLAFUN321
-
19 posts
Could we please have an exponents block? ( ) ^ ( )
Could we please have an exponents block?
Right there in operators with the other math blocks:
( ) + ( )
( ) - ( )
( ) / ( )
( ) * ( )
( ) ^ ( ) <———
It can't take more than a few seconds to add, can't it?
That’s a great idea
- medians
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
Bringing this topic up.
- cookieclickerer33
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
There’s a full workaround as far as I can conceptuluze using logarithms, absolute value, and an IF for detecting and returning negative powers
But I don’t know what it would even look like so yeah this needs to be added
My personal suggestion is to add a
We already have a 10^ block for some reason so if they wanted to not make a new block this is the perfect alternative
But I don’t know what it would even look like so yeah this needs to be added
My personal suggestion is to add a
Block because the most common use for it would be squaring a number this means raising them by a power of 2
We already have a 10^ block for some reason so if they wanted to not make a new block this is the perfect alternative
Last edited by cookieclickerer33 (March 11, 2024 11:46:48)
- mumu245
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
(#730)That's just x*x.
There’s a full workaround as far as I can conceptuluze using logarithms, absolute value, and an IF for detecting and returning negative powers
But I don’t know what it would even look like so yeah this needs to be added
My personal suggestion is to add aBlock because the most common use for it would be squaring a number this means raising them by a power of 2
We already have a 10^ block for some reason so if they wanted to not make a new block this is the perfect alternative
- cookieclickerer33
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
That can get complicated if x is another equation you could say the same for 10^ and cubes(#730)That's just x*x.
There’s a full workaround as far as I can conceptuluze using logarithms, absolute value, and an IF for detecting and returning negative powers
But I don’t know what it would even look like so yeah this needs to be added
My personal suggestion is to add aBlock because the most common use for it would be squaring a number this means raising them by a power of 2
We already have a 10^ block for some reason so if they wanted to not make a new block this is the perfect alternative
- undeterminstic
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
why i see squared being a block but never in my 4 years of scratch have i ever needed ()^() i understand the workaround is hard but why use exponents?
- yadayadayadagoodbye
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
math why i see squared being a block but never in my 4 years of scratch have i ever needed ()^() i understand the workaround is hard but why use exponents?
any sort of project which requires the calculation of distance would severely benefit from this block, and also any project which requires exponential growth of some value.
- medians
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
Calculator and graph projects too.math why i see squared being a block but never in my 4 years of scratch have i ever needed ()^() i understand the workaround is hard but why use exponents?
any sort of project which requires the calculation of distance would severely benefit from this block, and also any project which requires exponential growth of some value.
Also, if the exponent block is implemented, you could just use that for squared if you wanted by putting 2 as the power.
- undeterminstic
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
i mean a use case broader then its intended case. it's like i requested a inverse hyperbolic cotangent block and people wondered what it was for and i said you can use it for inverse hyperbolic cotangent. i know it can be used for distance but can cube a number be used for anything. also often exponetiation is slow so we do other algorithms then the block. for example instead of doing exponetiation for Fast Modular Exponetiation we use a different algorithm that is faster.math why i see squared being a block but never in my 4 years of scratch have i ever needed ()^() i understand the workaround is hard but why use exponents?
any sort of project which requires the calculation of distance would severely benefit from this block, and also any project which requires exponential growth of some value.
Last edited by undeterminstic (March 15, 2024 16:49:51)
- DangerPuppy10
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
Wowie wow this was created a few days before I was born…Thank you! I now can figure out the exact day you were born! And steal all of the money you have and ever will have! Aufwiedersehen!
But seriously, this would be very helpful for some people.
- yadayadayadagoodbye
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
who says the block has to be implemented in a slow way?i mean a use case broader then its intended case. it's like i requested a inverse hyperbolic cotangent block and people wondered what it was for and i said you can use it for inverse hyperbolic cotangent. i know it can be used for distance but can cube a number be used for anything. also often exponetiation is slow so we do other algorithms then the block. for example instead of doing exponetiation for Fast Modular Exponetiation we use a different algorithm that is faster.math why i see squared being a block but never in my 4 years of scratch have i ever needed ()^() i understand the workaround is hard but why use exponents?
any sort of project which requires the calculation of distance would severely benefit from this block, and also any project which requires exponential growth of some value.
Say I want the cost of a item in my clicker game to grow at a rate of x^x, how should else should I implement this?
What if I wanted to cheat in math class and make a cubic calculator?
Oh hey I want to measure and calculate stuff in the pH or any other logrithmic scales
- mumu245
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
(#738)It's a basic math function. In Romania 11-year old kids learn it in school.who says the block has to be implemented in a slow way?i mean a use case broader then its intended case. it's like i requested a inverse hyperbolic cotangent block and people wondered what it was for and i said you can use it for inverse hyperbolic cotangent. i know it can be used for distance but can cube a number be used for anything. also often exponetiation is slow so we do other algorithms then the block. for example instead of doing exponetiation for Fast Modular Exponetiation we use a different algorithm that is faster.math why i see squared being a block but never in my 4 years of scratch have i ever needed ()^() i understand the workaround is hard but why use exponents?
any sort of project which requires the calculation of distance would severely benefit from this block, and also any project which requires exponential growth of some value.
Say I want the cost of a item in my clicker game to grow at a rate of x^x, how should else should I implement this?
What if I wanted to cheat in math class and make a cubic calculator?
Oh hey I want to measure and calculate stuff in the pH or any other logrithmic scales
- iiucandyfloss
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
Hi! This has been suggested before, and someone has found a workaround, though it has some disadvantages, as listed in this post.
Credit to @ItchyCatIII for their post
NOTE: I am not following this post, so you will likely not see me on this post after this.
Thank you. Have a good day.
I'm going to support this. Exponent blocks
There is an easy workaround, which would be:And then the variable “answer” would be your answer. However, subtraction can also be worked around. As can division. But that would get quite complicated. Exponents are a real mathematical function, and therefore, I see no reason why we have to workaround them, but we don't have to add a negative instead of subtract, or multiply be a reciprocal instead of divide (although technically, you'd have to convert the reciprocal into a decimal, otherwise it will be a division problem in another form… and to do that, you need to divide, so that workaround would definitely complicate Scratch, and possibly add limitations ).
Credit to @ItchyCatIII for their post
NOTE: I am not following this post, so you will likely not see me on this post after this.
Thank you. Have a good day.
Last edited by iiucandyfloss (March 16, 2024 11:49:49)
- DangerPuppy10
-
1000+ posts
Could we please have an exponents block? ( ) ^ ( )
Where's the original post then? Or is this the original and you're stating that somebody else also suggested this idea after, as a dupe? Hi! This has been suggested before, and someone has found a workaround, though it has some disadvantages, as listed in this post.I'm going to support this. Exponent blocks
There is an easy workaround, which would be:And then the variable “answer” would be your answer. However, subtraction can also be worked around. As can division. But that would get quite complicated. Exponents are a real mathematical function, and therefore, I see no reason why we have to workaround them, but we don't have to add a negative instead of subtract, or multiply be a reciprocal instead of divide (although technically, you'd have to convert the reciprocal into a decimal, otherwise it will be a division problem in another form… and to do that, you need to divide, so that workaround would definitely complicate Scratch, and possibly add limitations ).
Credit to @ItchyCatIII for their post
NOTE: I am not following this post, so you will likely not see me on this post after this.
Thank you. Have a good day.
king o' page :D
Last edited by DangerPuppy10 (March 16, 2024 12:41:11)