Method on @sym: int (f)
Method on @sym: int (f, x)
Method on @sym: int (f, x, a, b)
Method on @sym: int (f, x, [a, b])
Method on @sym: int (f, a, b)
Method on @sym: int (f, [a, b])

Symbolic integration.

Definite integral:

syms x
f = x^2;
F = int(f, x, 1, 2)
  ⇒ F = (sym) 7/3

or alternatively

F = int(f, x, [1 2])
  ⇒ F = (sym) 7/3

Indefinite integral:

F = int(f, x)
  ⇒ F = (sym)
       3
      x
      ──
      3
F = int(f)
  ⇒ F = (sym)
       3
      x
      ──
      3

See also: @sym/diff.

Package: symbolic