# Einstein's Relativity - Relative Mass script

Hi everyone,
According to Einstein, the velocity of an object influences it’s mass. I thought it would be cool to make a simulation that shows these effects.

A demo file is included. Use the left/right arrow keys two accelerate the object and see how it’s mass is affected. The equation and further explaination are included in the demo. Enjoy the weirdness of the universe

http://www.box.net/shared/qhvl9k006t

E = mc² could be arranged (algebraically to be)
m = E/c²

I’m wondering though… How will this be used in a game? Just asking

I think the main idea is not to make a game, but rather to make a representation of that law using the game engine

Just as a question: are you sure of what you have done?
I don’t want “stop the party”, but as far as i know, the equation refears at the trasformation of the energy.
I mean that the mass is just another form of energy. For exaple when one electron and a andron (like the electron, but with plus charge) collide, their mass vanish and energy is generated. The same thing happens in chemistry: when 2 or more atoms reacts in one molecule, they lose a bit of mass, because is transformed in linking energy.
So, when you break the link (like in the atomic fission) a grat ammount of energy is generated.
So, i repeat, as far as i studied, the mass shouldn’t change at the changing of the speed… But if you are sure, then…

Yes, mass is actually like a form of energy, the equation E = mc² refers to mass being ‘transformed’ into energy, which can indeed be used when calculating the amount of energy when matter and antimatter collide, or in nuclear reactions.
But the equation I used in the script is actually this one:

Although it’s closely related to E = mc², it’s not the same one. :rolleyes: And I didn’t make this up myself, I just got it from my physics schoolbooks.

But think about it this way. Velocity is also just a form of energy. If mass can be converted into energy, then why not vice versa?

Yeah, after posting i remembered that kinetic energy equation, after the relativity, was changed to

E = (1/2 * m * v^2) / ( sqrt( 1- v^2/c^2) )

So yes, i was just forgetting an aspect of the relativity…

Summer is terrible for school memories

Actually, I asked my physics teacher about it, and he said this equation doesn’t cover the hole relativity thing. It just shows the relation between mass and speed. Should’ve realised relativity also involves weird stuff like the bending of spacetime
If you’re interested in this kind of stuff (which you probably are, since you’re reading this thread :p) you may want to check this out http://www.youtube.com/watch?v=tpbGuuGosAY

Just needed to give fuel to my mind
I remembered everything my teacher told me the 4° year of high school!
Relativity is applied also to the lifetime of particle, to the distances, and so on… English isn’t my mother language, so honestly i’m not able to explain everything
btw, thanks for the video xD
“may the force be with you”