test continuity on an interval - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Numerical Computations : Intervals : iscont

iscont - test continuity on an interval

Calling Sequence

iscont(expr, x = a .. b)

iscont(expr, x = a .. b, 'closed')

iscont(expr, x = a .. b, 'open')

Parameters

expr

-

an algebraic expression

x

-

variable name

a..b

-

real interval

'closed'

-

(optional) indicates that endpoints should be checked

'open'

-

(optional) indicates that endpoints should not be checked (default)

Description

• 

The iscont function returns true if the expression is continuous on the interval, or false if the expression is not continuous.  If iscont cannot determine the result it returns FAIL.

• 

The iscont function assumes that any symbols in the expression are real.

• 

By default, or if the optional third argument 'open' is specified, then the interval is considered to be an open interval. If the optional third argument 'closed' is specified then continuity at the endpoints is checked;  specifically under this option, limxa+expr and limxbexpr must be defined and be finite.

• 

The endpoints of the interval must be either real constants or infinity or -infinity.

• 

If the endpoints of the interval are ordered with the first value greater than the second, iscont will reverse them.

Examples

isconttanx,x=0..1

true

(1)

isconttanx,x=0..2π

false

(2)

iscontpiecewisex<3&comma;x&plus;8&comma;3x&comma;x2&plus;2&comma;x&equals;0..&infin;

true

(3)

iscontpiecewisex<3&comma;x&plus;2&comma;3x&comma;x2&plus;2&comma;x&equals;0..&infin;

false

(4)

iscont1x&comma;x&equals;1..2

true

(5)

iscont1x&comma;x&equals;1..1

false

(6)

iscont1x&comma;x&equals;&infin;..&infin;

false

(7)

Unless specified, the interval is assumed to be open.

iscont1x&comma;x&equals;0..1

true

(8)

iscont1x&comma;x&equals;0..1&comma;&apos;closed&apos;

false

(9)

If iscont cannot determine the result it returns FAIL.

iscont1x&plus;a&comma;x&equals;0..1

FAIL

(10)

iscont1x&comma;x&equals;3..1

true

(11)

See Also

discont


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam