| Download
All published worksheets from http://sagenb.org
Project: sagenb.org published worksheets
Views: 168703Image: ubuntu2004
4/3 1/2*pi
\frac{4}{3}
\frac{1}{2} \, \pi
(None, )
(X, y, z)
\left( x, y \right) \ {\mapsto} \ \sqrt{x^{2} + y^{2}}
(x, y, z) |--> sqrt(x^2 + y^2)*e^(-x)*sin(x)
\left( x, y, z \right) \ {\mapsto} \ \sqrt{x^{2} + y^{2}} e^{-x} \sin\left(x\right)
sqrt(2)*e^(-1)*sin(1)
0.437783774515160
3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196442881097566593344612847564823378678316527120190914564856692346034861045432664821339360726024914127
[x == 1/2*y]
x |--> e^(-x)*sin(x)
__main__:7: DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...)
t \ {\mapsto}\ -{(\sin\left(0.0833333333333333 \, t\right)^{5} - e^{\cos\left(t\right)} + 2 \, \cos\left(4 \, t\right))} \sin\left(t\right)
t \ {\mapsto}\ -{(\sin\left(0.0833333333333333 \, t\right)^{5} - e^{\cos\left(t\right)} + 2 \, \cos\left(4 \, t\right))} \cos\left(t\right)
(x, y)
[y == -sqrt(-x^2 + 1), y == sqrt(-x^2 + 1)]
t \ {\mapsto}\ \sin\left(t\right)
t \ {\mapsto}\ \cos\left(t\right)
x \ {\mapsto}\ \sin\left(e^{x}\right)^{2}
x \ {\mapsto}\ e^{\sin\left(x\right)^{2}}
2*e^x*sin(e^x)*cos(e^x)
2 \, e^{x} \sin\left(e^{x}\right) \cos\left(e^{x}\right)
2 \, e^{\sin\left(x\right)^{2}} \sin\left(x\right) \cos\left(x\right)
x |--> e^(-x)*sin(x)
-\frac{1}{2} \, {(\sin\left(x\right) + \cos\left(x\right))} e^{-x}
sin(e^x)^2
1/2*x - 1/2*integrate(cos(2*e^x), x)
\frac{1}{2} \, x - \frac{1}{2} \, \int \cos\left(2 \, e^{x}\right)\,{d x}
(1.1440261602989841, 1.2701241839374423e-14)
(-0.66349366663124132, 1.282003047907945e-14)
-1/30*(pi - x)^5*e^(-pi) + 1/3*(pi - x)^3*e^(-pi) + (pi - x)^2*e^(-pi) + (pi - x)*e^(-pi)
0.00144046394213*(x - 3.14159265359)^5 - (9.7892701402e-19)*(x - 3.14159265359)^4 - 0.0144046394213*(x - 3.14159265359)^3 + 0.0432139182638*(x - 3.14159265359)^2 - 0.0432139182638*x + 0.13576052815
3.1415926535897931
9.4247779607693793
0.7390851332151559
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_2.py", line 7, in <module>
fig1a=implicit_plot3d((x**_sage_const_2 -y**_sage_const_2 )*exp(-_sage_const_1p2 *(x**_sage_const_2 +y**_sage_const_2 +z**_sage_const_2 )),(x,-_sage_const_2 ,_sage_const_2 ),(y,-_sage_const_2 ,_sage_const_2 ),(z,-_sage_const_3 ,_sage_const_3 ),contour=(_sage_const_0p3 ,_sage_const_0p1 ,_sage_const_0p05 ),opacity=_sage_const_0p6 ,color='green')
NameError: name 'y' is not defined
-150 \, x^{4} - 180 \, x^{2} y^{2} + 1080 \, x^{2} z^{2} - 30 \, y^{4} + 360 \, y^{2} z^{2} - 240 \, z^{4}
-30 \, x^{4} - 180 \, x^{2} y^{2} + 360 \, x^{2} z^{2} - 150 \, y^{4} + 1080 \, y^{2} z^{2} - 240 \, z^{4}
180 \, x^{4} + 360 \, x^{2} y^{2} - 1440 \, x^{2} z^{2} + 180 \, y^{4} - 1440 \, y^{2} z^{2} + 480 \, z^{4}
0
4 \, x^{3} y^{4} z^{4} + 36 \, x^{2} y^{2} + 24 \, x z^{3}
4 \, x^{4} y^{3} z^{4} + 24 \, x^{3} y + 36 \, y^{2} z^{2}
4 \, x^{4} y^{4} z^{3} + 36 \, x^{2} z^{2} + 24 \, y^{3} z
12 \, x^{2} y^{4} z^{4} + 72 \, x y^{2} + 24 \, z^{3}
12 \, x^{4} y^{2} z^{4} + 24 \, x^{3} + 72 \, y z^{2}
12 \, x^{4} y^{4} z^{2} + 72 \, x^{2} z + 24 \, y^{3}
16 \, x^{3} y^{3} z^{4} + 72 \, x^{2} y
16 \, x^{3} y^{4} z^{3} + 72 \, x z^{2}
16 \, x^{4} y^{3} z^{3} + 72 \, y^{2} z
\left( x, y \right) \ {\mapsto} \ \sin\left(x^{2} + y^{2}\right)
(x, y) |--> x^2 + y^2
(a, b, c, d, e, f)
[[a == 3, b == 4, c == 2, d == 3, e == 4, f == 4]]
[[a == 3, b == 4, c == 2, d == 3, e == 4, f == 4]]
array([ 3., 4., 2., 3., 4., 4.])
3.0
[[a == 2/3*r1 + 1/3*r2, b == 5/6*r1 + 2/3*r2, c == 2/3*r1 + 1/3*r2, d == 5/6*r1 + 2/3*r2, e == r2, f == r1]]
[[a == 5, b == 7, c == 5, d == 7, e == 3, f == 6]]
{b: 1.9722857149170498, a: 1.1509523788845293}
(a1, a2, a3, b1, b2, b3, x)
a_{1} \sin\left(a_{2} x - a_{3}\right) + b_{1} \sin\left(b_{2} x - b_{3}\right)
{a3: -4.942595571136664, a1: 0.72139356333692151, b2: 0.004199964050585381, b1: -41.068861608063258, a2: 0.65847250164092275, b3: -6.2557927852325994}
-41.0688616080633*sin(0.00419996405058538*x + 6.25579278523260) + 0.721393563336922*sin(0.658472501640923*x + 4.94259557113666)
{a3: 0.22743332097873944, a1: 1.205892760847761, b2: 3.0014169493550185, b1: 0.97550704842879732, a2: 0.5038428039142886, b3: -0.48859791199812452}
['rojo', 'azul', 100, 1234, 'verde', 0.00100000000000000]
1234
[100, 1234, 'verde']
1234
['rojo', 'azul', 100, 1234]
[1234, 'verde', 0.00100000000000000]
Syntax Error:
;a
[1, 12, 100, 1234, 'verde', 0.00100000000000000]
[100, 1234, 'verde', 0.00100000000000000]
[100, 'uno', 'dos', 'tres', 'cuatro', 'dos', 'tres', 'cuatro', 'verde', 0.00100000000000000]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_22.py", line 5, in <module>
exec compile(ur'C=matrix(_sage_const_8 ,_sage_const_8 ,b)' + '\n', '', 'single')
File "", line 1, in <module>
File "/sage/sage/local/lib/python2.6/site-packages/sage/matrix/constructor.py", line 516, in matrix
raise ValueError, "Number of rows does not match up with specified number."
ValueError: Number of rows does not match up with specified number.
[ 2 4 6 8]
[ 5 9 15 23]
[ 8 16 36 74]
[ 9 25 91 139]
[ 0 0 0 0]
[ -3 -1 3 9]
[ -6 0 18 54]
[ -7 7 71 117]
[ 62 72 82 92]
[ 208 238 268 298]
[ 734 834 934 1034]
[1656 1882 2108 2334]
[ 40]
[ 130]
[ 454]
[1014]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_3.py", line 6, in <module>
exec compile(ur'C*A' + '\n', '', 'single')
File "", line 1, in <module>
NameError: name 'C' is not defined
[2 3 4 5]
[ 14 128 546 952]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_31.py", line 4, in <module>
exec compile(ur'A*D' + '\n', '', 'single')
File "", line 1, in <module>
File "element.pyx", line 1993, in sage.structure.element.Matrix.__mul__ (sage/structure/element.c:13683)
File "coerce.pyx", line 765, in sage.structure.coerce.CoercionModel_cache_maps.bin_op (sage/structure/coerce.c:7021)
TypeError: unsupported operand parent(s) for '*': 'Full MatrixSpace of 4 by 4 dense matrices over Integer Ring' and 'Full MatrixSpace of 1 by 4 dense matrices over Integer Ring'
[ 1274 15660 72354 123592]
[ 4646 57140 263862 451224]
[ 17414 214032 987654 1690672]
[ 37518 462364 2136558 3652008]
[ 48105001/1265472 -27697733/843648 5048117/1265472 259627/281216]
[-46218017/2530944 26732245/1687296 -4865173/2530944 -252875/562432]
[ 5281771/3796416 -3043151/2530944 551903/3796416 9611/281216]
[ 1868695/1687296 -1085635/1124864 197987/1687296 30871/1124864]
[ 38.0134850869873 -32.8309117072523 3.98911789435088 0.923229830450614]
[ -18.2611772524402 15.8432456427325 -1.92227603613513 -0.449609908397815]
[ 1.39125190706182 -1.20237784794922 0.145374742915423 0.0341765760127447]
[ 1.10750870031103 -0.965125561845699 0.117339814709452 0.0274442065885298]
-1248
-1/1248
[1 0 0 0]
[0 1 0 0]
[0 0 1 0]
[0 0 0 1]
[1 0 0 0]
[0 1 0 0]
[0 0 1 0]
[0 0 0 1]
0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_10.py", line 4, in <module>
exec compile(ur'B.inverse()' + '\n', '', 'single')
File "", line 1, in <module>
File "matrix2.pyx", line 5038, in sage.matrix.matrix2.Matrix.inverse (sage/matrix/matrix2.c:30353)
File "matrix0.pyx", line 3749, in sage.matrix.matrix0.Matrix.__invert__ (sage/matrix/matrix0.c:20886)
File "matrix_rational_dense.pyx", line 652, in sage.matrix.matrix_rational_dense.Matrix_rational_dense.__invert__ (sage/matrix/matrix_rational_dense.c:8695)
File "matrix_rational_dense.pyx", line 758, in sage.matrix.matrix_rational_dense.Matrix_rational_dense.__invert__main (sage/matrix/matrix_rational_dense.c:9268)
File "matrix_rational_dense.pyx", line 2540, in sage.matrix.matrix_rational_dense.Matrix_rational_dense._invert_pari (sage/matrix/matrix_rational_dense.c:22306)
ZeroDivisionError: input matrix must be nonsingular
[ 1.0 2.0 3.0 4.0]
[ 1.0 4.0 9.0 16.0]
[ 1.0 8.0 27.0 64.0]
[ 1.0 16.0 81.0 128.0]
([167.4973559, 2.69328085021, 0.264600757722, -10.4552375075], [-0.0305117418795 -0.651088752341 0.900358014463 0.0534991314627]
[ -0.111368668075 -0.751155808589 -0.433102085938 -0.0283501801307]
[ -0.41719234141 -0.0110988092326 0.0329583639551 -0.860296348024]
[ -0.901452496612 0.108282982187 0.0263016195989 0.506186036745])
[-0.0305117418795 -0.651088752341 0.900358014463 0.0534991314627]
[ -0.111368668075 -0.751155808589 -0.433102085938 -0.0283501801307]
[ -0.41719234141 -0.0110988092326 0.0329583639551 -0.860296348024]
[ -0.901452496612 0.108282982187 0.0263016195989 0.506186036745]
[167.4973559, 2.69328085021, 0.264600757722, -10.4552375075]
[ -5.11063608871 -1.75356486847 0.238235412848 -0.55934612589]
[ -18.6539574327 -2.0230735548 -0.11459914011 0.296407866648]
[ -69.8786140877 -0.0298922103663 0.0087208080758 8.99460264547]
[ -150.990909652 0.291636482328 0.00695942847519 -5.29229523718]
[ -5.11063608871 -1.75356486847 0.238235412848 -0.55934612589]
[ -18.6539574327 -2.0230735548 -0.11459914011 0.296407866648]
[ -69.8786140877 -0.0298922103663 0.0087208080758 8.99460264547]
[ -150.990909652 0.291636482328 0.00695942847519 -5.29229523718]
[ 4.0e-14 -3.6e-15 1.9e-15 2.9e-15]
[ 2.1e-14 -2.7e-15 1.2e-15 -1.0e-14]
[ 7.1e-14 5.6e-15 2.3e-15 -7.1e-15]
[ 1.7e-13 1.0e-14 2.7e-15 -1.4e-14]