aH</span><span class="p">(</span><span class="n">dhp</span><span class="p">,</span> <span class="n">Cpprod</span><span class="p">,</span> <span class="n">htype</span> <span class="o">=</span> <span class="s1">&#39;deg&#39;</span><span class="p">)</span>

    <span class="c1"># Step 3:</span>
    <span class="n">Lp</span> <span class="o">=</span> <span class="p">(</span><span class="n">Lr</span> <span class="o">+</span> <span class="n">Lt</span><span class="p">)</span><span class="o">/</span><span class="mi"