Home/Support/Support Forum/I need to solve the value for t in matlab using fsolve, please help me generate code
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

I need to solve the value for t in matlab using fsolve, please help me generate code

0 votes
f= c*(p - g)*((t (2) - t (1)) - a*(t (1) - t (2))^(b + 1)/(b + 1)) + g*(t (2) + a*(t (2)^(b + 1)/(b + 1))) + (c*(p - g)/(a*b))*((-b + 3)*(t (1) - t (2))^(-b + 3)/2 - 3*(t (1) - t (2))^2/((b + 1)*(b + 2))) + (g/a*b)*((-b + 3)*t (2)^(-b + 2) + (2*a*t (2)/((b + 1)*(b + 2))));

t1 and t2 are variables
value of 'a' and 'b' are 0<a<1 and b>0, rest of them are constants
asked Nov 22, 2015 in Console Servers by gopu777 New to the Community (0 points)

Please log in or register to answer this question.

...