1 / 14

Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege

Engr/Math/Physics 25. Test Your Understanding Chp01. Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege.edu. Error on T1.1-1(a). Shows a. = 410.1297. >> 6 + 10/13 + 18/(5*7) + 5*9^2 ans = 412.2835 >> 6 + 10/13 + 18/(5*7) + 5*(9^2) ans = 412.2835. T1.3-3.

amena
Download Presentation

Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Engr/Math/Physics 25 Test Your UnderstandingChp01 Bruce Mayer, PE Licensed Electrical & Mechanical EngineerBMayer@ChabotCollege.edu

  2. Error on T1.1-1(a) • Shows a. = 410.1297 >> 6 + 10/13 + 18/(5*7) + 5*9^2 ans = 412.2835 >> 6 + 10/13 + 18/(5*7) + 5*(9^2) ans = 412.2835

  3. T1.3-3

  4. T1.3-3 Command Script • From the Command Window >> t = [0:0.1:5]; >> s = 2*sin(3*t +2) + sqrt(5*t +1); >> plot(t,s), xlabel('t (seconds)'), ylabel('s (fps)'), title('Speed vs Time - ENGR25 Jun05')

  5. T1.3-3: File → Save As...jpg

  6. T1.3-4

  7. 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')

  8. T1.3-5 Command Script • From the Command Window >> A = [6,-4,8; -5,-3,7; 14,9,-5]; >> B = [112; 75; -67]; >> soln = A\B soln = 2.0000 -5.0000 10.0000

  9. T1.4-1 >> T1dot4dash1 soln = 2.0000 -5.0000 10.0000

  10. T1.4-2 Command Script >> T1dot4dash2 Enter Sphere RADIUS, R = 1.73 Asphere = 37.6099

  11. T1.6-2 Command Script • From the Command Window >> x = [-4,-1,0,2,10]; y = [-5,-2,2,5,9]; >> XgreaterY_val = x(x>y) XgreaterY_val = -4 -1 10 >> XgreaterY_indices = find(x>y) XgreaterY_indices = 1 2 5

  12. Ex 1.6-2

  13. 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 No. Terms = 13 Sum Total = 2457

  14. 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

More Related