solve function, getting error

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?

Answers (1)

madhan ravi
madhan ravi on 19 Oct 2018
Edited: madhan ravi on 19 Oct 2018
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 Comments

Error in syms (line 216) assignin('caller', x, xsym);
Error in MIMO (line 12) syms Kspp
Still I am getting an error
what are the datas ?
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));
no other way to solve it? how can I solve for Kspp

Sign in to comment.

Categories

Find more on Physics in Help Center and File Exchange

Tags

Asked:

on 19 Oct 2018

Commented:

on 19 Oct 2018

Community Treasure Hunt

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

Start Hunting!