MATLAB: Solution of this Non linear Equation

mathematicsphysics

0.3=0.5*(x-0.022*k^2-5.6)*exp(-0.17*x); find the value of "X" where k=2; Matlab code???

Best Answer

syms x
k=2;
eqn=0.3==0.5*(x-0.022*k^2-5.6)*exp(-0.17*x);
x=vpasolve(eqn)