Hello, any one help me, How can I write this?

조회 수: 3 (최근 30일)
ahmet emin arslan
ahmet emin arslan 2019년 5월 7일
댓글: Walter Roberson 2019년 5월 7일
Hi guys. I should create an application for calculates the nominal interest rate.
i = nominal interest rate P = initial investment T = future value N = number of compounding periods per year Y = number of years App looks like this:
Can you help me for writing code?
20190507_214511.jpg
  댓글 수: 5
ahmet emin arslan
ahmet emin arslan 2019년 5월 7일
For create this, I dont know how can I write code? I tried this:
But it didn't work
Walter Roberson
Walter Roberson 2019년 5월 7일
What error message did you observe?

댓글을 달려면 로그인하십시오.

채택된 답변

Roy Kadesh
Roy Kadesh 2019년 5월 7일
Try this:
function cal_butButtonPushed(app, event)
P=app.p_val;
T=app.t_val;
N=app.n_val;
Y=app.y_val;
I=N*((T/P)^(1/(N*Y))) - N;
app.i_val=I;
end

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by