Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168699
Image: ubuntu2004
#Detalles al final RS reset() # Borramos todos los calculos previos A = exp(1)*(1/4480) B = exp(1)*(1/630) C = exp(1)*(7/720) D = exp(1)*(1/20) E = exp(1)*(5/24) F = exp(1)*(2/3) G = exp(1)*(3/2) var('x'); f(x) = A*x**(22/3)+B*x**(19/3)+C*x**(16/3)+D*x**(13/3)+E*x**(10/3)+F*x**(7/3)+G*x**(4/3)+exp(1)*2*x**(1/3)+exp(1)*(x**(-2/3)) # Input funcion integrando ############################################################################# print("Funcion integrando f(x):") f.show() # Muestra la funcion integrando # Ingresamos limites de integracion: ######################################## a = -1 b = 0 ############################################################################## print("Dominio de integracion [a,b]:") print """ """ show([a,b]) print "\n" # Graficamos el integrando desde x = a hasta x = b p = plot(f, (x, a, b)) p.show(figsize=(4, 3)) # integral_value, tolerance = numerical_integral(f, a, b) print("\n\t Aproximacion Numerica:\t {0}\n".format(integral_value)) print("\n\t Incertidumbre:\t {0}".format(tolerance)) RS en la 1 no hay sustityucion dijo mauricio solo q no se q n M. Esto es de la 1?? yo no hice sustitucion R. yo tampoco hice sustitucion en la 1 R.integrales yo solo tengo la 1 y la de gauss la de gauss da -82.683404480???
Traceback (most recent call last): File "[removed]", line 1, in [removed] File "_sage_input_9.py", line 10, in [removed] exec compile(u'print _support_.source_code("", globals(), system="sage")' + '\n', '', 'single') File "", line 1, in [removed] File "/sagenb/sage_install/sage-5.0-boxen-x86_64-Linux/devel/sagenb-git/sagenb/misc/support.py", line 334, in source_code obj = eval(s, globs) File "[removed]", line 0 ^ SyntaxError: unexpected EOF while parsing
R. la integrales estan mamadas y al adimencionamiento tambien
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "_sage_input_6.py", line 10, in <module> exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("Ui4gbGEgaW50ZWdyYWxlcyBlc3RhbiBtYW1hZGFzIHkgYWwgYWRpbWVuY2lvbmFtaWVudG8gdGFtYmllbg=="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))' + '\n', '', 'single') File "", line 1, in <module> File "/tmp/tmpNFyqxU/___code___.py", line 2 R. la integrales estan mamadas y al adimencionamiento tambien ^ SyntaxError: invalid syntax
R.integrales yo solo tengo la 1 y la de gauss la de gauss da -82.683404480???
Traceback (most recent call last): File "[removed]", line 1, in [removed] File "_sage_input_8.py", line 10, in [removed] exec compile(u'print _support_.source_code("", globals(), system="sage")' + '\n', '', 'single') File "", line 1, in [removed] File "/sagenb/sage_install/sage-5.0-boxen-x86_64-Linux/devel/sagenb-git/sagenb/misc/support.py", line 334, in source_code obj = eval(s, globs) File "[removed]", line 0 ^ SyntaxError: unexpected EOF while parsing