Академический Документы
Профессиональный Документы
Культура Документы
6)+"&'-%-
+" +"&,('
)+-&'-%-+"%' "'+"' '
(&)3-+"'
O?IIIKR J
''(3'&'-,
#(!>"*.,JQ
)&.4,)((-8
O?IIIKR K
-.,.,-,6)+"&'-%"'
)(4.(7*,#'(..)!.",.
U "8-#&D?!?=#(#)&)!8&E
U )#&D?!?=+4-/)((#,-E
-."),8.)!(,.-)'+4-/)(-)4..
U "8-#&D?!?=!,5#./)(&&-E
U )#&D?!?=*)*&!#5#()(-#-.(.(-6,-E
-#!()'*4./)(.)"&*(-6,+4-/)(-)4.
.
)(-#,=),7'*&=-*,#(!
O?IIIKR 3
!","'()+"'
k ≈ 1N / m
#(,-*,#(!>')4(.)),(
.)-.,."),)'*,---*,#(!#-&#(,
#(."#-.(."-*,#(!#--.,."
),)'*,--
"-*,#(!"--*,#(!)(-.(.=%=
."..,'#(-")6'4"),#-
k ≈ 35, 000N / m (
6.)(T),.)&,.J%!'--J'.,*,-)(*,-)(
O?IIIKR 4
Images of suspension spring and slinky © sources unknown. All rights reserved. This content is excluded
from our Creative Commons license. For more information, see https://ocw.mit.edu/help/faq-fair-use/.
(($;,
5
TB%
)6'4")-,#,"5.)6#!"
.))'*,---*,#(!J'<
TLNI
"#-,,-.)%#&)!,'-=().
."-*,#(!)(-.(.;
Images of suspension spring © source unknown. All rights reserved.
This content is excluded from our Creative Commons license. For
more information, see https://ocw.mit.edu/help/faq-fair-use/.
O?IIIKR 5
"'"' $
TB%
%TBA
%TR?QJF'A
O?IIIKR 6
(&-
Distance (m) Mass (kg)
0.0865 0.1
0.1015 0.15
0.1106 0.2
0.1279 0.25
0.1892 0.3
0.2695 0.35
0.2888 0.4
0.2425 0.45
0.3465 0.5
0.3225 0.55
0.3764 0.6
0.4263 0.65
0.4562 0.7
O?IIIKR 7
$"'
(($--!-
def plotData(fileName):
xVals, yVals = getData(fileName)
xVals = pylab.array(xVals)
yVals = pylab.array(yVals)
xVals = xVals*9.81 #acc. due to gravity
pylab.plot(xVals, yVals, 'bo',
label = 'Measured displacements')
labelPlot()
O?IIIKR 8
$"'
(($--!-
O?IIIKR 9
"1' 3+4,-(-
"(6.4,5.)-.).=6,(#(!
..".,&.-(#(*((.5,#&D."'--E.)
(-/'.5&4)*((.5,#&D."
#-.(E
)#")66&&4,5.-.".=6(
68.)'-4,."!))(--).".C&&."
(6(.")$/54(/)(=66(..)(
."4,5.".'#(#'#9-#.
(."#--=66(..)(&#(-4".".-)'
4(/)()."-4')."#-.(-,)'."&#(.)
."'-4,*)#(.-#-'#(#'#9
P
Y
len(observed )−1
∑ (observed[i]− predicted[i]) 2
i=0
))%'#&#,<
U "#-#-5,#(/'-(4',))-,5/)(-
U )'#(#'#9#(!."#-6#&&&-)'#(#'#9."5,#(
∑ (observed[i]− predicted[i])2
i=0
)'#(#'#9."#-)$/54(/)(=6(..)(
4,5),."*,#.)-,5/)(-.".&-.)
'#(#'4'5&4
-
.)(*)&8()'#&
,*,-(./)(),."*,#.')&
∑ (observed[i]− predicted[i])2
i=0
#'*&7'*&>
U -!,B)(*)&8()'#&==-')&))4,
.D66(.-.2(!&#(E
#(5&4-)(-4".".6"(64-."
*)&8()'#&.))'*4.5&4-),&&)."5&4-
#()4,7*,#'(.=."-+4,#,()."-
5&4-(."),,-*)(#(!
5&4-#-'#(#'#9
*,)&'
(8&!),#."'-),)#(!."#-=#(&4#(!)(-#'#&,
.)
6.)(@-'.")D6"#"8)4-6#(O?IIIJE
O?IIIKR J5
)(%7"-
))(6-#-.".*8&*,)5#-4#&.#(4(/)(-.)
(."-*)&8()'#&.-
pylab.polyfit(observedX, observedY, n)
#(-) #(.-)*)&8()'#&)!,(=.".
*,)5#--.&-.-+4,-.),.")-,5.
U (TJC-.&#( 8T7S
U (TKC-.*,)& 8T7KS7S
)..".."#-#--/&&(7'*&)&#(,,!,--#)(=
5(.")4!"6,().2(!&#(.).".D#(."#-
-6,(#(!."-.*,)&E
O?IIIKR K2
3+.))+,-(0+"-
&/5.)").",
((-)&4.-(-
5?'(-+4,,,),),&#(,')&TRLPK?PLIPQRON
5?'(-+4,,,),),+4,/')&TJNKM?IKIMMPJQ
O?IIIKR K6
'',(%3-',
(-+4,,,),4-4&),)'*,#(!.6)#,(.
')&-),."-'.
-4&),!2(!-(-)-)&4.!))(--).<
U
-JNKM!))<
,.)%()6=-#(.",#-()4**,)4((().
-&#(*((.
(-.64-) #(.).,'#(/)(=K=
,,),#(-/'.-
#,'-4,5&4- ,##&#.8#(
#,*,#.5&4- '-4,.
μ#-'()'-4,5&4-
'*&8#(!&5,.,#%",>
•
4',.),#--4')-+4,,,),-
• #5##(!8(4',)-'*&-!#5-5,!-4'B-+4,B,,),
• ()'#(.),#-5,#(/'-(4',)-'*&-
• )'(A5,#(#--'-K,/)
O?IIIKR 28
?
8)'*,#(!."-/'/)(,,),-D."(4',.),E
6#."."5,##&#.8)."),#!#(&5&4-D."
()'#(.),E=K#-#(.(.)*.4,."*,)*),/)(
)5,##&#.8#(.-..".#-)4(.),8."
-./-/&')&*,)5#8.".
&68-.6(I(J6"(.!(,.8&#(,
,!,--#)((.-.)(.,#(#(!.
U
KTJ=."')&7*&#(-&&)."5,##&#.8#(."
.?
U
KTI=.",#-(),&/)(-"#*.6(."5&4-
*,#.8."')&(.".4&.?
U
KTI?N=."')&7*&#(-"&."5,##&#.8#(."
.?
O?IIIKR 29
,.' ((',,("-,
def genFits(xVals, yVals, degrees):
models = []
for d in degrees:
model = pylab.polyfit(xVals, yVals, d)
models.append(model)
return models
For information about citing these materials or our Terms of Use, visit: https://ocw.mit.edu/terms.