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

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.

withstudent:

px+23+1x+2+sinx+2

px+23+1x+2+sinx+2

(1)

powsubsx+2=z,p

z3+1z+sinz

(2)

qsqrtx2+y2+fx2+y2+Intx2+y2,x

qx2+y2+fx2+y2+x2+y2ⅆx

(3)

powsubsx2+y2=z,q

z+fz+zⅆx

(4)

See Also

algsubs

eval

Student

subs