electricalResistance static method
Calculates the electrical resistance of a conductor.
Returns the resistance in Ohms (Ω) as a double.
Usage: final R = EngineeringConstants.electricalResistance(resistivity, length, area);
Implementation
static double electricalResistance(double resistivity, Length length, Area crossSectionArea) {
final L = length.inM;
final A = crossSectionArea.inSquareMeters;
return resistivity * L / A; // R = ρL/A
}