Topografia
Sqrt 3
3
Out[1]=
In[2]:=
Out[2]=
Sin Pi
0
In[3]:=
h x_ : x ^ 2
In[5]:=
h1
Out[5]=
In[6]:=
Out[6]=
1
Asignar valores a x en nuestra función
2
hx
.x1
2
Calcular areas y volumenes
Ejercicio 4 EP4
Apartado A)
In[18]:=
Clear f
In[20]:=
f x_ : Cos x
In[21]:=
f 0.76
Out[21]=
Clear g
In[30]:=
g x_ :
In[31]:=g
x
0.59997
In[24]:=
xSin
Out[31]=
x
x^2
7 x^5
x^3
1
0.9876
0.92164
Apartado B)
In[33]:=
Out[33]=
D f x , x, 2
xSin
x
2 xSin
Cos x
x
Sin xSin x
Cos x Log x
x
Cos x
xSin
x
Sin x
2
xSin
x
2 Cos x
Sin x
x
Cos x Log x
x2
Log x Sin x
x
In[34]:=
Out[34]=
D g x , x, 2
1 x3
2
140 x36
1 x3
x2 1
2x
35 x4
6
1 x3
x
9
1 x3
x4
x
x2
7 x5
2
Práctica 1 calculo Ej 4,5,6.nb
EPropuesto 5
a) construir una lista para las funciones sen (nx)In[37]:=
Clear f
In[62]:=
f x_ , n_ : Sin n
In[63]:=
Table f x, n , n, 1, 17
Out[63]=
x
Sin x , Sin 2 x , Sin 3 x , Sin 4 x , Sin 5 x , Sin 6 x , Sin 7 x , Sin 8 x , Sin 9 x ,Sin 10 x , Sin 11 x , Sin 12 x , Sin 13 x , Sin 14 x , Sin 15 x , Sin 16 x , Sin 17 x
b) Representar las funciones del apartado anterior.
In[66]:=
Plot Table f x, n , n, 1, 3
, x,
6, 61.0
0.5
Out[66]=
6
4
2
2
4
6
0.5
1.0
c) Definir y representar las siguientes funciones 3 D
In[44]:=
Clear f
In[45]:=
Clear g
In[47]:=
Clear x, yIn[50]:=
f x_ , y_ : x
In[51]:=
g x_ , y_ : x ^ 2
y
y^2
Práctica 1 calculo Ej 4,5,6.nb
In[52]:=
Plot3D
f x, y , g x, y
, x,
6, 6 , y,
6, 6
60
Out[52]=
40
520
0
0
5
0
5
5
EJERCICIO PRACTICO 6
a) Calcular el numero Pi y e con 16 cifras de precisión
N Pi
Aproximación por defecto 5 o 6 decimales
Out[54]=
3.14159
In[56]:=...
Regístrate para leer el documento completo.