Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
I need help with for/while loop.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Diese(r) Frage wurde durch guygyuggfff
markiert
I want to calculate anual compound of an investment using for loop, lets call its P is a final value.
I have 3 variables P0 the investment amount, r is rate, and y=years.
how can I write a code, lets call it a #term (i) which is a min number of term require for the value of P to exceed 3 times the orignial value of P0 with given r
1 Kommentar
John D'Errico
am 16 Jun. 2021
Why not try something, since this is clearly for homework? If we do your work for you, you learn nothing.
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!