home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / misc / eleclern / 1.chn (.txt) next >
Turbo Pascal Chain module  |  1985-07-29  |  23KB  |  278 lines

  1. To continue, press any key
  2. B      (*========================================================*)
  3. B      (*                                                        *)
  4. B      (*                 Elementary Electricity                 *)
  5. B      (*                                                        *)
  6. B      (*  Tutorial No. 1                                        *)
  7. B      (*                                                        *)
  8. A      (*                       OHM'S LAW                       *)
  9. B      (*                                                        *)
  10. B      (*                      Version 1.0                       *)
  11. B      (*                                                        *)
  12. A      (*  This program describes Ohm's Law which, written  in  *)
  13. B      (*  equation form, is  I=V/R.   I  represents  electric   *)
  14. B      (*  current,  V  represents potential difference,   and   *)
  15. B      (*  R represents the opposition to the flow of electric   *)
  16. B      (*  current.                                              *)
  17. B      (*                                                        *)
  18. B      (*  You will be expected to calculate the value of  any   *)
  19. B      (*  one of the three variables, given the remaining two,  *)
  20. B      (*  and enter your results into the computer.             *)
  21. B      (*                                                        *)
  22. B      (*  Written by T. J. Meyers              April 11, l985   *)
  23. B      (*                                                        *)
  24. B      (*========================================================*)
  25. +                             OHM'S LAW     
  26. EGeorg Ohm, a German schoolteacher, discovered in the 1820's that in  
  27. Ea closed electrical circuit the current was directly proportional to 
  28. Fthe potential difference and inversely proportional to the resistance.
  29. 1Expressed mathmatically, this relation is written
  30. EI = V/R   where    I = current in                AMPERES             
  31. E                   V = potential difference in   VOLTS               
  32. E                   R = resistance in             OHMS                
  33. EThis  "law"  applies chiefly to metals and direct-current circuits.  
  34. DChanges in the temperature of a conductor, which occur when electric
  35. Ecurrent flows through it, can limit the laws usefulness.             
  36. DHowever, despite its limitations, Ohm's Law can be used in numerous 
  37. Dsituations where a high degree of accuracy is not demanded, even in 
  38. Dsimple alternating-current circuits.  The ability to manipulate the 
  39. Dequation is a skill well-worth mastering. It only requires a bit of 
  40. Esimple algebra.                                                      
  41. ELet's see what you can do.                                           
  42. ERewrite the equation I = V/R to solve for V.  Use upper-case letters.
  43. V = IR
  44. =Very good.  Let`s see what you can do with the next equation.
  45. !Incorrect.  Give it one more try.
  46. "Good.  Now let`s try the next one.
  47. ,Wrong again. You should review your algebra.
  48. The right answer is 
  49. V = IR
  50. /Perhaps you can do better on the next equation.
  51. <Which of the expressions below represents the correct answer
  52. when you solve I = V/R for R.
  53. 2R = I/V    R = V/I    R = IV    R = none of these.
  54. Correct.  Good thinking.
  55. !Tst!  Tst!  Let`s try that again.
  56. That`s nice.  You did it.
  57. 3You flamed out again.  I hope you have a parachute.
  58. The correct answer is 
  59. R = V/I
  60. E                             SUMMARY                                 
  61. DTo sum up, then, the three forms that Ohm's Law can take are:       
  62. EI = V/R         V = IR         R = V/I                               
  63. 0You will note that V is ALWAYS in the numerator.
  64. EYou will need these three equations later in the program so,         
  65. Eif you are not sure of them, take time to write them down now.       
  66. E                        (SO WRITE!)                                  
  67. DTo use Ohm's Law intelligently you need to understand what the terms
  68. Eof the equation mean.  The following paragraphs set forth a series   
  69. Eof definitions in simplistic fashion.  For more detailed information 
  70. you should consult a good text.
  71. F                               CURRENT                                
  72. FSimply, current can be defined as the rate of flow of charge. Charge, 
  73. Fas you know, is of two kinds - positive and negative.  When  charges  
  74. Fflow in fluids both kinds can be detected in motion.   In metals the  
  75. Fflow of charge is associated with the drift of electrons.  Electrons  
  76. Fcarry a negative charge.   The flow of charge in solid-state devices  
  77. Fis more complex and beyond the scope of this program.                 
  78. FIn any case, the rate of flow of charge is measured in a unit called  
  79. Fthe AMPERE.  The ampere is named for Andre Ampere of France.          
  80. FThe AMPERE is defined in terms of its magnetic effects.  Ideally, if  
  81. Ftwo very long wires were placed parallel to each other in empty       
  82. Fspace, precisely one meter apart, and if the same constant current    
  83. Fwere present in each wire, and if each produced on the other a force  
  84. Fof 2 x 10E-7 newtons for each meter of length, then the rate of flow  
  85. Fof current in each wire is defined as 1 ampere.                       
  86. FNeedless to say, The US National Bureau of Standards uses a more      
  87. Fconvenient measuring technique.    Look it up and read about it.      
  88. FREMEMBER:  the unit of current is the AMPERE.                         
  89. )                     POTENTIAL DIFFERENCE
  90. FWhen you lift an object from the ground to a bench-top you do work on 
  91. Fit against the gravitational field.   If you were to push it sideways 
  92. Foff the bench, the gravitational field would do work on it (about the 
  93. Fsame amount you did lifting it) causing it to fall back to the ground.
  94. FElectrical potential difference represents the capacity of an electric
  95. Ffield to do work.  Electrical potential difference, like gravitational
  96. Fpotential energy, can also be produced by work.   A simple example is 
  97. Fthe charge produced by chemical action inside of a flashlight battery.
  98. FThe unit of electrical potential difference is called the VOLT.       
  99. FThe volt is named for Alessandro Volta of Italy.                      
  100. FThe VOLT is a unit of WORK (not of force, as you may have thought).   
  101. FTo be more precise:  if it takes 1 joule of energy to transfer        
  102. F1 coulomb of charge from one point to another in an electric field,   
  103. Fthe potential difference between the two points is 1 volt.            
  104. FIf you find these terms unclear, look them up in your text book.      
  105. FREMEMBER:  the unit of potential difference is the VOLT.              
  106. G                               RESISTANCE                              
  107. GWhen electrical energy acts to move charge from one place to another   
  108. Git encounters opposition, more in some materials than in others. This  
  109. Gopposition to the flow of charge is called RESISTANCE.                 
  110. GThe electrical resistance of a conductor depends upon such factors as  
  111. Gthe material from which it is made, its physical dimensions and its    
  112. Gtemperature.  The longer the conductor, the greater the resistance; the
  113. Glarger the cross-section of the conductor, the smaller the resistance. 
  114. GIn most, but not all, materials, resistance increases with temperature.
  115. GThe unit of electrical resistance is called the OHM.  It is named      
  116. Gfor Georg Ohm of Germany.                                              
  117. GThe OHM can be defined in terms of electric current and electric       
  118. Gpotential difference as follows:                                       
  119. GIf a potential difference of 1 volt produces a current of 1 ampere     
  120. Gin a conductor, then the resistance of the conductor is said to be     
  121. G1 ohm.                                                                 
  122. GREMEMBER:  the unit of electrical resistance is the OHM.               
  123. ?                               PROBLEMS                        
  124. ?You cannot truly claim mastery of a procedure until you have   
  125. ?successfully demonstrated its application several times.       
  126. ?Therefore each of the following units will require you to solve
  127. >problems using Ohm's Law.                                     
  128. ?It will be necessary to calculate answers to 3 decimal places, 
  129. ?then round off to two decimal places.  Use standard rounding   
  130. ?procedures.  Be precise.                                       
  131. ?Good solving!                                                  
  132. #                            AMPERES
  133. 0Remember to round off your answer in the second 
  134. 0decimal place.                                  
  135. Problem #1:    V = 
  136.          R = 
  137. !               I  (in amperes) = 
  138. !               Good.  You got it.
  139. >               A mistake. Check your equation and recalculate.
  140. !               I  (in amperes) = 
  141. !               Correct this time.
  142.                Wrong again.
  143. %               The correct answer is 
  144. Problem #2:    V = 
  145.          R = 
  146. !               I  (in amperes) = 
  147. /               Right.  Move to the next square.
  148. /               Error.  Reconsider and try again
  149. !               I  (in amperes) = 
  150. 2               Success.  Move to the next problem.
  151.                Another error.
  152. %               The correct answer is 
  153. Problem #3:    V = 
  154.          R = 
  155. !               I  (in amperes) = 
  156. 6               Very good.  Now let's try the next one.
  157. 4               Sorry about that.  Recheck and retry.
  158. !               I  (in amperes) = 
  159. &               OK this time.  Proceed.
  160. /               Incorrect.  The right answer is 
  161. Problem #4:    V = 
  162.          R = 
  163. !               I  (in amperes) = 
  164. 0               Correct.  Go to the next problem.
  165. -               Haste makes waste.  Try again.
  166. !               I  (in amperes) = 
  167.                You are correct.
  168. -               Mercy!  The correct answer is 
  169. Problem #5:    V = 
  170.          R = 
  171.                 I (in amperes) = 
  172.                Right again!
  173. '               Incorrect.  Recalculate.
  174.                 I (in amperes) = 
  175. $              This is it.  Go ahead.
  176. /               Incorrect.  The right answer is 
  177. 6                        VOLTS                         
  178. 6Remember to round off your answer in the second       
  179. 6decimal place.                                        
  180. Problem #1:    I = 
  181.     R = 
  182.                V  (in volts) = 
  183. -               That's it.  Take 1 giant step.
  184.                 Oops!  Try again.
  185.                V  (in volts) = 
  186. "               OK.  Take one step.
  187. .               Not so.  The correct answer is 
  188. Problem #2:    I = 
  189.     R = 
  190.                V  (in volts) = 
  191. &               Excellent.  Move ahead.
  192. /               A toe stub.  Catch your balance.
  193.                V  (in volts) = 
  194. !               Good.  Move ahead.
  195. -               Sorry.  The correct answer is 
  196. Problem #3:    I = 
  197.    R = 
  198.                V  (in volts) = 
  199. .               A-OK.  Advance to next problem.
  200. *               That's an OOPS!  Try again.
  201.                V  (in volts) = 
  202. )               Better.  Take 1 baby step.
  203. .               A NO NO. The correct answer is 
  204. Problem #4     V = 
  205.     R = 
  206.                V  (in volts) = 
  207. *               Perfect.  Go to problem #5.
  208. 1               A slip of the pen.  Compute again.
  209.                V  (in volts) = 
  210. "               Good.  That's a GO.
  211. -               Error!  The correct answer is 
  212. Problem #5:    I  = 
  213.    R = 
  214.                V  (in volts) = 
  215. "               That's a blast off.
  216. )               Whoops.  That's a recheck.
  217.                V  (in volts) = 
  218. *               Solid.  Go to next section.
  219. 0               Not again! The correct answer is 
  220. 7                         OHMS                          
  221. 7Remember to round off your answer in the second        
  222. decimal place.
  223. Problem #1:      V = 
  224.     I = 
  225.                   R  (in ohms) = 
  226. 2                 A home run.  Let's try problem #2
  227. (                 A wild pitch.  Do over.
  228.                   R  (in ohms) = 
  229. -                 A single.  Advance one base.
  230.                  A strike out.
  231. '                 The correct answer is 
  232. Problem #2:      V = 
  233.     I = 
  234.                   R  (in ohms) = 
  235. %                 A ringer.  Go to #3.
  236. /                 A leaner.  Take another pitch.
  237.                   R  (in ohms) = 
  238. -                 A ringer.  Go to problem #3.
  239. .                 Out of range.  The answer is 
  240. Problem #3       V = 
  241.     I = 
  242.                   R  (in ohms) = 
  243. -                 In the 10-ring.  Skip to #4.
  244. +                 In the 7-ring.  Try again.
  245.                   R  (in ohms) = 
  246. 1                 Bull's eye!  Go to next problem.
  247. /                 Off the board.  The answer is 
  248. Problem #4:      V = 
  249.     I = 
  250.                   R  (in ohms) = 
  251. %                 Right on.  Go to #5.
  252. 0                 A near miss.  Take a fresh aim.
  253.                   R  (in ohms) = 
  254. -                 Right on.  Go to problem #5.
  255. /                 Sorry.  The correct answer is 
  256. Problem #5:      V = 
  257.     I = 
  258.                   R  (in ohms) = 
  259. )                 A hit.  Congratulations.
  260. &                 A miss.  Last chance.
  261.                   R  (in ohms) = 
  262. )                 A hit.  Congratulations.
  263. 1                 Too bad.  The correct answer is 
  264. 8                       CONCLUSION                       
  265. 7You have just completed the tutorial on Ohm's Law.  If 
  266. 8you were not satisfied with your performance on the     
  267. 8numeric portion simply run through it again.  You can   
  268. 8save yourself time by concentrating only on those areas 
  269. 8where you experienced difficulty.  Good luck!           
  270. 8On the other hand, you may have been outstandingly      
  271. 8successful.  In that case, CONGRATULATIONS!             
  272. 8                          END                           
  273. 7                       Press spacebar to try again     
  274. 7                          To return to the menu        
  275. 7                       first, type (q,Q) to quit,      
  276. 7                       then,  type (menu,MENU) at A>   
  277. 9                             Press (q/Q) to quit         
  278.