Residue of an expression at a point

### 13.5.4 Residue of an expression at a point

The residue command finds the residue of an expression at a point.

- residue takes three arguments:
  - expr, an expression depending on a variable.
  - x, a variable name.
  - a, a complex number. This can be combined with the previous argument in an equality x=a.
- residue(expr,x,a) returns the residue of expr at the point a.

#### Example

residue(cos(x)/x^3,x,0)

or:

residue(cos(x)/x^3,x=0)

− |
1
2