
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

CS3414. Homework problem set II. Due in a week, in class.
C&K = Cheney and Kincaid textbook. You can write your codes in C or C++.
the derivative
is of order
, i.e. (truncation) !#"$&%('*) .
for any
to
within 3 decimal points. Provide printouts for
. Clearly indicate
what algorithms are used for different values of x.
. Print out results for
.
series expansion of P
. Given that, how would you compute P
? (
rad).
job with a financial consulting company in Boston. Your first client is a young
businessman interested in exploring different investment portfolios. These differ
by two parameters: average expected annual return (annual interest rate, %) S and
duration of investment T. Assume for simplicity that the client invests $100,
and makes no further investments/withdrawals over the entire duration of the in-
vestment. Assume R can range from 4 % (low-risk, low-yield savings account) up
to 25 % (investments into Russian oil industry) and
. Use 2D plotting
capabilities of Mathematica to make a nice presentation for your client, showing
his options in terms of final net gain as a function of (R, T). Which combination(s)
of R,T can yield $150,000? Is it at all possible to make $1,000,000 under above
constraints on R and T?
1