MATLAB Answers

0

What am i doing wrong in this code?

Asked by Ibrahim Ullah on 4 Sep 2019
Latest activity Answered by KALYAN ACHARJYA on 4 Sep 2019
syms beta
epsilon_r = 2.1;
f = (7e12);
w = (2*3.1416*f);
surface_conductivity = (0.00012164049 - 0.0053497497i);
c = (3e8);
epsilon_naught = (8.854e-12);
solve((1/(sqrt((kspp).^2 - (w/c).^2))) + ((epsilon_r)/(sqrt((kspp).^2 - ((w/c).^2)*epsilon_r))) + (surface_conductivity/(epsilon_naught*w)*i))
I was trying to solve this equation but when i run this code, in the command line i got the ans= 0-by-1.Any kind of suggestion will be really helpful. Thanks in advance
Capture.PNG

  0 Comments

Sign in to comment.

1 Answer

Answer by KALYAN ACHARJYA on 4 Sep 2019

syms beta
epsilon_r=2.1;
f=(7e12);
w=(2*3.1416*f);
surface_conductivity = (0.00012164049 - 0.0053497497i);
c=(3e8);
epsilon_naught=(8.854e-12);
solve((1/(sqrt((beta).^2 - (w/c).^2))) + ((epsilon_r)/(sqrt((beta).^2 - ((w/c).^2)*epsilon_r))) + i*(surface_conductivity/(epsilon_naught*w)),beta)
Do verify?

  0 Comments

Sign in to comment.