MATLAB Answers

What am i doing wrong in this code?

1 view (last 30 days)
Ibrahim Ullah
Ibrahim Ullah on 4 Sep 2019
Answered: 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.

Answers (1)

KALYAN ACHARJYA
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.

Sign in to answer this question.