Command line example – HP 49g Graphing Calculator User Manual
Page 118
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

This example uses the LIN coiumand to linearize a trigonometric
expression, and the EXPAND command to simplify the result. The
expression to linearize is:
sin(7ir)
Command line example
Before you start, ensure that the CAS Modes input form is set to the
default setting. See “Configuring the CAS” on page 5-2 for details.
1. Open the EXP&LN menu and select the
LIN conunand.
0(S)®®iiD
2. Enter the expression inside the
command’s brackets.
®0®®®
3. Apply the command to the expression.
5. Open the Algebra menu and place the
EXPAND conunand on the command line.
6. Retrieve the result from history.
RflP HVI HEK f;=
IHdHEl_____
LINO
RitD KV2 HEK R=
IHCHE?
linì
:
si
N';
it
*
x
4>
TOiiBUTiKCTiiiiiiaiiinmOTam
fifiD KVZ HEK fi=
ÌHdHEJ
CC«HpUX HC"dl
LIH
IB
j
BBI
4. Since the linearization returns a complex
result, the calculator prompts to switch to
complex mode. Accept the switch to
complex mode, and linearize the
expression.
RflO KVZ HEK C=
■ IHOHE?__________
: LIH(.SIt«TT.X))
l^'EXpaoir:'
RHD KVZ HEX C= 'K'
iHOHE]-
:LINCSINCTr>;=-i))
-[I'EXPi i .K'TT)|+^'EKPI>( i
'Xt-
EXPANDO
______________
RflD HVS HEH C=
ÌH0MEJ
: L.iMli-irSLIT'ftJJ
-[|€XP( i v'i'TT)]+|€XPi:-( i'X*-
EXPAND C — ( i ..^'2*EXP( i*X*...
*EXP<-':: i*X*
>4
_________________
Page 5-8
Working with expressions