how to solve this equation

1 次查看(过去 30 天)
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;

采纳的回答

Star Strider
Star Strider 2018-9-8
编辑:Star Strider 2018-9-8
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Calculus 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by