Download Print this page

Using Loops - Casio PB-2000C Manual

Hide thumbs Also See for PB-2000C:

Advertisement

3-6 U*VboF
Ellcr
thc prcgm
md thcq go to thc imcrprÊts
to l@d the file Entq
tbc RUN @mand
ud
cntÊr yalu6
for wiabl6
""",
"6",
ud
"C', pHsitrg
El eftcr sh
cntly. He.€, E
will urc rhc follwing
valuë
æ u
wplc:
RU N EI l B 5 E
-1 1 E
-1 4
2 . OOOO OO , -7 .O OO OO O
Re a d y
V,t m onfm
that thcs wlE
æ coGr ùt pafoming tàc folowing uruual elolation:
I x 2'l+ 5 x2+ (-1 4)=0
I x{ -ry+t
x (- 7)+( - t4 ) = 0
Fot tlc nqt mmplq let3 mts valu6 that will produæ imagiuy
numbw.
RU N EI 283
El 4El
-O .7 5 OO 0O + 1 . 1 98 95 8 i
-0 .75SO OO- 'l
. 1 9 8 9 58 i
Re a d y
&5 Using loops
Udng the "whlld'
loop
Thc "çbilC'
l@p matë
it posibtc
to rctHt
mdon
of rtatmats
uotil a rpeific
@n-
dilion
is md. Thc fomt
of thc ..whilC'
loop is s
follws:
çhilc
(condition)
3EÈmAt
Tbc '*hilc"
læp
frrst æut6
thc mdition.
lf the conditioû
is md (truc, ctunini
I
Eluc othq the
0), th€ statmcnt is æuicd,
ild
æutioo
læpq bæt to thê "whild'
læp
to fldutÊ
thr @Ddition
rgain
Whcnær
thc oodition
ir mf mcr (falsc, rctuming
0),
ærion
of tic
"*hilC'
læp
is mdcd.
Y@ m
haw multiple
itaarmmts
ir a "while"
læp,
but trote the follwing
fomat
rhal
you should us in order to mke
the prcgro
6iq
to Ëd:
s

Advertisement

loading