Hi I have the following:
syms irr2 m_S sirr1=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);
f must be equal zero
m_S is a variable
I wanna know which is the max irr2 … how can I do it?
symsymbolic
syms irr2 m_S sirr1=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);
Best Answer