student(deprecated)/powsubs - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : student(deprecated)/powsubs

student

  

powsubs

  

substitute for factors of an expression

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

powsubs(eqn, f)

Parameters

eqn

-

equation s1=s2 specifying the substitution to be made

f

-

expression with s1 as an algebraic factor of a subexpression

Description

• 

Important: The student package has been deprecated. Use the superseding package Student instead.

• 

The function powsubs differs from subs in that it is defined in terms of algebraic factors rather than in terms of an underlying data structure. Each sub-expression is examined and if s1 occurs as a factor of that sub-expression, the substitution is carried out.  However, powsubs cannot find expressions which only occur as part of a sum.

• 

If more than one substitution is specified they are processed in order from left to right. powsubs does not carry out simultaneous substitutions.

• 

The command with(student,powsubs) allows the use of the abbreviated form of this command.

Examples

Important: The student package has been deprecated. Use the superseding package Student instead.

> 

with⁡student:

> 

p≔x+23+1x+2+sin⁡x+2

p≔x+23+1x+2+sin⁡x+2

(1)
> 

powsubs⁡x+2=z,p

z3+1z+sin⁡z

(2)
> 

q≔sqrt⁡x2+y2+f⁡x2+y2+Int⁡x2+y2,x

q≔x2+y2+f⁡x2+y2+∫x2+y2ⅆx

(3)
> 

powsubs⁡x2+y2=z,q

z+f⁡z+∫zⅆx

(4)

See Also

algsubs

eval

Student

subs