[ 1 2 3 4 ] M = {{1, 2}, {3, 4}}
Transcripción
[ 1 2 3 4 ] M = {{1, 2}, {3, 4}}
ALGUNAS INSTRUCCIONES DE MATHEMATICA 1 − → 1. v = 3 1 2 2. M = 3 4 v = {1, 3} M = {{1, 2}, {3, 4}} − 3. Visualización del vector → v o de la matriz M → − → − 4. b = M · v MatrixForm[v] ó MatrixForm[M ] b = M.v 5. M n MatrixPower[M, n] a ∗ x + b == 0 6. Ecuación ax + b = 0 7. Solución de la ecuación anterior en la incógnita x ax + by = c 8. Sistema de ecuaciones dx + ey = f Solve[%, x] {a ∗ x + b ∗ y, d ∗ x + e ∗ y} == {c, f } Solve[%, {x, y}] 9. Solución del sistema anterior en incógnitas x e y 10. Espacio nulo de la matriz A NullSpace[A] − → − → → 11. Solución del sistema A · − x = b con b = (b1 , b2 , ..., bn ) LinearSolve[A, {b1 , b2 , ..., bn }] 12. Valores propios de la matriz A Eigenvalues[A] 13. Vectores propios de la matriz A Eigenvectors[A] 14. Definición de una función de una variable, por ejemplo f (x) = x+cos(x) 15. Definición de una función de dos variables, por ejemplo f (x, y) = xy f [x− ] = x+Cos[x] f [x− , y− ] = x ∗ y 16. df (t)/dt D[f [t], t] Plot[f [t], {t, a, b}] 17. Gráfica de f (t) entre t = a y t = b (con a y b números dados) 18. Gráfica de f (t) y g(t) entre t = a y t = b (con a y b números dados) R 19. f (t)dt Rb 20. a f (t)dt R∞ 21. a f (t)dt 22. limx→a f (x) Plot[{f [t], g[t]}, {t, a, b}] Integrate[f [t], t] Integrate[f [t], {t, a, b}] Integrate[f [t], {t, a,Infinity}] Limit[f [x], x− > a] 23. limx→∞ f (x) Limit[f [x], x− >Infinity] ParametricPlot[{x[t], y[t]}, {t, a, b}] 24. Trayectoria (x(t), y(t)) en paramétricas entre t = a y t = b 25. Trayectorias (x(t), y(t)) y (z(t), w(t)) ” ParametricPlot[{{x[t], y[t]}, {z[t], w[t]}}, {t, a, b}] 26. Trayectoria (x(t), y(t), z(t)) ” ParametricPlot3D[{x[t], y[t], z[t]}, {t, a, b}] 27. Gráfica de f (x, y) en el cuadrado [a, b] × [c, d] Plot3D[f [x, y], {x, a, b}, {y, c, d}] 28. Curvas de nivel de f (x, y) en el cuadrado [a, b] × [c, d] ContourPlot[f [x, y], {x, a, b}, {y, c, d}] 29. ∂f (x, y)/∂x D[f [x, y], x] 30. ∂f (x, y)/∂y Rb Rd 31. a dx c dyf (x, y) D[f [x, y], y] Integrate[f [x, y], {x, a, b}, {y, c, d}] 1 32. Definición de las componentes v1 y v2 , por ejem., de v = 3 33. Unión de los puntos (1, v1 ), ..., (n, vn ) por una poligonal 34. M T 35. Aprox. de Taylor de f (x) en x = x0 de orden n 36. Polinomio de Taylor de f (x) en x = x0 de orden n f1 (x) si x > a 37. f (x) = f2 (x) si x ≤ a v[1] = 1 v[2] = 3 ListPlot[{{1, v[1]}, ..., {n, v[n]}}, P lotJoined− > T rue] T ranspose[M ] Series[f [x], {x, x0 , n}] Normal[Series[f [x], {x, x0 , n}]] f [x] = If [x > a, f1 [x], f2 [x]]