eta <span class="op">=</span> <span class="fl">0</span><span class="op">)</span></span>
<span><span class="co"># Initial values</span></span>
<span><span class="va">initial_vals</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span>t1 <span class="op">=</span> <span class="fl">38</span>, t2 <span class="op">=</span> <span class="fl">62</span>, dt <span class="op">=</span> <span class="fl">28</span>, k <span cl