Quadratic word problems (factored form)
Amir stands on a balcony and throws a ball to his dog, who is at ground level.
The ball's height (in meters above the ground),
from sympy import * x = Symbol('x') coeff = -1 term1 = 1 term2 = -7 y = coeff * (x + term1)*(x + term2) zero1 = solveset(Eq(x + term1)) zero2 = solveset(Eq(x + term2)) vertx = sum(zero1 + zero2) / 2 verty = y.subs(x, vertx) vertex = (vertx, verty); graph = {'Vertex': vertex, 'Zeros': zero1 + zero2} graph
What is the maximum height that the ball will reach?
verty
How many seconds after being thrown will the ball reach its maximum height?
vertx
The ball's height is modeled by a quadratic function, whose graph is a parabola.
The maximum height is reached at the vertex.
So in order to find the maximum height, we need to find the vertex's
We will start by finding the vertex's
The vertex's
Now let's take the zeros' average:
The vertex's
In conclusion, the maximum height that the ball will reach is
Ana dives into a pool off of a springboard high dive.
Her height (in meters above the water),
What is the height of Ana above the water at the time of diving?
-5*(0 + 1)*(0 - 3)
How many seconds after diving will Ana hit the water?
Ana hits the water when
We found that
In conclusion, Ana hit the water after
Simon has
The garden's area (in square meters) as a function of the garden's width
What width will produce the maximum garden area?
The maximum area is reached at the vertex. So in order to find the width that produces the maximum area, we need to find the vertex's
(defn root [[b c]] (- (/ c b))) (defn roots [eq1 eq2] [(root eq1) (root eq2)]) (defn vertex [n f1 f2] (let [x (/ (+ (root f1) (root f2)) 2) y (* n (+ (* (first f1) x) (last f1)) (+ (* (first f2) x) (last f2)))] [x y])) {:vertex (vertex 1 [-1 0] [1 -80]) :roots (roots [-1 0] [1 -80])}
In conclusion, the maximum area is produced when the rectangle's width is
What is the maximum area possible?
In order to find the maximum area, we need to find the vertex's
Guillermo is a professional deep water free diver.
His altitude (in meters relative to sea level),
What is the lowest altitude Guillermo will reach?
To find the lowest altitude, we need to find the vertex's
(vertex 1 [1/20 0] [1 -100])
In conclusion, the lowest altitude Guillermo will reach is
A certain company's main source of income is a mobile app.
The company's annual profit (in millions of dollars) as a function of the app's price (in dollars) is modeled by
What would be the company's profit if the app price is
The company's profit if the app price is
In conclusion, the company will have a profit of
(In other words, the company would lose
Ricardo throws a stone off a bridge into a river below.
The stone's height (in meters above the water),
How many seconds after being thrown will the stone reach its maximum height?
(vertex -5 [1 -8] [1 4])
The stone will reach its maximum height after
(-1 + 7) / 2
An object is launched from a platform.
Its height (in meters),
How many seconds after launch will the object hit the ground?
The object hits the ground when
(roots [1 1] [1 -9])
We found that
Therefore, the object will hit the ground after
A hovercraft takes off from a platform.
Its height (in meters),
What is the height of the hovercraft at the time of takeoff?
The height of the hovercraft at the time of takeoff is given by
(defn f-of [n f1 f2 x] (+ (* n (+ (* (first f1) x) (last f1)) (+ (* (first f2) x) (last f2))))) (f-of -1 [1 -11] [1 3] 0)
In conclusion, the height of the hovercraft at the time of takeoff is
How many seconds after takeoff will the hovercraft land on the ground?
The hovercraft lands on the ground when
(roots [1 -11] [1 3])
We found that
In conclusion, the hovercraft will land on the ground after
The power generated by an electrical circuit (in watts) as a function of its current
What current will produce the maximum power?
To find the current that will produce the maximum power, we need to find the vertex's
(vertex 1 [-15 0] [1 -8])
In conclusion, the maximum power occurs when the current is