Symbolics > Working with Symbolics > Simplifying and Rewriting Expressions > Example: Simplifying and Rewriting Expressions
Example: Simplifying and Rewriting Expressions
Use symbolic keywords combine and rewrite to combine and rewrite expressions.
Keyword: simplify
Simplify the following expressions:
Click to copy this expression
Click to copy this expression
Insert the symbolic evaluation operator.
Click to copy this expression
Click to copy this expression
Insert the keyword simplify in the placeholder.
Click to copy this expression
Click to copy this expression
Keyword: combine
Use the keyword combine to combine the following expression:
Click to copy this expression
* 
The keyword combine does not affect the result.
Add the modifier sincos to specify rewriting the result in terms of sine or cosine.
Click to copy this expression
Use the keyword combine with other modifiers to combine more expressions.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Keyword: rewrite
Use the keyword rewrite to rewrite the following expression using specific types of identities:
Click to copy this expression
PTC Mathcad returns an error because rewrite requires a modifier.
Add the modifier exp.
Click to copy this expression
PTC Mathcad rewrites sin in terms of exponential functions.
Use the keyword rewrite with other modifiers to get the desired type of result.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
Was this helpful?