how can i calculate in matlab
Informazioni
This question is locked. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
we borrowed $1000 at a 10% anual intrests rate. if we do not makre a payment for 2 years, and assuming there is no penalty for non payment, how much do we owe now?
4 Commenti
Ameer Hamza
il 11 Giu 2020
This isn't really a MATLAB problem. It is a finance problem. Also, it seems like homework. What have you already tried?
lokesh m
il 20 Lug 2020
the answer isws 1210
Alfred Jones Arokiaraj
il 8 Ott 2021
wrong answer . try in CI. answer will be 1.2100e+03
Walter Roberson
il 8 Ott 2021
At the MATLAB command prompt give the command
format long g
now ask to display the result again.
Risposta accettata
Più risposte (4)
Roopesh R Peter
il 3 Ago 2020
Modificato: Rik
il 3 Ago 2020
4 voti
Compound the interest once a year:
debt = 1000 + 1000 * 0.1 + (1000 + 1000 * 0.1) * 0.1
1 Commento
Rik
il 3 Ago 2020
(I moved the flag content to the answer body, since it shouldn't have been a tag)
Shivani Dubey
il 17 Set 2020
p = 1000
r = 10/100
n= 1
t = 2
S =(1.1)^2
debt = p* S
2 Commenti
ahmed hammad
il 1 Set 2021
thanks i had a tried a different methode and it has the same result but it was rejected when i submitted it to COURSERA but when i tried to you know simplify it like you did it worked
Thanks.
Shreyasi
il 7 Ott 2025
Annual interest?
Medical Imaging
il 23 Set 2020
The problem is simple and related to finance,
Borrowed_money = 1000;
Interest_rate = 10/100;
Delay_year = 2;
debt = Borrowed_money*(1+Interest_rate)^Delay_year
1 Commento
Abdulrahman Farouq
il 18 Gen 2022
Thx so much
Jayashri Patil
il 13 Set 2021
clear "all"
clc
n=input('enter the number of different pipe size: ');
rho=input('enter the value of density: ');
Mu=input('enter the value of viscocity: ');
Q=input('enter the flowrate: ');
e=input('enter the epsilon: ');
g=input('enter the accleration gravity: ');
for i=1:n
D(i)=input('enter the diameter of pipe: ','s');
L=input('enter the length of pipe: ','s');
KL(i)=input('enter the value of bends: ','s');
end
for i=1:n
A(i)=pi*D(i)*D(i)/4;
v(i)=Q/A(i);
ReynoldsNumber(i)=rho*v(i)*D(i)/Mu;
if ReynoldsNumber(i) <2300
f(i)=64/ReynoldsNumber(i);
elseif ReynoldsNumber(i) >4000
c=@(f)(l/sqrt(f(i)))+(2*log10*(e/D(i)*3.7+2.51/ReynoldsNumber(i)*sqrt(f(i))));
f(i)=fzero(c,[0.01,0.05]);
end
deltap(i)=(f(i)*(L(i)/D(i))*((rho*v(i)*v(i))/2)/1000); % pressure drop in kpa
HL(i)=(f(i)*(L(i)/D(i))+KL(i)*v(i)*v(i)/2*g); % head loss in m
end
4 Commenti
Jayashri Patil
il 13 Set 2021
how to calculate pressure drop for n number of array using different daimetre pipe.
Walter Roberson
il 13 Set 2021
Please start your own Question about this, as it is not related to the question about calculation of interest.
Jayashri Patil
il 13 Set 2021
how to take nth number of inputs from user
Rik
il 13 Set 2021
You already posted a very similar question. Why not post a comment there with a follow-up question?
This question is locked.
Categorie
Scopri di più su Financial Toolbox in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!