electronics-package: Electronics

Description Details Author(s) References See Also Examples

Description

This package provides a lot of useful functions for electronics-related applications.

Details

Package: electronics
Type: Package
Version: 1.0
Date: 2014-01-11
License: MIT License

~~ An overview of how to use the package, including the most important functions ~~

Author(s)

Maintainer: Nathan Campos <nathanpc@dreamintech.net>

References

~~ Literature or other references for background information ~~

See Also

~~ Optional links to other man pages, e.g. ~~ ~~ <pkg> ~~

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Ohm's law.
ohms_law(v = 12, r = 1)   # Current for 12V across a 1 ohm resistor.
ohms_law(v = 5, i = 0.1)  # Resistance for 5V at 100mA.

# Power.
power(v = 12, r = 10)  # Power dissipated by a 10 ohm resistor at 12V

# RC filters.
filter.rc(10000, 0.0001)  # Cutoff frequency of a filter with a 10k ohms resistor and a 100uF capacitor.
filter.rc.r(1000, 0.0001)  # Resistor for a 1kHz filter with a 100uF capacitor.
filter.rc.r(1000, 10000)  # Capacitor for a 1kHz filter with a 10k ohms resistor.

electronics documentation built on May 2, 2019, 6:50 p.m.