DIR Return Create A Forum - Home
---------------------------------------------------------
Essentials of Scientific Computing 2013
HTML https://esc2013.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: General Discussion
*****************************************************
#Post#: 8--------------------------------------------------
Homework 7/10/13
DIR By: mathnathan
Date: July 11, 2013, 8:41 am
---------------------------------------------------------
Your homework to be done before Friday's class (7/12/13)
Read the section on Functions (II) -
HTML http://www.cplusplus.com/doc/tutorial/functions2/
HTML http://www.cplusplus.com/doc/tutorial/functions2/
Read the section on Arrays -
HTML http://www.cplusplus.com/doc/tutorial/arrays/
HTML http://www.cplusplus.com/doc/tutorial/arrays/
Write a short summary of what you learned from them on your
blogs.
You homework to be done before Monday's class (7/15/13)
Take the integral program we wrote in class together (or get the
one I posted in the Pogramming Section) and add one more
function, a function which performs integration using the
trapezoid rule. Then put it in the for loop we used to find the
optimal n for the left hand rule, and find the optimal n for the
trapezoid rule. Then write a short blog post comparing the two
methods. For those of you who find this to easy, I encourage you
to explore a few other numerical integration schemes as well.
Write a function for each method you'd like to test, such as
perhaps, Simpon's Rule. Again, no matter what you do you will
write a short blog post summarizing your work and your findings.
Tomorrow we will explore references and arrays!
*****************************************************
Page 1 of 1