Page 1 of 2
Wtf is a quadratic formula?
Posted: December 18th, 2007, 10:55
by friznit
I remember doing A level maths about a thousand years ago, but can't for the life of me remember how to do these. Can anyone help solve this? I need working too, or just an explanation how to do it so I can solve it myself.
I hit a baseball directly over 2nd base into shallow centre field (largely irrelevant baseball reference)
1. How far does the ball fly before hitting the ground?
2. How long was the ball in the air?
The height of the ball as a function of distance relative is:
h = -0.05d^2 + 2.8d + 1
The height of the ball as a function of time is:
h = -6.3t^2 + 31.4t + 1
Note:
- ^ means to the power of.
- You need to use the Quadratic Formula to solve this.
Posted: December 18th, 2007, 10:59
by amblin
.
Posted: December 18th, 2007, 11:02
by Lateralus
I used to be ace at these, but it's been at least 6 years since I've done one, and I haven't really got time to refresh myself on it just at the moment. The basics are all on that page that amblin linked to, but it's very simple once you know what you're doing. Obviously.
Posted: December 18th, 2007, 12:13
by friznit
Cool, that helped a lot. I plugged all the numbers in the equation and came up with:
Distance function
h=1.99, h=23.77
Time function
h=1.98, h=0
Now to answer the actual question. How do these relate to each other to get the total distance before hitting the ground and time it was in the air? My brain is approaching melt down.
Posted: December 18th, 2007, 12:38
by Dog Pants
Oh my word, this is making my terrible hangover much, much worse.
Posted: December 18th, 2007, 12:46
by fabyak
http://plus.maths.org/issue30/features/ ... -gifd.html
The bit next to the picture of an ill car looks like it could do the job
Posted: December 18th, 2007, 13:02
by bomberesque
Friz
quadratic equations give you 2 solutions for each parameter when H=0, in your case the answers are;
Distance function
d=1.99, d=23.77
Time function
t=1.98, t=0
This is because the ball is at height = 0 twice in its arc. At the end of its arc and (confusingly) just before you throw it (the formula gives the whole curve, arcing back from your throwing arm to the ground behind you, as if the ball came from there at some small negative value of t.
I think you got the numbers wrong out of teh quad equation though, I believe they are
when H=0, t = -0.3 or 5.02 and d = -0.35 or 56.35
The negative figures are the ones corresponding to the solution of teh ball having come, not from your arm, but from behind you along the same trajectory and are as such a nonsense result. The ones you want are the positive ones, thus the ball flies for 5.02 seconds and goes 56.35, as it's baseball, it's probably feet
to confirm, plug the figures back into your original formula and you should get H=0 in both cases, if not then I made an error and you should run the numbers through the quad equation again
can you tell I'm bored?
btw, I've just realised, this is to do with trejectories of nondirect fire, isbn't it? this has more to do with cannons than baseball, I'd warrant
Posted: December 18th, 2007, 13:09
by fabyak
Posted: December 18th, 2007, 14:43
by Baliame
Okay well my solution (may have been solved, didn't bother to scroll down):
We have two equations:
-0.05d^2 + 2.8d + 1 = 0
-6.3t^2 + 31.4t + 1 = 0
Since the coefficient, in both of the equations, of the quadratic member is negative, we're going to get parabolas which have a maximum.
First, let's see if the equations have real solutions (though I doubt that balls fly for negative time or distance in baseball)
Dd = b^2-4ac = 2.8^2 + 4*0.05 = 7.84 + 0.2 = 8.04 > 0 -> two real solutions
Dt = 31.4^2 + 4*6.3 = 985.96 + 25.2 = 1011.16 > 0 -> two real solutions
Okay, let's use the Quadratic Formula on both of the equations
(note: sqrt means square root)
d1 = (-b+sqrt(b^2-4ac))/2a = (-2.8 + sqrt(8.04)) / -0.1 = (-2.8 + 2.835) / -0.1 = 0.035 / -0.1 = -0.35
d2 = (-b+sqrt(b^2-4ac))/2a = (-2.8 - sqrt(8.04)) / -0.1 = (-2.8 - 2.835) / -0.1 = -5.635 / -0.1 = 56.35
t1 = blah blah = -0.3
t2 = blah blah = 5.02
At this point I bothered to scroll around. Note that I might suck at counting though and may have messed something up. My results don't really seem to match any of the above. I tend to fuck these up all the time. Fix'd.
Now, this shows that when the ball hits the ground after 5.02 seconds, it should land at a 56.35 lolwuts distance from you.
Posted: December 18th, 2007, 14:49
by Fear
Baliame wrote:
<s>Dt = 31.4^2 + 4*6.3 = 985.96 + 25.2 = 1091.16 > 0 -> two real solutions</s>
Dt = 1011.16
Edit: OK I've checked it and Bomber is correct. Baliame would be if his fingers were thinner.

Posted: December 18th, 2007, 15:03
by Hehulk
I think my hangovers comming back

Posted: December 18th, 2007, 15:31
by Baliame
Fear wrote:
Dt = 1011.16
Edit: OK I've checked it and Bomber is correct. Baliame would be if his fingers were thinner.

Oh yay. I forgot to check the discriminants.
Posted: December 18th, 2007, 15:34
by amblin
.
Posted: December 18th, 2007, 15:54
by friznit
Coolio. I got to the same answer as you guys, but I confess after brainsploding all over my desk after trying to do it manually, I confess I cheated and Googled a nifty
Quadratic Equation Solver. Love t'internets
Posted: December 18th, 2007, 16:03
by amblin
.
Posted: December 18th, 2007, 17:10
by friznit
amblin wrote:You mean you didn't make your own in excel? Blasphemy!
Hehe, I did give it a go, but it needed solver installed.
Posted: December 18th, 2007, 17:13
by Nickface
Seven.
Posted: December 18th, 2007, 18:04
by Roman Totale
Nickface wrote:Seven.

Posted: December 18th, 2007, 18:06
by spoodie
Nickface wrote:Seven.
By my calculations you are correct.
Posted: December 18th, 2007, 18:18
by friznit
That number doesn't exist. It was removed by governmental decree 10 years ago and replaced by the concept Novembergargle