100V-Line Speaker Cable Length for Given Load Power, mm2 & SPL Reduction

Contributions to this software library are always welcome. Please ensure that you post program listings rather than .raw files. They give a reasonable idea of what your program does without having to load them into a DM42 and you can also include comments in your code. Check out the following link for a decoder/encoder: https://technical.swissmicros.com/decoders/dm42/

You can then copy/paste the listing and post it in "code" tags.
Post Reply
mark2c
Posts: 4
Joined: Fri Jun 22, 2018 11:17 pm

100V-Line Speaker Cable Length for Given Load Power, mm2 & SPL Reduction

Post by mark2c »

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
SPKR Documentation.png (65.64 KiB) Viewed 1464 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
Attachments
SPKR.raw
(81 Bytes) Downloaded 117 times
Post Reply