PLEASE ANSWER THIS QUICKLY, I MEAN ASAP. ITS VERY IMPORTANT TO GET THE ANSWER NO
ID: 3574354 • Letter: P
Question
PLEASE ANSWER THIS QUICKLY, I MEAN ASAP. ITS VERY IMPORTANT TO GET THE ANSWER NOW. THANK YOU
1. Write the command lines in which would plot a rectangular triangle filled with yellow color using MATLAB.
2. You open a savings account in a bank with initial $10,000. The interest rate is 5% per month compounded monthly. ("Compounded monthly" means that at the end of each month the interest is added to your balance.) At the first daay of each month you deposit $10,000 to your savings account. You do not withdraw money from the account. Write a Matlab script to calculate the balance at your savings account and the earning after 5 years. What are the balance and the earning after 5 years? Use MATLAB.
Explanation / Answer
1. rectangle('Position',[0 0 5 3],'FaceColor',[1 .1 .0])
2. P = $10000; % Principal diposit amount
r = 0.05; % Interest rate
A = $10000; % Initial deposit
n = 5*12; % Total months
St1 = A * ( (1 + r)n ) ;
St2 = P * ( ( (1 + r)n - 1) / r );
Balance = St1 + St2;
Earnings = Balance - (n * P);
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.