SRL Archive - Other Scripts

Your Mass and Gravity between two objects


ReFLeX

2006-04-25 19:59:41

Ok i was bored so made these.

Mass
[PHP]
///////////////////////////////////////////////
///////////////////////////////////////////////
// This will find how many newtons you exert //
// on Earth. //
// Example: How much force is pushing on the //
// the chair your sitting in, or the floor //
// your standing on. //
///////////////////////////////////////////////
[/PHP]

Gravity
[PHP]
//////////////////////////////////////////////////////
//////////////////////////////////////////////////////
// This will tell you the gravity between 2 objects //
// and how long it'll take to hit each other //
//////////////////////////////////////////////////////
//////////////////////////////////////////////////////
[/PHP]

Sdcit

2006-04-25 20:26:22

Your would exert a total of 712.727272727273 Newtons

phantombmx

2006-04-25 20:38:15

Your would exert a total of 645.909090909091 Newtons


notice the bolded letter.. its a typo :p

=================================================================
The objects will move at 4592 m/s towards each other
If the objects are 100 meters apart, then it will take
0 seconds for them to hit each other
=================================================================


this doesnt seem accurate.. i used sd's mass of 712.. and my mass of 645.. with a 100 meter distance.. is it correct? it doesnt seem like it :confused:

Zup

2006-04-25 20:56:24

From: Sdcit
Your would exert a total of 712.727272727273 Newtons

Fat ass…
And I'm pretty sure that he forgot the gravitational constant in the gravity.scar file.

Edit: Actually the gravity one is all wrong. Objects accelerate towards each other not move at constant speeds.

ReFLeX

2006-04-25 21:18:45

oopsy ill fix later

edit: argh the formulas are screwed up. Ill fix later

BenLand100

2006-04-25 21:44:42

Yikes…
Mass = kilograms (kg)
Force = Newtons (N)
Umm… two things will accelerate towards each other, not move at a constant velocity right?
Force=G ((Mass1 * Mass2) / Distance^2)
where G = 6.6742x10^-11
then you would use A=F/m to find the acceleration of each object
You kinda got off on you're equations in gravity.scar ;)

Pwnd

2006-04-25 22:11:17

Benland, we all hate you, ok?

WhiteShadow

2006-04-25 22:12:39

Benland is such a nerd.

BenLand100

2006-04-25 22:25:12

So much support… Thanks Guys :rolleyes:

ReFLeX

2006-04-25 22:44:03

much love (in a non gay way)

Zup

2006-04-26 00:45:40

If you want final speed of collision I think you can use this formula:
PE = (GmM)/R
PE = KE
KE = (1/2)mv^2
Where PE is potential energy and KE is kinetic energy.

XxKanexX

2006-04-26 02:02:07

Benland may be a nerd but he's still hella cool ;) <3 Ben.


Your would exert a total of 411.6 Newtons

Hmm..

Whatyouknow13

2006-04-30 20:29:50

:O
Anerexic?

driger1592

2006-04-30 21:17:09

423.181818181818 for me

Dang you're light Kane :p