Discuss Scratch
- Discussion Forums
- » Show and Tell
- » ]Introducing My Math Calculators! feat. fraction, prime list
- pianojay
-
35 posts
]Introducing My Math Calculators! feat. fraction, prime list
Hello, everyone!
Today I want to show my calculators-or computing algorithms.
I can't say they are fabulous. But well, you can just play around with them… (and may help your elementary math homeworks!!)
If you go mad with these math algorithms with excitements, please give me some tips or things that I can try!

So, here we go…
quadratic calculator
https://scratch.mit.edu/projects/70848900/
It gives the answer x from the quadratic polynomial. BUT can't give you imaginary answer.
And it doesn't know what a fraction is. so…
not very useful? idk
(I just give up for that sorry)
GCD calculator
https://scratch.mit.edu/projects/96377135/
Put two natural numbers and will give you the greatest common divisor and the least common multiplier using Euclidean algorithm.
You don't need to know about Euclidean algorithm, just use it for your homework! Or use it to play with numbers!
(my younger sister gave me A+ while she got A+ for her homework…lol)
fraction calculator
https://scratch.mit.edu/projects/121637625/ fraction calculator
Put two rational numbers in a form of fractions, and add, subtract, multiply, divide, and factorize them!
(I know there is an application doing this already. The important thing is that I made my own…! with an amount of time!)
(ㆆㅅㆆ)
/|_mine_|\
prime number list generator(Trial Division)
https://scratch.mit.edu/projects/169541997/
This will generate list of primes using Trial Division method, which is not efficient for large numbers…
Well, it seemed that nobody used trial division in scratch to generate prime list(almost all of them used sieve),
so I made one using it! (actually I hate sieves although they are much faster)
You can say that ‘it is not efficient for big numbers but a unique way to find prime’.
factorization calculator
https://scratch.mit.edu/projects/168126205/
It factorize natural numbers! For instance, when you put ‘60’, it will give you ‘2 * 2 * 3 * 3 * 5’ as the result.
When it finds list of primes, it uses the generator I made.
This one is not complete, since putting ‘1024’ and receiving ‘2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2’ is PRETTY BORING.
And I don't know how to make this like 2^10… ㅠㅠ
(SOMEBODY HELP!!!)
phew. most maybe useless, but enough to enjoy!
I can't say they are efficient for usage, but you can give me some replies to make it better than ever!(it is possible since I'm dumb)
Well that was all for now, and I hope you enjoyed!
(But it was too math! It was sooooo boring!! I hate you, pianomockingjay!!! :mad:)
Last edited by pianojay (Jan. 14, 2018 19:02:04)
- Chikorita152A
-
63 posts
]Introducing My Math Calculators! feat. fraction, prime list
Hello, everyone!
Today I want to show my calculators-or computing algorithms.
I can't say they are fabulous. But well, you can just play around with them… (and may help your elementary math homeworks!!)
If you go mad with these math algorithms with excitements, please give me some tips or things that I can try!
So, here we go…
quadratic calculator
https://scratch.mit.edu/projects/70848900/
It gives the answer x from the quadratic polynomial. BUT can't give you imaginary answer.
And it doesn't know what a fraction is. so…
not very useful? idk
(I just give up for that sorry)
GCD calculator
https://scratch.mit.edu/projects/96377135/
Put two natural numbers and will give you the greatest common divisor and the least common multiplier using Euclidean algorithm.
You don't need to know about Euclidean algorithm, just use it for your homework! Or use it to play with numbers!
(my younger sister gave me A+ while she got A+ for her homework…lol) ( DONE )
fraction calculator
https://scratch.mit.edu/projects/121637625/ fraction calculator
Put two rational numbers in a form of fractions, and add, subtract, multiply, divide, and factorize them!
(I know there is an application doing this already. The important thing is that I made my own…! with an amount of time!)
(ㆆㅅㆆ)
/|_mine_|\
prime number list generator(Trial Division)
https://scratch.mit.edu/projects/169541997/
This will generate list of primes using Trial Division method, which is not efficient for large numbers…
Well, it seemed that nobody used trial division in scratch to generate prime list(almost all of them used sieve),
so I made one using it! (actually I hate sieves although they are much faster)
You can say that ‘it is not efficient for big numbers but a unique way to find prime’.
factorization calculator
https://scratch.mit.edu/projects/168126205/
It factorize natural numbers! For instance, when you put ‘60’, it will give you ‘2 * 2 * 3 * 3 * 5’ as the result.
When it finds list of primes, it uses the generator I made.
This one is not complete, since putting ‘1024’ and receiving ‘2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2’ is PRETTY BORING.
And I don't know how to make this like 2^10… ㅠㅠ
(SOMEBODY HELP!!!)
phew. most maybe useless, but enough to enjoy!
I can't say they are efficient for usage, but you can give me some replies to make it better than ever!(it is possible since I'm dumb)
Well that was all for now, and I hope you enjoyed!
(But it was too math! It was sooooo boring!! I hate you, pianomockingjay!!! :mad:)
I have an GCD calculator too: https://scratch.mit.edu/projects/197816892/. Want to see how it works?
It calculates the LCM first and finds the GCD by dividing the LCM by the product of a and b.*
*The proof of this is left as a exercise to the user
UPDATE 1: https://scratch.mit.edu/projects/197819268/ is a linear equation solver! Solve any equation in the form ax+b=c!
UPDATE 2: My first five projects are all prime number projects! See the factors of a number and determining whether a number is prime, while learning about other types of primes…
UPDATE 3: Comparision of Numbers game! https://scratch.mit.edu/projects/193374721/#player. Comes with 6 ranks to determine your ability… and my first educational game…
UPDATE 4: Prime list. Again, another prime list project to check out. The variable shows the time taken. Maybe you should add it so we can compare what is faster…. https://scratch.mit.edu/projects/197841726/.
UPDATE 5: Adding and Multiplying Fractions: https://scratch.mit.edu/projects/197862338/
Last edited by Chikorita152A (Jan. 15, 2018 17:51:29)
- 291658bej
-
1 post
]Introducing My Math Calculators! feat. fraction, prime list
can you make something where you can divide and the remainder is a fraction? Also check this out
division calculator with remainders
division calculator with remainders
- jackin_not_a_people
-
1 post
]Introducing My Math Calculators! feat. fraction, prime list
make median calculator
- alt1032
-
13 posts
]Introducing My Math Calculators! feat. fraction, prime list
Is it possible to make a Calculator on Scratch?
Last edited by alt1032 (Feb. 25, 2025 16:46:51)
- Discussion Forums
- » Show and Tell
-
» ]Introducing My Math Calculators! feat. fraction, prime list