CoCalc Shared FilesBasic commands for computing integrals in SAGE.sagewsOpen in CoCalc with one click!

1/3*x^3

-1/2*cos(x^2)

Error in lines 2-2
Traceback (most recent call last):
File "/projects/62d388a2-cf5e-4876-8b71-a11d342ee228/.sagemathcloud/sage_server.py", line 879, in execute
exec compile(block+'\n', '', 'single') in namespace, locals
File "", line 1, in <module>
NameError: name 'a' is not defined

a
(-1/2*cos(a*x^2)/a, -cos(a*x^2)/x)

log(sec(x) + tan(x))

39

1/4*sqrt(3) - 1/4

0.1830127018922192

0.183012701892219

-1/12*((I*sqrt(3) + 1)*gamma(1/3, I*x^3) + (-I*sqrt(3) + 1)*gamma(1/3, -I*x^3))*x/(x^3)^(1/3)

(38.99999999999999, 4.3298697960381095e-13)
(3.333333333333333, 3.700743415417188e-14)

Error in lines 1-1
Traceback (most recent call last):
File "/projects/62d388a2-cf5e-4876-8b71-a11d342ee228/.sagemathcloud/sage_server.py", line 879, in execute
exec compile(block+'\n', '', 'single') in namespace, locals
File "", line 1, in <module>
File "sage/gsl/integration.pyx", line 259, in sage.gsl.integration.numerical_integral (build/cythonized/sage/gsl/integration.c:2090)
raise ValueError(("The function to be integrated depends on "
ValueError: The function to be integrated depends on 2 variables (a, x), and so cannot be integrated in one dimension. Please fix additional variables with the 'params' argument

2/15