<?xml version="1.0" encoding="UTF-8"?>
<rss  xmlns:atom="http://www.w3.org/2005/Atom" 
      xmlns:media="http://search.yahoo.com/mrss/" 
      xmlns:content="http://purl.org/rss/1.0/modules/content/" 
      xmlns:dc="http://purl.org/dc/elements/1.1/" 
      version="2.0">
<channel>
<title>Ryan Munseong Jeong</title>
<link>https://ryanjeong.github.io/</link>
<atom:link href="https://ryanjeong.github.io/index.xml" rel="self" type="application/rss+xml"/>
<description>Notes on programming, math, and things worth writing down.</description>
<generator>quarto-1.6.40</generator>
<lastBuildDate>Sat, 20 Jun 2026 00:00:00 GMT</lastBuildDate>
<item>
  <title>Python Code and Its Output, Together</title>
  <link>https://ryanjeong.github.io/posts/python-demo/</link>
  <description><![CDATA[ 




<p>A code block runs when the site is built, and its output is baked into the page. Readers see the source and the result side by side – no server, no execution in their browser.</p>
<section id="a-computed-value" class="level2">
<h2 class="anchored" data-anchor-id="a-computed-value">A computed value</h2>
<div id="d61c160e" class="cell" data-execution_count="1">
<div class="sourceCode cell-code" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><span class="im" style="color: #00769E;
background-color: null;
font-style: inherit;">import</span> numpy <span class="im" style="color: #00769E;
background-color: null;
font-style: inherit;">as</span> np</span>
<span id="cb1-2"></span>
<span id="cb1-3">x <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> np.linspace(<span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">0</span>, <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">2</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">*</span> np.pi, <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">5</span>)</span>
<span id="cb1-4">np.<span class="bu" style="color: null;
background-color: null;
font-style: inherit;">round</span>(np.sin(x), <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">4</span>)</span></code></pre></div>
<div class="cell-output cell-output-display" data-execution_count="1">
<pre><code>array([ 0.,  1.,  0., -1., -0.])</code></pre>
</div>
</div>
</section>
<section id="a-chart" class="level2">
<h2 class="anchored" data-anchor-id="a-chart">A chart</h2>
<p>The same setup produces a plot. The figure below is saved as a static image at build time.</p>
<div id="cell-fig-sine" class="cell" data-execution_count="2">
<div class="sourceCode cell-code" id="cb3" style="background: #f1f3f5;"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb3-1"><span class="im" style="color: #00769E;
background-color: null;
font-style: inherit;">import</span> matplotlib.pyplot <span class="im" style="color: #00769E;
background-color: null;
font-style: inherit;">as</span> plt</span>
<span id="cb3-2"></span>
<span id="cb3-3">t <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> np.linspace(<span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">0</span>, <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">2</span> <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">*</span> np.pi, <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">200</span>)</span>
<span id="cb3-4">fig, ax <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span> plt.subplots(figsize<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span>(<span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">6</span>, <span class="fl" style="color: #AD0000;
background-color: null;
font-style: inherit;">3.2</span>))</span>
<span id="cb3-5">ax.plot(t, np.sin(t))</span>
<span id="cb3-6">ax.set_xlabel(<span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"t"</span>)</span>
<span id="cb3-7">ax.set_ylabel(<span class="st" style="color: #20794D;
background-color: null;
font-style: inherit;">"sin(t)"</span>)</span>
<span id="cb3-8">ax.grid(<span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">True</span>, alpha<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="fl" style="color: #AD0000;
background-color: null;
font-style: inherit;">0.3</span>)</span>
<span id="cb3-9">plt.show()</span></code></pre></div>
<div class="cell-output cell-output-display">
<div id="fig-sine" class="quarto-float quarto-figure quarto-figure-center anchored">
<figure class="quarto-float quarto-float-fig figure">
<div aria-describedby="fig-sine-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
<img src="https://ryanjeong.github.io/posts/python-demo/index_files/figure-html/fig-sine-output-1.png" class="img-fluid figure-img">
</div>
<figcaption class="quarto-float-caption-bottom quarto-float-caption quarto-float-fig" id="fig-sine-caption-0ceaefa1-69ba-4598-a22c-09a6ac19f8ca">
Figure&nbsp;1: One period of the sine function.
</figcaption>
</figure>
</div>
</div>
</div>
<p>Because results are pre-rendered, pages stay fast and the site remains fully static.</p>


</section>

 ]]></description>
  <category>python</category>
  <category>math</category>
  <guid>https://ryanjeong.github.io/posts/python-demo/</guid>
  <pubDate>Sat, 20 Jun 2026 00:00:00 GMT</pubDate>
</item>
<item>
  <title>Hello, MathJax</title>
  <link>https://ryanjeong.github.io/posts/welcome/</link>
  <description><![CDATA[ 




<p>This site renders LaTeX math through MathJax. Inline math like <img src="https://latex.codecogs.com/png.latex?e%5E%7Bi%5Cpi%7D%20+%201%20=%200"> sits in the flow of a sentence, and display math stands on its own line:</p>
<p><img src="https://latex.codecogs.com/png.latex?%0A%5Cint_%7B-%5Cinfty%7D%5E%7B%5Cinfty%7D%20e%5E%7B-x%5E2%7D%5C,dx%20=%20%5Csqrt%7B%5Cpi%7D.%0A"></p>
<p>Equations can be labelled and referenced. Equation Equation&nbsp;1 gives the roots of <img src="https://latex.codecogs.com/png.latex?ax%5E2%20+%20bx%20+%20c%20=%200">:</p>
<p><span id="eq-quadratic"><img src="https://latex.codecogs.com/png.latex?%0Ax%20=%20%5Cfrac%7B-b%20%5Cpm%20%5Csqrt%7Bb%5E2%20-%204ac%7D%7D%7B2a%7D%0A%5Ctag%7B1%7D"></span></p>
<p>Use the search box in the navbar to find posts, and the category links to filter them by tag.</p>



 ]]></description>
  <category>math</category>
  <category>meta</category>
  <guid>https://ryanjeong.github.io/posts/welcome/</guid>
  <pubDate>Sat, 20 Jun 2026 00:00:00 GMT</pubDate>
</item>
</channel>
</rss>
