|
@@ -89,7 +89,17 @@ $$y=-(x+2)(x-3)=-x^2+x+6$$
|
89
|
89
|
|
90
|
90
|
es una ecuación cuadrática cuya parábola abre hacia abajo e interseca el eje de $$x$$ en $$x_1=-2$$ y $$x_2=3$$. Nota que, en esta ecuación, los valores de $$a,b,c$$ son $$a=-1, \ b=1, \ c=6$$.
|
91
|
91
|
|
|
92
|
+
|
|
93
|
+!INCLUDE "../../eip-diagnostic/quadratic-frog/es/diag-quadratic-frog-01.html"
|
|
94
|
+
|
|
95
|
+!INCLUDE "../../eip-diagnostic/quadratic-frog/es/diag-quadratic-frog-04.html"
|
|
96
|
+
|
|
97
|
+!INCLUDE "../../eip-diagnostic/quadratic-frog/es/diag-quadratic-frog-05.html"
|
|
98
|
+
|
|
99
|
+!INCLUDE "../../eip-diagnostic/quadratic-frog/es/diag-quadratic-frog-08.html"
|
|
100
|
+
|
92
|
101
|
---
|
|
102
|
+
|
93
|
103
|
---
|
94
|
104
|
|
95
|
105
|
##Sesión de laboratorio:
|
|
@@ -144,6 +154,12 @@ En este ejercicio escribirás un programa para obtener el promedio de puntos pa
|
144
|
154
|
|
145
|
155
|
Supón que todos los cursos en la Universidad de Yauco son de $$3$$ créditos y que las notas tienen las siguientes puntuaciones: $$A = 4$$ puntos por crédito; $$B = 3$$ puntos por crédito; $$C = 2$$ puntos por crédito; $$D = 1$$ punto por crédito y $$F = 0$$ puntos por crédito.
|
146
|
156
|
|
|
157
|
+!INCLUDE "../../eip-diagnostic/pretty-plots/es/diag-pretty-plots-05.html"
|
|
158
|
+
|
|
159
|
+!INCLUDE "../../eip-diagnostic/pretty-plots/es/diag-pretty-plots-06.html"
|
|
160
|
+
|
|
161
|
+!INCLUDE "../../eip-diagnostic/pretty-plots/es/diag-pretty-plots-07.html"
|
|
162
|
+
|
147
|
163
|
**Instrucciones**
|
148
|
164
|
|
149
|
165
|
1. Crea un nuevo proyecto "Non-Qt" llamado Promedio. Tu función `main()` contendrá el código necesario para pedirle al usuario el número de A's, B's, C's, D's y F's obtenidas por el estudiante y computar el promedio de puntos para la nota (GPA por sus siglas en inglés).
|
|
@@ -266,7 +282,16 @@ $$y=-(x+2)(x-3)=-x^2+x+6$$
|
266
|
282
|
is a quadratic equation with a parabola that opens down and intersects the $$x$$-axis at $$x_1=-2$$ and $$x_2=3$$. Note that, in this equation, the values for $$a, b, c$$ are $$a=-1, \ b=1, \ c=6$$.
|
267
|
283
|
|
268
|
284
|
|
|
285
|
+!INCLUDE "../../eip-diagnostic/quadratic-frog/en/diag-quadratic-frog-01.html"
|
|
286
|
+
|
|
287
|
+!INCLUDE "../../eip-diagnostic/quadratic-frog/en/diag-quadratic-frog-04.html"
|
|
288
|
+
|
|
289
|
+!INCLUDE "../../eip-diagnostic/quadratic-frog/en/diag-quadratic-frog-05.html"
|
|
290
|
+
|
|
291
|
+!INCLUDE "../../eip-diagnostic/quadratic-frog/en/diag-quadratic-frog-08.html"
|
|
292
|
+
|
269
|
293
|
---
|
|
294
|
+
|
270
|
295
|
---
|
271
|
296
|
|
272
|
297
|
##Laboratory session:
|
|
@@ -324,6 +349,12 @@ In this exercise you will write a program to obtain a student's grade point aver
|
324
|
349
|
|
325
|
350
|
Suppose that all courses in Cheo'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.
|
326
|
351
|
|
|
352
|
+!INCLUDE "../../eip-diagnostic/pretty-plots/en/diag-pretty-plots-05.html"
|
|
353
|
+
|
|
354
|
+!INCLUDE "../../eip-diagnostic/pretty-plots/en/diag-pretty-plots-06.html"
|
|
355
|
+
|
|
356
|
+!INCLUDE "../../eip-diagnostic/pretty-plots/en/diag-pretty-plots-07.html"
|
|
357
|
+
|
327
|
358
|
**Instructions**
|
328
|
359
|
|
329
|
360
|
1. Start a new "Non-Qt" project called "Average". Your `main()` function will contain the necessary code to ask the user for the number of A's, B's, C's, D's and F's obtained and compute the grade point average (GPA).
|