Re: f'(x) at a specific "x" on Prime Message #12 Posted by Han on 30 Nov 2013, 11:34 a.m., in response to message #1 by Richard Berler
Quote:
When using the template in CAS to type in f'(sin x) where x=pi/3, I get the expected 1/2. In home, if 0 is stored in X, the same derivative evaluates as 0. Why doesn't using the "where X=pi/3" temporarily override the 0 that was stored in X to produce the expected 1/2?
What exactly did you mean by: f'(sin x) ? I would interpret this as: f(x) is a predefined function, and we wish to evaluate the derivative of f(x) at sin(x). Perhaps you meant simply to take the derivative of f(x) = sin(x), and evaluate the result at x=pi/3?
In CAS view, type:
f(x) := sin(x);
g := f' ;
Now, whether you are in HOME or CAS, you can simply type:
g(pi/3)
to get the correct result.
With respect to using they templates:
As you have noticed, the behavior is different in CAS and HOME view. It's just how things were designed on the HP Prime. For symbolic manipulation and exact evaluation, use CAS view.
|