|
@@ -115,12 +115,11 @@ is a quadratic equation with a parabola that opens down and intersects the $$x$$
|
115
|
115
|
|
116
|
116
|
## Laboratory session:
|
117
|
117
|
|
118
|
|
-### Exercise 1
|
|
118
|
+### Exercise 1: Implement the quadratic formula
|
119
|
119
|
|
120
|
120
|
In this exercise you will implement the quadratic formula to complete a game in which a frog leaps from one leaf to another. You will assume that the leaves are in the $$x$$-axis and that the leap is determined by a parabola that opens down. If you want the frog to leap from leaf to leaf, you must find a quadratic equation with a parabola that opens down and intersects the $$x$$-axis in the places where the leaves are located. Your task is to write the equations for the quadratic formula.
|
121
|
121
|
|
122
|
122
|
|
123
|
|
-
|
124
|
123
|
**Instructions**
|
125
|
124
|
|
126
|
125
|
1. Load the proyect `QuadraticFrog` into `QtCreator`. There are two ways to do this:
|
|
@@ -162,9 +161,7 @@ In this exercise you will implement the quadratic formula to complete a game in
|
162
|
161
|
|
163
|
162
|
|
164
|
163
|
|
165
|
|
-### Exercise 2
|
166
|
|
-
|
167
|
|
-In this exercise you will write a program to obtain a student's grade point average (GPA).
|
|
164
|
+### Exercise 2: Write a program to obtain a student's grade point average (GPA)
|
168
|
165
|
|
169
|
166
|
Suppose that all courses in Yauco's University are 3 credits each and have the following point values: $$A = 4$$ points per credit; $$B = 3$$ points per credit; $$C = 2$$ points per credit; $$D = 1$$ point per credit y $$F = 0$$ points per credit.
|
170
|
167
|
|