I cannot figure out how to solve for k1, k2, k3, k4 simultaneously using the values for the variable listed in the table.
27 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos

7 comentarios
Lindsay Veltri
el 12 de Feb. de 2022
Editada: Walter Roberson
el 11 de En. de 2024
Yash
el 11 de En. de 2024
Hi Lindsay,
To assist you effectively, it would be helpful to know the specific problem that you're encountering. Your code is able to provide a set of solution when executed.
t = 10; GnGn0 = 9.1; GnGn = 5.4; GnG = 2.9; GGn = 0.5; GG = 0.2;
syms a b c d
eqns = [ GnGn == GnGn0 * (exp(-(a + b)*t)), GnG == ((a*GnGn0)/(c-(a+b)))*((exp(-(a+b)*t))-exp(-c*t)), GGn ==(b*GnGn0/d-(a+b))*(exp(-(a+b)*t)-exp(-d*t)), GG == c*a*GnGn0/ c-(a+b)*(exp(-(a+b)*t)/(-(a+b))+(exp(-c*t))/(-(a+b))+(exp(-c*t)/c)+(1/(a+b))-(1/c)+((d*GnGn0)/(d-(a+b))*(exp(-(a+b)*t)/-(a+b))+(exp(-d*t))/d)+1/(a+b)-1/d)];
S = solve (eqns, [a b c d] )
There is only one warning that MATLAB is not able to provide solution sybolically, but it is providing a numerical solution.
Respuestas (0)
Ver también
Categorías
Más información sobre Linear Algebra en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!