Wednesday
April 23, 2014

Homework Help: matlab

Posted by sean on Saturday, October 29, 2011 at 10:31pm.

One bank pays 5.5 percent annual interest, while a second bank pays
4.5 percent annual interest. Determine how much longer it will take to
accumulate at least $50 000 in the second bank account if you deposit
$1000 initially and $1000 at the end of each year.

need help writing a script for matlab using the for,while loops.

this is what i have so far but its not giving me anything.


r2=.045;
P=1000;
n=1;
count=0

for t=0:99
A=P(1+r2/n)^(nt);
if A<50000
A=P(1+r2/n)^nt;
count=t
end

end

disp(count)

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Finance - A bank offers your firm a revolving credit arrangement for up to $85 ...
College alerbra - Scott invested a total of $9500 at two separate banks. One ...
Economics - Suppose you deposit $5,000 in a bank which pays 10 percent interest ...
eco - Suppose a person pays $80 of annual interest on a loan that has a 5 ...
math - This problem has to do with exponential models. The question says, you ...
pre-algebra - You split $1500 between two savings accounts. Account A pays ...
math - Suppose $500 is divided into two bank accounts. One account pays 15% ...
Word problem - suppose you deposit $350 in a bank account that pays 6% annual ...
Finance - Bond X is a premium bond making annual payments. The bond pays an 8 ...
Finance - An investment pays 9 percent interest compounded semi-annually. What ...

Search
Members