How to solve the following equations for vc(t)?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have a equation vc(t) which depends on a function T, Please check the following code
vc==(291*cos((6339586188837495*t)/137438953472)*exp(-(500*t)/47))/1175000 + (368963916190342209*sin((6339586188837495*t)/137438953472)*exp(-(500*t)/47))/343597383680000000 + (1267917237767499*cos((6339586188837495*t)/137438953472)*exp(-(500*t)/47)*((582*cot((6339586188837495*T)/137438953472))/25 - (7*exp((500*T)/47))/(25*sin((6339586188837495*T)/137438953472))))/27487790694400000 - (sin((6339586188837495*t)/137438953472)*exp(-(500*t)/47)*((582*cot((6339586188837495*T)/137438953472))/25 - (7*exp((500*T)/47))/(25*sin((6339586188837495*T)/137438953472))))/94000
and
T=((vc-Vin)/Rc)*Tsw/2*1/(1.5*Il-0.5*Ipo);
How to solve for vc(t)?
0 Commenti
Risposta accettata
Basil C.
il 30 Lug 2018
Modificato: Basil C.
il 30 Lug 2018
Try the following
syms t;
T=((vc-Vin)/Rc)*Tsw/2*1/(1.5*Il-0.5*Ipo);
vc=(291*cos((6339586188837495*t)/137438953472)*exp(-(500*t)/47))/1175000 + (368963916190342209*sin((6339586188837495*t)/137438953472)*exp(-(500*t)/47))/343597383680000000 + (1267917237767499*cos((6339586188837495*t)/137438953472)*exp(-(500*t)/47)*((582*cot((6339586188837495*T)/137438953472))/25 - (7*exp((500*T)/47))/(25*sin((6339586188837495*T)/137438953472))))/27487790694400000 - (sin((6339586188837495*t)/137438953472)*exp(-(500*t)/47)*((582*cot((6339586188837495*T)/137438953472))/25 - (7*exp((500*T)/47))/(25*sin((6339586188837495*T)/137438953472))))/94000;
answer=vpasolve(vc);
Keep in mind not to use == operator to assign an equation to a variable.
And also define the value of T before defining the variable vc.
All the best
2 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!