Question: Find these from the Question: Contract: Purpose Statement: Examples: Algorithm: Program: Functionality: Code Formatting: According to the Coulomb force law, the electric force between two
Find these from the Question:
Contract:
Purpose Statement:
Examples:
Algorithm:
Program:
Functionality:
Code Formatting:
According to the Coulomb force law, the electric force between two charged particles of charge Q1 andQ2 Coulombs, that are a distance r meters apart, is
Newtons, where = 8.854 1012 Farads/meter. Write a program that calculates the force on a pair of charged particles, based on the user input of Q1Coulombs, Q2 Coulombs, and r meters, and then computes and displays the electric force.
Sample Run (user input in color): run: First charge [Coulomb]: 50 Second charge [Coulomb]: 60 Distance [meters]: 5 Force: 1.078529092558586E12 BUILD SUCCESSFUL (total time: 15 seconds)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
