Discuss Scratch
- Discussion Forums
- » Suggestions
- » Implementing of PI (3.141.....) into "Operators"
- coder2045
-
Scratcher
1000+ posts
Implementing of PI (3.141.....) into "Operators"
Support, but workaroundable. It is hard for some people to remember those digits, so… support.3.14 is easy to remember. I'm 10 and I know 100 digits.
- Nambaseking01
-
Scratcher
1000+ posts
Implementing of PI (3.141.....) into "Operators"
3.14 is easy to remember. I'm 10 and I know 100 digits.
You know 100 digits of Pi? I only know 3.14159 (they didn't even start teaching me about it at school, I learnt it via Scratch).
—
Wow, that could actually be very useful - Pi is a very useful operation that could be used for a lot of circle calculation.
- chrdagos
-
Scratcher
500+ posts
Implementing of PI (3.141.....) into "Operators"
support. but maybe the block can look like
([pi v] :: #5EC15D)
- --Explosion--
-
Scratcher
1000+ posts
Implementing of PI (3.141.....) into "Operators"
Good idea, but how many digits would this have, and what would happen if someone tried this?
(letter (length of (pi::operators)) of (pi::operators)::operators)
- Za-Chary
-
Scratcher
1000+ posts
Implementing of PI (3.141.....) into "Operators"
Good idea, but how many digits would this have, and what would happen if someone tried this?If you replace(letter (length of (pi::operators)) of (pi::operators)::operators)
(pi :: operators)
with
([e^ v] of (1) :: operators)
(that is, this is just the mathematical constant e), then this is what the output is:
(letter (length of ([e^ v] of (1) :: operators)) of ([e^ v] of (1) :: operators)::operators) // 5
Certainly a similar thing would be possible with a pi reporter.
- coder2045
-
Scratcher
1000+ posts
Implementing of PI (3.141.....) into "Operators"
3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679. Whew.3.14 is easy to remember. I'm 10 and I know 100 digits.
You know 100 digits of Pi? I only know 3.14159 (they didn't even start teaching me about it at school, I learnt it via Scratch).
—
Wow, that could actually be very useful - Pi is a very useful operation that could be used for a lot of circle calculation.
Edit: I think that's 101 digits if you include the first “3.”
Last edited by coder2045 (Jan. 19, 2020 21:55:30)
- minor-edit
-
Scratcher
500+ posts
Implementing of PI (3.141.....) into "Operators"
( ([sin v] of ((180)*([10 ^ v] of (-5)))) * ([10 ^ v] of (5)) ) // 3.14159A less simple workaround than if imaginary numbers existed in Scratch.
- Dragonlord767
-
Scratcher
1000+ posts
Implementing of PI (3.141.....) into "Operators"
It wouldn't even need to be much of pi. Apparently, NASA scientists only use the first 5 digits, and 15 would be enough to calculate the cercumfrence of the Milky Way within a metre of accuracy, if we get the diameter right.
- coder2045
-
Scratcher
1000+ posts
Implementing of PI (3.141.....) into "Operators"
It wouldn't even need to be much of pi. Apparently, NASA scientists only use the first 5 digits, and 15 would be enough to calculate the circumfrence of the Milky Way within a metre of accuracy, if we get the diameter right.I never knew that. (not the bold part)
- Nambaseking01
-
Scratcher
1000+ posts
Implementing of PI (3.141.....) into "Operators"
I never knew that. (not the bold part)
My dad says memorizing Pi is only useful for showing off and that people shouldn't memorize it. In addition to my dad's philosophy, Za-Chary says that calculators can do the job for us nowadays. I personally think 3.1415926 is enough, which is what I've memorized until now.
But people, let's try and keep this on-topic and not convert it into a Pi discussion.
- chrdagos
-
Scratcher
500+ posts
Implementing of PI (3.141.....) into "Operators"
Good idea, but how many digits would this have, and what would happen if someone tried this?maybe it can just have the first couple of digits.(letter (length of (pi::operators)) of (pi::operators)::operators)
- Nambaseking01
-
Scratcher
1000+ posts
Implementing of PI (3.141.....) into "Operators"
maybe it can just have the first couple of digits.
Five digits is the maximum needed really (3.14159) so there's no use in more. Fifteen digits may be useful to calculate stuff about the whole Milky Way galaxy.
- Paddle2See
-
Scratch Team
1000+ posts
Implementing of PI (3.141.....) into "Operators"
Dear developers,Well - Pi is not an operator. Pi is a constant. And I don't know that it is all that commonly used on Scratch.
For the next update I would have a suggestion: I think it would be a good thing to implement PI into “Operators”, if that is possible.
Scratchy creatings
Saftreb
Most Scratchers would be happy to rattle off a number of digits of Pi, if you need it though. Just stick it in a variable and you're good to go.
- k7e
-
Scratcher
1000+ posts
Implementing of PI (3.141.....) into "Operators"
[bump as this topic is reopened… is this spam, I don't know]
- gdfsgdfsgdfg
-
Scratcher
1000+ posts
Implementing of PI (3.141.....) into "Operators"
set [pi v] to [3.141592653589]
My best attempt recreating it
- coder2045
-
Scratcher
1000+ posts
Implementing of PI (3.141.....) into "Operators"
Is this unrejected?They didn't un-reject it, they just took it off the TOLORS post because almost nobody suggested it. A block for any constant value, like pi, is rejected.
- k7e
-
Scratcher
1000+ posts
Implementing of PI (3.141.....) into "Operators"
No it's notIs this unrejected?They didn't un-reject it, they just took it off the TOLORS post because almost nobody suggested it. A block for any constant value, like pi, is rejected.
- medians
-
Scratcher
1000+ posts
Implementing of PI (3.141.....) into "Operators"
It used to be rejected, but they decided not to. This topic got reopened.Is this unrejected?They didn't un-reject it, they just took it off the TOLORS post because almost nobody suggested it. A block for any constant value, like pi, is rejected.
It could also be like this:
([pi ^ v] of (9) ::operators)Or:
([e ^ v] of (9)) //already exists
([phi ^ v] of (9) ::operators)
([pi v] ::operators)maybe also not have it as just a dropdown because it could be confusing.
([e v] ::operators)
([phi v] ::operators)
Last edited by medians (Feb. 17, 2023 14:48:09)
- Discussion Forums
- » Suggestions
-
» Implementing of PI (3.141.....) into "Operators"












