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

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 Comments

Image links are somtimes broken. Here is a working link.
This seems like a relatively easy project to get started on. What is your question? Do you need to write the code that creates this GUI? Do you need the underlying callback functions? What is your issue? And what have you tried before?
I should prepare a nominal interest rate calculator
Ok, and what is your question? Have a read here and here. It will greatly improve your chances of getting an answer.
For create this, I dont know how can I write code? I tried this:
But it didn't work
What error message did you observe?

Sign in to comment.

 Accepted Answer

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

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!