home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
games
/
mcad.zip
/
T051.MCD
< prev
next >
Wrap
Text File
|
1987-05-14
|
942b
|
50 lines
9,5
.MCD 11000 0
.TXT 1 0 1 17
1,17
RANGE VARIABLES
.TXT 2 4 3 73
3,73
To perform iterative calculations in MathCAD, you use a RANGE VARIABLE:
a variable that takes on a range of values. Range variables are defined
using a semicolon (;).
.TXT 4 0 1 23
1,23
Try defining one now:
.TXT 0 24 1 30
1,30
1. Type the variable name: k
.TXT 1 0 1 45
1,45
2. Type a colon (:) to create a definition.
.TXT 1 0 1 42
1,42
3. To start the range, type the number 1
.TXT 1 0 1 25
1,25
4. Type a semicolon (;)
.TXT 1 0 1 40
1,40
5. To end the range, type the number 4
.TXT 1 0 1 18
1,18
6. Press [Enter]
.TXT 1 0 1 49
1,49
7. To see a table of values of k, type this: k=
.TXT 3 -18 4 17
4,17
You should see
an equation and
a table, like
this:
.EQN 0 20 1 12
! rd=d ct=10 im=i et=3 zt=15 pr=3 mass length time charge
k:1;4
.EQN 2 0 5 5
k=
.TXT 3 9 2 16
2,16
(Press [F6]
to go on ...)