Difference between revisions of "Substitute Command"
From GeoGebra Manual
(Autogenerated from properties) |
|||
Line 3: | Line 3: | ||
{{command|CAS}} | {{command|CAS}} | ||
;Substitute[ <expression>, <from>, <to> ] | ;Substitute[ <expression>, <from>, <to> ] | ||
− | :{{ | + | :Substitutes ''from'' in ''expression'' with ''to''. |
+ | :{{example| 1=<div><code><nowiki>Substitute[(3 m - 3)^2 - (m + 3)^2, 3 m - 3, a]</nowiki></code> gives ''a<sup>2</sup> - (m + 3)<sup>2</sup>''.</div>}} |
Revision as of 15:01, 22 July 2011
This command works in CAS View only.
- Substitute[ <expression>, <from>, <to> ]
- Substitutes from in expression with to.
- Example:
Substitute[(3 m - 3)^2 - (m + 3)^2, 3 m - 3, a]
gives a2 - (m + 3)2.