solve function, getting error

1 回表示 (過去 30 日間)
Alice Faisal
Alice Faisal 2018 年 10 月 19 日
コメント済み: Alice Faisal 2018 年 10 月 19 日
syms Kspp
eqn = (((e1+e2*coth(Kspp*d))/Kspp)+i(conductivity/(w*e0)))==0;%dispersion equation for Transverse Magnetic SPP waves
solx = solve(eqn,Kspp);
I want to solve this for Kspp, but I am getting an error. Can any one help?

回答 (1 件)

madhan ravi
madhan ravi 2018 年 10 月 19 日
編集済み: madhan ravi 2018 年 10 月 19 日
syms Kspp
h=6.6262*10^-34; %Planck constant
ha=h/(2*pi); %Reduced Planck constant
Kb=1.3806*10^-23; % Boltzmann constant
c=3*10^8;
Ef=0.2; %Fermi energy
T=100;
e0=8.85*10^-12;
e1=4; %SiO2 dielectric
e2=4;
conductivity=sinh(ha/Kb*T)/(cosh(Ef/Kb*T)+cosh(ha/Kb*T));
eqn = (((e1+e2*coth(Kspp*d))/Kspp)+i*(conductivity/(w*e0)))==0;%dispersion equation for Transverse Magnetic SPP waves
solx = solve(eqn,Kspp) %returns empty sym which means symbolic engine is not able to solve
  4 件のコメント
Alice Faisal
Alice Faisal 2018 年 10 月 19 日
h=6.6262*10^-34; %Planck constant
ha=h/(2*pi); %Reduced Planck constant
Kb=1.3806*10^-23; % Boltzmann constant
c=3*10^8;
Ef=0.2; %Fermi energy
T=100;
e0=8.85*10^-12;
e1=4; %SiO2 dielectric
e2=4;
conductivity=sinh(ha/Kb*T)/(cosh(Ef/Kb*T)+cosh(ha/Kb*T));
Alice Faisal
Alice Faisal 2018 年 10 月 19 日
no other way to solve it? how can I solve for Kspp

サインインしてコメントする。

カテゴリ

Help Center および File ExchangePhysics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by