Class

UnitElectricCharge

A unit of measure for electric charge.

Declaration

class UnitElectricCharge : Dimension

Overview

You typically use instances of NSUnitElectricCharge to represent specific quantities of electric charge using the NSMeasurement class.

Electric Charge

Electric charge is a fundamental physical property of matter that causes it to experience a force within an electromagnetic field. The SI unit for electric charge is the coulomb (C), which is defined as the amount of charge carried by a current of one ampere in one second (1C = 1A · 1s). Charge is also commonly expressed in terms of ampere hours (Ah).

The NSUnitElectricCharge class defines its base unit as coulombs, and provides the following units, which are initialized using UnitConverterLinear converters with the specified coefficients:

Name

Method

Symbol

Coefficient

Coulombs

coulombs

C

1.0

Megaampere Hours

megaampereHours

MAh

3.6e9

Kiloampere Hours

kiloampereHours

kAh

3600000.0

Ampere Hours

ampereHours

Ah

3600.0

Milliampere Hours

milliampereHours

mAh

3.6

Microampere Hours

microampereHours

µAh

0.0036

Topics

Accessing Predefined Units

class var coulombs: UnitElectricCharge

Returns the coulombs unit of electric charge.

class var megaampereHours: UnitElectricCharge

Returns the megaampere hours unit of electric charge.

class var kiloampereHours: UnitElectricCharge

Returns the kiloampere hours unit of electric charge.

class var ampereHours: UnitElectricCharge

Returns the ampere hours unit of electric charge.

class var milliampereHours: UnitElectricCharge

Returns the milliampere hours unit of electric charge.

class var microampereHours: UnitElectricCharge

Returns the microampere hours unit of electric charge.

Relationships

Inherits From

See Also

Electricity

class UnitElectricCurrent

A unit of measure for electric current.

class UnitElectricPotentialDifference

A unit of measure for electric potential difference.

class UnitElectricResistance

A unit of measure for electric resistance.