Beruflich Dokumente
Kultur Dokumente
ndice general
5 37
Introduccin
Problemas del Libro Calculo diferencial e integral de Piskunov[4], resueltos por mi. Para aprender a manejar Latex, Lyx y Scilab; y de paso repasar mis conceptos de clculo, y/o aprender algo ms al respecto. Intentare resolver en la medida de mis posibilidades los problemas con Scilab. No me hago responsable de los resultados, he comprobado que concuerdan, aunque en algunas ocasiones puede ser que no (si me doy cuenta lo indicara en el ejercicio correspondiente). He congurado el documento, para que los apartados (ejercicios) no aparezcan en el indice general, pues se obtena un indice muy largo, y daba problemas al crear un PDF (formatos no permitidos en hiperindices?). He congurado el tamao de hoja para A5, con la idea de que se pueda ver completo (sin necesidad de zoom) en un ebook, de momento como no tengo ebook, no puedo comprobar como se ve realmente. No obstante es bastante sencillo cambiar la conguracin al tamao de hoja que se desee. Con este tamao de hoja tambin se podra imprimir directamente dos hojas en un A4.
Captulo 1
Nmero. Varible. Funcin
He resuelto manualmente los ejercicios propuestos, dibujando las grcas por puntos (dando valor a x y obteniendo la y correspondiente), ya que el libro de Piskunov no trata en este captulo el trazado de las grcas (mximos, mnimos, concava, convexa, etc..). Despus he procedido (en los ejercios con grcas) a obtenerlas con Scilab (he intentado usar la mayor cantidad de opciones que tiene Scilab para el trazado de funciones, aunque puede ser que existan ms que no conozca -eso seguro-).
A Deseche utilizar el package de L T X pst-func, pues mi objetivo es manejar el programa E Scilab. No obstante, si se tercia (he hecho alguna prueba desde MiT X y me ha funcionado, E
desde L X an no lo he probado, supongo que ser mediante una Red Box), probare a Y utilizarlo en alguna ocasin.
+ 1 = a4 + 1
2
[f (a)] = a2 + 1
2
= a4 + 2a2 + 1
1.3. Calcular
1 x 1 x
1 (x)
1 x 1 1 3x + 5
1x 3 + 5x
1 = (x)
1
x1 3x+5
3x + 5 x1
4x2 + 4 = 2 x2 + 1
(0) =
02 + 4 =
4=2
f (2) = tg(2) =
sen 2 sen cos + cos sen 2 sen cos cos2 = = = cos 2 cos cos sen sen cos2 sen2 cos2
2 sen cos cos2 cos2 sen2 cos2 2 sen cos
sen2 cos2
2 tg 1 tg2
c.q.d
a+b 1+ab
(a) = log
1a 1+a
(b) = log
1b 1+b
a+b 1 + ab
= log
1 1+
= log
c.q.d.
b) f [(a)] = f
xR
<x<
; si
4
5
raiz real
x2 = |x|
3
b) 3 + x + 7 x ; si x < 3 o x > 7 No raiz real 3 x 7 c) x + a x b ; siempre existen raices reales < x <
3 8 =
3
(2)3 = (2) = 2
8=
23 = 2
d)
a+x ax
; si
x = a denominador = 0= x = a
e) arcsen2 x ; como sen x slo toma los valores entre1 y 1 este es el dominio de arcsen x y de arcsen2 x 1 x 1 f) y = log x ; la funcin logartmica slo est denida para valores positivos
x > 0
x=0y=5
y = 0 3x = 5 x =
5 3
xgrid
xgrid
1.13. Parbola y = x2 + 2x 1
1 22 41(1) x= = 21 y = 0 x1 = 1 + 2 x = 0 y = 1
2 4+4 2
= 22 2 2 x2 = 1 2
xgrid
1 1.14. y = x1 x = 0 y = 1
x = 1
x1 = [ 3 : 0 . 0 5 : . 9 5 ] ' ; x2 = [ 1 . 0 5 : 0 . 1 : 3 ] ' ; dims =1; x=c a t ( dims , x1 , x2 ) ; y=(x 1)^( 1) ; // y=1/(x 1) ; No f u n c i o n a plot2d ( x , y , [ 2 ] , l e g="y=1/(x 1)" , r e c t =[3 10 3 1 0 ] )
1.15. y = sen 2x
La curva La curva
x1 = [ 3 : 0 . 0 5 : . 9 5 ] ' ; x2 = [ 1 . 0 5 : 0 . 1 : 3 ] ' ; dims =1; x=c a t ( dims , x1 , x2 ) ; y=(x 1)^( 1) ; // y=1/(x 1) ; No f u n c i o n a plot2d ( x , y , [ 2 ] , l e g="y=1/(x 1)" , r e c t =[3 10 3 1 0 ] )
1.16. y = cos 3x
La curva La curva
x = [ 0 : 0 . 1 : 2 * %pi ] ' ; plot2d ( x , cos ( 3 * x ) , [ 2 ] , r e c t =[0 , 1 ,2* %pi , 1 ] ) ; a=gca ( ) ; // Handle on a x e s e n t i t y a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ;
xgrid
1.17. Parbola y = x2 4x + 6
y=0x= x=0y=6
4
(4)2 416 21
xgrid
1 1.18. y = 1x x=0y=1
No denida para
|x| = 1
x1 = [ 3 : 0 . 0 5 : 1 . 0 5 ] ' ; x2 = [ 0 . 9 5 : 0 . 0 5 : 0 . 9 5 ] ' ; x3 = [ 1 . 0 5 : 0 . 0 5 : 3 ] ' ; dims =1; x=c a t ( dims , x1 , x2 , x3 ) ; y=(1x ^2) ^( 1) ; // y=1/(1 x ^2) ; No f u n c i o n a plot2d ( x , y , [ 2 ] , l e g="y=1/(1 x ^2) " , r e c t =[3 5 3 5 ] )
xgrid
1.19. y = sen x + 4
La curva es peridica
y est adelantada
x = [ 0 : 0 . 1 : 2 * %pi ] ' ; plot2d ( x , sin ( x+( %pi/ 4 ) ) , [ 2 ] , r e c t =[0 , 1 ,2* %pi , 1 ] ) ; a=gca ( ) ; // Handle on a x e s e n t i t y a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ;
xgrid
1.20. y = cos x 3
La curva
cos x
es peridica
retrasada
x = [ 0 : 0 . 1 : 2 * %pi ] ' ; plot2d ( x , [ sin ( x+( %pi/ 4 ) ) cos ( x ( %pi/ 3 ) ) ] , [ 2 3 ] , l e g=" s i n ( x+p i / 4 ) @cos ( x p i / 3 ) " , r e c t =[0 , 1 ,2* %pi , 1 ] ) ; a=gca ( ) ; // Handle on a x e s e n t i t y a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ;
xgrid
1 1.21. y = tg 2 x
La curva
tg 1 x 2
es peridica
y no valilda para
x = (tg x
es peridica
1 1.22. y = cotg 4 x
La curva
cotg 1 x 4
es peridica
y no valilda para
x = (cotg x
es peridica
x=[( 1) * %pi : 0 . 1 : %pi ] ' ; deff ( " [ y]= f ( x ) " , "y =tan ( x / 2 ) " ) ; deff ( " [ y]=g ( x ) " , "y =c o t g ( ( x+((x==0)* %eps ) ) / 4 ) " ) ; // con "+(x==0)* %eps" s e e v i t a e l 0 // t r a z o f u n c i n f ( x ) fplot2d ( x , f , [ 2 ] , r e c t =[ %pi, 10 , %pi , 1 0 ] ) a=gca ( ) ; // Handle on a x e s e n t i t y // a x i s c e n t e r e d a t ( 0 , 0 ) a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ; a . c h i l d r e n // l i s t t h e c h i l d r e n o f t h e a x e s . // There a r e a compound made o f two p o l y l i n e s and a l e g e n d p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e .
// t r a z o f u n c i n g ( x ) fplot2d ( x , g , [ 3 ] , r e c t =[ %pi, 10 , %pi , 1 0 ] ) ; // t r a z o g r u e s o en f u n c i n d i b u j a d a p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e . // uso de LaTex en l a l e g e n d a , ver ' l e g e n d ' h l=l e g e n d ( [ ' $y=t g \ f r a c {x }{2} $ ' ] , [ ' $y=c o t g \ f r a c {x }{4} $ ' ] , 4 ) ;
xgrid
1.23. y = 3x
La curva potencial corta el eje x en el corta. Para
x=0y=1
1.24. y = 2x
Para
x=0y=1
x=[ 5:0.1:5] '; deff ( " [ y]= f ( x ) " , "y =3^x" ) ; deff ( " [ y]=g ( x ) " , "y =2^( (x ^2) ) " ) ; // t r a z o f u n c i n f ( x ) fplot2d ( x , f , [ 2 ] , r e c t = [ 3 , 0 , 3 , 4 ] ) a=gca ( ) ; // Handle on a x e s e n t i t y // a x i s c e n t e r e d a t ( 0 , 0 ) a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ; a . c h i l d r e n // l i s t t h e c h i l d r e n o f t h e a x e s . // There a r e a compound made o f two p o l y l i n e s and a l e g e n d p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e .
xgrid
1 1.25. y = log2 x
La curva logartmica slo est denida para valores tiene el mismo dominio Tambin se representa la curva
x > 0,
por lo que
log2
1 x tambin
1 y = ln x
x=[0:0.05:4] '; deff ( " [ y]= f ( x ) " , "y =l o g 2 ( 1 / ( x+((x==0)* %eps ) ) ) " ) ; deff ( " [ y]=g ( x ) " , "y =l o g ( 1 / ( x+((x==0)* %eps ) ) ) " ) ; fplot2d ( x , f , [ 2 ] , r e c t = [ 0 , 4 , 4 , 1 0 ] ) a=gca ( ) ; // Handle on a x e s e n t i t y a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ; a . c h i l d r e n // l i s t t h e c h i l d r e n o f t h e a x e s . // There a r e a compound made o f two p o l y l i n e s and a l e g e n d p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e . xgrid ; // t r a z o f u n c i n g ( x ) fplot2d ( x , g , [ 3 ] , r e c t = [ 0 , 4 , 4 , 1 0 ] ) ; // t r a z o g r u e s o en f u n c i n d i b u j a d a p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e . h l=l e g e n d ( [ ' $y=\log_2 \ f r a c {1}{ x}$ ' ] , [ ' $y=l n \ f r a c {1}{ x} $ ' ] , 1 ) ; // upper l e f t corner
xgrid
1.26. y = x3 + 1
y = 0 x = 1 x=0y=1
1.27. y = 4 x3
y=0x= 3 4 x=0y=4
x=[ 2.2:0.1:3] '; deff ( " [ y]= f ( x ) " , "y =x^3+1" ) ; deff ( " [ y]=g ( x ) " , "y =4x^3" ) ; // t r a z o f u n c i n f ( x ) fplot2d ( x , f , [ 2 ] , r e c t =[ 5 , 8 ,5 ,10]) a=gca ( ) ; // Handle on a x e s e n t i t y // a x i s c e n t e r e d a t ( 0 , 0 ) a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ; a . c h i l d r e n // l i s t t h e c h i l d r e n o f t h e a x e s . // There a r e a compound made o f two p o l y l i n e s and a l e g e n d p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e .
// t r a z o f u n c i n g ( x ) fplot2d ( x , g , [ 3 ] , r e c t =[ 5 , 8 ,5 ,10]) ; // t r a z o g r u e s o en f u n c i n d i b u j a d a p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e . h l=l e g e n d ( [ ' $y=x^3+1$ ' ] , [ ' $y =4x^3$ ' ] , 1 ) ;
xgrid
1.28. y = x1
No denida para
x=0
(tendera a innito)
x1 = [ 3 : 0 . 1 : 0 . 1 ] ' ; x2 = [ 0 . 1 : 0 . 1 : 3 ] ' ; dims =1; x=c a t ( dims , x1 , x2 ) ; deff ( " [ y]= f ( x ) " , "y =(x ^2) ^( 1)" ) ; fplot2d ( x , f , [ 2 ] , r e c t = [ 3 , 0 , 3 , 1 0 ] ) // tambien f u n c i o n a // y =(x ^2) ^( 1) // p l o t 2 d ( x , y , [ 2 ] , l e g ="y =(x ^2) ^( 1) " , r e c t =[3 0 3 1 0 ] )
// a x i s c e n t e r e d a t ( 0 , 0 ) a=gca ( ) ; // Handle on a x e s e n t i t y a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ; h1=l e g e n d ( [ ' $y=\ f r a c {1}{ x^2}$ ' ] , 2 ) ;
xgrid
1.29. y = x4
Curva simtrica respecto al eje y (ordenadas)
1.30. y = x5
Curva simtrica respecto al origen (punto 0,0)
x=[ 2:0.1:2] '; deff ( " [ y]= f ( x ) " , "y =x^5" ) ; deff ( " [ y]=g ( x ) " , "y =x^4" ) ; // t r a z o f u n c i o n f ( x ) fplot2d ( x , f , [ 2 ] , r e c t =[ 2 , 10 ,2 ,10]) a=gca ( ) ; // Handle on a x e s e n t i t y // a x i s c e n t e r e d a t ( 0 , 0 ) a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ; a . c h i l d r e n // l i s t t h e c h i l d r e n o f t h e a x e s . // There a r e a compound made o f two p o l y l i n e s and a l e g e n d p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e .
// t r a z o f u n c i o n g ( x ) fplot2d ( x , g , [ 3 ] , r e c t =[ 2 , 10 ,2 ,10]) ; x t i t l e ( " F u n c i o n e s p o t e n c i a l e s " ) ; // x l a b e l (" x ") ; y l a b e l (" y ") ; l a s l e t r a s " x " e " y " s a l e n s o b r e c u a d r i c u l a y no s e ven // t r a z o g r u e s o en f u n c i o n d i b u j a d a p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e . h l=l e g e n d ( [ ' $y=x^5$ ' ] , [ ' $y=x^4$ ' ] , 4 ) ;
xgrid
1.31. y = x
Curva denida slo para
x0
1 1.32. y = x
Curva denida slo para
x>0
x=[0.01:0.01:10] '; deff ( " [ y]= f ( x ) " , "y =s q r t ( x ) " ) ; deff ( " [ y]=g ( x ) " , "y =1/( s q r t ( x ) ) " ) ; // t r a z o f u n c i n f ( x ) fplot2d ( x , f , [ 2 ] , r e c t = [ 0 , 0 , 1 0 , 1 0 ] ) ; a=gca ( ) ; // Handle on a x e s e n t i t y // a x i s c e n t e r e d a t ( 0 , 0 ) a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ; a . c h i l d r e n // l i s t t h e c h i l d r e n o f t h e a x e s . // There a r e a compound made o f two p o l y l i n e s and a l e g e n d p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e . xgrid ; // t r a z o f u n c i n g ( x ) fplot2d ( x , g , [ 3 ] , r e c t = [ 0 , 0 , 1 0 , 1 0 ] ) ; x t i t l e ( " F u n c i o n e s p o t e n c i a l e s " ) ; // t r a z o g r u e s o en f u n c i n d i b u j a d a p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e . h l=l e g e n d ( [ ' $y=\ s q r t {x}$ ' ] , [ ' $y=\ f r a c {1}{\ s q r t {x }} $ ' ] , 1 ) ; // upper l e f t corner
1.33. y = x
Curva simtrica respecto al origen
Scilab utiliza la exponenciacin para resolver, por lo que no da valores correctos para valores de x negativos.
x 3 = e 3 log x
presentacin grca, se convierten a: en el eje x la parte real, y en el eje y la parte imaginaria. Por ejemplo la
27 = 3
en Scilab es
27 3 = 1, 5 + 2, 5980762i
x=[ 8:0.1:8] '; deff ( " [ y]= f ( x ) " , "y =x ^ ( 1 / 3 ) " ) ; // For two r e a l or complex numbers x1 e t x2 t h e v a l u e o f x1^x2 i s t h e " p r i n c i p a l v a l u e " d e t e r m i n e d by x1^x2 = exp ( x2 * l o g ( x1 ) ) . function [ y]=g ( x ) i f x<0 then y=( 1) * ( ( abs ( x ) ) ^ ( 1 / 3 ) )
else
a=gca ( ) ; // Handle on a x e s e n t i t y a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ; a . c h i l d r e n // l i s t t h e c h i l d r e n o f t h e a x e s . // There a r e a compound made o f two p o l y l i n e s and a l e g e n d p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e . xgrid ; // t r a z o f u n c i n g ( x ) fplot2d ( x , g , [ 3 ] , r e c t =[ 8 , 3 ,8 ,3]) ; // t r a z o g r u e s o en f u n c i n d i b u j a d a p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e . h l=l e g e n d ( [ ' $y=x^\ f r a c {1}{3}= e ^{\ f r a c {1}{3}\ l o g {x }} $ ' ] , [ ' $y=\ s q r t [ 3 ] { x } $ ' ] , 1 ) ; // upper l e f t c o r n e r
y =x ^ ( 1 / 3 )
1.34. y = |x|
Curva simttrica respecto a las ordenadas.
x = 0
x=[ 4:0.1:4] '; deff ( " [ y]= f ( x ) " , "y =abs ( x ) " ) ; deff ( " [ y]=g ( x ) " , "y =l o g 2 ( abs ( x ) +((x==0)* %eps ) ) " ) ; // con "+(x==0)* %eps" s e e v i t a e l 0 // t r a z o f u n c i n f ( x ) fplot2d ( x , f , [ 2 ] , r e c t =[ 4 , 10 ,4 ,4]) a=gca ( ) ; // Handle on a x e s e n t i t y // a x i s c e n t e r e d a t ( 0 , 0 ) a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ; a . c h i l d r e n // l i s t t h e c h i l d r e n o f t h e a x e s . // There a r e a compound made o f two p o l y l i n e s and a l e g e n d p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e .
// t r a z o f u n c i n g ( x ) fplot2d ( x , g , [ 3 ] , r e c t =[ 4 , 10 ,4 ,4]) ; // t r a z o g r u e s o en f u n c i n d i b u j a d a p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e . // uso de LaTex en l a l e g e n d a , ver ' l e g e n d ' h l=l e g e n d ( [ ' $y =|x | $ ' ] , [ ' $y=\log_2 | x | $ ' ] , 4 ) ;
xgrid
1.36. y = log2 (1 x)
Curva denida
x < 1
x=[ 5:0.1:1] '; deff ( " [ y]= f ( x ) " , "y =l o g 2 ((1 x ) +((1 x )==0)* %eps ) " ) ; deff ( " [ y]=g ( x ) " , "y =l o g ((1 x ) +((1 x )==0)* %eps ) " ) ; fplot2d ( x , f , [ 2 ] , r e c t =[ 5 , 5 ,1 ,3]) a=gca ( ) ; // Handle on a x e s e n t i t y a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ; a . c h i l d r e n // l i s t t h e c h i l d r e n o f t h e a x e s . // There a r e a compound made o f two p o l y l i n e s and a l e g e n d p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e . xgrid ; // t r a z o f u n c i n g ( x ) fplot2d ( x , g , [ 3 ] , r e c t =[ 5 , 5 ,1 ,3]) ; // t r a z o g r u e s o en f u n c i n d i b u j a d a p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e . // uso de LaTex en l a l e g e n d a , ver ' l e g e n d ' h l=l e g e n d ( [ ' $y=\log_2 (1 x ) $ ' ] , [ ' $y=l n (1 x ) $ ' ] , 3 ) ; // upper l e f t c o r n e r
xgrid
1.37. y = 3 sen 2x + 3
La curva es senoidal, de amplitud 3, peridica (respecto a la curva seno) 3
1.38. y = 4 cos x + 2
La curva es senoidal, peridica
y adelantada
x = [ 0 : 0 . 1 : 2 * %pi ] ' ; deff ( " [ y]= f ( x ) " , "y =3* s i n ( 2 * x+( %pi/ 3 ) ) " ) ; deff ( " [ y]=g ( x ) " , "y =4* c o s ( x+( %pi/ 2 ) ) " ) ; fplot2d ( x , f , [ 2 ] , r e c t =[0 , 4 ,2* %pi , 4 ] ) a=gca ( ) ; // Handle on a x e s e n t i t y // a x i s c e n t e r e d a t ( 0 , 0 ) a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ; a . c h i l d r e n // l i s t t h e c h i l d r e n o f t h e a x e s . p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e .
// t r a z o f u n c i n g ( x ) fplot2d ( x , g , [ 3 ] , r e c t =[0 , 4 ,2* %pi , 4 ] ) ; p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 poly1 . t h i c k n e s s = 3 ; h l=l e g e n d ( [ ' $y=3\ s i n ( 2 x+\ f r a c {\ p i } { 3 } ) $ ' ] , [ ' $y=4\ c o s ( x+\ f r a c {\ p i } { 2 } ) $ ' ] ,5) ;
xgrid
f (x) =
1+x 1 2x
1 x 0 0x1
else
a=gca ( ) ; // Handle on a x e s e n t i t y a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ; a . c h i l d r e n // l i s t t h e c h i l d r e n o f t h e a x e s . p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e . xgrid ;
y =12*x
x3 x
0x1 1x2
else
a=gca ( ) ; // Handle on a x e s e n t i t y a . x_location = " o r i g i n " ; a . y_location = " o r i g i n " ; a . c h i l d r e n // l i s t t h e c h i l d r e n o f t h e a x e s . p o l y 1= a . c h i l d r e n ( 1 ) . c h i l d r e n ( 1 ) ; // s t o r e p o l y l i n e h a n d l e i n t o p o l y 1 p o l y 1 . t h i c k n e s s = 3 ; // . . . and t h e t i c k n e s s o f a c u r v e . xgrid ;
y =x
espiral que se acerca a cero (color negro). circulo unidad (color rojo) espiral que se aleja a innito (color azul)
p h i = [ 0 : %pi / 1 0 0 : %pi * 4 ] ; rho05 = ( 0 . 9 ) ^p h i ; rho1=1^p h i ; rho2 =1.1^ p h i polarplot ( [ phi ' phi ' phi ' ] , [ rho05 ' rho1 ' rho2 ' ] , [ 1 , 5 , 1 0 ] , ' 130 ' , " @r09@r1@>r 1 1 " )
p h i = [ 0 : %pi / 1 0 0 : 2 * %pi ] ; a =10; columnas=s i z e ( phi , ' c ' ) rho=ones ( p h i ) ;mu=rho ; for i t =1: columnas i f ( cos ( 2 * p h i ( 1 , i t ) ) <0) then rho ( 1 , i t )=0 // v a l o r e s i m a g i n a r i o s de l a r a i z
else
end
mu( 1 , i t )=0 // v a l o r e s i m a g i n a r i o s de l a r a i z
end polarplot ( [ phi ' phi ' ] , [ rho ' mu' ] , [ 1 , 5 ] , ' 130 ' , "@r1@>r 1 1 " )
// l a l e m i n i s c a t a d e l seno e s t a g i r a d a ( r e t r a s a d a ) p i /4 (45 )
p h i = [ 0 : %pi / 1 0 0 : 2 * %pi ] ; a =5; rho=a*(1 cos ( p h i ) ) ; mu=a*(1 sin ( p h i ) ) ; polarplot ( [ phi ' phi ' ] , [ rho ' mu' ] , [ 1 , 5 ] , ' 130 ' , "@r1@>r 1 1 " ) // l a c a r d i o i d e d e l seno e s t a g i r a d a ( r e t r a s a d a ) p i /2 (90 )
= a cos 4
Esto se produce tanto en el seno como en el coseno, lo que hay es un desfase (giro) entre
p h i = [ 0 : %pi / 1 0 0 : 2 * %pi ] ; a =5; rho=a* sin ( 3 * p h i ) ; mu=a * cos ( 4 * p h i ) ; polarplot ( [ phi ' phi ' ] , [ rho ' mu' ] , [ 1 , 5 ] , ' 130 ' , "@r1@>r 1 1 " )
Captulo 2
Lmite y continuidad de las funciones.
He resuelto manualmente los ejercicios propuestos. En Scilab no he encontrado una herramienta que resulva simbolicamente los lmites; parece ser que el programa MAXIMA si que lo hace (pero de momento no estoy interesado en utilizarlo).
x2 + 2x + 5 12 + 2 1 + 5 8 = = =4 2+1 2+1 x1 x 1 2 l m
Aplicando teoremas funamentales de los lmites (Apartado 5 del libro de Piskunov)
1 = sen x
=210+0
1 =2 1
4 1 + l m =20+40=2 x x2 x
1 x2
4 40+0 = 30 3
l m
x+1 1 = l m 1 + x x x
=1+0=1
l m
1 1 + 2n 2
=0+
1 1 = 2 2
n = (1 + 2 + . . . + n) =
i=1 2 2
n(a1 + an ) n(1 + n) = 2 2
2
12 + 22 + . . . + n2 =
n(n + 1)(2n + 1) 6
= l m
1 n2
2+0+0 1 = 6 3
Tambien se podra resolver por el Criterio de Stolz, en el Atlas de matemticas [3] se indica este mtodo para resolver lmites de la forma:
l m
an bn
an y
bn
l m
an an1 an = l m n bn bn bn1
1 n2
1 1 = 30+0 3
x2 .
l m
x3 .
3 x
2 x2 4 1 + x3
1 x3
000 0 = =0 1+0 1
x.
function
y=p o l 1 ( x )
endfunction
>p o l 1 ( %eps )
ans
0.5
1 y simplicando la funcin.
(x + 2)(x 2) x2 4 = l m = l x + 2 = 2 + 2 = 4 m x2 x2 x2 x 2 (x 2) l m
En Scilab, podemos calcular este lmite aprovechando el mnimo valor %eps, y la gestin de errores ieee(n)
ieee ( 2 ) function
y=p o l 1 2 b ( x )
y=(x ^2 4)/( x 2)
>exec (
4. Nan
1)
2 y simplicando la funcin.
x3 1 (x2 + x + 1)(x 1) = l m = l x2 + x + 1 = 12 + 1 + 1 = 3 m x1 x 1 x1 x1 (x 1) l m
En Scilab
ieee ( 2 ) function
y=p o l 1 3 ( x )
y=(x ^3 1)/( x 1)
>exec (
3. 3.
1)
ieee ( 2 ) function
y=p o l 1 4 ( x )
y=(x ^2 (5 * x ) + 6 ) / ( x ^2 (12 * x ) + 2 0 )
1)
ieee ( 2 ) function
y=p o l 1 5 ( x )
y=(x ^3+(3 * x ) 1 0 ) / ( 3 * x ^2 (5 * x ) 2)
' ,
1)
p=
1)
2.19. Calcular l x1 m
l m
1 1x
3 1x3
x1
= l m
4 y simplicando la funcin.
i=n1
xn 1 x1 = l m x1 x 1 x1 x 1 l m
n1
i=n1
i=n1
xi = l m
i=0
x1
xi =
i=0 i=0
1i =
=
0
1=n
n 0 n N
2.21. Calcular l x0 m
1+x1 x y2 = 1 + x x = y2 1 x0 y2 1 y 1
x0
l m
= l m
y1
xi
1 0 1 1 1 1 1 1 1 2 x^ n n-1 1 0 1 1 1 1
2.22. Calcular
Se soluciona simplicando la funcin, eliminando la divisin de raices que da indeterminacion. Para ello multiplicar y dividir por el conjugado (
2x + 1 3 2x + 1 + 3 x2+ 2 (2x + 1 9)( x 2 + 2) = l l m m = x4 2x + 1 + 3 x2 2 x 2 + 2 x4 (x 2 2)( 2x + 1 + 3) 2x 8 x2+ 2 2(x 4) x2+ 2 x2+ 2 = l m = l m = 2 l m = x4 x 4 x4 x 4 x4 2x + 1 + 3 2x + 1 + 3 2x + 1 + 3 42+ 2 22 2 2 2 =2 = = 3+3 3 24+1+3
2.23. Calcular
2 2 x +p p l x0 2 2 m
x +q q f (x) n).
Se soluciona simplicando la funcin, eliminando la divisin de raices que da indeterminacion. Para ello multiplicar y dividir por el conjugado (
x0
l m
x2 + p2 p x2 + q 2 q = l m x2 x0 x2
x2 + p 2 + p x2 + p 2 + p x2 + q 2 + q x2 + p2
x2 + q 2 + q x2 + q 2 + q
= l m
(x2 + p2 p2 )( x2 + q 2 + q) (x2 + q 2 q 2 )( x2 + p2 + p) 0 + q2 + q p2 +p = 2q q = 2p p
x0
= l m
x2 + q 2 + q x2 p2
x0
x1 2.24. Calcular l x1 x1 m
Se puede solucionar realizando un cambio de variable
x = y3 3 x = y x 1 y3 1 y 1
2.25. Calcular l xa m
x m a xa x = ym m x = y xa ym a y m a
1
Se puede solucionar realizando un cambio de variable Dado que la ecuacin tiene solucin real: la funcin(dividiendo el polinomio por esa
m
ym a = 0 y = a m . 1 5 solucin: x a m ) .
Se puede simplicar
xa
l m
1 y ma (y a m ) x ma = l m m = l m m = n1 1 m xa y a y m a y a (y a m )( m y mn ) n=1 a 1 = 1
l y m a m m n=1
= l m m
y
m n=1
n1 m
y mn
n1 m
y mn
1
m n=1
n1 m
mn m
1
m n=1
n1+mn m
1
m n=1
m1 m
1 ma
m1 m
1 m a1 a m
1
1 m a am = ma ma
2.26. Calcular l x0 m
conjugado (
1+x+x2 1 x
= l m
2.27. Calcular
La indeterminacin denominador por
x.
x2 x2
3
x2 3 /x l m = l m 3 x+ x3 + 1 /x x+
5
3 x2 1 x3
1 = l m
x+
3
3 x2 1 x3
x3 x3
1+
Utilizando Runi para dividir: m m-1 m-2 ... m-(m-1)=1 m-(m)=0 1 0 0 0 0 -a a a a .. a a 1 a a ... a 0
1 m 1 m 1 m 2 m 2 m m1 m m1 m m m 1
y m a = (x a m )(
m n=1
n1 m
y mn )
1 =
3
3 +2 1 +3
1+
1 10 = =1 = 3 1 1+0
2.28. Calcular l x m
x+
x2 +1 x+1 + y a . +. 1+ 1+
1 2 1
l m
1 1 + x2 x2 + 1 /x = l m = 1 x+1 /x x+ 1 + x
1 1+0 = =1 1+0 1
l m
x2 + 1 = l m y+ x+1
u = t + 1 t = 1 u t + u + 1 1 + u2 u2 + 1 /u 1+0 1 = l m = = l m = = 1 1 u+ 1 u /u u+ u 1 01 1
2.29. Calcular l x m
x
x2 + 1
x2 1
+. Ya que x .
al estar la variable
l m
x2
+1
x2
= l m
x
x2
2.30. Calcular l x x m
x2 + 1 x
+ y a . +.
x+
l m x
x2
+ 1 x = l m x
x+
x2
x x2 + 1 + x2 x2 (x2 + 1) x4 + 1x = l m = x+ x x2 + 1 + x2 x x2 + 1 + x2
2
= l m
x2 /x2 x4 + x2 x4 = l m 2 = l m x+ x x2 + 1 + x2 /x x+ x+ x x2 + 1 + x2 = l m 1 1+
1 x2
1
x2 +1 x
= +1
x+
= +1
1 1 1 = = 1+1 2 1+0+1
. x = (t + 1) x = t + 1 x t 1 + t + ( (t + 1))2 + 1 + (t + 1) =
l m x
x2 + 1 x = l (t + 1) m
t+
= (1) l (t + 1) m
t+
(t + 1) + 1 + (t + 1) =
u = (t + 1) t + u + 2 + 1 + =
= (1) l m u
u+
u2 + 1 + u = (1)
l m
t = 4x x0 t0 sen t =41=4 t0 t
= 4 l m
2 x 3 2
= l m
sen x sen x 3 3 = l m x0 x0 x x
1 3 1 3
sen x 3 l m x0 x
1 3 1 3
1 cos x = 2 sen2
x 2 .
x0
l m
x = l m 1 cos x x0
x 2 sen2
x 2
= l m
x0
x 2 2 2 = l m 2 x = 1 = 2 x0 sen 2 2 2
1 x x 1 m 1 = = l 2 x x0 sen x 2 sen 2 2 2 2 2 2 = = 2 2 2
cotg x =
cos x sen x .
x0
l x cotg x = l x m m
x0
1=
1 1=1 1
2.36. Calcular l m
12 cos sen( ) 3
+ b) = cos a cos b sen a sen b cos x + = cos x cos sen x sen = 1 cos x 23 sen x 3 3 3 2 2 cos x + = cos x 3 sen x = 1 2 cos x + = 1 cos x + 3 sen x 3 3 1 cos x + 3 sen x = l m 1 cos x + 3 = L1+ 3 sen x
x0
SEN( 3 )
Resolviendo el lmite
L1 = l m
L1 = l m
Por lo tanto:
2 sen2 x0 x
x 2
= l m
sen x 2
x 2
x0
l sen m
x0
x = 1 sen 0 = 1 0 = 0 2
L = L1 +
3=0+
3=
Bibliografa
[1] Sebastian Marsinyach Dalmases. Edeb, 1975 edition, 1975. [2] Y. Deplanche.