I want to solve the attached equation for "T".

Please Help....

3 Comments

I would have to put it through a symbolic program to be sure, but I think you are not going to be able to come up with a closed form solution for that and will need to solve it numerically.
Ok Thanks...Which numerical strategy should I use? Can I solve that in simulink?

Note: in symbolic form the expression is

 (1/2) * (((C__r * (V__0^2 - 4*V__in^2) + 4 * V__0 * I__0 * T__s) / L__r)^(1/2) - (C__r * (V__0^2 - 4 * V__in^2) / L__r)^(1/2)) * L__r / V__in + (arcsin(2 * V__in / (V__0^2 + 4 * V__0 * I__0 * T__s / C__r)^(1/2)) + arcsin(V__0 / (V__0^2 + 4 * V__0 * I__0 * T__s / C__r)^(1/2))) / omega__r + 2 * (T__s * I__0 * L__r / V__0)^(1/2) + arccos(2 * V__in / V__0) / omega__r = T__s / 2

Sign in to comment.

 Accepted Answer

You assign values to all of the variables except for T__s and then you assign
Tfun = @(T__s) (1/2) * (((C__r * (V__0^2 - 4*V__in^2) + 4 * V__0 * I__0 * T__s) / L__r)^(1/2) - (C__r * (V__0^2 - 4 * V__in^2) / L__r)^(1/2)) * L__r / V__in + (arcsin(2 * V__in / (V__0^2 + 4 * V__0 * I__0 * T__s / C__r)^(1/2)) + arcsin(V__0 / (V__0^2 + 4 * V__0 * I__0 * T__s / C__r)^(1/2))) / omega__r + 2 * (T__s * I__0 * L__r / V__0)^(1/2) + arccos(2 * V__in / V__0) / omega__r - T__s / 2;
after that you can
Ts_0 = rand()*50; %some guess about the value
Ts_value = fzero(Tfun, Ts_0);

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!