Hello, any one help me, How can I write this?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
ahmet emin arslan
il 7 Mag 2019
Commentato: Walter Roberson
il 7 Mag 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?
5 Commenti
Risposta accettata
Roy Kadesh
il 7 Mag 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
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!