$20 Bonus + 25% OFF
Securing Higher Grades Costing Your Pocket?
Book Your Assignment at The Lowest Price
Now!
Students Who Viewed This Also Studied
TM MC1 Mathematical and Computational Finance
Task
Assginment Project
You are asked to implement the following programming tasks (1-5), using good coding practice (point 6 below) and to write MATLAB and PDF documentation (task 7).
1. (1 mark) Consider the following domain: x interval [a,b], t interval [0,T]. Generate the grid in the x, t coordinates as follows:
• Space interval divided into N equal parts (N+1 boundary points). The index values should be consistent with MATLAB array index convention running from 1 to N+1.
• Time interval divided into M equal parts (M+1 boundary points). The index values should be consistent with MATLAB array index convention running from 1 to M+1.
2. (4 marks) Using the change of variables described in the lectures (going from the unknown function V(S,t) to the unknown function v(x, τ) and then to the unknown function u(x, τ)), calculate the FDM grid corresponding to the conversion of the BS equation to the heat equation:
Use the values Smin = 0.001, Smax = 4 K . Write the MATLAB code to generate the x interval and the τ interval (from the values of Smin , Smax and T calculate the range of the x variable and the τ variable). Note that the change of variables is and that the above time variable is different by a factor from the time variable used in the
Background section (where we used the change of time variable τ = T – t ). Calculate the corresponding grid.
3. (4 marks) Translate the initial and boundary conditions (1) and (2) in the correct initial and boundary conditions for the new unknown function u(x, τ).
4. (3 marks) Use a scheme of your choice (Implicit, Explicit, or Crank-Nicholson) to solve the heat equation for u(x, τ). In the case of the explicit finite difference scheme, demonstrate that the scheme is conditionally stable and find the condition under which the scheme would be stable.
5. (6 marks, distributed as detailed below) Work your way back from u(x, τ) to V(S,t) to solve the Black-Sholes equation and produce:
a. (3 marks) a 2d plot showing the price of the option at time 0 (on the vertical axis) vs. the stock spot price (on the horizontal axis);
b. (3 marks) a surface plot of the option prices V(S,t) for the whole FDM grid in S and t.
6. (4 marks) You can organise your code in MATLAB scrips as you prefer. Up to two marks will be awarded if: (a) you try to implement the solution as a set of MATLAB functions, wherever it helps to keep your code readable, well structured, and maintainable; (b) include MATLAB scripts calling your functions to demonstrate the code functionalities. The code should be saved as MATLAB scripts in all cases. No code purely included as text in the
documentation (with no accompanying .m file) will be considered for marking code functionalities and correctness.
7. (8 marks, distributed as detailed below) The code should be accompanied by detailed documentation, in the form of MATLAB comments, and as typeset documents in yourfavourite word processing software (LaTeX, Word, etc.). Documents should be saved in PDF format. The documentations has to consist in:
• (2 marks) MATLAB comments explaining the structure of the code, available functions, main variables and any other information to help to understand the code;
• developer documentation (as a typeset, not handwritten, PDF document) summarizing:
(2 marks) the structure of the code, available functions, main variables and any other information to help to understand the code, including directions on how to extend the code to handle more general features;
(2 marks) some numerical test runs of your code; you need to check the accuracy of your results comparing them to the values calculated using the online tool at http://www.coggit.com/freetools (left menu “Financial Pricing Tools -> Barrier Option Pricing”);
• (2 marks) end-user’s instructions (as a second typeset, not handwritten, PDF document) explaining how to use the script(s), how to input data and how the results are presented, and a brief description of the methods implemented. Also, the discussions of (a) and (b) should be included here.
TM MC1 Mathematical and Computational Finance
Answer in Detail
Solved by qualified expert
Get Access to This Answer
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.
Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.
Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.
Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.
18 More Pages to Come in This Document. Get access to the complete answer.
Get all round academic assignment help from MyAssignmenthelp.com. Homework help, thesis help, case study and coursework help are the four significant pillars of our success. We make your academic journey comfortable with first-rate assignments prepared by eminent writers. Handpick your desirable author from our 3000+ PhD qualified writers. If you are standing on the verge of deadline, MyAssignmenthelp.com is the place where you should land. We do not have any record of deadline failure in the history of MyAssignmenthelp.com. Being the leading online assignment help in Australia, UK and US, our team assures 100 percent academic success of students. Get your assignment tailored by instructing our writers live. Our dedicated executives are available 24 hours and 365 days a year to clarify all academic queries of students.
More TMMC1 TM MC1 Mathematical and Computational Finance: Questions & Answers
Management
Create a Customer Billing System using C++ This could be for a restaurant or supermarket. required: using visual studio to program program should be structured to make enhancement easier simple and straight forward layout it should show how user error are coped with feature: Use of structs or classe …
View Answer
ITECH2001 Game Development Fundamentals
Task:
Overview
Your task this semester will be to first pitch, then plan and create assets for, and finally develop a small prototype for an original video game. Your game must not be based on any existing artistic works or media, such as film, television, games, stories, or characters & …
View Answer
Business Management
We need to do some improvements for the project done by the expert who was working on it , we want you to ask the same expert to do some extra work on the same project as he is familiar with it and tell me the price , He need to do testing to the software prototype : – write about it how it was perf …
View Answer
WEBD-1008 Web Development
Tasks
1. Ensure that at least one product has been added to the shopping cart.
2. Validate the shipping and payment fields. If any errors are made during the form submission process, the appropriate error should be displayed (check the markup and demos).
When the function loads, …
View Answer
Content Removal Request
If you are the original writer of this content and no longer wish to have your work published on Myassignmenthelp.com then please raise the
content removal request.
Choose Our Best Expert to Help You
Phelps Peter
I have acquired my doctorate degree from National University of Singapore.
800 – Completed Orders
Hire Me
Herbert Baird
LLM with specialization in Audit from American University Washington DC
600 – Completed Orders
Hire Me
Still in Two Minds? The Proof is in Numbers!
33845 Genuine Reviews With a Rating of 4.9/5.
English
Essay: 1.6 Pages, Deadline:
11 hours
I like how they help me. They are easy honest and always on time. I recommend them.
User ID: 8***35 United States
Civil Law
Home Work: 12 Pages, Deadline:
15 days
Thank you so much! It was a well-written and organized paper. Great job Thank you so much! Great job,Well written, but hoped for better grade, but i w …
User ID: 3***07 Cork, Ireland
Accounting
Assignment: 1400 Pages, Deadline:
8 days
It was very accurate. The research was done very well and I got nice marks . They really helped me with my work as I was struggling
User ID: 5***57 Sydney, Australia
Business Law
Assignment: 8 Pages, Deadline:
9 days
it was great assignment according to what was important, without mistakes, great
User ID: 8***11 Lincoln, Great Britain
Business Law
Assignment: 6.4 Pages, Deadline:
10 days
The assignment done by professional way and I got more than 85 marks for this subject. Thanks for the whole Nerddz team.
User ID: 2***65 Deepdene, Australia
Psychology
Assignment: 6.8 Pages, Deadline:
10 days
Great work done by the Team Nerddz. I got marks more than 85 for the subject. Thank you…
User ID: 2***65 Deepdene, Australia
Management
Assignment: 6 Pages, Deadline:
4 days
It was nice work and written in a good way. It helped me to increase my final grades for the same course and instructor praised me. Got good grades ov …
User ID: 5***29 Calgary, Canada
Economics
Assignment: 3.5 Pages, Deadline:
2 days
It was nice work and written in a good way. It helped me to increase my final grades for the same course and instructor praised me. 1 star less for im …
User ID: 5***29 Calgary, Canada
Management
Home Work: 3 Pages, Deadline:
1 day
This instructor was really very strict but still gave good marks. Abcdefghijklmno
User ID: 5***29 Calgary, Canada
Management
Thesis: 3 Pages, Deadline:
1 day
Amazing work on this! Got good marks excellent work by the writer. I did not expect so much marks
User ID: 5***29 Calgary, Canada
English
Essay: 1.6 Pages, Deadline:
11 hours
I like how they help me. They are easy honest and always on time. I recommend them.
User ID: 8***35 United States
Civil Law
Home Work: 12 Pages, Deadline:
15 days
Thank you so much! It was a well-written and organized paper. Great job Thank you so much! Great job,Well written, but hoped for better grade, but i w …
User ID: 3***07 Cork, Ireland
Accounting
Assignment: 1400 Pages, Deadline:
8 days
It was very accurate. The research was done very well and I got nice marks . They really helped me with my work as I was struggling
User ID: 5***57 Sydney, Australia
Business Law
Assignment: 8 Pages, Deadline:
9 days
it was great assignment according to what was important, without mistakes, great
User ID: 8***11 Lincoln, Great Britain
Business Law
Assignment: 6.4 Pages, Deadline:
10 days
The assignment done by professional way and I got more than 85 marks for this subject. Thanks for the whole Nerddz team.
User ID: 2***65 Deepdene, Australia
Psychology
Assignment: 6.8 Pages, Deadline:
10 days
Great work done by the Team Nerddz. I got marks more than 85 for the subject. Thank you…
User ID: 2***65 Deepdene, Australia
Management
Assignment: 6 Pages, Deadline:
4 days
It was nice work and written in a good way. It helped me to increase my final grades for the same course and instructor praised me. Got good grades ov …
User ID: 5***29 Calgary, Canada
Economics
Assignment: 3.5 Pages, Deadline:
2 days
It was nice work and written in a good way. It helped me to increase my final grades for the same course and instructor praised me. 1 star less for im …
User ID: 5***29 Calgary, Canada
Management
Home Work: 3 Pages, Deadline:
1 day
This instructor was really very strict but still gave good marks. Abcdefghijklmno
User ID: 5***29 Calgary, Canada
Management
Thesis: 3 Pages, Deadline:
1 day
Amazing work on this! Got good marks excellent work by the writer. I did not expect so much marks
User ID: 5***29 Calgary, Canada