
hp40g+.book Page 34 Friday, December 9, 2005 1:03 AM
| To produce the solutions for y(0) = 1, type: |
| SUBST(Y(X) = |
| cC0 ⋅ COS(X) + |
| 2 |
| which gives: |
| y(x) = |
| 2 |
| Example 2 |
| Solve: |
| y” + y = cos(x) |
| y(0) = 1 y’(0) = 1 |
| It is possible to solve for the constants from the outset. |
| Typing: |
| DESOLVE((d1d1Y(X)+Y(X)=COS(X)) |
| AND (Y(0)=1) AND (d1Y(0)=1),Y(X)) |
| gives: |
| Y(x) = cosx + |
| 2 |
ISOLATE | The zeros of an expression |
| ISOLATE returns the values that are the zeros of an |
| expression or an equation. |
| ISOLATE has two parameters: an expression or equation, |
| and the name of the variable to isolate (ignoring |
| REALASSUME). |
| Typing: |
| |
| gives in real mode: |
| (x = √2) OR (x = −√2) |
| and in complex mode: |
| (x = √2 · i) OR (x = −√2) OR |
| (x = −(√2 · i)) OR (x = √2) |
|
| Computer Algebra System (CAS) | |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|