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

1 visualización (últimos 30 días)
ahmet emin arslan
ahmet emin arslan el 7 de Mayo de 2019
Comentada: Walter Roberson el 7 de Mayo de 2019
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 comentarios
ahmet emin arslan
ahmet emin arslan el 7 de Mayo de 2019
For create this, I dont know how can I write code? I tried this:
But it didn't work
Walter Roberson
Walter Roberson el 7 de Mayo de 2019
What error message did you observe?

Iniciar sesión para comentar.

Respuesta aceptada

Roy Kadesh
Roy Kadesh el 7 de Mayo de 2019
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

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by