Traceback (click to the left of this block for traceback) ... SyntaxError: invalid syntax Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_2.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("w4FyZWEgYmFqbyBsYSBjdXJ2YSAKRWplcmNpY2lvIDE6IENhbmdyZWppbGxvIFBsYXllcm8KVGllbXBvOiAzMCBtaW51dG9zCgpCb21iYSBkZWwgVGllbXBvClVuIGNhbmdyZWpvIHNlIGFjZXJjYSBoYWNpYSBsYSBwbGF5YSwgY2FtaW5hbmRvIGhhY2lhIGFkZWxhbnRlIGFsZ3VuYXMgdmVjZXMgeSBvdHJhcyB2ZWNlcyBoYWNpYSBhdHLDoXMsIGxhIGVjdWFjacOzbiBxdWUgZGVzY3JpYmUgc3UgbW92aW1pZW50byBlczogdMKyLTJ0LTguIEVuY3VlbnRyYToKCjEpIEVsIGRlc3BsYXphbWllbnRvIHF1ZSBoYSB0ZW5pZG8gZWwgY2FuZ3Jlaml0byBkZXNkZSBlbCB0PTEgaGFzdGEgdD02LgoyKSBMYSBkaXN0YW5jaWEgdG90YWwgcXVlIGVsIGNhbmdyZWppdG8gcmVjb3JyacOzIGRlc2RlIHQ9MSBoYXN0YSB0PTYu"),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/tmp/tmpcXQhPT/___code___.py", line 3
Área bajo la curva
^
SyntaxError: invalid syntax
|
|
|
/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/sage/mis\ c/functional.py:718: DeprecationWarning: Variable of integration should be specified explicitly. return x.integral(*args, **kwds) -3.33333333333 /sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/sage/misc/functional.py:718: DeprecationWarning: Variable of integration should be specified explicitly. return x.integral(*args, **kwds) -3.33333333333 |
32.6666718426 32.6666718426 |
32.666671842626442 32.666671842626442 |
4.662668 4.662668 |
4.66306762 4.66306762 |
4.670668 4.670668 |
1/3*x^3 + x 1/3*x^3 + x |
4.66666666666667 ENCONTRAR AREAS BAJO LA CURVAbr /> a mano y sage 4.66666666666667 ENCONTRAR AREAS BAJO LA CURVAbr /> a mano y sage |
|
|
0.666666666666667 0.666666666666667 |
|
|
-7.33333333333333 -7.33333333333333 |
|
|
0.666666666666667 0.666666666666667 |
|
|
-2.25000000000000 -2.25000000000000 |
|
|
1/3*x^3 - 5*x^2 + 25*x 1/3*x^3 - 5*x^2 + 25*x |
1/3*x^3 + 1/2*x^2 + 3*x 1/3*x^3 + 1/2*x^2 + 3*x |
Traceback (click to the left of this block for traceback) ... TypeError: unable to simplify to float approximation Traceback (most recent call last): show(P+Q)
File "", line 1, in <module>
File "/tmp/tmp3rUImN/___code___.py", line 7, in <module>
P=polygon(Lb+Lf, rgbcolor=('orange'))
File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/sage/plot/polygon.py", line 271, in polygon
return polygon2d(points, **options)
File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/sage/misc/decorators.py", line 573, in wrapper
return func(*args, **kwds)
File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/sage/misc/decorators.py", line 432, in wrapper
return func(*args, **options)
File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/sage/plot/polygon.py", line 346, in polygon2d
xdata, ydata = xydata_from_point_list(points)
File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/sage/plot/plot.py", line 2602, in xydata_from_point_list
ydata = [float(z[1]) for z in points]
File "expression.pyx", line 959, in sage.symbolic.expression.Expression.__float__ (sage/symbolic/expression.cpp:5543)
TypeError: unable to simplify to float approximation
|
Traceback (click to the left of this block for traceback) ... NameError: name 'E' is not defined Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_24.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("cGxvdCgoMC41KkVeKDAuNjkzMSp4KSkseCwxLDYsY29sb3I9ImdyZWVuIik="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/tmp/tmpqyvcsG/___code___.py", line 3, in <module>
exec compile(u'plot((_sage_const_0p5 *E**(_sage_const_0p6931 *x)),x,_sage_const_1 ,_sage_const_6 ,color="green")
File "", line 1, in <module>
NameError: name 'E' is not defined
|
-20000.0*e^(-0.06*t + 0.6)/log(e) -20000.0*e^(-0.06*t + 0.6)/log(e) |
16442.3760078102 16442.3760078102 |
|
|
|
1/3*x^3 - 6*x 1/3*x^3 - 6*x |
-18.0000000000000 -18.0000000000000 |
|
|
|
|
|
|
|
|
|
|
verbose 0 (4075: plot.py, generate_plot_points) WARNING: When plotting, failed to evaluate function at 41 points. verbose 0 (4075: plot.py, generate_plot_points) Last error message: '' verbose 0 (4075: plot.py, generate_plot_points) WARNING: When plotting, failed to evaluate function at 41 points. verbose 0 (4075: plot.py, generate_plot_points) Last error message: '' |
Traceback (click to the left of this block for traceback) ... ValueError: negative number to a fractional power not real Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_19.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("dmFyKCd4LHknKQpwMj1wbG90M2QoKDkteF4oMileKDEvMikpKmNvcyh4KSwoeCwtMiwxKSwoeSwtMiwxKSxjb2xvcj0ncmVkJyk7CnAzPXBsb3QzZCgoOS14XigyKV4oMS8yKSkqc2luKHgpLCh4LC0yLDEpLCh5LC0yLDEpLGNvbG9yPSdibHVlJyk7CnNob3cocDIrcDMsdmlld2VyPSd0YWNoeW9uJyk="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/tmp/tmpJmxmz6/___code___.py", line 6, in <module>
exec compile(u"show(p2+p3,viewer='tachyon')" + '\n', '', 'single')
File "", line 1, in <module>
File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/sage/misc/functional.py", line 1487, in show
return x.show(*args, **kwds)
File "base.pyx", line 1083, in sage.plot.plot3d.base.Graphics3d.show (sage/plot/plot3d/base.c:9762)
File "base.pyx", line 836, in sage.plot.plot3d.base.Graphics3d._prepare_for_tachyon (sage/plot/plot3d/base.c:7120)
File "base.pyx", line 844, in sage.plot.plot3d.base.Graphics3d._box_for_aspect_ratio (sage/plot/plot3d/base.c:7345)
File "base.pyx", line 214, in sage.plot.plot3d.base.Graphics3d._safe_bounding_box (sage/plot/plot3d/base.c:3529)
File "base.pyx", line 1277, in sage.plot.plot3d.base.Graphics3dGroup.bounding_box (sage/plot/plot3d/base.c:12104)
File "parametric_surface.pyx", line 318, in sage.plot.plot3d.parametric_surface.ParametricSurface.bounding_box (sage/plot/plot3d/parametric_surface.c:2991)
File "parametric_surface.pyx", line 366, in sage.plot.plot3d.parametric_surface.ParametricSurface.triangulate (sage/plot/plot3d/parametric_surface.c:3521)
File "parametric_surface.pyx", line 361, in sage.plot.plot3d.parametric_surface.ParametricSurface.triangulate (sage/plot/plot3d/parametric_surface.c:3451)
File "parametric_surface.pyx", line 580, in sage.plot.plot3d.parametric_surface.ParametricSurface.eval_grid (sage/plot/plot3d/parametric_surface.c:5222)
File "wrapper_rdf.pyx", line 78, in sage.ext.interpreters.wrapper_rdf.Wrapper_rdf.__call__ (sage/ext/interpreters/wrapper_rdf.c:1347)
ValueError: negative number to a fractional power not real
|
Traceback (click to the left of this block for traceback) ... TypeError: unsupported operand type(s) for ** or pow(): 'tuple' and 'int' Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_27.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("eCA9IHZhcigieCx0IikKUDEgPSBwbG90KCgoOS14XigyKSleKDEvMikqY29zKHQpKSwgeCwgLTIsIDMpClAyID0gcGxvdCgoKDkteF4oMikpXigxLzIpKnNpbih0KSksIHgsIC0yLCAzKQpUMSA9IHRleHQoIiR5ID0geCsxJCIsICgxLDIuNikpClQyID0gdGV4dCgiJHkgPSA5LXheMiQiLCAoMiw3KSkKc2hvdyhQMStQMitUMStUMik="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/tmp/tmpzWivwV/___code___.py", line 4, in <module>
P1 = plot(((_sage_const_9 -x**(_sage_const_2 ))**(_sage_const_1 /_sage_const_2 )*cos(t)), x, -_sage_const_2 , _sage_const_3 )
File "integer.pyx", line 1821, in sage.rings.integer.Integer.__pow__ (sage/rings/integer.c:12870)
TypeError: unsupported operand type(s) for ** or pow(): 'tuple' and 'int'
|
|
|
|
|
1118.18258520271 1118.18258520271 |
|
<br /> EJERCICIO 12 <br /> EJERCICIO 12 |
|
|
4.81710873550435 4.81710873550435 |
|
|
|
|
7353.12200520217 7353.12200520217 |
|
|
1/500000*(x - 10)^5 - 1/40000*(x - 10)^4 + 1/3000*(x - 10)^3 - 1/200*(x - 10)^2 + 1/10*x + log(10) - 1 1/500000*(x - 10)^5 - 1/40000*(x - 10)^4 + 1/3000*(x - 10)^3 - 1/200*(x - 10)^2 + 1/10*x + log(10) - 1 |
0.783333333333 0.69314718056 0.783333333333 0.69314718056 |
|
|
|
|
x^2 x^2 |
4.0 0.69314718056 4.0 0.69314718056 |
|
|
|