Compound Interest : Compounding Periods
Theorem : Compound Interest
where,
F : Future value at the end of n periods
P : Present value
r : Annual nominal rate
n :...
대략 1년 전
문제를 풀었습니다
iteration of N blank spot
we have N spot which can be blank o filled calculate the number of iteration for these spots. e.g. N=2 1- blank blank 2- blank f...
대략 1년 전
문제를 풀었습니다
Sum All Positive Elements
Output a scalar that is equal to the sum of all positive elements in a given vector/matrix.
For Example:
The sum of all positi...
대략 1년 전
문제를 풀었습니다
replace empty matrices with '[]'
for example
a=1;a(:,1)=[]; returns
a =
Empty matrix: 1-by-0
use this as the input,and the output should be '[]...
Let's make puddings !
We will make puddings with eggs, milk and sugar.
To make one pudding, we need one egg, 140(cc) of milk, 15 (g) of sugar.
Now W...