An Introduction to Solving Engineering Problems With Matlab
Transcript of An Introduction to Solving Engineering Problems With Matlab
-
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
1/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
2/73
http://www.ck12.org/termshttp://creativecommons.org/licenses/by-nc-sa/3.0/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
3/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
4/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
5/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
6/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
7/73
http://www.ck12.org/http://www.octave.org/).http://www.ni.com/).http://www.mathworks.com/). -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
8/73
http://www.ck12.org/http://www.aims.ac.za/resources/tutorials/octave/).http://www.gnu.org/software/octave/doc/interpreter/index.html#Top).http://www.gnu.org/software/octave/doc/interpreter/index.html#Top).http://www.ni.com/swf/demos/us/labview/mscriptwindow/default.htm).http://www.ni.com/swf/demos/us/labview/mscriptwindow/default.htm).http://zone.ni.com/devzone/conceptd.nsf/webmain/255092BA939E491686257090006794D0?opendocument&node=13106_US),http://zone.ni.com/devzone/conceptd.nsf/webmain/255092BA939E491686257090006794D0?opendocument&node=13106_US),http://www.mathworks.com/access/helpdesk/help/techdoc/ref/ref.html).http://www.mathworks.com/access/helpdesk/help/helpdesk.html),http://www.mathworks.com/access/helpdesk/help/helpdesk.html), -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
9/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
10/73
2.5 4.8
http://www.ck12.org/http://www.uml.org%29./http://www.uml.org%29./ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
11/73
10, 000 1000 100, 000 1
http://www.ck12.org/http://en.wiktionary.org/wiki/widgethttp://en.wiktionary.org/wiki/widget -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
12/73
1000 10, 000
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
13/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
14/73
http://www.ck12.org/http://en.wikipedia.org/wiki/Spaghetti_code).http://en.wikipedia.org/wiki/Spaghetti_code). -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
15/73
x y
x y x + y
xy xy
xy
ex
10(x) (x) 2(x) (x) (x)
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
16/73
x
52 + 42 (5 + 4)2 2+345 10(100) (4(2 + 3))
2+345
5
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
17/73
c = d
pi
1
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
18/73
x d x d
d =34.63
x5.162
2.54
d x
x = 0.10 x = 0.15 x = 0.20
Vt = 2mgrACd
m g r A Cd
http://www.ck12.org/http://en.wikipedia.org/wiki/Terminal_velocity)http://www.basicx.com/).http://www.acroname.com/robotics/info/articles/sharp/sharp.html)http://www.acroname.com/robotics/info/articles/sharp/sharp.html) -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
19/73
m
m = 40 m = 80 m = 120
g = 9.8 r = 1.2 A = 0.5 Cd = 1
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
20/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
21/73
>> A = [1 2 3 4 56 7 8 9 10
11 12 13 14 1516 17 18 19 20]
A = 1 2 3 4 56 7 8 9 10
11 12 13 14 1516 17 18 19 20
=
38
1318
z1 = 7 + j z2 = 2ej
z
http://www.ck12.org/http://www.mathworks.com/academia/student_center/tutorials/performing_calculations.html).http://www.mathworks.com/academia/student_center/tutorials/performing_calculations.html). -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
22/73
Re(z) Im(z) mag(z) (z)
z
MN
M1 MT
det(M)
A =
1 11 1
AA =
2 22 2
12 12
12 12
=
1 11 1
y(n) = 1sin(x(n))
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
23/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
24/73
70 0
0 102.729.1 92.455.1 82.178.0 71.997.9 61.6114.7 51.3
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
25/73
128.5 41.1139.2 30.8146.9 20.5151.5 10.3
153.0 0.0
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
26/73
H2
H2
0 102.746.3 92.487.8 82.1124.4 71.9156.1 61.6182.9 51.3204.9 41.1222.0 30.8
234.2 20.5241.5 10.3244.0 0.0
(x)
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
27/73
R2 = 1000 Req R1 100 3000
0.0300 22.0
0.0633 21.50.0967 20.50.1300 18.80.1633 17.00.1967 14.50.2300 12.00.2633 8.00.2967 3.0
h = 22 12gt2
h t g = 386.4 ins2
n
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
28/73
y = x2 x [2, 2]
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
29/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
30/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
31/73
3D x y 3D (x,y,z) z x y
3D
H2
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
32/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
33/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
34/73
.m
http://www.ck12.org/http://zone.ni.com/devzone/conceptd.nsf/webmain/76529B03846251A58625709600631C80).http://zone.ni.com/devzone/conceptd.nsf/webmain/76529B03846251A58625709600631C80).http://www.mathworks.com/academia/student_center/tutorials/creating_scripts.html).http://www.mathworks.com/academia/student_center/tutorials/creating_scripts.html). -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
35/73
http://www.ck12.org/http://zone.ni.com/reference/en-XX/help/371361A-01/lvdialog/mathscript_preferences_db/).http://zone.ni.com/reference/en-XX/help/371361A-01/lvdialog/mathscript_preferences_db/).http://www.mathworks.com/academia/student_center/tutorials/working_files.html).http://www.mathworks.com/academia/student_center/tutorials/working_files.html). -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
36/73
1.0 2.0
1.0 2.0.
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
37/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
38/73
C
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
39/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
40/73
f
y = (2f t)
f = 2 t
0 4
0.7 1 1.5 2
r w s r w
s = 2rw
s w r 0.5 0.7 1.6 3.2 4.0
c a b a b
a b
1 11 22 34 12 2
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
41/73
h b d
NL Vcyl Vcube
Vcyl = h(b2)
2
Vcube = d3
NL
NL =Vcyl
Vcube
d = 1.54 b = 8 h = 14
NL
d b h 50
NL
NL b = 8 h = 14 d 1.0 2.0
NL d b = 8 h = 14
NL d = 1.54 b h
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
42/73
t s
http://www.ck12.org/http://cnx.org/content/m13277/latest/Altitude.txt).http://www.nakka-rocketry.net/),http://en.wikipedia.org/wiki/Trapezoidal_rule)http://dmpeli.math.mcmaster.ca/Matlab/Math1J03/LectureNotes/Lecture4_1.htm)http://dmpeli.math.mcmaster.ca/Matlab/Math1J03/LectureNotes/Lecture4_1.htm)http://en.wikipedia.org/wiki/Motion_graphs_and_derivatives) -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
43/73
http://www.ck12.org/http://cnx.org/content/m13277/latest/Acceleration.txt) -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
44/73
a m
s2 c
a = 0.0036c2(c)
(c) 1 c > 0 1 c < 0
http://www.ck12.org/http://cnx.org/content/m14031/latest/Current.txt)http://cnx.org/content/m14031/latest/Current.txt)http://en.wikipedia.org/wiki/Railgun).http://en.wikipedia.org/wiki/Trapezoidal_rule)http://en.wikipedia.org/wiki/Motion_graphs_and_derivatives)http://en.wikipedia.org/wiki/Motion_graphs_and_derivatives)http://cnx.org/content/m13769/latest/);http://cnx.org/content/m13769/latest/); -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
45/73
0 50 51
1 50 50
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
46/73
11
10 1 10 1 10 1 n 0 n
24
60 60 7 24 60 60 = 604800
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
47/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
48/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
49/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
50/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
51/73
12 15 8 12
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
52/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
53/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
54/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
55/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
56/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
57/73
v
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
58/73
v v
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
59/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
60/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
61/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
62/73
0.01 0.01
n
1 4 16.005 24 14.0025 99 12.70100 11.00
1 9 24.6410 49 24.32
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
63/73
50 99 24.07100 23.33
1 24 17.9825 49 16.7850 15.78
1 9 12.5010 99 10.42100 9.62
45.00+ 16.00+ 24.64+ 17.98+ 12.50 = 116.12
20
45.00+ 14.00+ 24.32+ 17.98+ 10.42 = 109.72
20
1 150
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
64/73
1 29 40.0030 59 30.0060 22.00
1 9 20.0010 24 18.0025 74 16.0075 15.00
a 0
a
6 5 < 6
p1 p2
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
65/73
0 7
3 10
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
66/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
67/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
68/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
69/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
70/73
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
71/73
bn n Pn n fn n
fn r
fn = rbn
r = (1 +APR
100)1
12 1
1 10 20 10
pn = ((r+ 0.01)bn, 10)
n + 1 n
bn+1 = bn + fn pn
14.9
r
Pn
http://www.ck12.org/http://www.asu.edu/sbs/FallUndergradEastWest.htm).http://money.cnn.com/pf/informa/index.html)http://en.wikipedia.org/wiki/Credit_card_interest). -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
72/73
n + 1 n
c
http://www.ck12.org/ -
8/3/2019 An Introduction to Solving Engineering Problems With Matlab
73/73