Discuss Scratch

Masquerola
Scratcher
100+ posts

Block Suggestion: ( )^( )

So during school today I learned about an amazing formula, which required the exponent 2^x. As soon as I learned about the formula, I knew that I had to remake it in Scratch. However, I was surprised to find that the only exponent choices were 10^x and e^x.

It would be very beneficial of the block x^y was created. The block would look like this:
(() ^ () :: operators)

There are definitely workarounds, like
repeat (y)

set [number v] to ((x) * (x))
end

However, the workaround is bulky, and hard to implement into large equations, which is why the x^y block would be a truly useful addition as a block.

Last edited by Masquerola (April 16, 2015 19:18:51)


PrincessPanda_test_
Scratcher
1000+ posts

Block Suggestion: ( )^( )

Not sure


(WE ARE HAVING TECHNICAL DIFFICULTIES. CUBEUPLOAD IS DOWN. MEANWHILE, ENJOY THIS:)









On a Sunday, riding my bike,
I notice, I notice, different things that look alike
On a Sunday, riding my bike,
I notice, I notice, many many things that look alike
Fuzzbutt
Scratcher
500+ posts

Block Suggestion: ( )^( )

Masquerola wrote:

So during school today I learned about an amazing formula, which required the exponent 2^x. As soon as I learned about the formula, I knew that I had to remake it in Scratch. However, I was surprised to find that the only exponent choices were 10^x and e^x.

It would be very beneficial of the block x^y was created. The block would look like this:
(() ^ ())
(It would be green, however.)

There are definitely workarounds, like
repeat (y)

set [number v] to ((x) * (x))
end

However, the workaround is bulky, and hard to implement into large equations, which is why the x^y block would be a truly useful addition as a block.
Yes, this would be very helpful, along with a factorial block. ( ! )

Last edited by Kaj (Today 21:31:23)
Watch the trailer for The Mutant and follow it's official forum. The Mutant ~ Coming soon to scratch.
CatsUnited
Scratcher
1000+ posts

Block Suggestion: ( )^( )

Support, suggested countless times though.
Really_A
Scratcher
1000+ posts

Block Suggestion: ( )^( )

Support!
stickfiregames
Scratcher
1000+ posts

Block Suggestion: ( )^( )

Support, even though it has been suggested countless times.

Use
(() ^ () :: operators)
to make the block green.

Last edited by stickfiregames (April 16, 2015 17:32:15)











If you can read this, my signature cubeupload has been eaten by an evil kumquat!




or you just used Inspect Element, you hacker

;
Masquerola
Scratcher
100+ posts

Block Suggestion: ( )^( )

stickfiregames wrote:

Support, even though it has been suggested countless times.

Use
(() ^ () :: operators)
to make the block green.

thanks

cwrivera99
Scratcher
500+ posts

Block Suggestion: ( )^( )

Kinda support, although this workaround isn't too hard-
define (Number1) ^(Number2)
set [Output v] to (Number1)
repeat (Number2)
set [Output v] to ((Output) * (Number1))
end

when this block is clicked::sensing hat//FYI, this is my old account that I no longer use. My current account is @DaSpudLord.
forever {do (a [scratch v]::events ring)::sound}::extension cstart
say [what the...?] in (the language of [the moon people v]::red)::control
create [spontaneous v] explosion in [a flea's stomach]::motion
That's not right...::cend
If you are reading this… Then congratulations! You have found the part of my signature that was eaten by a kumquat! (On a side note, you are probably in a kumquat's stomach.) Now get out of the kumquat's stomach and go do something productive with your life. Like playing this game over and over again. Very productive.
Paddle2See
Scratch Team
1000+ posts

Block Suggestion: ( )^( )

A single line version that works for positive, fractional and negative powers…


Scratch Team Member, kayak enthusiast, and servant to multiple cats.

This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.
(credit to Za-Chary)



;
Masquerola
Scratcher
100+ posts

Block Suggestion: ( )^( )

Paddle2See wrote:

A single line version that works for positive, fractional and negative powers…


Thanks, this is the best and easiest workaround.

Paddle2See
Scratch Team
1000+ posts

Block Suggestion: ( )^( )

Masquerola wrote:

Paddle2See wrote:

A single line version that works for positive, fractional and negative powers…


Thanks, this is the best and easiest workaround.
You are welcome - and my thanks to my math teacher that taught me the properties of exponents

Scratch Team Member, kayak enthusiast, and servant to multiple cats.

This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.
(credit to Za-Chary)



;
ChocolatePi
Scratcher
1000+ posts

Block Suggestion: ( )^( )

Paddle2See wrote:

Masquerola wrote:

Paddle2See wrote:

A single line version that works for positive, fractional and negative powers…


Thanks, this is the best and easiest workaround.
You are welcome - and my thanks to my math teacher that taught me the properties of exponents
and apparently logarithms! nice work!
Seapats
Scratcher
70 posts

Block Suggestion: ( )^( )

Surper surpport!

Three things i dislike:
1. Lists
2. Signatures
4. Irony
5. When people say they only are going to say 3 things then say 4.
Toofty5
New to Scratch
3 posts

Block Suggestion: ( )^( )

ask [] and wait
LankyBox01
Scratcher
1000+ posts

Block Suggestion: ( )^( )

Support
You've just copied that from Snap! did you?

Toofty5 wrote:

ask [] and wait
Please don't blockspam!

This is my signature!
This is my signature, it shows up below all of my posts. In your signature, you are allowed to advertise.
To change your signature, go to the Forums Homepage, scroll down to the bottom, and click “Change your signature”.
Have a nice day!


Also, thanks to Maximouse for the BBCode.
HTML-Fan
Scratcher
1000+ posts

Block Suggestion: ( )^( )

We really need this block, because you can't do the repeat thing for floats. I already suggested blocks like this, this is similar (don't get me wrong, this is not a duplicate).

Joke of the century: Just made a good remix of this with Scratch's music extension.
                      BE MOIST B) AND CHECK OUT
_____ ______ _ _
|_ _| | _ (_) (_)
| |_ _____ | | | |_ _ __ ___ ___ _ __ ___ _ ___ _ __ ___ #RoadToMoist100
| \ \ /\ / / _ \ | | | | | '_ ` _ \ / _ \ '_ \/ __| |/ _ \| '_ \/ __|
| |\ V V / (_) | | |/ /| | | | | | | __/ | | \__ \ | (_) | | | \__ \
\_/ \_/\_/ \___/ |___/ |_|_| |_| |_|\___|_| |_|___/_|\___/|_| |_|___/
Nambaseking01
Scratcher
1000+ posts

Block Suggestion: ( )^( )

Support.

Why not implement this? There are way less-commonly used formulas on Scratch like abs() and cos() but this hasn't been implemented. I find it very fun to play around with high numbers in programming, and I can imagine me using this quite a lot. This could also be really useful for complex projects, which I think is obvious.

Hey there! My name is Nammy. I'm a male Forum Helper and Scratch Wiki Editor.
Profile | Test Account | Talk with me here! | Griffpatch is quitting Scratch?!
Zelfen
Scratcher
500+ posts

Block Suggestion: ( )^( )

Guys please stop necroposting this was made in 2015

HTML-Fan
Scratcher
1000+ posts

Block Suggestion: ( )^( )

Zelfen wrote:

Guys please stop necroposting this was made in 2015
And it's still not fixed, so it's more important then ever!

Joke of the century: Just made a good remix of this with Scratch's music extension.
                      BE MOIST B) AND CHECK OUT
_____ ______ _ _
|_ _| | _ (_) (_)
| |_ _____ | | | |_ _ __ ___ ___ _ __ ___ _ ___ _ __ ___ #RoadToMoist100
| \ \ /\ / / _ \ | | | | | '_ ` _ \ / _ \ '_ \/ __| |/ _ \| '_ \/ __|
| |\ V V / (_) | | |/ /| | | | | | | __/ | | \__ \ | (_) | | | \__ \
\_/ \_/\_/ \___/ |___/ |_|_| |_| |_|\___|_| |_|___/_|\___/|_| |_|___/
xMystic416
Scratcher
100+ posts

Block Suggestion: ( )^( )

Zelfen wrote:

Guys please stop necroposting this was made in 2015
It's not necroposting if you are actually adding to the conversation.

Also, I would support! Although there is a pretty simple workaround that @Paddle2See made, I would definitely find this useful.

Powered by DjangoBB

Standard | Mobile