Page 16-22
The result is:
‘SIN(X-3)*Heaviside(X-3) + cC1*SIN(X) + cC0*COS(X)’.
Please notice that the variable X in this expression actually represents the
variable t in the original ODE. Thus, the translation of the solution in paper may
be written as:
When comparing this result with the previous result for y(t), we conclude that
cC
o
= y
o
, cC
1
= y
1
.
Defining and using Heaviside’s step function in the calculator
The previous example provided some experience with the use of Dirac’s delta
function as input to a system (i.e., in the right-hand side of the ODE describing
the system). In this example, we want to use Heaviside’s step function, H(t). In
the calculator we can define this function as:
‘H(X) = IFTE(X>0, 1, 0)’
`„à
This definition will create the variable
@@@H@@@
in the calculator’s soft menu key.
Example 1 – To see a plot of H(t-2), for example, use a FUNCTION type of
plot (see Chapter 12):
Press
„ô
, simultaneously in RPN mode, to access to the PLOT SETUP
window.
Change
TYPE
to
FUNCTION
, if needed
Change EQ to ‘H(X-2)’.
Make sure that
Indep
is set to ‘X’.
Press
L
@@@OK@@@
to return to normal calculator display.
Θ
Press
„ò
, simultaneously, to access the PLOT window.
Change the H-VIEW range to 0 to 20, and the V-VIEW range to -2 to 2.
Press
@ERASE @DRAW
to plot the function .
)
3
(
)
3
sin(
sin
cos
)
(
1
−
⋅
−
+
⋅
+
⋅
=
t
H
t
t
C
t
Co
t
y
Summary of Contents for 50G
Page 1: ...HP g graphing calculator user s guide H Edition 1 HP part number F2229AA 90006 ...
Page 130: ...Page 2 70 The CMDS CoMmanDS menu activated within the Equation Writer i e O L CMDS ...
Page 206: ...Page 5 29 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Page 257: ...Page 7 20 ...
Page 383: ...Page 11 56 Function KER Function MKISOM ...
Page 715: ...Page 21 68 Whereas using RPL there is no problem when loading this program in algebraic mode ...
Page 858: ...Page L 5 ...