-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiprv.1
53 lines (43 loc) · 917 Bytes
/
iprv.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.TH iprv 1 11-JUL-2023 "Kozmix Go"
.SH NAME
iprv \- calculate electrical current, power, resistance and/or voltage
.SH SYNOPSIS
.B iprv
[I=val] [V=val] [Vp=val] [P=val] [R=val]
.SH DESCRIPTION
.BR iprv,
given any two out of electrical current, power, resistance or
voltage, will calculate the other two values. You must call
.B iprv
with exactly two arguments.
.SH OPTIONS
.B iprv
accepts SI prefixes (k, M, μ etc.) as part of its command line
options, which are:
.TP
.B I=val
specify current in amperes
.TP
.B V=val
specify voltage in volts (DC or AC RMS)
.TP
.B Vp=val
specify voltage in volts (AC peak for sine wave AC)
.TP
.B P=val
specify power in watts
.TP
.B R=val
specify resistance in ohms
.TP
All arguments are case insensitive. The SI prefixes are not.
.SH EXAMPLE
.EX
$ iprv r=8 vp=7.4
resistance R = 8 Ω
voltage V = 5.23 V
current I = 654.07 mA
power P = 3.42 W
.EE
.SH AUTHOR
svm