110 likes | 169 Views
Engr/Math/Physics 25. Test Your Understanding Chp03. Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege.edu. The Session. T3.1-2 → z = 2 +6j. >> imag_z = imag(z) imag_z = 6 >> angle_z = angle(z) angle_z = 1.2490 >> deg_angle_Z = (180/pi)*angle(z)
E N D
Engr/Math/Physics 25 Test Your UnderstandingChp03 Bruce Mayer, PE Licensed Electrical & Mechanical EngineerBMayer@ChabotCollege.edu
The Session T3.1-2 → z = 2 +6j >> imag_z = imag(z) imag_z = 6 >> angle_z = angle(z) angle_z = 1.2490 >> deg_angle_Z = (180/pi)*angle(z) deg_angle_Z = 71.5651 >> z = 2+6j; >> mag_z = abs(z) mag_z = 6.3246 >> real_z = real(z) real_z = 2
The Session T3.1-3 >> imag_z = imag(z) imag_z = 6 >> angle_z = angle(z) angle_z = 1.2490 >> deg_angle_Z = (180/pi)*angle(z) deg_angle_Z = 71.5651 >> a = 2.73; >> exp(a*j) ans = -0.9165 + 0.4001i >> cos(a) + sin(a)*j ans = -0.9165 + 0.4001i
Find mins for • Plotting z(w) TYU T3.2-2 >> w = [0:0.02:10]; z = TYU322(w); >> plot(w,z), xlabel('w'), ylabel('TYU322(w)'), grid • The .m File • mins near w = • 2.8 • 9
The w & z mins TYU T3.2-2 cont • Note that checking over 0-10 yields only the FIRST min >> wmin1 = fminbnd('TYU322',0,5) wmin1 = 2.5150 >> zmin1 = TYU322(wmin1) zmin1 = 0.4070 >> wmin2 = fminbnd('TYU322',5,10) wmin2 = 8.7982 >> zmin2 = TYU322(wmin2) zmin2 = 0.8312 >> wmin1 = fminbnd('TYU322',0,10) wmin1 = 2.5150 zmin2 = 0.8312
T1.3-3 Ans (a) Ans (b)
T1.3-3 Command Script • From the Command Window >> w = [0:0.02:10]; z = TYU322(w); >> plot(w,z), xlabel('w'), ylabel('TYU322(w)'), grid
T1.3-4 Command Script • From the Command Window >> x = [0:0.02:1.5]; >> y = 4*sqrt(6*x + 1); >> z = 5*exp(0.3*x) - 2*x; >> plot(x,y,x,z), xlabel('distance (m)'), ylabel('force (N)'), gtext('y'), gtext('z')
For Series Total = 0; k = 0; while Total <2e+3 k = k+1; Total = 3*k^2 + Total; end disp('No. Terms = ') disp(k) disp('Sum Total = ') disp(Total) T1.6-5 • Find the MINIMUM value of n Such That No. Terms = 13 Sum Total = 2457