Está en la página 1de 5

Tarea 1

Ejercicio 1
Discute el sistema de ecuaciones x + a * y + z = 1,
3 x + 2 y + z = b, x + y - z = 1 en funcin de los parmetros a y b.

In[2]:=

Out[2]=

In[3]:=

Out[3]=

In[4]:=

Out[4]=

Solve@Hx + a * y + z 1L, aD
::a

1-x-z
y

>>

Solve@H3 x - 2 y + z bL, bD
88b 3 x - 2 y + z<<

Solve@x + y - z 1, xD
88x 1 - y + z<<

Ejercicio 2
Calcula los puntos del plano donde se cortan las parbolas y = x^2,
y = 2 x^2 + ax + b. Considera todos los casos posibles dependiendo de los
valores de a y b. Haz una representacin grfica para cada caso.
In[7]:=

Out[7]=

In[5]:=

Out[5]=

Solve@y x^2, xD
::x -

y >, :x

y >>

Solve@y 2 x^2 + ax + b, xD
::x -

-ax - b + y
2

>, :x

-ax - b + y

>>

Printed by Mathematica for Students

1tallermb2.nb

In[6]:=

Plot@x^2, 8x, -3, 3<D

Out[6]=

-3

-2

-1

Ejercicio 3
Calcula las soluciones de 8 sen HxL + 1 - x^2 3 = 0.
In[8]:=

equi1 = H8 Sin@xD + 1 - x^2L 3 0


1

Out[8]=

In[11]:=

I1 - x2 + 8 Sin@xDM 0

NSolve@equ1, xD
1
3

I1 - x2 + 8 Sin@xDM 0

Ejercicio 4
Calcula la solucin de tan HxL = 1 x en el intervalo H0, 2L
In[12]:=

Solve@Tan@xD 1 x, xD
Solve::tdep : The equations appear to involve the variables to be solved for in an essentially non-algebraic way.
1

Out[12]=

SolveBTan@xD

, xF
x

Ejercicio 5
Calcula una solucin cerca de H0, 0L del siguiente
sistema de ecuaciones : Sin@xD Cos@yD = 1 4
xy = 1

Printed by Mathematica for Students

1tallermb2.nb

In[13]:=

FindRoot@8Sin@xD Cos@yD 1 4, x * y 1<,


88x, 0.00000001<, 8y, 0.000000000001<<D
FindRoot::lstol :
The line search decreased the step size to within tolerance specified by AccuracyGoal and PrecisionGoal
but was unable to find a sufficient decrease in the merit function. You may need
more than MachinePrecision digits of working precision to meet these tolerances.

Out[13]=

9x 1. 10-8 , y 1.00291 10-12 =

Ejercicio 6
Partiendo del valor inicial 2.0,
usa FindRoot@D para calcular una raz de f HxL =
xExp H-1 x^2L por la condicin de que el valor de f en dicha raz
sea del orden de 10^-17. Usa para ello las opciones de FindRoot@D
que creas oportunas. Cuntas interacciones son necesarias?
In[14]:=

FindRoot@x^H-1 x^2L, 8x, 2<D


FindRoot::lstol :
The line search decreased the step size to within tolerance specified by AccuracyGoal and PrecisionGoal
but was unable to find a sufficient decrease in the merit function. You may need
more than MachinePrecision digits of working precision to meet these tolerances.

Out[14]=

8x 1.64873<

Ejercicio 7
aL Calcula las soluciones
del sistema de ecuaciones lineales x + y =
-1 10 x + H55 10 - tL y = 0 para valores de t = -10, -9, ... 9, 10.
bL Haz una representacin grfica de la solucin
del sistema de ecuaciones lineases x + 3 y =
-1 x - y = 1 en dicha representacion deben aparecer las 2 rectas
representadas por las ecuaciones y su punto de interseccion.

Printed by Mathematica for Students

In[15]:=

1tallermb2.nb

Table@Solve@x + y = -1D, 8i, -10, 10<D


Set::write : Tag Plus in x + y is Protected.
Solve::eqf : -1 is not a well-formed equation.
Set::write : Tag Plus in x + y is Protected.
Solve::eqf : -1 is not a well-formed equation.
Set::write : Tag Plus in x + y is Protected.
General::stop : Further output of Set::write will be suppressed during this calculation.
Solve::eqf : -1 is not a well-formed equation.
General::stop : Further output of Solve::eqf will be suppressed during this calculation.

Out[15]=

In[16]:=

8Solve@-1D, Solve@-1D, Solve@-1D, Solve@-1D, Solve@-1D, Solve@-1D, Solve@-1D,


Solve@-1D, Solve@-1D, Solve@-1D, Solve@-1D, Solve@-1D, Solve@-1D, Solve@-1D,
Solve@-1D, Solve@-1D, Solve@-1D, Solve@-1D, Solve@-1D, Solve@-1D, Solve@-1D<

Table@Solve@10 x + H55 10 - tLD, 8i, -10, 10<D


Solve::eqf :

Solve::eqf :

Solve::eqf :

11
2
11
2
11
2

- t + 10 x is not a well-formed equation.

- t + 10 x is not a well-formed equation.

- t + 10 x is not a well-formed equation.

General::stop : Further output of Solve::eqf will be suppressed during this calculation.

Out[16]=

:SolveB

11

11
- t + 10 xF, SolveB

2
11

2
11
- t + 10 xF, SolveB

SolveB
2
11
2
11

- t + 10 xF, SolveB

2
11

- t + 10 xF, SolveB

2
11

2
11
2

- t + 10 xF, SolveB

- t + 10 xF,
2
11

- t + 10 xF, SolveB
2
11

- t + 10 xF, SolveB
2

11
- t + 10 xF, SolveB

2
11

2
11
- t + 10 xF, SolveB

SolveB

- t + 10 xF,
2
11

- t + 10 xF, SolveB

- t + 10 xF, SolveB

SolveB

- t + 10 xF,
2
11

2
11
- t + 10 xF, SolveB

SolveB

- t + 10 xF,
2
11

2
11
- t + 10 xF, SolveB

SolveB

11
- t + 10 xF, SolveB

- t + 10 xF,
2
11

- t + 10 xF, SolveB
2

Printed by Mathematica for Students

- t + 10 xF>
2

1tallermb2.nb

In[17]:=

Plot@8Hx + 1L 3, x - 1< 8x, -5, 5<D


Plot::argr : Plot called with 1 argument; 2 arguments are expected.
x+1

Out[17]=

PlotB:
3

, x - 1> 8x, -5, 5<F

Ejercicio 8
Cmo cambia la grafica de una funcin f HxL cuando la cambiamos por f
Ha * xL o f HxL, f8x + aL o f HxL + a? Prueba con alguna funcin.

Printed by Mathematica for Students

También podría gustarte