Appendix
A-5: Evaluation
Example A-5.2
The volume of a right circular cone is V=π r2 h/3. Evaluate V for r=3 and h=5. (This "double substitution" is known as simultaneous substitution.)
Solution
Interactive Solution
Control-drag (or type) the expression for V.
Context Panel: Evaluate at a Point≻r=3,h=5
π r2 h/3→evaluate at point15⁢π
Alternative solution
Expression palette: Evaluation template
π r2h/3x=a|f(x)r=3,h=5 = 15⁢π
Coded Solution
Use the eval command. The brackets around the substitution rules are essential.
evalπ r2h/3,r=3,h=5
<< Previous Example Section A-5 Next Example >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
Download Help Document