Solving for Unknown Variables in Acceleration-Based Time Travel Equations

  • Thread starter Thread starter DaleSwanson
  • Start date Start date
  • Tags Tags
    Variable
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 6K views
DaleSwanson
Messages
350
Reaction score
2
I wasn't sure if this should go here, but I guess it falls under independent study.

Homework Statement


Ok, so I'm making a javascript calculator to find the travel time if you accelerate at 1 g. The point of this was to help me learn JS and a bit of physics and math. The possible variables are:
a - acceleration
T - ship time
t - Earth time
d - distance
v - final speed

I wanted to make it so that you could provide whichever variable you knew and it would solve for the rest. So far this has gone well, but I'm having trouble getting the other variables from velocity alone.


Homework Equations



I've been using the equations from this page:
http://math.ucr.edu/home/baez/physics/Relativity/SR/rocket.html
In particular I was trying to start with this one and solve for t:
[tex]v = \frac{at}{\sqrt{1 + (at/c)^{2}}}[/tex]

The Attempt at a Solution



I've spent quite a while trying to solve for t and this is as far as I've gotten:
t2 - c-2t2v2 = a-2v2
I wanted to get rid of all those exponents by finding the square root of both sides, but apparently I can't do this (I've been plugging in known variables and seeing if the equation is still correct). At first I thought this was just because of the minus, which would become i if I square rooted it. However, I then tried x2 + y2 = 41 where x = 4, y = 5. Simply finding the square root of both sides gave 4 + 5 = 6.4, so I guess you can't do square root when there is addition in the equation at all.

Is there any way to get t by itself here?
 
Last edited by a moderator:
Physics news on Phys.org
Factor out t-squared.

Remember, when in doubt, factor!
 
Just to add to what pinu7 said:

I'm assuming you already know how to solve simple equations, such as multiplying/dividing and adding/subtracting.

Try squaring both sides to rid yourself of that pesky square root. Then manipulate the equation to secondly rid yourself of that pesky denominator. Expand and re-arrange to have all t on one side. Now here is where pinu7's advice comes in. If you made it this far, it should be quite simple to solve for t. Remember to place restrictions on t since you squared the equation earlier on.
 
Ok, well I started over and did this:

Square to get rid of root:
[tex]v^{2} = \frac{at}{\sqrt{1 + (at/c)^{2}}}^{2}[/tex]

[tex]v^{2} = \frac{a^{2}t^{2}}{1 + (a^{2}t^{2}/c^{2})}[/tex]

Multiply to get rid of fraction:
[tex]v^{2} * \frac{1 + (a^{2}t^{2}/c^{2})}{1} = \frac{a^{2}t^{2}}{1 + (a^{2}t^{2}/c^{2})} * \frac{1 + (a^{2}t^{2}/c^{2})}{1}[/tex]

[tex]v^{2} * (1 + \frac{a^{2}t^{2}}{c^{2}}) = a^{2}t^{2}[/tex]

[tex]v^{2} + \frac{v^{2}a^{2}t^{2}}{c^{2}} = a^{2}t^{2}[/tex]

Multiply to get rid of fraction:
[tex]\frac{v^{2}}{1} * + \frac{v^{2}a^{2}t^{2}}{c^{2}} = a^{2}t^{2}[/tex]

[tex]v^{2}c^{2} + v^{2}a^{2}t^{2} = a^{2}t^{2}c^{2}[/tex]

Shuffle some things around and:
[tex]t^{2} = \frac{c^{2}}{a^{2}c^{2}/v^{2} - a^{2}}[/tex]

Thanks for the help.
 
No probs. But I just set the directions, you found your way pretty nicely :smile:

Just a note: when you take the root of both sides to make t the subject, there are various ways to express the equation, but it would be best if you could manipulate it to look something like your original expression (there should be a 1 in the surd). It isn't necessary though, just... uh... nice? (lol yeah it sounds kinda fruity :-p)