how to find output variables when input variables are continuously changing ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Engineer Batoor khan mummand
el 17 de Oct. de 2020
Comentada: Engineer Batoor khan mummand
el 19 de Oct. de 2020
Hi all;
i want to find these six unknowns by using these six equations which are given below for all values of I and Ta :
i=1
Tw(i)=20
syms Tg T1 T2 Tb Tc Tw(i+1)
I=[116 207 414 611 909 1009 951 909 805 615 311 120];
Ta=[29 30 31 32 33 34 35 37 36 35 34 33];
m=100;
n=40;
k=4180;
E1=I+k*I+k(Tc-T2)==4*k*(T2-Tb);
E2=m.*I+4.*I+(T2-Tb)==m*(Tb-Tw1);
E3=2*m.*I+(T1-Tc)==(Tc-Ta)))*I+(Tc-T2);
E4=3*n*I+(Tg-T1)==(T1-Tc);
E5=3*I==(Tg-Ta)+(Tg-T1);
E6=(Tb-Tw(i+1))==(40*k*m*(Tw(i+1)-Tw(i));
sol = solve([E1, E2, E3,E4,E5,E6],[T2,Tb,T1,Tc,Tg,Tw2]);
T2 = sol.T2
Tb = sol.Tb
Tg = sol.Tg
T1 = sol.T1
Tc = sol.Tc
Thank you so much from all of you dear.
2 comentarios
Star Strider
el 17 de Oct. de 2020
There are so many errors in your code that I stopped correcting them, since I cannot figure out what the dimensions to the arrays are or what the code does.
If you correct them to at least eliminate the errors so the code actually runs, we might be able to help you with any other problems that may still exist.
Respuestas (0)
Ver también
Categorías
Más información sobre Calculus en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!