html, body, form { margin: 0; padding: 0; width: 100%; } #calculate { position: relative; width: 177px; height: 110px; background: transparent url(/images/alphabox/embed_functions_inside.gif) no-repeat scroll 0 0; } #i { position: relative; left: 18px; top: 44px; width: 133px; border: 0 none; outline: 0; font-size: 11px; } #eq { width: 9px; height: 10px; background: transparent; position: absolute; top: 47px; right: 18px; cursor: pointer; }

 Sec

Operations under special Mathematica functions

Series expansions

Calculating the series expansion of a secant function to hundreds of terms can be done in seconds.

Mathematica comes with the add‐on package DiscreteMath`RSolve` that allows finding the general terms of series for many functions. After loading this package, and using the package function SeriesTerm, the following term of can be evaluated.

Here is a quick check of the last result.

This series should be evaluated to , which can be concluded from the following relation.

Differentiation

Mathematica can evaluate derivatives of the secant function of an arbitrary positive integer order.

Finite products

Mathematica can calculate some finite symbolic products that contain the secant function. Here are two examples.

Indefinite integration

Mathematica can calculate a huge number of doable indefinite integrals that contain the secant function. The results can contain special functions. Here are some examples.

Definite integration

Mathematica can calculate wide classes of definite integrals that contain the secant function. Here are some examples.

Limit operation

Mathematica can calculate limits that contain the secant function. Here are some examples.

Solving equations

The next inputs solve two equations that contain the secant function. Because of the multivalued nature of the inverse secant function, a printed message indicates that only some of the possible solutions are returned.

A complete solution of the previous equation can be obtained using the function Reduce.

Solving differential equations

Here is a nonlinear first-order differential equation that is obeyed by the secant function.

Mathematica can find the general solution of this differential equation. In doing so, the generically multivariate inverse of a function is encountered, and a message is issued that a solution branch is potentially missed.

Plotting

Mathematica has built‐in functions for 2D and 3D graphics. Here are some examples.