<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel>
  <title>Unbloated Hugo Example</title>
  <link>https://jorgemartinez.space/projects/unbloated-hugo-theme/version/dev/example/</link>
  <description>A rendered example of the Unbloated Hugo theme.</description>
  
  
  <language>en-US</language>
  <atom:link href="https://jorgemartinez.space/projects/unbloated-hugo-theme/version/dev/example/index.xml" rel="self" type="application/rss+xml"/>
  
  
  
  
  <item>
    <title>Numerical Integration</title><link>https://jorgemartinez.space/projects/unbloated-hugo-theme/version/dev/example/posts/midpoint/</link>
    <guid>https://jorgemartinez.space/projects/unbloated-hugo-theme/version/dev/example/posts/midpoint/</guid><pubDate>Sat, 24 Oct 2026 00:00:00 &#43;0000</pubDate>
    <description>&lt;h2 id=&#34;the-midpoint-rule&#34;&gt;The Midpoint Rule&lt;/h2&gt;
&lt;p&gt;Approximate an integral by evaluating the function at the midpoint of each
subinterval. The implementation below divides the interval into &lt;code&gt;n&lt;/code&gt; equal parts.&lt;/p&gt;
&lt;div class=&#34;tabs&#34; id=&#34;tabs-5838bcc981c8b0271b369c7597bbee80-0&#34;&gt;
  &lt;div class=&#34;tabs-list&#34; role=&#34;tablist&#34; aria-label=&#34;Midpoint rule&#34;&gt;
      &lt;button type=&#34;button&#34; role=&#34;tab&#34;
              id=&#34;tabs-5838bcc981c8b0271b369c7597bbee80-0-panel-0-tab&#34; aria-controls=&#34;tabs-5838bcc981c8b0271b369c7597bbee80-0-panel-0&#34;
              aria-selected=&#34;true&#34;
              tabindex=&#34;0&#34;&gt;Python&lt;/button&gt;
      &lt;button type=&#34;button&#34; role=&#34;tab&#34;
              id=&#34;tabs-5838bcc981c8b0271b369c7597bbee80-0-panel-1-tab&#34; aria-controls=&#34;tabs-5838bcc981c8b0271b369c7597bbee80-0-panel-1&#34;
              aria-selected=&#34;false&#34;
              tabindex=&#34;-1&#34;&gt;Steps&lt;/button&gt;
  &lt;/div&gt;
  
&lt;div class=&#34;tab-panel&#34; id=&#34;tabs-5838bcc981c8b0271b369c7597bbee80-0-panel-0&#34; role=&#34;tabpanel&#34; aria-labelledby=&#34;tabs-5838bcc981c8b0271b369c7597bbee80-0-panel-0-tab&#34; tabindex=&#34;0&#34;&gt;
  &lt;pre&gt;&lt;code class=&#34;language-python&#34;&gt;def midpoint(f, a, b, n):
    if n &amp;lt; 1:
        raise ValueError(&amp;quot;n must be positive&amp;quot;)
    h = (b - a) / n
    return h * sum(f(a &#43; (k &#43; 0.5) * h) for k in range(n))
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;div class=&#34;tab-panel&#34; id=&#34;tabs-5838bcc981c8b0271b369c7597bbee80-0-panel-1&#34; role=&#34;tabpanel&#34; aria-labelledby=&#34;tabs-5838bcc981c8b0271b369c7597bbee80-0-panel-1-tab&#34; tabindex=&#34;0&#34;&gt;
  &lt;ol&gt;
&lt;li&gt;Divide the interval into equal parts.&lt;/li&gt;
&lt;li&gt;Evaluate the function at the midpoint of each part.&lt;/li&gt;
&lt;li&gt;Multiply the sum of those values by the step size.&lt;/li&gt;
&lt;/ol&gt;

&lt;/div&gt;


&lt;/div&gt;

&lt;h2 id=&#34;checking-the-result&#34;&gt;Checking the Result&lt;/h2&gt;
&lt;p&gt;The midpoint estimates for the integral of &lt;code&gt;x²&lt;/code&gt; on &lt;code&gt;[0, 1]&lt;/code&gt; are:&lt;/p&gt;</description>
  </item>
  
  <item>
    <title>Search</title><link>https://jorgemartinez.space/projects/unbloated-hugo-theme/version/dev/example/search/</link>
    <guid>https://jorgemartinez.space/projects/unbloated-hugo-theme/version/dev/example/search/</guid><pubDate>Mon, 01 Jan 0001 00:00:00 &#43;0000</pubDate>
    <description></description>
  </item>
  
</channel></rss>
