Download - Maria Victoria Velez Ponce Deber1
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 1/30
clc % limpia pantalla
clear % borrar
close all
fprintf('\n\t\t\t\t\tUNIVERSIDAD DE LAS FUERZAS ARADAS ! ES"E'#
fprintf('\nNombre$ ARIA VI&RIA VELEZ "NE'#
fprintf('\nfeca$)*!)+!,)-+'#
% E.E"L +/-
% on la ec0acion la0si0s lape1ron2 encontrar la presion 3e 4apor
% sat0ra3o para a50a a 3iferentes temperat0ras
&F6 7!*)$-)$-,)8 %De9ne matri: temp en F
&;6(&F<=+>/*#?-/@ %on4ierte temp a
DeltaBC6,/=+e* %De9ne calor latente 3e 4apori:acion
RBaire6=*- %De9ne constante 5as i3eal para el aire
%alc0la las presiones 3e 4apor
presionB4apor 6*/--ep((DeltaBC?RBaire#(-?,G!-/?&;##
%Desplie5a los res0slta3os en 0na tabla
miBres0lta3o67&F'2 presionB4apor'8
%rea 0na 5ra9ca !1
plot(&F2presionB4apor#
title('omportamiento la0si0s ! lape1ron'#
label('&emperat0ra2 F'#
1label('presion 3e 4apor 3e sat0racion2 mbar'#
UNIVERSIDAD DE LAS FUERZAS ARMADAS - ESPE
Nombre: MARIA VICTORIA VELEZ PONCE
fecha:06-0-!0"
TF #
Co$%m&' " (hro%)h "*
-60 -0 -+0 -*0 -!0 -"0 0 "0 !0 *0 +0 0 60
Co$%m&' "+ (hro%)h ",
0 .0 ,0 "00 ""0 "!0
T/ #
Co$%m&' " (hro%)h .
!!!0000 !!6 !**"""" !*.666 !++!!!! !+,. !**** !60...,
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 2/30
Co$%m&' , (hro%)h "6
!66++++ !!0000 !6 !.*"""" !..666 !,+!!!! !,,. *0****
Co$%m&' " (hro%)h ",
*"0..., *"6++++ *!!0000
De$(a12 #
!+0000
R1a3re #
+6"
4re'3o&15a4or #
Co$%m&' " (hro%)h .
006,. 0"!! 0!".+ 0*"+ 06"6* "0000 "... !++,
Co$%m&' , (hro%)h "6
*.+ 6..0 .+"0! "!!+. "+ !+..0 *+!, +.00,.
Co$%m&' " (hro%)h ",
6! ..+60. "".",*"
m31re'%$(ao #
-600000 006,.
-00000 0"!!
-+00000 0!".+ -*00000 0*"+
-!00000 06"6*
-"00000 "0000
0 "...
"00000 !++,
!00000 *.+
*00000 6..0
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 3/30
+00000 .+"0!
00000 "!!+.
600000 "+
00000 !+..0
.00000 *+!,
,00000 +.00,.
"000000 6!
""00000 ..+60.
"!00000 "".",*"
EJEMPLO 5.5
clear all
clc
%De9ne las 4ariables
n0meroBatomico 6 7G2 --2 ->2 G2 ++8H
p0ntoB3eBf0sion 6 7-@-2 >@2 *G2G=2 ,@/=8H
ra3ioBatomico 6 7)/-+,2 )/-@*2 )/,,2 )/,=@)2 )/,*+)8H
s0bplot(-2,2-#H
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 4/30
plot(n0meroBatomico2p0ntoB3eBf0sion2n0meroBatomico2ra3ioBatomico#
title('"ropie3a3es "erio3icas'#H
label('N0mero Atomico'#H
1label('"ropie3a3es'#H
% rea la se50n3a 5ra9ca con 3os 3iferentes escalas 1 s0bplot(-2,2,#
plot11(n0meroBatomico2p0ntoB3eBf0sion2n0meroBatomico2ra3ioBatomico#H
title('"ropie3a3es "erio3icas'#H
label('N0mero Atomico'#H
1label('"ropie3a3es2'#H
%E.ERII +/-
% ree 5ra9cas 3e las si50ientes f0nciones2 3es3e 6) asta -)
% ca3a 0na 3e s0s 5ra9cas 3ebe incl0ir tit0lo2 eti0eta 3el eJe 2
% eti0eta 3el eJe 1 0na retKc0la
% a/ 16e
clc
clear all
67)$)/-$-)8H
16 ep(#
plot(212'r'#
title('MRAFIA E"NENIAL'#
label('4alor '#
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 5/30
1label ('4alor 1'#
7 #
"0e800+ 9
Co$%m&' " (hro%)h .
0000" 0000" 0000" 0000" 0000" 0000! 0000! 0000!
Co$%m&' , (hro%)h "6
0000! 0000! 0000* 0000* 0000* 0000+ 0000+ 0000+
Co$%m&' " (hro%)h !+
0000 0000 00006 0000 0000 0000. 0000, 000"0
Co$%m&' ! (hro%)h *!
000"" 000"! 000"* 000" 000"6 000". 000!0 000!!
Co$%m&' ** (hro%)h +0
000! 000! 000*0 000** 000* 000+0 000+ 000+,
Co$%m&' +" (hro%)h +.
000 00060 0006 000+ 000." 000,0 000,, 00""0
Co$%m&' +, (hro%)h 6
00"!! 00"*+ 00"+. 00"6+ 00"." 00!00 00!!" 00!+
Co$%m&' (hro%)h 6+
00!0 00!,, 00**0 00*6 00+0* 00++6 00+,* 00+
Co$%m&' 6 (hro%)h !
0060! 0066 00* 00."! 00.,. 00,,! 0"0, 0"!"!
Co$%m&' * (hro%)h .0
0"**, 0"+.0 0"6*6 0".0. 0",,. 0!!0. 0!++" 0!6,
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 6/30
Co$%m&' ." (hro%)h ..
0!,." 0*!,+ 0*6+" 0+0!+ 0+++ 0+," 0+*! 0600*
Co$%m&' ., (hro%)h ,6
066*+ 0**! 0."0* 0., 0,., "0,*. "!0.. "**60
Co$%m&' , (hro%)h "0"
"+6 "6*". ".0*+ ",,*0 !!0!6
b. y=sin(x)
clc
clear all
67)$)/-$-)8H
16sin(#
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 7/30
plot(212'c'#
title('MRAFIA DE SEN'#
label('4alor '#
1label('4alor 1'#
7 #
Co$%m&' " (hro%)h .
0 00,,. 0",. 0!, 0*.,+ 0+,+ 06+6 06++!
Co$%m&' , (hro%)h "6
0"+ 0.** 0.+" 0.,"! 0,*!0 0,6*6 0,.+ 0,,
Co$%m&' " (hro%)h !+
0,,,6 0,," 0,*. 0,+6* 0,0,* 0.6*! 0.0. 0+
Co$%m&' ! (hro%)h *!
06 0,. 0" 0+!+ 0**0 0!*,! 0"+"" 00+"6
Co$%m&' ** (hro%)h +0
-00.+ -0" -0! -0*0. -0++! -0!,. -06"", -06..
Co$%m&' +" (hro%)h +.
-06. -0.".* -0."6 -0,"6! -0,"6 -0, -0,,* -0,,,,
Co$%m&' +, (hro%)h 6
-0,,6! -0,.! -0,., -0,!. -0..* -0.*!* -0!. -00
Co$%m&' (hro%)h 6+
-06*"* -00 -0+6+6 -0**, -0!,+ -0".!! -00.*" 00"6.
Co$%m&' 6 (hro%)h !
0""6 0!"" 0*"" 0+0+. 0+,+" 0.+ 060 0!,0
Co$%m&' * (hro%)h .0
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 8/30
0,* 0.0+ 0.,. 0,*.0 0,6, 0,..! 0,,. 0,,.,
Co$%m&' ." (hro%)h ..
0,.,+ 0,6,, 0,+0 0,0!! 0.+6 0,. 0*++ 066*0
Co$%m&' ., (hro%)h ,6
0.+, 00"0 0+"!" 0*"," 0!!!, 0"!+ 00!+. -00!
Co$%m&' , (hro%)h "0"
-0"+* -0!". -0*66 -0+ -0++0
c. ax^2+bx+c donde a=5 ; b=2 ; c=4
clc
clear all
67)$-)8H
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 9/30
a6+H
b6,H
c6=H
16a/,<b<c
plot(212'b'#
title('MRAFIA UADRA&IA'#
label('4alor '#
1label ('4alor 1'#
7 #
+ "" !. ,! "*, ",6 !6* *+0 +! !+
d. sqrt(x)
clc
clear all
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 10/30
67)$-)8H
16srt(#
plot(12'5'#
title('RAIZ UADRADA DE '#
label('4alor '#
1label ('4alor 1'#
7 #
Co$%m&' " (hro%)h .
0 "0000 "+"+! "*!" !0000 !!*6" !++, !6+.
Co$%m&' , (hro%)h ""
!.!.+ *0000 *"6!*
% +/, 5ra90e el si50iente conJ0nto 3e 3atos permita 0e A&LAO 0se el
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 11/30
% n0mero 3e in3ice 3e matri: como el parametro para el eJe
% 167-,2-=2-,2,,2@2>8
clc
clear all
167-,2-=2-,2,,2@2>8H
plot(1?,)2'1'#
title('MRAFIA DE N.UN& DE DA&S'#
label('4alor '#
1label ('4alor 1'#
%+/G Mra90e las si50ientes f0nciones en la misma 5ra9ca para 4alores 3e
% 3es3e !pi asta pi2 1 selesccione el espaciamiento para crear 0na
%5ra9ca s0a4e
% 1-6 sen(#
% 1,6 sen(,#
% 1G6sen(G#
clc
clear all
67!pi$)/-$pi8
1-6sin(#
1,6sin(,#
1G6sin(G#
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 12/30
plot(21-221,221G#
#
Co$%m&' " (hro%)h .
-*"+"6 -*0+"6 -!,+"6 -!.+"6 -!+"6 -!6+"6 -!+"6 -!++"6
Co$%m&' , (hro%)h "6
-!*+"6 -!!+"6 -!"+"6 -!0+"6 -",+"6 -".+"6 -"+"6 -"6+"6
Co$%m&' " (hro%)h !+
-"+"6 -"++"6 -"*+"6 -"!+"6 -""+"6 -"0+"6 -0,+"6 -0.+"6
Co$%m&' ! (hro%)h *!
-0+"6 -06+"6 -0+"6 -0++"6 -0*+"6 -0!+"6 -0"+"6 -00+"6
Co$%m&' ** (hro%)h +0
00.+ 0".+ 0!.+ 0*.+ 0+.+ 0.+ 06.+ 0.+
Co$%m&' +" (hro%)h +.
0..+ 0,.+ "0.+ "".+ "!.+ "*.+ "+.+ ".+
Co$%m&' +, (hro%)h 6
"6.+ ".+ "..+ ",.+ !0.+ !".+ !!.+ !*.+
Co$%m&' (hro%)h 6*
!+.+ !.+ !6.+ !.+ !..+ !,.+ *0.+
7" #
Co$%m&' " (hro%)h .
-00000 -00,,. -0",. -0!, -0*.,+ -0+,+ -06+6 -06++!
Co$%m&' , (hro%)h "6
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 13/30
-0"+ -0.** -0.+" -0.,"! -0,*!0 -0,6*6 -0,.+ -0,,
Co$%m&' " (hro%)h !+
-0,,,6 -0,," -0,*. -0,+6* -0,0,* -0.6*! -0.0. -0+
Co$%m&' ! (hro%)h *!
-06 -0,. -0" -0+!+ -0**0 -0!*,! -0"+"" -00+"6
Co$%m&' ** (hro%)h +0
00.+ 0" 0! 0*0. 0++! 0!,. 06"", 06..
Co$%m&' +" (hro%)h +.
06. 0.".* 0."6 0,"6! 0,"6 0, 0,,* 0,,,,
Co$%m&' +, (hro%)h 6
0,,6! 0,.! 0,., 0,!. 0..* 0.*!* 0!. 00
Co$%m&' (hro%)h 6*
06*"* 00 0+6+6 0**, 0!,+ 0".!! 00.*"
7! #
Co$%m&' " (hro%)h .
00000 0",. 0*.,+ 06+6 0"+ 0.+" 0,*!0 0,.+
Co$%m&' , (hro%)h "6
0,,,6 0,*. 0,0,* 0.0. 06 0" 0**0 0"+""
Co$%m&' " (hro%)h !+
-00.+ -0! -0++! -06"", -06. -0."6 -0,"6 -0,,*
Co$%m&' ! (hro%)h *!
-0,,6! -0,., -0..* -0!. -06*"* -0+6+6 -0!,+ -00.*"
Co$%m&' ** (hro%)h +0
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 14/30
0""6 0*"" 0+,+" 060 0,* 0.,. 0,6, 0,,.
Co$%m&' +" (hro%)h +.
0,.,+ 0,+0 0.+6 0*++ 0.+, 0+"!" 0!!!, 00!+.
Co$%m&' +, (hro%)h 6
-0"+* -0*66 -0++0 -06,,, -0.!. -0,!!. -0,.0, -"0000
Co$%m&' (hro%)h 6*
-0,,! -0,",* -0.!!. -06,* -0*66 -0*.! -0"66
7* #
Co$%m&' " (hro%)h .
-00000 -0!, -06+6 -0.** -0,*!0 -0,, -0,*. -0.6*!
Co$%m&' , (hro%)h "6
-06 -0+!+ -0"+"" 0" 0++! 06.. 0."6 0,
Co$%m&' " (hro%)h !+
0,,6! 0,!. 0!. 00 0!,+ -00"6. -0*"" -0.+
Co$%m&' ! (hro%)h *!
-0,* -0,*.0 -0,,. -0,6,, -0.+6 -066*0 -0+"!" -0"!+
Co$%m&' ** (hro%)h +0
0"+* 0+ 06,,, 0., 0,.0, 0,,+6 0,",* 06!0
Co$%m&' +" (hro%)h +.
0*66 0!6*! -00**6 -0*! -0,!" -0.0*. -0,+* -0,,,*
Co$%m&' +, (hro%)h 6
-0,6 -0.+ -060* -0*,6 -0"0. 0",0, 0+!+ 0"".
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 15/30
Co$%m&' (hro%)h 6*
0..6 0,.+" 0,,! 0,"!6 0"0 0!!* 0!+0
%+/= AJ0ste la 5ra9ca crea3a en el problema +/G 3e mo3o 0e
% la linea - sea roJa 1 ra1a3a
% la linea , sea a:0l 1 soli3a
% la linea G sea 4er3e 1 p0ntea3a
% No incl01a marca3ores en nin50na 3e las 5ra9cas/ En 5eneral los
% marca3ores se incl01en solo en las 5ra9cas 3e 3atos me3i3os/ no para
% 4alores calc0la3os
clc
clear all
67!pi$)/-$pi8
1-6sin(#
1,6sin(,#
1G6sin(G#
plot(21-2'!!r'2'linePi3t'2,#
ol3 on %con5elar la 5ra9ca
plot(21,2'b'2'linePi3t'2,#
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 16/30
ol3 on %con5elar la 5ra9ca
plot(21G2'/5'2'linePi3t'2G#
ol3 on %con5elar la 5ra9ca
#
Co$%m&' " (hro%)h .
-*"+"6 -*0+"6 -!,+"6 -!.+"6 -!+"6 -!6+"6 -!+"6 -!++"6
Co$%m&' , (hro%)h "6
-!*+"6 -!!+"6 -!"+"6 -!0+"6 -",+"6 -".+"6 -"+"6 -"6+"6
Co$%m&' " (hro%)h !+
-"+"6 -"++"6 -"*+"6 -"!+"6 -""+"6 -"0+"6 -0,+"6 -0.+"6
Co$%m&' ! (hro%)h *!
-0+"6 -06+"6 -0+"6 -0++"6 -0*+"6 -0!+"6 -0"+"6 -00+"6
Co$%m&' ** (hro%)h +0
00.+ 0".+ 0!.+ 0*.+ 0+.+ 0.+ 06.+ 0.+
Co$%m&' +" (hro%)h +.
0..+ 0,.+ "0.+ "".+ "!.+ "*.+ "+.+ ".+
Co$%m&' +, (hro%)h 6
"6.+ ".+ "..+ ",.+ !0.+ !".+ !!.+ !*.+
Co$%m&' (hro%)h 6*
!+.+ !.+ !6.+ !.+ !..+ !,.+ *0.+
7" #
Co$%m&' " (hro%)h .
-00000 -00,,. -0",. -0!, -0*.,+ -0+,+ -06+6 -06++!
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 17/30
Co$%m&' , (hro%)h "6
-0"+ -0.** -0.+" -0.,"! -0,*!0 -0,6*6 -0,.+ -0,,
Co$%m&' " (hro%)h !+
-0,,,6 -0,," -0,*. -0,+6* -0,0,* -0.6*! -0.0. -0+
Co$%m&' ! (hro%)h *!
-06 -0,. -0" -0+!+ -0**0 -0!*,! -0"+"" -00+"6
Co$%m&' ** (hro%)h +0
00.+ 0" 0! 0*0. 0++! 0!,. 06"", 06..
Co$%m&' +" (hro%)h +.
06. 0.".* 0."6 0,"6! 0,"6 0, 0,,* 0,,,,
Co$%m&' +, (hro%)h 6
0,,6! 0,.! 0,., 0,!. 0..* 0.*!* 0!. 00
Co$%m&' (hro%)h 6*
06*"* 00 0+6+6 0**, 0!,+ 0".!! 00.*"
7! #
Co$%m&' " (hro%)h .
00000 0",. 0*.,+ 06+6 0"+ 0.+" 0,*!0 0,.+
Co$%m&' , (hro%)h "6
0,,,6 0,*. 0,0,* 0.0. 06 0" 0**0 0"+""
Co$%m&' " (hro%)h !+
-00.+ -0! -0++! -06"", -06. -0."6 -0,"6 -0,,*
Co$%m&' ! (hro%)h *!
-0,,6! -0,., -0..* -0!. -06*"* -0+6+6 -0!,+ -00.*"
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 18/30
Co$%m&' ** (hro%)h +0
0""6 0*"" 0+,+" 060 0,* 0.,. 0,6, 0,,.
Co$%m&' +" (hro%)h +.
0,.,+ 0,+0 0.+6 0*++ 0.+, 0+"!" 0!!!, 00!+.
Co$%m&' +, (hro%)h 6
-0"+* -0*66 -0++0 -06,,, -0.!. -0,!!. -0,.0, -"0000
Co$%m&' (hro%)h 6*
-0,,! -0,",* -0.!!. -06,* -0*66 -0*.! -0"66
7* #
Co$%m&' " (hro%)h .
-00000 -0!, -06+6 -0.** -0,*!0 -0,, -0,*. -0.6*!
Co$%m&' , (hro%)h "6
-06 -0+!+ -0"+"" 0" 0++! 06.. 0."6 0,
Co$%m&' " (hro%)h !+
0,,6! 0,!. 0!. 00 0!,+ -00"6. -0*"" -0.+
Co$%m&' ! (hro%)h *!
-0,* -0,*.0 -0,,. -0,6,, -0.+6 -066*0 -0+"!" -0"!+
Co$%m&' ** (hro%)h +0
0"+* 0+ 06,,, 0., 0,.0, 0,,+6 0,",* 06!0
Co$%m&' +" (hro%)h +.
0*66 0!6*! -00**6 -0*! -0,!" -0.0*. -0,+* -0,,,*
Co$%m&' +, (hro%)h 6
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 19/30
-0,6 -0.+ -060* -0*,6 -0"0. 0",0, 0+!+ 0"".
Co$%m&' (hro%)h 6*
0..6 0,.+" 0,,! 0,"!6 0"0 0!!* 0!+0
%+/+ AJ0ste la 5ra9ca crea3a en el problema +/= 3e mo3o 0e el eJe 4a1a
% 3es3e != asta =
% A5re50e 0n rec0a3ro 3e teto 0e 3escriba las 5ra9cas
clc
clear all
67!=$)/-$=8H
1-6sin(#
1,6sin(,#
1G6sin(G#
plot(21-2'!!r'2'linePi3t'2,#
ol3 on %con5elar la 5ra9ca
plot(21,2'b'2'linePi3t'2,#
ol3 on %con5elar la 5ra9ca
plot(21G2'/5'2'linePi3t'2G#
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 20/30
ol3 on %con5elar la 5ra9ca
tet()2)2'la f0ncion 3e seno(# es la linea 3e color roJo ra1a3a'#
tet()2)/@2'la f0ncion seno(,# es la linea a:0l soli3a'#
tet()2)/+2'la f0ncion seno(G# es la linea 4er3e p0ntea3a'#
7" #
Co$%m&' " (hro%)h .
06. 06.. 06"", 0!,. 0++! 0*0. 0! 0"
Co$%m&' , (hro%)h "6
00.+ -00+"6 -0"+"" -0!*,! -0**0 -0+!+ -0" -0,.
Co$%m&' " (hro%)h !+
-06 -0+ -0.0. -0.6*! -0,0,* -0,+6* -0,*. -0,,"
Co$%m&' ! (hro%)h *!
-0,,,6 -0,, -0,.+ -0,6*6 -0,*!0 -0.,"! -0.+" -0.**
Co$%m&' ** (hro%)h +0
-0"+ -06++! -06+6 -0+,+ -0*.,+ -0!, -0",. -00,,.
Co$%m&' +" (hro%)h +.
0 00,,. 0",. 0!, 0*.,+ 0+,+ 06+6 06++!
Co$%m&' +, (hro%)h 6
0"+ 0.** 0.+" 0.,"! 0,*!0 0,6*6 0,.+ 0,,
Co$%m&' (hro%)h 6+
0,,,6 0,," 0,*. 0,+6* 0,0,* 0.6*! 0.0. 0+
Co$%m&' 6 (hro%)h !
06 0,. 0" 0+!+ 0**0 0!*,! 0"+"" 00+"6
Co$%m&' * (hro%)h .0
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 21/30
-00.+ -0" -0! -0*0. -0++! -0!,. -06"", -06..
Co$%m& ."
-06.
7! #
Co$%m&' " (hro%)h .
-0,.,+ -0,,. -0,6, -0.,. -0,* -060 -0+,+" -0*""
Co$%m&' , (hro%)h "6
-0""6 00.*" 0!,+ 0+6+6 06*"* 0!. 0..* 0,.,
Co$%m&' " (hro%)h !+
0,,6! 0,,* 0,"6 0."6 06. 06"", 0++! 0!
Co$%m&' ! (hro%)h *!
00.+ -0"+"" -0**0 -0" -06 -0.0. -0,0,* -0,*.
Co$%m&' ** (hro%)h +0
-0,,,6 -0,.+ -0,*!0 -0.+" -0"+ -06+6 -0*.,+ -0",.
Co$%m&' +" (hro%)h +.
0 0",. 0*.,+ 06+6 0"+ 0.+" 0,*!0 0,.+
Co$%m&' +, (hro%)h 6
0,,,6 0,*. 0,0,* 0.0. 06 0" 0**0 0"+""
Co$%m&' (hro%)h 6+
-00.+ -0! -0++! -06"", -06. -0."6 -0,"6 -0,,*
Co$%m&' 6 (hro%)h !
-0,,6! -0,., -0..* -0!. -06*"* -0+6+6 -0!,+ -00.*"
Co$%m&' * (hro%)h .0
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 22/30
0""6 0*"" 0+,+" 060 0,* 0.,. 0,6, 0,,.
Co$%m& ."
0,.,+
7* #
Co$%m&' " (hro%)h .
0*66 06!0 0,",* 0,,+6 0,.0, 0., 06,,, 0+
Co$%m&' , (hro%)h "6
0"+* -0"!+ -0+"!" -066*0 -0.+6 -0,6,, -0,,. -0,*.0
Co$%m&' " (hro%)h !+
-0,* -0.+ -0*"" -00"6. 0!,+ 00 0!. 0,!.
Co$%m&' ! (hro%)h *!
0,,6! 0, 0."6 06.. 0++! 0" -0"+"" -0+!+
Co$%m&' ** (hro%)h +0
-06 -0.6*! -0,*. -0,, -0,*!0 -0.** -06+6 -0!,
Co$%m&' +" (hro%)h +.
0 0!, 06+6 0.** 0,*!0 0,, 0,*. 0.6*!
Co$%m&' +, (hro%)h 6
06 0+!+ 0"+"" -0" -0++! -06.. -0."6 -0,
Co$%m&' (hro%)h 6+
-0,,6! -0,!. -0!. -00 -0!,+ 00"6. 0*"" 0.+
Co$%m&' 6 (hro%)h !
0,* 0,*.0 0,,. 0,6,, 0.+6 066*0 0+"!" 0"!+
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 23/30
Co$%m&' * (hro%)h .0
-0"+* -0+ -06,,, -0., -0,.0, -0,,+6 -0,",* -06!0
Co$%m& ."
-0*66
%+/-) En el problema +/- 03 creo c0atro 5ra9cas/ombinelas en 0na 950ra
%con c0atro s0b4entanas2con la f0ncion s0bplot 3e atlab
67)$)/-$-)8H
16 ep(#
s0bplot(,2,2-#
plot(212'b'#
title('MRAFIA E"NENIAL'#
label('4alor '#
1label ('4alor 1'#
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 24/30
7 #
"0e800+ 9
Co$%m&' " (hro%)h .
0000" 0000" 0000" 0000" 0000" 0000! 0000! 0000!
Co$%m&' , (hro%)h "6
0000! 0000! 0000* 0000* 0000* 0000+ 0000+ 0000+
Co$%m&' " (hro%)h !+
0000 0000 00006 0000 0000 0000. 0000, 000"0
Co$%m&' ! (hro%)h *!
000"" 000"! 000"* 000" 000"6 000". 000!0 000!!
Co$%m&' ** (hro%)h +0
000! 000! 000*0 000** 000* 000+0 000+ 000+,
Co$%m&' +" (hro%)h +.
000 00060 0006 000+ 000." 000,0 000,, 00""0
Co$%m&' +, (hro%)h 6
00"!! 00"*+ 00"+. 00"6+ 00"." 00!00 00!!" 00!+
Co$%m&' (hro%)h 6+
00!0 00!,, 00**0 00*6 00+0* 00++6 00+,* 00+
Co$%m&' 6 (hro%)h !
0060! 0066 00* 00."! 00.,. 00,,! 0"0, 0"!"!
Co$%m&' * (hro%)h .0
0"**, 0"+.0 0"6*6 0".0. 0",,. 0!!0. 0!++" 0!6,
Co$%m&' ." (hro%)h ..
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 25/30
0!,." 0*!,+ 0*6+" 0+0!+ 0+++ 0+," 0+*! 0600*
Co$%m&' ., (hro%)h ,6
066*+ 0**! 0."0* 0., 0,., "0,*. "!0.. "**60
Co$%m&' , (hro%)h "0"
"+6 "6*". ".0*+ ",,*0 !!0!6
b. y=sin(x)
67)$)/-$-)8H
16sin(#
s0bplot(,2,2,#
plot(212'c'#
title('MRAFIA DE SEN'#
label('4alor '#
1label ('4alor 1'#
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 26/30
7 #
Co$%m&' " (hro%)h .
0 00,,. 0",. 0!, 0*.,+ 0+,+ 06+6 06++!
Co$%m&' , (hro%)h "6
0"+ 0.** 0.+" 0.,"! 0,*!0 0,6*6 0,.+ 0,,
Co$%m&' " (hro%)h !+
0,,,6 0,," 0,*. 0,+6* 0,0,* 0.6*! 0.0. 0+
Co$%m&' ! (hro%)h *!
06 0,. 0" 0+!+ 0**0 0!*,! 0"+"" 00+"6
Co$%m&' ** (hro%)h +0
-00.+ -0" -0! -0*0. -0++! -0!,. -06"", -06..
Co$%m&' +" (hro%)h +.
-06. -0.".* -0."6 -0,"6! -0,"6 -0, -0,,* -0,,,,
Co$%m&' +, (hro%)h 6
-0,,6! -0,.! -0,., -0,!. -0..* -0.*!* -0!. -00
Co$%m&' (hro%)h 6+
-06*"* -00 -0+6+6 -0**, -0!,+ -0".!! -00.*" 00"6.
Co$%m&' 6 (hro%)h !
0""6 0!"" 0*"" 0+0+. 0+,+" 0.+ 060 0!,0
Co$%m&' * (hro%)h .0
0,* 0.0+ 0.,. 0,*.0 0,6, 0,..! 0,,. 0,,.,
Co$%m&' ." (hro%)h ..
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 27/30
0,.,+ 0,6,, 0,+0 0,0!! 0.+6 0,. 0*++ 066*0
Co$%m&' ., (hro%)h ,6
0.+, 00"0 0+"!" 0*"," 0!!!, 0"!+ 00!+. -00!
Co$%m&' , (hro%)h "0"
-0"+* -0!". -0*66 -0+ -0++0
c. ax^2+bx+c
%3on3e a6+ H b6, H c6=
67)$-)8H
a6+H
b6,H
c6=H
16a/,<b<c
SUO"L&(,2,2G#
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 28/30
plot(212'5'#
title('MRAFIA UADRA&IA'#
label('4alor '#
1label ('4alor 1'#
7 #
+ "" !. ,! "*, ",6 !6* *+0 +! !+
;ar&3&): Co%$ &o( <& a& eac( =ca'e-'e&'3(35e> ma(ch for ?SU@PLOT?
C:Pro)ram F3$e'MATLA@R!0"0a(oo$boma($ab)ra4h!'%b4$o(m 3' a
ca'e-3&'e&'3(35e ma(ch a& B3$$ be %'e 3&'(ea
o% ca& 3m4ro5e (he 4erforma&ce of 7o%r coe b7 %'3&) eac(
&ame ma(che' a& Be (herefore recomme& (ha( 7o% %4a(e 7o%r
%'a)e accor3&)$7 A$(er&a(35e$7 7o% ca& 3'ab$e (h3' Bar&3&) %'3&)
Bar&3&)=?o??MATLA@:3'4a(cher:I&eac(Ca'eMa(ch?>Th3' Bar&3&) B3$$ become a& error 3& f%(%re re$ea'e'
d. sqrt(x)
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 29/30
67)$-)8H
16srt(#
s0bplot(,2,2=#
plot(12'r'#
title('RAIZ UADRADA DE '#label('4alor '#
1label ('4alor 1'#
7 #
Co$%m&' " (hro%)h .
0 "0000 "+"+! "*!" !0000 !!*6" !++, !6+.
Co$%m&' , (hro%)h ""
!.!.+ *0000 *"6!*
8/17/2019 Maria Victoria Velez Ponce Deber1
http://slidepdf.com/reader/full/maria-victoria-velez-ponce-deber1 30/30