My favorite megaupload search engine is megauploadfiles.com it’s the most powerful an easy to use. megauploadfiles.com has incredible speed of searching rapidshare links in the internet.
And no, "neutron" does NOT come from "Newton". (I believe "neutron" shares a root with the word "neutral", which makes sense, because neutrons have no charge [as opposed to PROtons, which have POSitive charges].) However, they did name the Newton after Newton... (Newton, N, is the SI unit for force. So, like, I can push something with a force of 20 N. I weigh 738.7 N. Find out how many pounds that is!)
As for Newton's method, it's the method Newton came up with that devised how to estimate to an astonishing degree of accuracy the square root of a number.
http://en.wikipedia.org/wiki/Newton's_method has a pretty good definition, though I don't expect you'll understand it completely. (This is really bordering on basic calculus.)
Newton? As in, Sir Issac Newton? I'm sure you know who Newton is. (If not, look him up! He was a physicist/mathematician of the late 17th century... here, http://en.wikipedia.org/wiki/Isaac_Newton.)
And hold on just a minute, cowboy! How do you get Scratch 1.2? I tried reinstalling Scratch from the website, and it's still the same. How can I find this beta version you speak of?
Also, typically, what I'd have done is made an exception in the script by having something like, "If it's 0, just say its square root is 0." I intentionally omitted this to keep the script literally as short as possible so that people who download it actually have SOME chance of understanding it!
Well, Lucario, I calculate the square root by using Newton's method. This requires me to divide by the value of which I am seeking the square root. So, like, if I allow the minimum value to be zero, then Scratch is going to try to divide by zero. Which would cause that script to stop running.
Wait BATzerk, I just read TheWrockBrothers comment (why didn't I notice before) and online the minimum of of the variable is not 0? Why not? If you say it is than why did you (I am just guessing) make it so "if square root variable (or whatever it is called) is larger than 0 than (do the boring calculating)?
Wait I know how to do it the right way, with the new square root/cosine/sine and other things block. Wait, you do not know what I am talking about, because you did not yet download the new version of scratch 1.2 Beta version. I did.
I downloaded it, and somehow managed to get it to always show the negative square root without changing the script. I also made the "square root" variable into a slider and set the minimum to 0 and it stopped doing the weird stuff.
Thank you once again, Lucario621! ...The reason the calculator does that seemingly random flash of numbers is simply it trying to get as close to zero as possible. For instance, the number 2.3587 E-10 just means 0.00000000002387. That's pretty close to zero, but not quite. This calculator (any calculator, actually) can technically never give you the real square root of a number, it can just estimate it really, really close!
I wanted to see if I could use Scratch's flexible language to estimate square roots of numbers. (Hopefully this will be useful in the future when I need it to calculate the magnitude of speed.)
It's a very simple program, but I hope it will come in handy to those Scratch users who are frustrated because they can't figure out how to get Scratch to give them a square root function! =)
Comments
You need to be logged in to post comments
Add a Comment
how do you make a variabal just a number?
(view all replies)Comment Reply
why is 0 in here?
(view all replies)Comment Reply
<a href="megauploadfiles.com">megaupload search</a>
(view all replies)Comment Reply
My favorite megaupload search engine is megauploadfiles.com it’s the most powerful an easy to use. megauploadfiles.com has incredible speed of searching rapidshare links in the internet.
(view all replies)Comment Reply
Why don't you make something besides square roots? My calculator has tons of things. (link to project)
(view all replies)Comment Reply
theres a glitch : you go to 0 plz fix it
(view all replies)Comment Reply
And no, "neutron" does NOT come from "Newton". (I believe "neutron" shares a root with the word "neutral", which makes sense, because neutrons have no charge [as opposed to PROtons, which have POSitive charges].) However, they did name the Newton after Newton... (Newton, N, is the SI unit for force. So, like, I can push something with a force of 20 N. I weigh 738.7 N. Find out how many pounds that is!)
(view all replies)Comment Reply
If you still don't get it, ask, and I'll try and explain it to you better. (Or use Google, which is mighty handy!)
(view all replies)Comment Reply
As for Newton's method, it's the method Newton came up with that devised how to estimate to an astonishing degree of accuracy the square root of a number. http://en.wikipedia.org/wiki/Newton's_method has a pretty good definition, though I don't expect you'll understand it completely. (This is really bordering on basic calculus.)
(view all replies)Comment Reply
Newton? As in, Sir Issac Newton? I'm sure you know who Newton is. (If not, look him up! He was a physicist/mathematician of the late 17th century... here, http://en.wikipedia.org/wiki/Isaac_Newton.)
(view all replies)Comment Reply
And during that time I got a beta version and I not tell where I got, or at least I forgot
(view all replies)Comment Reply
Who is newton(is that how they got the name of newtron?) and what is the newton method?
(view all replies)Comment Reply
Well by now you can get it and Scratch.1.2.1
(view all replies)Comment Reply
And hold on just a minute, cowboy! How do you get Scratch 1.2? I tried reinstalling Scratch from the website, and it's still the same. How can I find this beta version you speak of?
(view all replies)Comment Reply
But I have a feeling that didn't entirely answer your question. (Did that answer your question?)
(view all replies)Comment Reply
Also, typically, what I'd have done is made an exception in the script by having something like, "If it's 0, just say its square root is 0." I intentionally omitted this to keep the script literally as short as possible so that people who download it actually have SOME chance of understanding it!
(view all replies)Comment Reply
Well, Lucario, I calculate the square root by using Newton's method. This requires me to divide by the value of which I am seeking the square root. So, like, if I allow the minimum value to be zero, then Scratch is going to try to divide by zero. Which would cause that script to stop running.
(view all replies)Comment Reply
Wait BATzerk, I just read TheWrockBrothers comment (why didn't I notice before) and online the minimum of of the variable is not 0? Why not? If you say it is than why did you (I am just guessing) make it so "if square root variable (or whatever it is called) is larger than 0 than (do the boring calculating)?
(view all replies)Comment Reply
Wait I know how to do it the right way, with the new square root/cosine/sine and other things block. Wait, you do not know what I am talking about, because you did not yet download the new version of scratch 1.2 Beta version. I did.
(view all replies)Comment Reply
Well thanks for telling me.
(view all replies)Comment Reply
the square root of 0 is [] (a square)
(view all replies)Comment Reply
I downloaded it, and somehow managed to get it to always show the negative square root without changing the script. I also made the "square root" variable into a slider and set the minimum to 0 and it stopped doing the weird stuff.
(view all replies)Comment Reply
Thank you once again, Lucario621! ...The reason the calculator does that seemingly random flash of numbers is simply it trying to get as close to zero as possible. For instance, the number 2.3587 E-10 just means 0.00000000002387. That's pretty close to zero, but not quite. This calculator (any calculator, actually) can technically never give you the real square root of a number, it can just estimate it really, really close!
(view all replies)Comment Reply
Well you are AWESOME!!!!!!!!!!!!!!
(view all replies)Comment Reply
Wierd
(view all replies)Comment Reply
It does the right thing yet when you turn it to the bottom it goes"lj h3vj5kljhw gfaljwrv lajhrgv"kinda then it stays like this:[]
(view all replies)Comment Reply