EasyManua.ls Logo

Radio Shack TRS-80 PC-3

Radio Shack TRS-80 PC-3
289 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Program Title: SOFTLANDING GAME
OVERVIEW
This game involves landing a
rocket,
with
only
a limited
amount
of
fuel, as
softly
as possible.
The
rocket
is
in free fall.
The
engine
is
used
to
slow
down
the
free-falling
rocket.
If
ignition
takes
place
too
soon
or
too
much
fuel
is
used,
then
the
rocket
is
thrust
back
out
into
space
and
becomes
dust
around
the
planet.
If
all
the
fuel
is
burned
up,
the
rocket
hits
the
planet
and
blows
up.
The
aim
is
to
land
the
rocket
as
softly
as possible by
controlling
the
engines while
watching
how
much
fuel
is
burned.
CONTENTS
H
height
V
speed
a gravitational acceleration
t
time
V
o
: initial
speed
Gravity
is
set
to
be 5
mj(unit
time)2.
If
5
units
of
fuel
per
a
unit
time
are
burnt,
then
gravity
is
offset.
Equations
H H
o
+ V0 t ++
at
2
V V
o
+
at
V
2
= V
0
2
+
2aH
H
o
= 500, V
o
=
-50,
F
o
= 200
H
o
: initial
height
V
o
: initial
speed
F
o
: initial fuel
F : fuel
burned
The
initial height, initial fuel level,
and
the
wait
time
are
stored
in
line
30
as
data.
By
changing
these
values,
the
above variables
can be
changed.
INSTRUCTIONS
1. It
is
started
by
pressing @ W . Press CQJ
~
(]J
keys
to
adjust
the
amount
of
fuel used
to
land
the
rocket.
270

Table of Contents

Related product manuals