current

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 current offers an api with functions to calculate current values in a DC circuit using Ohm's law

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func I

func I(v, r float64) float64

I returns current using Ohm's law when volt and impendence are known

func Ipara

func Ipara(currents ...float64) (Itotal float64)

Ipara returns total current in parallel circuit

func Ivp

func Ivp(v, p float64) float64

Ipv returns current when volt and power are known.

Types

This section is empty.

Jump to

Keyboard shortcuts

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