+1(316)4441378

+44-141-628-6690


Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/admin/web/qualityessayresearch.com/public_html/wp-content/themes/cushy/archive.php on line 47
Archive for the ‘Programming- Python’
Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/admin/web/qualityessayresearch.com/public_html/wp-content/themes/cushy/archive.php on line 47
Category

Physics programming on electrical fields

Create a program in VPython that will place eight 1-nC charges at the following coordinates (in meters): <0,0,0>, <0,0,1>, <0,1,0>, <0,1,1>, <1,0,0>, <1,0,1>, <1,1,0>, and <1,1,1>. It will then ask for the x, y, and z coordinates of a point in space. The program should then draw arrows (of the same length) from each charge toward <x,y,z>. Finally, the program should output the total electric field at <x,y,z>.