Class Capacitance
java.lang.Object
|
+--Capacitance
- class Capacitance
- extends java.lang.Object
- implements Function, PhysicsConstants
Calculates capacitance as a function of voltage, with v0,
Nd and A (cross-sectional area) as parameters.
|
Field Summary |
protected double |
a
|
protected double |
Nd
|
protected double |
v0
|
|
Constructor Summary |
Capacitance()
Creates a new Capacitance, with cross-sectional area
2.0 x 10-9, donor density 1.0 x 1022 and
v0 set to 1. |
Capacitance(double v0)
Creates a new Capacitance, with cross-sectional area
2.0 x 10-9 and donor density 1.0 x 1022. |
Capacitance(double v0,
double Nd)
Creates a new Capacitance, with cross-sectional area
2.0x10-9. |
Capacitance(double v0,
double Nd,
double a)
|
|
Method Summary |
double |
evaluate(double v)
Calculates the capacitance for the specified voltage. |
double |
getA()
|
double |
getNd()
|
double |
getV0()
|
void |
setA(double d)
|
void |
setNd(double d)
|
void |
setV0(double d)
|
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
v0
protected double v0
Nd
protected double Nd
a
protected double a
Capacitance
public Capacitance(double v0,
double Nd,
double a)
- Parameters:
v0 - Equilibrium voltageNd - Donor densitya - Cross-sectional area
Capacitance
public Capacitance(double v0,
double Nd)
- Creates a new Capacitance, with cross-sectional area
2.0x10-9.
Capacitance
public Capacitance(double v0)
- Creates a new Capacitance, with cross-sectional area
2.0 x 10-9 and donor density 1.0 x 1022.
Capacitance
public Capacitance()
- Creates a new Capacitance, with cross-sectional area
2.0 x 10-9, donor density 1.0 x 1022 and
v0 set to 1.
evaluate
public double evaluate(double v)
- Calculates the capacitance for the specified voltage.
- Specified by:
- evaluate in interface Function
getV0
public double getV0()
setV0
public void setV0(double d)
getNd
public double getNd()
setNd
public void setNd(double d)
getA
public double getA()
setA
public void setA(double d)