Calculates speaker cable length (metres) for the given load (W), cable CSA (mm2), sound pressure level (SPL) reduction (dB), and copper conductivity 'rho' (mOhm mm). The safety margin provides some additional assurance for the solution as volts drop is asymmetric in that 'it only gets worse' (ie you can't rely on swings-and-roundabouts): 0 = no safety margin, 0.1 = a 10% safety margin.
- SPKR Documentation.png (65.64 KiB) Viewed 2031 times
Code: Select all
00 { 78-Byte Prgm }
01▸LBL "SPKR"
02 MVAR "W"
03 MVAR "MM2"
04 MVAR "M"
05 MVAR "dB"
06 MVAR "SAFE"
07 MVAR "RHO"
08 RCL "dB"
09 20
10 ÷
11 10^X
12 1
13 -
14 RCL× "MM2"
15 5000
16 ×
17 RCL÷ "W"
18 RCL÷ "RHO"
19 RCL "SAFE"
20 1
21 +
22 ÷
23 RCL- "M"
24 END