Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Force.cs
1using System.Collections.Generic;
3
5{
9 public class Force : IDerivedQuantity
10 {
14 public Force()
15 {
16 }
17
21 public string Name => "Force";
22
26 public Unit Reference => reference;
27
28 private static readonly Unit reference = new Unit(new AtomicUnit("N"));
29
33 public KeyValuePair<string, PhysicalQuantity>[] DerivedUnits
34 {
35 get
36 {
37 return new KeyValuePair<string, PhysicalQuantity>[]
38 {
39 new KeyValuePair<string, PhysicalQuantity>("N", new PhysicalQuantity(1, new Unit(Prefix.Kilo,
40 new KeyValuePair<AtomicUnit, int>[]
41 {
42 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("g"), 1),
43 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("m"), 1),
44 new KeyValuePair<AtomicUnit, int>(new AtomicUnit("s"), -2)
45 })))
46 };
47 }
48 }
49 }
50}
Represents an atomic unit.
Definition: AtomicUnit.cs:7
In physics, a force is any interaction that, when unopposed, will change the motion of an object.
Definition: Force.cs:10
KeyValuePair< string, PhysicalQuantity >[] DerivedUnits
Derived Units supported.
Definition: Force.cs:34
Force()
In physics, a force is any interaction that, when unopposed, will change the motion of an object.
Definition: Force.cs:14
string Name
Name of derived quantity.
Definition: Force.cs:21
Unit Reference
Reference unit of category.
Definition: Force.cs:26
Represents a unit.
Definition: Unit.cs:15
Interface for derived quantities
Prefix
SI prefixes. http://physics.nist.gov/cuu/Units/prefixes.html
Definition: Prefixes.cs:11