필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

I need help with for/while loop.

조회 수: 1 (최근 30일)
Tri Dang
Tri Dang 2021년 6월 16일
마감: John D'Errico 2021년 6월 16일
이 질문에 guygyuggfff 님이 플래그를 지정함
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
John D'Errico
John D'Errico 2021년 6월 16일
Why not try something, since this is clearly for homework? If we do your work for you, you learn nothing.

답변 (0개)

이 질문은 마감되었습니다.

태그

제품


릴리스

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by