Question
Can you please help me by showing the code in matlab and mathematically how to solve it? please read over the following to complete this.
Can you please help me by showing the code in matlab and mathematically how to solve it? please read over the following to complete this.
This must have the following components: 1) Clearly Defined Problem Statement: Have a clear problem statement, which needs to be solved. This doesnt mean that the problem is such that there is only one right answer. 2) Real-World Scenario (Mathematical Model): It must be based on a real-world situation, which includes a mathematical model that represents the situation using fundamental scientific principles. 3) Design Parameter: At least one design or decision parameter must be included in the problem, such that either the use of for loops and/or conditional statements (e.g., if-elseif-else-end) are a required part of the analysis.
This must include: a) Script: Create an m-file that generates all the plots and carries out your analysis. It should include every calculation that you do and should include comments throughout your script describing what variables and functions you are using and why. b) Plots: Create at least one two-dimensional plot for your project. Some projects may require multiple plots or three-dimensional plots as well. Plots must be properly labeled (axis and title) and include legend. c) Concluding Statement: You will write a short paragraph that summarizes your analysis and what your suggestion is for a solution to the problem. d) A Description of your Engineering Problem Solving Process: Write short descriptions of how you have addressed each of the four key aspects of Plyas Problem Solving Process
Engineering Problem #6 - Investment Continuous compounding Annual compounding 1 2 3 4 Years 19 20 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Background People invest with the expectation of receiving more than what they invested. Depending on the investment, interest can compound differently. The most common ways interest accrues is through discrete compounding and continuous compounding When the interest is compounded discretely, its formula is: Future Value = Principle (1+-) When the interest is compounded continuously, its formula is: Future Value = Principale f = The term of the contract (in years) m = The number of compounding periods per year T = interest rate Problem Statement You are asked to a) Use MATLAB to calculate the payoff of 100 dollar with annually discretely compounded interest and continuously compounded interest for different scalar inputs (r = 0.05. t = 5.5) b) Now, extend your program to take vector input in r, then int, and then in both c) Produce a plot of the payoff of one dollar at 8% interest per year, with continuous and discrete compounding, for matunities of one to 35 years, in steps of 6 months. d) Write a half page critique of using computer aided problem solving Engineering Problem #6 - Investment Continuous compounding Annual compounding 1 2 3 4 Years 19 20 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Background People invest with the expectation of receiving more than what they invested. Depending on the investment, interest can compound differently. The most common ways interest accrues is through discrete compounding and continuous compounding When the interest is compounded discretely, its formula is: Future Value = Principle (1+-) When the interest is compounded continuously, its formula is: Future Value = Principale f = The term of the contract (in years) m = The number of compounding periods per year T = interest rate Problem Statement You are asked to a) Use MATLAB to calculate the payoff of 100 dollar with annually discretely compounded interest and continuously compounded interest for different scalar inputs (r = 0.05. t = 5.5) b) Now, extend your program to take vector input in r, then int, and then in both c) Produce a plot of the payoff of one dollar at 8% interest per year, with continuous and discrete compounding, for matunities of one to 35 years, in steps of 6 months. d) Write a half page critique of using computer aided problem solvingStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started