Question: 7 5 p Write a code ( python or java or MS excel or any other language ) to calculate the following: In this problem

75p Write a code (python or java or MS excel or any other language) to calculate the following: In this problem we will calculate the electric potential of a point charge at various points. The charge will be located at the bottom left of the matrix. Each cell is 0.1m long. The charge is the last digit of your ID number in nC(nanocoulomb). If you id no is 20??????13, your charge is 3nC, if 20???????01 your charge is 1nC... etc.
a) Create a matrix 1010(10 rows, 10 columns), the point charge is at i,j=[0,0] point.
b) Calculate the potential at each point in the matrix, (you will calculate 1010-1=99 values) Save this data.
c) Plot 2 dimensional image of the matrix by appropriate graphing tools.
d) Plot vv for i=[1,9] and j=0x direction, v vs x
e) Plot V for diagonal direction i;j=[1;1] to 9,9, v vs r(r is in diagonal direction)
f) On this data, which points have the same V potential value? Can you draw equipotential lines on the data? How would you change this problem, so that you can draw equipotential lines?
each box is 0.1m in lougth.
25 p Use your programming skills to demonstrate / solve another problem from Physics II topics.
 75p Write a code (python or java or MS excel or

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!