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

## Related Questions

- Economics - Suppose you deposit $5,000 in a bank which pays 10 percent interest ...
- Alg 2 - Suppose you deposit a principal amount of p dollars in a bank account ...
- Alg2 - Help....Help... Suppose you deposit a principal amount of p dollars in a ...
- Finance - A bank offers your firm a revolving credit arrangement for up to $85 ...
- fin - If you deposit $10,000 in a bank account that pays 10 percent interest ...
- fin - You are able to deposit $850 into a bank CD today and you will only ...
- Finance - You receive $12,000 and looking for a bank to deposit the funds. Bank ...
- Finance - You receive $12,000 and looking for a bank to deposit the funds. Bank ...
- math - You receive $12,000 and looking for a bank to deposit the funds. Bank A ...
- math - You receive $12,000 and looking for a bank to deposit the funds. Bank A ...

More Related Questions