clcclear allPc=1.6*10^9Pa=300*10^9Ps=1*10^9r=5h=1d0=0.4 d=1:10:30s=(d./r) w1=4.3 E0=8.85*10^-12Eb=6.830890.*(w1.^(3/2))A1=d.^2B1=(d./d0).^(1/3) l=(0.5.*E0.*Eb.^2./B1.^2).*10^18m=Pcn=(4.*Pa./(1+s).^4)x2=min(m,n)Es=min(x2,l)Ea= (Es.*(d+r).^2)./(2.*r.^2)y1= (0.5.*Ea.^2.*d.^2)./((d+r).^2.*d.^3)syms yb=y.^2y2= int(b,r,r+d)u=y2plot(d,u)
MATLAB: ??? Error using ==> plot Conversion to double from sym is not possible…help
error in integral statement..help
Best Answer