volt

package
v0.0.0-...-4eb613b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package volt offers an API with functions to calculate voltage in a DC circuit using Ohm's law.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func V

func V(i, r float64) float64

V returns the votage of circuit using Ohm's law

func Vpi

func Vpi(p, i float64) float64

Vip returns the voltage when power p and current i are known

func Vser

func Vser(volts ...float64) (Vtotal float64)

Vser returns the total voltage across a a series circuit

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL