I'm trying to type in a problem on sage but I cant remember what the write abbreviation or anything is or how to look at them all. I want to intergrate a problem. Does anyone know the right wording for that?
Here is an example of how to do an indefinite integral using Sage:
integral(x^2,x)
The first term is the function that you are integrating (in this case $y=x^2$). The second term is the variable that you are integrating with respect to (in this case $x$; this represents $dx$). Here is an example of a definite integral:
integral(x^2,x,0,1)
The 0 and 1 are the lower and upper limits, respectively. If you want to type this in $\LaTeX$, you would type:
$\int_0^1 x^2 dx$
This looks like: $\int_0^1 x^2 dx$. I hope that helps. If you have more questions, please let me know.
What if I want to integrate the function (f(x))?
First, you need to define the function. For example:
f(x)=x^2
integral(f(x),x)
sorry i meant the function sin(x) from the interval (0,1) how would that look in latex?
To get $\int_0^1 \sin x dx$, you would type:
$\int_0^1 \sin x dx$
haha just got it before you put it up.
One last question I've defined f(x) for the first couple of questions but I'm having a hard time plotting the functions from (-5,5).