9. Write a program that calculates the potential energy of 3 charges q1 = 1, q2 = 2, q3 = 3 located at points (1, 2, 3), (3,-4, –5), and (-4, 2, -6) respectively. The units are coulombs for charge and...


Write a C program that calculates the potential energy of 3 charges q1 = 1, q2 = 2, q3 = 3
located at points (1, 2, 3), (3, −4, −5), and (−4, 2, −6) respectively. The units are coulombs for
charge and meters for coordinates. The energy is given by the expression


9.<br>Write a program that calculates the potential energy of 3 charges q1 = 1, q2 = 2, q3 = 3<br>located at points (1, 2, 3), (3,-4, –5), and (-4, 2, -6) respectively. The units are coulombs for<br>charge and meters for coordinates. The energy is given by the expression<br>9142<br>4243<br>9193<br>U = k<br>T12<br>T23<br>r13<br>where ri; is the distance between the charges q; and q,, and k = 9 x 10° in SI units.<br>Your program should print the result on the screen.<br>

Extracted text: 9. Write a program that calculates the potential energy of 3 charges q1 = 1, q2 = 2, q3 = 3 located at points (1, 2, 3), (3,-4, –5), and (-4, 2, -6) respectively. The units are coulombs for charge and meters for coordinates. The energy is given by the expression 9142 4243 9193 U = k T12 T23 r13 where ri; is the distance between the charges q; and q,, and k = 9 x 10° in SI units. Your program should print the result on the screen.

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here