+0

# What is the calculator's exact syntax for integration and derivatives?

0
677
5
+20

What is the calculator's exact syntax for integration and derivatives?

I found it can integrate: int(2x^2)

But maybe it can do even more? How do I set boundary conditions, for example?

It seems this feature is completely missing from the (very sparse!!!) documentation?

Noseshine  Jan 27, 2015

#3
+94085
+5

Yes, that is so true, thanks Alan :)

I have just added this thread to our reference material Sticky Topic

Melody  Jan 27, 2015
#1
+27219
+5

Indefinite integral:  int(f(x))   e.g.  int(x^2)

Definite integral: int(f(x),x=a..b)   e.g.  int(x^2,x=0..1)

Differentiation;  diff(f(x))   e.g.  diff(x^2)

(Thanks to Chris who just initiated my search for these!)

.

Alan  Jan 27, 2015
#2
+92367
0

Thanks, Alan......

I should add that Alan is our resident "Calculator Guru".....if  it can be done....he'll usually discover it....!!!

CPhill  Jan 27, 2015
#3
+94085
+5

Yes, that is so true, thanks Alan :)

I have just added this thread to our reference material Sticky Topic

Melody  Jan 27, 2015
#4
+27219
0

Warning!!

Beware of definite integration using trigonometric functions.  web2.0calc insists on treating the arguments to trig functions in degrees.  This leads to problems for definite integrals.

For example

$$\int_0^1{cos(x)}dx=0.841$$

However, webcalc gives:

$$\int_{{\mathtt{0}}}^{{\mathtt{1}}}{\left(\underset{\,\,\,\,^{{360^\circ}}}{{cos}}{\left({\mathtt{x}}\right)}\right)}{d{\mathtt{x}}} = \underset{\,\,\,\,^{{360^\circ}}}{{sin}}{\left({\mathtt{1}}^\circ\right)}$$

and

$$\underset{\,\,\,\,^{{360^\circ}}}{{sin}}{\left({\mathtt{1}}^\circ\right)} = {\mathtt{0.017\: \!452\: \!406\: \!437}}$$

.

Alan  Jan 27, 2015
#5
+94085
0

Thanks Alan

Melody  Jan 27, 2015