Discuss Scratch

starlightsparker
Scratcher
1000+ posts

Could we please have an exponents block? ( ) ^ ( )

Wowie wow this was created a few days before I was born…
What does this do exactly? I’m.. bad at math

✮˚. ᵎᵎ ?彡⋆。˚ starlight !! * ੈ✩‧₊˚ ✧˖° female !! ⋆。°✩ they.them !!‧˚₊ muslim !!✶ .ᐟ
︶꒦꒷order at star's cafe! served w/ love꒷꒦︶
star's cafe is a store to order banners, pfps, and more!
(rounded) 1000th post | (actual) 1000th post | first post
~ pakistani muslim ~ ~ born in arabia ~ palestine supporter! ~
stop the Islam hate!useful custom blockslatest projectcomment herePython Learning History
Scratch inspired me to want to become a programmer when i grow up. I plan on learning python :>
Malicondi
Scratcher
1000+ posts

Could we please have an exponents block? ( ) ^ ( )

starlightsparker wrote:

Wowie wow this was created a few days before I was born…
What does this do exactly? I’m.. bad at math
x^2 would be x*x or x times itself twice.
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)


post #1000 post #100 i help in the forums post #1 post #500 0 second ninja
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.

coming soon :)


JacksterBobster
Scratcher
84 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.

What is the minimum level of cyberbullying allowed on Scratch? There are some people I'd like to point and laugh at.
play sound [L4D hunter scream v]
if <(survivor) = [Coach]> then
say [Careful, y'all. Hunter around]
end
forever
play sound [L4D jockey giggle v]
end
undeterminstic
Scratcher
1000+ posts

Could we please have an exponents block? ( ) ^ ( )

JacksterBobster wrote:

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.
its the difference between
(x) ^ (2) ::operators
((x) * (x))

yes
Malicondi
Scratcher
1000+ posts

Could we please have an exponents block? ( ) ^ ( )

undeterminstic wrote:

its the difference between
(x) ^ (2) ::operators
((x) * (x))
often we do this when doing pythagorem theorem, usually for distances:
((x1) - (x2)) * ((x1) - (x2))
so this would simplify it by 3 blocks.

post #1000 post #100 i help in the forums post #1 post #500 0 second ninja
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.

coming soon :)


starlightsparker
Scratcher
1000+ posts

Could we please have an exponents block? ( ) ^ ( )

Malicondi wrote:

starlightsparker wrote:

Wowie wow this was created a few days before I was born…
What does this do exactly? I’m.. bad at math
x^2 would be x*x or x times itself twice.
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)
oh thats pretty easy and useful
full support, could be useful for various codes and calculator projects too maybe

✮˚. ᵎᵎ ?彡⋆。˚ starlight !! * ੈ✩‧₊˚ ✧˖° female !! ⋆。°✩ they.them !!‧˚₊ muslim !!✶ .ᐟ
︶꒦꒷order at star's cafe! served w/ love꒷꒦︶
star's cafe is a store to order banners, pfps, and more!
(rounded) 1000th post | (actual) 1000th post | first post
~ pakistani muslim ~ ~ born in arabia ~ palestine supporter! ~
stop the Islam hate!useful custom blockslatest projectcomment herePython Learning History
Scratch inspired me to want to become a programmer when i grow up. I plan on learning python :>
DangerPuppy10
Scratcher
500+ 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!

I shall




















Workaround chart:

ELLAFUN321
Scratcher
19 posts

Could we please have an exponents block? ( ) ^ ( )

illusionist wrote:

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
Scratcher
1000+ posts

Could we please have an exponents block? ( ) ^ ( )

Bringing this topic up.

Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
cookieclickerer33
Scratcher
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
([square v] of (9)::operators)
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)


⠀ ⠀ I beat Mario 64 yay! ⠀⠀ ⠀ ⠀ ⠀ ⠀ I love you ivy & may :3
⠀ ⠀ ⠀ ⠀ ⠀ ⠀⠀ ⠀ ⠀GEOMETRY DASH

mumu245
Scratcher
1000+ posts

Could we please have an exponents block? ( ) ^ ( )

cookieclickerer33 wrote:

(#730)
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
([square v] of (9)::operators)
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
That's just x*x.

select this text then press Ctrl+Shift+Down to read more
cookieclickerer33
Scratcher
1000+ posts

Could we please have an exponents block? ( ) ^ ( )

mumu245 wrote:

cookieclickerer33 wrote:

(#730)
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
([square v] of (9)::operators)
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
That's just x*x.
That can get complicated if x is another equation you could say the same for 10^ and cubes

⠀ ⠀ I beat Mario 64 yay! ⠀⠀ ⠀ ⠀ ⠀ ⠀ I love you ivy & may :3
⠀ ⠀ ⠀ ⠀ ⠀ ⠀⠀ ⠀ ⠀GEOMETRY DASH

undeterminstic
Scratcher
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?

yes
yadayadayadagoodbye
Scratcher
1000+ posts

Could we please have an exponents block? ( ) ^ ( )

undeterminstic wrote:

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?
math

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.

Scratchers that I've cati-fied
medians
Scratcher
1000+ posts

Could we please have an exponents block? ( ) ^ ( )

yadayadayadagoodbye wrote:

undeterminstic wrote:

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?
math

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.
Calculator and graph projects too.
Also, if the exponent block is implemented, you could just use that for squared if you wanted by putting 2 as the power.

Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
undeterminstic
Scratcher
1000+ posts

Could we please have an exponents block? ( ) ^ ( )

yadayadayadagoodbye wrote:

undeterminstic wrote:

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?
math

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.
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.

Last edited by undeterminstic (March 15, 2024 16:49:51)


yes
DangerPuppy10
Scratcher
500+ posts

Could we please have an exponents block? ( ) ^ ( )

starlightsparker wrote:

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.

I shall




















Workaround chart:

yadayadayadagoodbye
Scratcher
1000+ posts

Could we please have an exponents block? ( ) ^ ( )

undeterminstic wrote:

yadayadayadagoodbye wrote:

undeterminstic wrote:

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?
math

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.
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.
who says the block has to be implemented in a slow way?

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

Scratchers that I've cati-fied
mumu245
Scratcher
1000+ posts

Could we please have an exponents block? ( ) ^ ( )

yadayadayadagoodbye wrote:

(#738)

undeterminstic wrote:

yadayadayadagoodbye wrote:

undeterminstic wrote:

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?
math

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.
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.
who says the block has to be implemented in a slow way?

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
It's a basic math function. In Romania 11-year old kids learn it in school.

select this text then press Ctrl+Shift+Down to read more
iiucandyfloss
Scratcher
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.

ItchyCatIII wrote:

great24 wrote:

Exponent blocks
(() ^ ())
I'm going to support this.

There is an easy workaround, which would be:

set [answer] to [0]set
repeat (power)

change [answer] by ((base) * (base))
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)



credits to @happyha8 for image hosting my forum banner -

Powered by DjangoBB