Activities 753
2. Type the following lines into the Text Editor.
C
C
C
C
C
C
: Compute the maximum value of f on the closed interval [a,b]
: assume that f is differentiable on [a,b]
: define f(x)=x^3
N2x^2+xN7
: 1
!a:3.22!b
: d(f(x),x)
!df(x)
: zeros(df(x),x)
: f(ans(1))
: f({a,b})
: The largest number from the previous two commands is the
maximum value of the function. The smallest number is the
minimum value.
3. Press … and select 1:Script view to show
the
Text Editor and the Home screen on a
split-screen. Move the cursor to the first
line in the
Text Editor.