how to solve this equation

1 visualización (últimos 30 días)
Mithun Routh
Mithun Routh el 8 de Sept. de 2018
Editada: Image Analyst el 9 de Sept. de 2018
Find the value of k:
0.45 = c1 * (c2*k - c3*Beta - c4.*Beta.^c5 -c6).* exp( -c7 *k)
where
k=1./(x+c8.*Beta)-c9./(Beta.^3+1);
Find the value of "x", where:
Beta=2
c1=0.73;
c2=151;
c3=0.58;
c4=0.002;
c5=2.14;
c6=13.2;
c7=18.4;
c8=-0.02;
c9=-0.003;

Respuesta aceptada

Star Strider
Star Strider el 8 de Sept. de 2018
Editada: Star Strider el 8 de Sept. de 2018
This does not look like a homework problem.
Beta=2;
c1=0.73;
c2=151;
c3=0.58;
c4=0.002;
c5=2.14;
c6=13.2;
c7=18.4;
c8=-0.02;
c9=-0.003;
k = @(x) 1./(x+c8.*Beta)-c9./(Beta.^3+1);
f = @(x) c1 * (c2*k(x) - c3*Beta - c4.*Beta.^c5 -c6).* exp( -c7*k(x)) - 0.45;
xv = fsolve(f, 1);
fprintf(1, 'x = %.10f\nk = %.10f\n\n', xv, k(xv))
x = 6.7434993463
k = 0.1495091516

Más respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by