Copyright | (c) Scott N. Walck 2023 |
---|---|
License | BSD3 (see LICENSE) |
Maintainer | Scott N. Walck <walck@lvc.edu> |
Stability | stable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Code from chapter 26 of the book Learn Physics with Functional Programming
Documentation
data CurrentDistribution Source #
circularCurrentLoop :: R -> R -> CurrentDistribution Source #
wireSolenoid :: R -> R -> R -> R -> CurrentDistribution Source #
sheetSolenoid :: R -> R -> R -> R -> CurrentDistribution Source #
wireToroid :: R -> R -> R -> R -> CurrentDistribution Source #
crossedLineIntegral :: CurveApprox -> VectorField -> Curve -> Vec Source #
helmholtzCoil :: R -> R -> CurrentDistribution Source #
longStraightWire :: R -> R -> CurrentDistribution Source #
totalCurrent :: VectorField -> Surface -> Current Source #