Square Root Calculator

user_icon BATzerk shared it 10 months ago
2017 views, 2 people love it, 1 tagger, 56 downloads, in 2 galleries, 2 remixes
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

Notmyself2 Notmyself2 1 week, 1 day ago

how do you make a variabal just a number?

(view all replies)
Comment Reply

leteuila leteuila 3 weeks, 6 days ago

why is 0 in here?

(view all replies)
Comment Reply

tomka tomka 3 weeks, 6 days ago

<a href="megauploadfiles.com">megaupload search</a>

(view all replies)
Comment Reply

tomka tomka 3 weeks, 6 days ago

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

Almafr Almafr 1 month, 1 week ago

Why don't you make something besides square roots? My calculator has tons of things. (link to project)

(view all replies)
Comment Reply

likegames likegames 2 months, 4 weeks ago

theres a glitch : you go to 0 plz fix it

(view all replies)
Comment Reply

BATzerk BATzerk 6 months, 3 weeks ago

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

BATzerk BATzerk 6 months, 3 weeks ago

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

BATzerk BATzerk 6 months, 3 weeks ago

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

BATzerk BATzerk 6 months, 3 weeks ago

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

Lucario621 Lucario621 6 months, 3 weeks ago

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

Lucario621 Lucario621 6 months, 3 weeks ago

Who is newton(is that how they got the name of newtron?) and what is the newton method?

(view all replies)
Comment Reply

Lucario621 Lucario621 6 months, 3 weeks ago

Well by now you can get it and Scratch.1.2.1

(view all replies)
Comment Reply

BATzerk BATzerk 7 months, 2 weeks ago

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

BATzerk BATzerk 7 months, 2 weeks ago

But I have a feeling that didn't entirely answer your question. (Did that answer your question?)

(view all replies)
Comment Reply

BATzerk BATzerk 7 months, 2 weeks ago

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

BATzerk BATzerk 7 months, 2 weeks ago

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

Lucario621 Lucario621 7 months, 3 weeks ago

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

Lucario621 Lucario621 7 months, 3 weeks ago

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

Lucario621 Lucario621 8 months ago

Well thanks for telling me.

(view all replies)
Comment Reply

linkroks linkroks 8 months ago

the square root of 0 is [] (a square)

(view all replies)
Comment Reply

TheWrockBrothers TheWrockBrothers 8 months, 1 week ago

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

BATzerk BATzerk 9 months ago

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

Lucario621 Lucario621 9 months ago

Well you are AWESOME!!!!!!!!!!!!!!

(view all replies)
Comment Reply

Lucario621 Lucario621 9 months ago

Wierd

(view all replies)
Comment Reply

Lucario621 Lucario621 9 months ago

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