Square root function?

About advanced scenes, and the Thyme scripting language used in Algodoo.

Square root function?

Postby TC42 » Thu Mar 24, 2011 12:54 am

Is there a way to get the square root of an integer(float) in algodoo?
Image
Spambot wrote:Nowadays, memes usually are studied less in the field of biology, but more with the arena of psychology along with sociology. But, the major area of a meme, getting embraced and imitated all the time is what’s at any core connected with any meme.
User avatar
TC42
 
Posts: 984
Joined: Sun Jan 09, 2011 1:53 pm
Location: $ sudo apt get-install sandwich_

Re: Square root function?

Postby HavingPhun » Thu Mar 24, 2011 1:43 am

I dont know of any and that is a good idea suggest to emil if ir doesn't exist :D
I won't be on the forums much for a while. But maybe once in a while.
User avatar
HavingPhun
 
Posts: 178
Joined: Sun Feb 06, 2011 10:42 pm

Re: Square root function?

Postby TC42 » Thu Mar 24, 2011 2:09 am

Whoops, just noticed that you can get the square root of a number by putting it to the power of 0.5. However, algodoo needs a math.sqrt() function.

Can someone *cough* Tatt or Emanuel *cough* move this to Suggestions?
Image
Spambot wrote:Nowadays, memes usually are studied less in the field of biology, but more with the arena of psychology along with sociology. But, the major area of a meme, getting embraced and imitated all the time is what’s at any core connected with any meme.
User avatar
TC42
 
Posts: 984
Joined: Sun Jan 09, 2011 1:53 pm
Location: $ sudo apt get-install sandwich_

Re: Square root function?

Postby Kilinich » Thu Mar 24, 2011 7:53 am

what's the problem with x^.5 ?
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: Square root function?

Postby Someone Else » Thu Mar 24, 2011 2:31 pm

More awkward, I would guess. Normally, you say
Code: Select all
the square root of 25
not
Code: Select all
25 to the 1/2 power
Matthias Wandel is epic, in my humble opinion.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.

ARE YA HAPPY NOW?????

Thymechanic/Phundamentalist

Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
User avatar
Someone Else
 
Posts: 1147
Joined: Sun Nov 21, 2010 10:53 pm
Location: The Milky Way Galaxy


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 2 guests