Quantcast
Viewing all articles
Browse latest Browse all 130

OPTIMIZATION minimize function maximizing independent variable

Hi I have a problem that seems easy but I cannot solve.

syms irr2 m_S s
irr1=0.05;
M=0.7;
n=120;
f=(symsum(1/(1+irr1)^s,s,1,n)-symsum(1/(1+irr2)^s,s,1,n)*(1+M*m_S)/(1+irr2)^m_S);

I also want:
f=0;
m_S>=0;
irr2 positive;


Now given these constraints I want to find the maximum value of irr2 that solve.

One of the problems it's that the equation cannot be explicited in term of irr2.

I need to

Viewing all articles
Browse latest Browse all 130

Trending Articles