Final answer:
The work done to move the charge from point A to point B is the difference in potential energy between the two points, which calculates to 0.0003 J.
Step-by-step explanation:
To find the work done as the charge is moved from point A to point B, we need to calculate the difference in the potential energy at these two points. Since the potential energy at point A is given as 0.0005 J and at point B as 0.0008 J, the work done (W) to move the charge is equal to the change in potential energy, which is:
W = Potential energy at B - Potential energy at A
W = 0.0008 J - 0.0005 J
W = 0.0003 J