For my senior year, the school sprang for a FORTRAN compiler to run on the business office NCR computer. My job was to run the students punch-card decks through the computer during the business office lunch hour. Spent an interim month learning to use FORTRAN as a language usage analysis tool, under tutelage of a Classic Languages professor.
electric forces can be attractive or repulsive, whereas gravitational forces are only attractive.
Like charges repel each other; unlike charges attract. Thus, two negative charges repel one another, while a positive charge attracts a negative charge. The attraction or repulsion acts along the line between the two charges. The size of the force varies inversely as the square of the distance between the two charges. Therefore, if the distance between the two charges is doubled, the attraction or repulsion becomes weaker, decreasing to one-fourth of the original value. If the charges come 10 times closer, the size of the force increases by a factor of 100. The size of the force is proportional to the value of each charge.