home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / games / mcad.zip / T051.MCD < prev    next >
Text File  |  1987-05-14  |  942b  |  50 lines

  1. 9,5
  2. .MCD 11000 0
  3. .TXT 1 0 1 17 
  4. 1,17
  5. RANGE VARIABLES
  6. .TXT 2 4 3 73 
  7. 3,73
  8. To perform iterative calculations in MathCAD, you use a RANGE VARIABLE: 
  9. a variable that takes on a range of values. Range variables are defined 
  10. using a semicolon (;).
  11. .TXT 4 0 1 23 
  12. 1,23
  13. Try defining one now:
  14. .TXT 0 24 1 30 
  15. 1,30
  16. 1. Type the variable name: k
  17. .TXT 1 0 1 45 
  18. 1,45
  19. 2. Type a colon (:) to create a definition.
  20. .TXT 1 0 1 42 
  21. 1,42
  22. 3. To start the range, type the number 1
  23. .TXT 1 0 1 25 
  24. 1,25
  25. 4. Type a semicolon (;)
  26. .TXT 1 0 1 40 
  27. 1,40
  28. 5. To end the range, type the number 4
  29. .TXT 1 0 1 18 
  30. 1,18
  31. 6. Press [Enter]
  32. .TXT 1 0 1 49 
  33. 1,49
  34. 7. To see a table of values of k, type this: k=
  35. .TXT 3 -18 4 17 
  36. 4,17
  37. You should see 
  38. an equation and 
  39. a table, like 
  40. this:
  41. .EQN 0 20 1 12 
  42. ! rd=d ct=10 im=i et=3 zt=15 pr=3 mass length time charge 
  43. k:1;4
  44. .EQN 2 0 5 5 
  45. k=
  46. .TXT 3 9 2 16 
  47. 2,16
  48. (Press [F6]    
  49. to go on ...)
  50.