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.
Simplify Keyword
1. Simplify the following expressions:
Click to copy this expression
Click to copy this expression
2. Insert the symbolic evaluation operator.
Click to copy this expression
Click to copy this expression
3. Insert the keyword simplify in the placeholder.
Click to copy this expression
Click to copy this expression
Combine Keyword
1. Use the keyword combine to combine the following expression:
Click to copy this expression
* 
The keyword combine does not affect the result.
2. Add the modifier sincos to specify rewriting the result in terms of sine or cosine.
Click to copy this expression
3. 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
Rewrite Keyword
1. 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.
2. Add the modifier exp.
Click to copy this expression
PTC Mathcad rewrites sin in terms of exponential functions.
3. 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