using System;
using L=Science.Physics.GeneralPhysics;
namespace Serway.Chapter25
{
///
/// Example04: The Electric Potential Due to a Dipole.
/// An electric dipole consists of two charges of equal
/// magnitude and opposite sign separated by a distance 2a,
/// as shown in Figure 25.14. The dipole is along the x axis
/// and is centered at the origin.
/// (A)
/// Calculate the electric potential at point P.
/// V = 2 k_e q a / (x^2 - a^2)
/// (B)
/// Calculate V and E_x at a point far from the dipole.
/// V = 2 k_e q a / x^2
/// E_x = 4 k_e q a / x^3
/// (C)
/// Calculate V and E_x if point P is located anywhere
/// between the two charges.
/// V = 2 k_e q x / (a^2 - x^2)
/// E_x = -2 k_e q ((a^2+x^2) / (a^2-x^2)^2)
///
public class Example04
{
public Example04()
{
}
private string result;
public string Result
{
get{return result;}
}
public void Compute()
{
result+="Read the book!";
}
}
}