home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / games / mcad.zip / D003.MCD < prev    next >
Text File  |  1987-04-24  |  788b  |  42 lines

  1. .MCD 11000 0
  2. .TXT 1 0 1 20 
  3. 1,20
  4. TYPES OF EQUATIONS
  5. .TXT 2 3 3 57 
  6. 3,57
  7. To create a more sophisticated document, you DEFINE 
  8. VARIABLES and COMPUTE RESULTS based on those variables. 
  9. For example:
  10. .TXT 4 0 1 22 
  11. 1,22
  12. Define a,b,c    ───
  13. .EQN 0 26 1 8 
  14. ! rd=d ct=10 im=i et=3 zt=15 pr=3 mass length time charge 
  15. a:2
  16. .EQN 0 10 1 8 
  17. b:3
  18. .EQN 0 11 1 8 
  19. c:1
  20. .EQN 1 -21 5 23 
  21. x:(-b+\(b^2-4*a*c))/(2*a)
  22. .TXT 3 -26 1 22 
  23. 1,22
  24. Define x        ───
  25. .TXT 3 0 1 22 
  26. 1,22
  27. Show value of x ───
  28. .EQN 0 26 1 12 
  29. x=-0.5?
  30. .EQN 2 0 2 19 
  31. a*x^2+b*x=-1?
  32. .TXT 1 -26 1 22 
  33. 1,22
  34. Compute with x  ───
  35. .TXT 2 0 2 47 
  36. 2,47
  37. If we change a, b, or c, the value of x will 
  38. change. Watch as we change the value of c.
  39. .TXT 3 0 1 38 
  40. 1,38
  41. (Press [F6] to see the changes ...) 
  42.