Quellcode durchsuchen

README-en.md edited online with Bitbucket

Jose R Ortiz Ubarri vor 8 Jahren
Ursprung
Commit
cafbc7c261
1 geänderte Dateien mit 14 neuen und 6 gelöschten Zeilen
  1. 14
    6
      README-en.md

+ 14
- 6
README-en.md Datei anzeigen

@@ -108,6 +108,7 @@ is a quadratic equation with a parabola that opens down and intersects the $$x$$
108 108
 
109 109
 !INCLUDE "../../eip-diagnostic/quadratic-frog/en/diag-quadratic-frog-09.html"
110 110
 <br>
111
+
111 112
 ---
112 113
 
113 114
 ---
@@ -115,7 +116,7 @@ is a quadratic equation with a parabola that opens down and intersects the $$x$$
115 116
 
116 117
 ## Laboratory session:
117 118
 
118
-### Exercise 1: Implement the quadratic formula
119
+### Exercise 1 - Implement the quadratic formula
119 120
 
120 121
 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 122
 
@@ -150,9 +151,7 @@ In this exercise you will implement the quadratic formula to complete a game in
150 151
 
151 152
     ---
152 153
 
153
-5. Use "Deliver 1" in Moodle to submit the file `QuadraticFormula.cpp` containing the code with the functions `QuadraticPlus` and `QuadraticMinus`. Remember to use good programming practices, by including the names of the programmers and documenting your program.
154
-
155
-6. To play, the frog should leap from one leaf to another. Note that the leaves have values for $$x_1$$ and $$x_2$$. These values represent the intersects of the parabola with the $$x$$-axis. You should input the values for the coefficients $$a, b, c$$ of the quadratic equation so that its graph that is a parabola that opens down and intersects the $$x$$-axis in the values $$x_1, x_2$$ shown in the leaves. You can obtain these values noting that
154
+5. To play, the frog should leap from one leaf to another. Note that the leaves have values for $$x_1$$ and $$x_2$$. These values represent the intersects of the parabola with the $$x$$-axis. You should input the values for the coefficients $$a, b, c$$ of the quadratic equation so that its graph that is a parabola that opens down and intersects the $$x$$-axis in the values $$x_1, x_2$$ shown in the leaves. You can obtain these values noting that
156 155
 
157 156
  $$a x^2 + b x + c = a(x-x_1)(x-x_2),$$
158 157
 
@@ -161,7 +160,7 @@ In this exercise you will implement the quadratic formula to complete a game in
161 160
 
162 161
 
163 162
 
164
-### Exercise 2: Write a program to obtain a student's grade point average (GPA)
163
+### Exercise 2 - Write a program to obtain a student's grade point average (GPA)
165 164
 
166 165
 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. 
167 166
 
@@ -177,4 +176,13 @@ Suppose that all courses in Yauco's University are 3 credits each and have the f
177 176
 
178 177
     2. Remember that, in C++, when both operands in the division are integers, the result will also be an integer; the remainder will be discarded. Use "type casting": `static_cast<type>(expression)` to solve this problem.
179 178
 
180
-3. Verify your program by computing the GPA of a student that has two A's and 2 B's; what is the grade of this student, A or B (A goes from 3.5 to 4 points)? When your program is correct, save the `main.cpp` file and submit it using "Deliver 2" in Moodle. Remember to follow the instructions regarding the names and types of the variables,  to include the names of the programmers, to document your program and to use good programming practices.
179
+3. Verify your program by computing the GPA of a student that has two A's and 2 B's; what is the grade of this student, A or B (A goes from 3.5 to 4 points)? When your program is correct, save the `main.cpp` file. 
180
+---
181
+
182
+---
183
+
184
+## Deliverables
185
+
186
+1. Use "Deliverable 1'  in Moodle to submit the file `QuadraticFormula.cpp` containing the code with the functions `QuadraticPlus` and `QuadraticMinus`. Remember to use good programming practices, by including the names of the programmers and documenting your program.
187
+
188
+2. Use "Deliverable 2"  to submit the file main.cpp with the code to compute grade average. Remember to follow the instructions regarding the names and types of the variables, to include the names of the programmers, to document your program and to use good programming practices.