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...


Hi. It should be written in c programming language


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>9293<br>9193<br>9142<br>+<br>T12<br>U = k<br>r23<br>T13<br>where<br>is the distance between the charges q; and q;, and k = 9 × 10º in SI units.<br>Tij<br>Your<br>program should print the result on the screen.<br>

Extracted text: 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 9293 9193 9142 + T12 U = k r23 T13 where is the distance between the charges q; and q;, and k = 9 × 10º in SI units. Tij 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