Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

Introduction to the Mathematics of Finance. Take-Home Midterm.

Due March10, 2023, 11.59 p.m.

Please write a pledge that you did not copy solutions from the work of other students. You can consult TAs if you have any difficulties. This midterm uses base matlab models that can be downloaded from

Courseworks.

1.Matlab option model. Download from Courseworks matlab option model files BlackScholesStocks.m and BlackScholesGraph.m and put them in the same directory. BlackScholesStocks.m contains the function that calculates the Black Scholes price for options on nondividend paying stocks. BlackScholesGraph.m is a       script that makes a graph of option price as a function of stock price. Type at Matlab prompt

>BlackScholesGraph                                                and the script will be executed and the graph will appear.

Now modify the file BlackScholesStocks.m so that the function now calculates the price of options on     stocks paying continuous dividends at a rate q. Modify the file BlackScholesGraph.m so that it now plots graph of a call with the same parameters as before but with the dividend yield q=2.5% and the new strike price 12. Submit printouts of code and graph.

2 Download matlab Brownian motion model from the courseworks.  Modify it to Geometric Brownian       motion with starting value Xo=80, growth rate µ = 0.05, volatility σ = 0.22 and 5000 trajectories. Check    that the code works. Try out 50,000 trajectories. Try out 100,000 trajectories. Submit the code printout and the graph printout for 5000 trajectories.

3. Using arbitrage arguments explain why the price of an American call option on a stock paying no   dividends should be the same as the price of a corresponding European call. Why American calls on a nondividend paying stock should not be exercised early.

4. Why when the stock pays dividends the argument of the problem No.3 can not be used. Give a numerical example (choosing x, k, r, T t, σ) in which it is obvious (without any formulas) that American put price on a nondividend paying stock is larger then the corresponding European put price.

5. (a) The stock price is 60 the volatility of the stock is 25%. Assuming that the time to expiration is 3 months and the interest rate is 2% per annum calculate the price P of the

European call option with strike 60.

(b) Calculate Δ , Γ , ρ , Vega using formulas for these parameters. Calculate the same parameters approximately using the options calculator.

(c) Check that following relationship holds

Θ + rxΔ + σ2 x 2 Γ = rP

6. What are the parameters affecting prices European and American calls and puts. How do the prices change when one of the parameters changes with all the others remaining the same?

7. Suppose that we have three European calls with strikes 30, 35, and 40 and the same maturity 1 month. Their prices are  10.00, 8.00, 5.00.  Is it possible to do an arbitrage?

8. Suppose that current stock price is 100 $. Its annualized volatility is 20 % and annualized return 12 % i.e. we assume that the stock price follows dXt = 0. 12 Xt dt+0.2 Xt dWt. Write the probability density function   for the stock in 1 year. What is the mean and standard deviation of the terminal stock price? (standard

deviation of price, not of return)