Info

此问题已关闭。 请重新打开它进行编辑或回答。

how find the root of two non linear equation by mtlab with the same method?

1 次查看(过去 30 天)
hello everyone i need a help in code im debutant in matlab ,i need to solve two non linear equations and find the root which varie in function of temperature T for the two equation. the first equation is x*exp(x)= [(sigma/KB*T)^2 - x]*(taur/tautr)*exp((E0-Ea)/KB*T);this equation has only one solution for 0<x<(sigma/KBT)^2 sigma=13meV;taur=250ps;tautr=0.027ps;E0=1.185eV;Ea=E0+0.073eV;KB=8.61e-5;T=[0 300]; the grph of the root x which varie with T is in the file below.second i must use the root x to solve the second equation n(E,T)=n(E0-x*T*KB,T)/2 it mean n(E,T)-n(E0-x*KBT,T)/2; the root in this equation is E n(E,T)=exp(-(E-E0)^2/2*sigma^2)/(exp((E-Ea)/KBT) +(tautr/taur)); i must calculate E=E0-x*KBT and use this value in the second equation to find the root E.the main problem is how to solve the first equation for every value of T and plot X=f(T) and how find the root of second equation for every value of T and plot E=f(T).and thank you in advance.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by