|
@@ -187,7 +187,6 @@ In this exercise you will plot the graphs of some parametric equations of intere
|
187
|
187
|
|
188
|
188
|
Implement the above expressions, change the condition for termination of the `for` to `t < 16*M_PI`, and look at the plot that is displayed. It should look like a butterfly. This plot should be obtained inside an `XYPlotWindow` object called `wButterfly`.
|
189
|
189
|
|
190
|
|
-8. Use "Deliverable 1" in Moodle to submit the file `main.cpp` containing the code with the parametric equations for the graphs of the circle, the heart, and the butterfly. Remember to use good programming practices, to include the names of the programmers and to document your program.
|
191
|
190
|
|
192
|
191
|
In [2] and [3] you can find other parametric equations of interesting curves.
|
193
|
192
|
|
|
@@ -221,13 +220,24 @@ Suppose that all courses in Cheo's University are $$3$$ credits each and have th
|
221
|
220
|
|
222
|
221
|
!INCLUDE "../../eip-diagnostic/pretty-plots/en/diag-pretty-plots-07.html"
|
223
|
222
|
<br>
|
224
|
|
-3. Verify your program by computing the GPA of a student that has two A's and 2 B's; what is the average of this student? When your program is correct, save the `main.cpp` file and submit it using "Deliverable 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.
|
|
223
|
+
|
|
224
|
+3. Verify your program by computing the GPA of a student that has two A's and 2 B's; what is the average of this student? When your program is correct, save the `main.cpp` file.
|
|
225
|
+
|
|
226
|
+---
|
|
227
|
+
|
|
228
|
+---
|
|
229
|
+
|
|
230
|
+## Deliveralbles
|
225
|
231
|
|
|
232
|
+1. Use "Deliverable 1" in Moodle to submit the file `main.cpp` containing the code with the parametric equations for the graphs of the circle, the heart, and the butterfly. Remember to use good programming practices, to include the names of the programmers and to document your program.
|
|
233
|
+
|
|
234
|
+2. Use "Deliverable 2" in Moodle 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.
|
226
|
235
|
|
227
|
236
|
---
|
228
|
237
|
|
229
|
238
|
---
|
230
|
239
|
|
|
240
|
+
|
231
|
241
|
## References:
|
232
|
242
|
|
233
|
243
|
[1] http://mathworld.wolfram.com/ParametricEquations.html
|