WEEK09
July 5 and July 7th
This page contains lectures, examples and assignments for
the class "Introduction to Scientific Programming".
Lectures:
Examples:
-
bisect1.cpp,
a simple function for carrying out the bisection method.
-
bisect1_f1.cpp,
a program which includes BISECT1 and F1, and seeks a solution
of F1(X) = 0.
-
bisect2.cpp,
a function for carrying out the bisection method.
-
bisect2_f1f2f3.cpp,
a program which includes BISECT2 and the functions F1, F2, and F3,
and seeks solutions of F1(X) = 0, F2(X) = 0, F3(X) = 0.
-
bracket.cpp,
a function which evaluates f(x) interactively, and can be helpful
in searching for brackets for a solution.
-
f1.cpp,
a function which evaluates f1(x) = cos(x)-x.
-
fp1.cpp,
a function which evaluates fp1(x) = -sin(x)-1, the derivative
of f1(x).
-
f2.cpp,
a function which evaluates f2(x), the satellite function.
-
f3.cpp,
a function which evaluates f3(x), the pole function.
-
f4.cpp,
a function which evaluates f4(x), the frozen pipe function.
-
f5.cpp,
a function which evaluates f5(x), the water tank function.
-
f6.cpp,
a function related to Lambert's equation.
-
f7.cpp,
a function with a hill that can confuse the secant method.
-
newton.cpp,
a simple function for carrying out Newton's method.
-
newton_f1.cpp,
a program which includes NEWTON and F1 and FP1, and seeks a solution
of F1(X) = 0.
-
secant.cpp,
a simple function for carrying out the secant method.
-
secant_f1.cpp,
a program which includes SECANT and F1, and seeks a solution
of F1(X) = 0.
Assignments:
-
In class exercise #8, on Tuesday: solve Lambert's equation.
-
Program Homework #6 is due on Thursday. Please mail your program and output
to Detelina.
-
Program Homework #7, to be assigned on Thursday, will be due on July 14th.
Final Projects:
-
projects.pdf, the requirements for the final project,
and some suggestions as to topics you may choose to work on.
-
By Tuesday,
July 12th, you must submit a one page project proposal or ask me to help you
choose a topic.
You can go up one level to
the ISC course page.
Last revised on 07 July 2011.