<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Najmicitta Khalif Fauzana on Medium]]></title>
        <description><![CDATA[Stories by Najmicitta Khalif Fauzana on Medium]]></description>
        <link>https://medium.com/@khalifauzana?source=rss-28cf03b4a590------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zKNTKnS7OEPdKmneafQlNw@2x.jpeg</url>
            <title>Stories by Najmicitta Khalif Fauzana on Medium</title>
            <link>https://medium.com/@khalifauzana?source=rss-28cf03b4a590------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 10:37:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@khalifauzana/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[RBL Ideas with Spec Driven Development for a Simple App using Vanilla JS]]></title>
            <link>https://khalifauzana.medium.com/rbl-ideas-with-spec-driven-development-for-a-simple-app-using-vanilla-js-58cf88927b09?source=rss-28cf03b4a590------2</link>
            <guid isPermaLink="false">https://medium.com/p/58cf88927b09</guid>
            <dc:creator><![CDATA[Najmicitta Khalif Fauzana]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 14:30:03 GMT</pubDate>
            <atom:updated>2026-12-01T14:30:03.821Z</atom:updated>
            <content:encoded><![CDATA[<p>Nama: Najmicitta Khalif Fauzana</p><p>NIM: 10223052</p><p>This week’s FI2151 session was about finding ideas for research-based learning (RBL) projects that we can build with spec-driven development (SDD). Over the past few weeks we learned to write clear specifications and let an AI generate small apps in Vanilla JS, all inside a single parent div. This session asked a bigger question: what kind of app is worth building as a small research project, and how do we communicate the idea clearly before writing any code?</p><p>As an example, we looked at how the lecturer made a presentation on artificial neural networks with two AI tools. GPT-5.5 was used to discuss and develop the content, and Nano Banana 2 in Gemini was used to turn each idea into an infographic. Each slide in the presentation is one infographic, and together they explain the topic visually, almost without extra text. One thing the lecturer pointed out was that working with single-shot prompts has a weakness. The chatbot didn’t keep track of earlier parts of the conversation, so after the sixth slide the content and the images no longer matched. That stuck with me because it’s the same problem SDD tries to solve: when there’s no clear reference document, the AI drifts.</p><p>For my RBL idea, I chose an app connected to something I worked on before: finding the viscosity of a fluid from a falling ball. When a ball falls through a liquid, it speeds up at first. The drag force grows with speed until it balances gravity minus buoyancy, and from then on the ball falls at a constant terminal velocity. Stokes’ law links that terminal velocity to the viscosity of the fluid. In the lab, we measure the fall time and work backward to get the viscosity. The app would let users see this process instead of only calculating it.</p><p>The app follows the 1-div Vanilla JS pattern. Inside one parent div, there is a canvas showing a tall tube of fluid with a ball falling through it, and a second area plotting the ball’s velocity against time as it falls. Sliders let the user change the ball’s radius and density, the fluid’s density, and its viscosity. A start button releases the ball, and a reset button puts everything back. While the ball falls, the app shows the forces acting on it (gravity, buoyancy, and drag) and marks the moment it reaches terminal velocity. It also works in reverse: the user can enter a measured terminal velocity and the app estimates the viscosity, so it can be checked against real lab data.</p><p>What makes this a good RBL project for me is that it isn’t only a simulation. It can be compared with experiments. If the simulated terminal velocity doesn’t match what we measured in the lab, that difference becomes a research question. Is it the wall effect of the tube, a ball that’s too large for Stokes’ law to hold, or an error in the measurement? The app becomes a tool for asking questions, not just for showing a nice animation.</p><p>Before writing any code, I summarized the idea in an infographic made with Nano Banana in Gemini. It shows the physical system, the forces on the ball, the app layout, and how the simulation connects to experimental data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*jNR3YYto7bKAxO9iSYTRhw.png" /></figure><p>From the infographic, the spec for SDD follows naturally. It needs the parent div, the elements (canvas, plot, sliders, buttons), what each element does, the physics model with its equations and units, and the expected output. Making the infographic first forced me to decide what actually matters in the app before asking the AI to build it.</p><p><strong>My Point of View</strong></p><p>I found this session useful because it changed how I see the infographic. At first I thought it was just a decoration for the story. After making one, I realized it works like a visual version of the spec: if I can’t explain the app clearly in one picture, my idea probably isn’t clear enough yet to write a good prompt. The lecturer’s example also reminded me that AI tools are powerful but don’t keep context reliably on their own. That’s why having one clear document to refer back to, whether a spec or an infographic, matters so much. For my RBL project, I like that the app connects directly to a real experiment, so the AI-generated code can actually be tested against physics instead of just looking correct.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58cf88927b09" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hands-on with SDD: 1-div Vanilla JS Apps]]></title>
            <link>https://khalifauzana.medium.com/hands-on-with-sdd-1-div-vanilla-js-apps-c7455e5e49d2?source=rss-28cf03b4a590------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7455e5e49d2</guid>
            <dc:creator><![CDATA[Najmicitta Khalif Fauzana]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 14:15:11 GMT</pubDate>
            <atom:updated>2026-12-01T14:15:11.497Z</atom:updated>
            <content:encoded><![CDATA[<p>Nama: Najmicitta Khalif Fauzana</p><p>NIM: 10223052</p><p>This week in FI2151 we practiced making small interactive apps with an AI using spec-driven development (SDD). The idea is to write a clear prompt that works like a short specification and let the AI generate the code from it. Every app follows the same “1-div” pattern: it is written in plain JavaScript with no libraries (Vanilla JS), and all its elements are created inside one parent div named cnt.</p><p><strong>The Seven Examples</strong></p><p>The lecture gave seven example prompts, going from simple to more physics-heavy:</p><p>1. Bouncing ball: a 200 × 200 px canvas with a start/stop button. A circle moves and bounces off the canvas borders.<br>2. Random numbers: a textarea and two buttons. “generate” writes 100 random integers from 0–99 in two-digit format (09, 83, 05, …), and “clear” empties the textarea.<br>3. Traveling wave: a canvas, a textarea for the wave parameters (amplitude, period, wavelength, initial phase), and a start/stop button that animates a sinusoidal wave.<br>4. Pendulum: a swinging pendulum with a start/stop button. The bob’s color shows its speed: red at the lowest point (fastest) and blue at the turning points (stopped). The canvas also shows the elapsed time and the number of periods.<br>5. Floating box: a vertical slider controls the water level in a 2D container, and a floating box follows the water surface.<br>6. Ball falling into water: three sliders set the ball’s height, the water level, and the ball’s density. Two buttons release and reset the ball. The ball falls under gravity, slows down in the water because of viscosity, and feels a buoyant force that depends on the density difference.<br>7. Spring pendulum with SVG: a circle (the bob) and a polyline (the spring) hang from a fixed point. The user can drag the bob in 2D, let go, and watch it swing and oscillate.</p><p>The AI only returns the JavaScript part. To run it, I put it in an HTML page with a parent div:</p><p>&lt;!doctype html&gt;<br>&lt;html&gt;<br>&lt;body&gt;<br> &lt;div id=”cnt”&gt;&lt;/div&gt;<br> &lt;script&gt;<br> const cnt = document.getElementById(“cnt”);<br> // paste the generated code here<br> &lt;/script&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</p><p>The file then needs to be served on localhost and opened in the browser.</p><p>What the Prompts Have in Common</p><p>All seven prompts are built from the same parts:</p><p>- Technology: “Vanilla JS only”<br>- Parent: a div with variable name cnt<br>- Elements: what to create (canvas, button, textarea, slider, svg)<br>- Behavior: what each element does (toggle start/stop, generate, clear, drag)<br>- Physics or rules: the model behind the app (bouncing, gravity, buoyancy, viscosity, oscillation)<br>- Display details: sizes, colors, and the text shown on the canvas</p><p>Writing a prompt in these parts makes it a reusable template. To make a new app, I only change the elements, behavior, and physics, and the rest stays the same.</p><p><strong>My Point of View</strong></p><p>What I liked about this session is how a well-structured prompt makes the AI’s output much more predictable. When the prompt clearly says what the parent element is, which elements exist, and how they should behave, the code usually works right away, with only small fixes needed to put it into an HTML page. The physics examples (the pendulum, the falling ball, the spring) also showed me that the AI still needs a clear physical model in the prompt. If I don’t say which forces should be included, it just guesses. For me, this is where knowing the physics matters even when the AI writes the code.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7455e5e49d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Moving Charge in a Perpendicular Magnetic Field]]></title>
            <link>https://khalifauzana.medium.com/moving-charge-in-a-perpendicular-magnetic-field-a95312c823cb?source=rss-28cf03b4a590------2</link>
            <guid isPermaLink="false">https://medium.com/p/a95312c823cb</guid>
            <dc:creator><![CDATA[Najmicitta Khalif Fauzana]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 14:11:18 GMT</pubDate>
            <atom:updated>2026-12-01T14:11:18.226Z</atom:updated>
            <content:encoded><![CDATA[<p>Nama: Najmicitta Khalif Fauzana</p><p>NIM: 10223052</p><p>This week in FI2151 we studied how a charged particle moves in a constant magnetic field. A moving charge feels the magnetic force F = q v × B. This force is always perpendicular to the velocity, so it only changes the direction of motion, never the speed. If the initial velocity is perpendicular to B, the particle moves in a circle at constant speed, which is uniform circular motion.</p><p>Newton’s second law for a particle with mass m and charge q in a magnetic field B is:</p><p>m dv/dt = q v × B</p><p>To get uniform circular motion, the initial velocity has to be perpendicular to the field:</p><p>B · v₀ = 0</p><p>The circular path can be written with parametric functions:</p><p>x(t) = x_c + R cos(ωt + φ₀)<br>y(t) = y_c + R sin(ωt + φ₀)</p><p>where (x_c, y_c) is the center, R is the radius, ω is the angular velocity, and φ₀ is the initial phase. For uniform circular motion, v = ωR.</p><p><strong>Tasks</strong></p><p>1. Velocity. Differentiating x(t) and y(t) once:</p><p>v_x(t) = −ωR sin(ωt + φ₀)<br>v_y(t) = ωR cos(ωt + φ₀)</p><p>2. Acceleration. Differentiating again:</p><p>a_x(t) = −ω²R cos(ωt + φ₀) = −ω² (x − x_c)<br>a_y(t) = −ω²R sin(ωt + φ₀) = −ω² (y − y_c)</p><p>The acceleration always points toward the center, with magnitude ω²R.</p><p>3. Initial velocity. If B = B₀ ẑ, then B · v₀ = B₀ v₀z = 0, so v₀z = 0. Any velocity in the xy-plane works, for example:</p><p>v₀ = 3 x̂ + 4 ŷ (m/s)</p><p>From the parametric functions, at t = 0 the velocity is v₀x = −ωR sin φ₀ and v₀y = ωR cos φ₀.</p><p>4. Graphically. Plotting x(t) against y(t) for values like x_c = 2, y_c = 3, R = 0.5, T = 2 s gives a closed circle around (2, 3). The points stay at the same distance from the center, and after one period the particle comes back to where it started.</p><p>5. Mathematically. Moving x_c and y_c to the left side, squaring, and adding:</p><p>(x − x_c)² + (y − y_c)² = R² [cos²(ωt + φ₀) + sin²(ωt + φ₀)] = R²</p><p>This is the equation of a circle with center (x_c, y_c) and radius R.</p><p>6. Solution of the equation of motion. With B = B₀ ẑ, the cross product is v × B = B₀ (v_y x̂ − v_x ŷ), so the equation of motion becomes:</p><p>a_x = (qB₀/m) v_y<br>a_y = −(qB₀/m) v_x</p><p>Substituting the results from tasks 1 and 2 into the x-equation:</p><p>−ω²R cos(ωt + φ₀) = (qB₀/m) ωR cos(ωt + φ₀) → ω = −qB₀/m</p><p>The y-equation gives the same result, so the parametric functions really are a solution when ω = −qB₀/m. The minus sign means a positive charge goes clockwise when viewed from +z. Combining |ω| = |q|B₀/m with v = ωR gives the radius:</p><p>R = m v₀ / (|q| B₀)</p><p>So a heavier or faster particle makes a bigger circle, and a stronger field or a larger charge makes a smaller one.</p><p><strong>My Point of View</strong></p><p>I liked this topic because it finally connects uniform circular motion to Newton’s second law. Before, I mostly just accepted that the circle was given. Here, the magnetic force produces the circle on its own. The most satisfying part was substituting the parametric functions back into the equation of motion and seeing that they work only if ω = −qB₀/m. That one step explains both the speed of the rotation and its direction.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a95312c823cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visualization with Chart.js and Trajectories from Differential Equations]]></title>
            <link>https://khalifauzana.medium.com/visualization-with-chart-js-and-trajectories-from-differential-equations-c94ac7c689f4?source=rss-28cf03b4a590------2</link>
            <guid isPermaLink="false">https://medium.com/p/c94ac7c689f4</guid>
            <dc:creator><![CDATA[Najmicitta Khalif Fauzana]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 14:07:53 GMT</pubDate>
            <atom:updated>2026-12-01T14:07:53.547Z</atom:updated>
            <content:encoded><![CDATA[<p>Nama: Najmicitta Khalif Fauzana</p><p>NIM: 10223052</p><p>This week in FI2151 we covered two topics on endap: making scatter plots with Chart.js, and getting the trajectory of a motion by solving its differential equation.</p><p><strong>Scatter Plots with Chart.js</strong></p><p>The lecture showed a simple layout made with JavaScript. A console panel built with endap.js prints the data as a table, and a Chart.js scatter plot next to it shows the same data as a graph. Both sit inside one container, arranged with flexbox.</p><p>The steps are the same every time:</p><p>1. Generate the data in a loop (with Tensor1D arrays from endap).<br>2. Turn each pair into a point {x: …, y: …}.<br>3. Print the values to the console.<br>4. Pass the points to a Chart.js scatter chart with showLine: true.</p><p>The examples were a simple dataset, a sine curve, and a parabolic curve. Only the data part of the code changes between them. The layout, console, and chart setup stay the same.</p><p><strong>Parabolic motion</strong></p><p>For parabolic motion with initial position (x₀, y₀), initial velocity (v₀x, v₀y), and acceleration (aₓ, a_y):</p><p>x(t) = x₀ + v₀x·t + ½·aₓ·t²<br>y(t) = y₀ + v₀y·t + ½·a_y·t²</p><p>For normal projectile motion, aₓ = 0 and a_y = −g. Solving the first equation for t and substituting it into the second gives:</p><p>y(x) = y₀ + (v₀y/v₀x)(x − x₀) + (a_y / (2·v₀x²))(x − x₀)²</p><p>The three plots are connected. The x–t plot is a straight line because the horizontal velocity is constant. The y–t plot is a parabola because the vertical motion has constant acceleration. The y–x plot, the actual path, is also a parabola: it combines the two, with x changing evenly in time while y goes up and comes back down. Each console and chart legend is labeled “data x-t”, “data y-t”, or “data x-y” so it’s clear which data goes with which plot.</p><p><strong>Trajectories from Differential Equations</strong></p><p>The second topic showed that the type of trajectory depends on the differential equation of motion.</p><p>Parabolic motion comes from m·d²r/dt² − m·g = 0, the only force being gravity. It gives a straight line instead of a parabola when the initial velocity is zero or points straight up or down, parallel to g. In that case nothing pushes the object sideways.</p><p>Harmonic motion comes from a restoring force proportional to position, m·d²r/dt² + k·r = 0. If the initial velocity is only along the direction of the restoring force, the object just oscillates back and forth in 1D. If it also has a sideways velocity, each direction oscillates on its own. The path becomes an ellipse, a kind of circular motion whose radius keeps changing.</p><p>Circular motion comes from the magnetic force, m·d²r/dt² + q·B × dr/dt = 0. The force q·v × B is always perpendicular to both v and B. It bends the part of the velocity that is perpendicular to B into a circle, but it never touches the part parallel to B. So the motion is a circle only if v·B = 0. Otherwise the particle also drifts along B at constant speed, and the path becomes a helix.</p><p><strong>My Point of View</strong></p><p>The Chart.js part was useful because once the layout is set up, I only need to change the data loop to plot something new. Plotting x–t, y–t, and y–x side by side helped me see that a parabolic trajectory is just two simple motions combined. The differential equations part showed me that the same equation can give different paths depending on the initial conditions, which is something I usually skipped over when only memorizing formulas.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c94ac7c689f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Uniform circular motion and large angle pendulum]]></title>
            <link>https://khalifauzana.medium.com/uniform-circular-motion-and-large-angle-pendulum-e063b038196b?source=rss-28cf03b4a590------2</link>
            <guid isPermaLink="false">https://medium.com/p/e063b038196b</guid>
            <dc:creator><![CDATA[Najmicitta Khalif Fauzana]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 14:04:10 GMT</pubDate>
            <atom:updated>2026-12-01T14:04:10.449Z</atom:updated>
            <content:encoded><![CDATA[<p>Nama: Najmicitta Khalif Fauzana</p><p>NIM: 10223052</p><p>This week in FI2151 we studied two topics on endap: uniform circular motion and the large angle pendulum.</p><p><strong>Uniform Circular Motion</strong></p><p>Uniform circular motion is when an object moves in a circle at a constant speed. The distance from the center stays the same, the velocity is always tangent to the circle, and the acceleration always points toward the center.</p><p>The motion can be described with parametric equations:</p><p>x(t) = x_c + R cos(ωt + φ₀)<br>y(t) = y_c + R sin(ωt + φ₀)</p><p>where (x_c, y_c) is the center, R is the radius, ω is the angular velocity, and φ₀ is the initial phase. Differentiating twice gives the acceleration a = −ω²(r − r_c). It points to the center and has magnitude ω²R = v²/R, which is the centripetal acceleration. The period is T = 2π/ω.</p><p>In the simulation (T = 2 s, run from 0 to 4 s), some points on the chart appear double or triple. This isn’t a bug. The object goes around the circle twice, so the second lap lands on top of the first.</p><p>Centripetal force isn’t a separate force. It’s whichever real force points toward the center. Some examples:</p><p>- Satellite orbiting Earth → gravity<br>- Car turning on a flat road → friction<br>- Stone whirled on a string → tension<br>- Charged particle in a magnetic field → magnetic (Lorentz) force<br>- Rotor ride / spin dryer → normal force from the wall</p><p><strong>Large Angle Pendulum</strong></p><p>The forces on a pendulum split into two directions:</p><p>- Radial: mω²R = N − mg cos θ. From this, the minimum speed at the top of a vertical circle is v ≥ √(gR), and at the bottom it is v ≥ √(5gR).<br>- Tangential: d²θ/dt² = −(g/R) sin θ.</p><p>For small angles, sin θ ≈ θ, which gives simple harmonic motion: θ(t) = θ₀ cos(ω₀t), with period T₀ = 2π√(R/g). For large angles this approximation no longer holds, so the equation is solved numerically with Euler’s method.</p><p>When the amplitude is changed from 0.1π to 0.99π, the numerical solution gets slower and slower than the theoretical one. A large-angle pendulum has a longer period: about 18% longer at 90° and about 2 times longer at 162°. Near 180° it almost stops at the top before swinging down. The small-angle approximation only works well up to about 0.1π (around 18°).</p><p>My Point of View</p><p>The circular motion part was fairly simple, but I liked seeing how the centripetal acceleration comes straight out of the equations. The pendulum part was more interesting. I’ve used T = 2π√(L/g) since high school without knowing it’s only valid for small angles. Changing one value in the code and watching the two graphs drift apart made it really clear to me why numerical methods are needed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e063b038196b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[FI2151 Modeling, Data Generator and Analysis (24 September 2026)]]></title>
            <link>https://khalifauzana.medium.com/fi2151-modeling-data-generator-and-analysis-24-september-2026-1e8d3ec1622a?source=rss-28cf03b4a590------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e8d3ec1622a</guid>
            <dc:creator><![CDATA[Najmicitta Khalif Fauzana]]></dc:creator>
            <pubDate>Wed, 14 Oct 2026 11:22:39 GMT</pubDate>
            <atom:updated>2026-10-14T11:22:39.630Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s session, I watched a list of random values turn into colorful circles on a screen, and it changed how I think about programming. I used to consider a program finished once it printed the right number. Now I see a real difference between <em>calculating</em> something and <em>showing</em> it.</p><p>We worked through the endap.js examples. Instead of just reading them, I started changing things to see what would break. I made the canvas bigger and changed the range of the random numbers. At one point I made the circles so large that they covered the whole canvas. That mistake taught me more than reading the code did: each random number was being <em>used for something</em>, like an x-coordinate, a radius, or a color. Changing a number didn’t change an abstract value. It changed what I could see.</p><p>This was the first time I understood that random data isn’t really “meaningless.” It only becomes meaningful once you decide what it represents.</p><p>The part that confused me most at first was the navigation buttons. How does the program “remember” which data point it is showing? Then I noticed that the answer is just a variable, an index that goes up or down when a button is clicked. The button calls a function, the function changes the index, and the canvas is redrawn using the new value.</p><p>The start and stop buttons work on a similar idea, except the program updates the display repeatedly by itself until it is told to stop. Once I saw it this way, interactivity didn’t feel like magic anymore. It is mostly about keeping track of the program’s <em>current state</em> and redrawing whenever that state changes.</p><p>The biggest lesson for me was about reading code as a system, not line by line. I could understand every individual line and still not know why the screen behaved a certain way. The understanding only came when I traced the path from a click, to a function, to a variable, and finally to the drawing.</p><p>I also realized that visualization is a form of analysis. When I printed the random values as text, they looked like noise. When the same values were drawn as circles, I could immediately notice whether they were spread evenly or clustered in one area. My eyes did the analysis faster than I could by scanning the numbers.</p><p>Today’s session gave me an idea that connects programming with physics: a simple web app that simulates radioactive decay using random numbers.</p><p>The concept is straightforward. The canvas starts with a few hundred dots, each representing an unstable nucleus. At every time step, each dot “rolls” a random number. If the number falls below a certain probability, that nucleus decays and changes color. With a start/stop button, users can watch the population shrink over time. A step button would let them advance one moment at a time and observe individual decays.</p><p>What I find exciting is that no single dot is predictable, but the whole group follows the exponential decay law we learn in class. I would like to add a small graph next to the canvas that plots the number of remaining nuclei over time, plus a slider to change the decay probability so users can see how the half-life changes.</p><p>I know I can’t build all of this yet. But I now know where to start: draw the dots, give each one a random chance to decay, add a button to advance time, and build up from there. Each feature is just another small piece of state and another redraw.</p><p>Today’s session showed me that random numbers can tell a story when they are given a shape, a position, and a way to change over time. I started the class thinking of code as something that produces answers. I left thinking of it as something that can help me <em>see</em> the physics I’m studying.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e8d3ec1622a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Assignment 4 of FI2151 Modeling, Data Generator and Analysis]]></title>
            <link>https://khalifauzana.medium.com/assignment-4-of-fi2151-modeling-data-generator-and-analysis-69ff2561528b?source=rss-28cf03b4a590------2</link>
            <guid isPermaLink="false">https://medium.com/p/69ff2561528b</guid>
            <dc:creator><![CDATA[Najmicitta Khalif Fauzana]]></dc:creator>
            <pubDate>Thu, 17 Sep 2026 09:52:26 GMT</pubDate>
            <atom:updated>2026-09-17T09:52:26.380Z</atom:updated>
            <content:encoded><![CDATA[<p>Najmicitta Khalif Fauzana</p><p>10223052</p><p>This session picks up right where the GitHub authentication exercise left off, moving from git plumbing into actual algorithms, specifically sorting and numerical root-finding, taught through a series of progressive examples built on the same endap.js library from dudung/endap.js. Instead of typing raw console.log calls, the examples lean on endap’s own Console module to render output in the browser, and its RandNum module to generate the random test data, a small reminder that even “just write a sorting algorithm” assignments come with their own toolchain to learn first.</p><p>The progression is deliberately gentle. Example 0 does nothing more than generate a set of random integers, the raw material every sorting algorithm needs before it can prove itself. Example 1 builds on that with the classic nested-loop ascending sort: an outer loop walking the array, an inner loop comparing and swapping neighboring elements until the smallest values bubble to the front. Example 2 is the same idea run in reverse, descending order, which is really the assignment’s quiet way of checking whether the comparison logic was actually understood or just memorized, flip one condition and the whole algorithm’s behavior inverts.</p><p>From there the material pivots from sorting arrays to tabulating a function. Examples 3 and 4 evaluate the quadratic f(x) = 21.3 − 10.3x + x² across a range of x values, first with a coarse step size of dx = 1, then a finer dx = 0.2. It’s a setup that looks like simple table-printing but is really laying groundwork for root-finding , once you can tabulate a function densely enough, you can start narrowing in on where it crosses zero, which is presumably where examples 5 through 9 are headed. As of now those later examples are still marked incomplete, which says as much about how these lecture materials get built, iteratively, in public, sometimes mid-construction, as it does about the topic itself.</p><p>What stands out most going into this one is the shift in kind of problem: the GitHub session was about environment and tooling, getting authentication right so work could ship. This one is about logic, getting the comparisons and increments right so the numbers come out correct. Different muscle, same repo, same habit of testing locally with python3 -m http.server before trusting that a script actually does what it claims.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69ff2561528b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Assignment 3 of FI2151 Modeling, Data Generator and Analysis]]></title>
            <link>https://khalifauzana.medium.com/assignment-3-of-fi2151-modeling-data-generator-and-analysis-9160bd0dd27c?source=rss-28cf03b4a590------2</link>
            <guid isPermaLink="false">https://medium.com/p/9160bd0dd27c</guid>
            <dc:creator><![CDATA[Najmicitta Khalif Fauzana]]></dc:creator>
            <pubDate>Thu, 17 Sep 2026 09:43:19 GMT</pubDate>
            <atom:updated>2026-09-17T09:43:19.602Z</atom:updated>
            <content:encoded><![CDATA[<p>Najmicitta Khalif Fauzana</p><p>10223052</p><p>In this class session, once Git was functional, I created a classic Personal Access Token from GitHub’s Developer Settings, scoped to repo and workflow with a 60-day expiry.</p><p>The actual class exercise was forking dudung/endap.js, cloning my fork locally, and adding a small module that used the library’s Console component to print a greeting. git status, git add, git commit -m, git push — the same four commands the reference article walks through — and Keychain handled authentication silently in the background, no token ever typed twice.</p><p>The biggest lesson wasn’t really about Git syntax. It was that tutorials assume a working environment and often optimize for “simplest to demonstrate” over “safest to actually do.” Checking that your tools work before following the steps, and picking a credential storage method that doesn’t leave secrets sitting in plaintext, are the parts worth carrying forward past this one assignment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9160bd0dd27c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hands-On JavaScript: Reflection on the Modeling, Data Generators, and Their Analysis Session]]></title>
            <link>https://khalifauzana.medium.com/hands-on-javascript-reflection-on-the-modeling-data-generators-and-their-analysis-session-c70bd5879da0?source=rss-28cf03b4a590------2</link>
            <guid isPermaLink="false">https://medium.com/p/c70bd5879da0</guid>
            <dc:creator><![CDATA[Najmicitta Khalif Fauzana]]></dc:creator>
            <pubDate>Mon, 14 Sep 2026 08:20:18 GMT</pubDate>
            <atom:updated>2026-09-14T08:20:18.015Z</atom:updated>
            <content:encoded><![CDATA[<p>Najmicitta Khalif Fauzana</p><p>10223052</p><p>The lecture session for the course Modeling, Data Generators, and Their Analysis took place on Thursday, 3 September 2026, in Room 9108 at ITB Ganesha. The focus of this particular meeting was a hands-on JavaScript exercise, intended to serve as a foundation for us in writing programs that can be used to model data, as well as preparation for the kind of work we are likely to encounter in industry later on. Rather than sitting through a theoretical explanation, we spent the session working directly with code on our own laptops, which made the material much easier to absorb.</p><p>Several features were introduced during the class. The first was learning how to construct the different sections or regions that make up a website, essentially deciding how a page is divided and where each element belongs. From there we moved on to creating interactive buttons, which introduced the idea of a page responding to user input rather than simply displaying static content. Finally, we implemented a tracker that counts and displays how many times a button has been pressed. Although these features are simple on their own, they demonstrate the basic logic behind capturing an event, storing a value, and reporting that value back to the user.</p><p>What stood out to me is that the functions and features we practiced today are far from being an end point. They can be developed much further into a complete project that functions as a genuine tool for modeling data. The same mechanism that counts button clicks, for instance, could just as easily record measurements, and the same layout principles could be used to organize charts or data displays. In other words, what we received was a set of building blocks rather than a finished product.</p><p>On a more personal level, the session brought back memories of my earlier experience with JavaScript. I had studied the language before and had reached a point where I was reasonably comfortable with it. However, because of time constraints at the time, I never continued to deepen that skill, and as a result a considerable amount of it faded. During today’s exercise, certain parts of the syntax came back to me almost automatically, while other sections felt unfamiliar again, as though I were encountering them for the first time.</p><p>Overall, my view of today’s class is that it was highly beneficial. It gave me the chance to revisit and recall JavaScript after a long period of not using it, and it made clear which parts of my understanding still hold and which parts need rebuilding. Beyond that, the session also gave me an opportunity to practice writing code again, which matters just as much. Regular practice is what turns programming from something I understand in theory into something I can do comfortably and without hesitation, and I hope to keep building that habit as the course continues.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c70bd5879da0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Motivation and Expected Outcomes: Modelling, Data Generator, and Analysis Course]]></title>
            <link>https://khalifauzana.medium.com/motivation-and-expected-outcomes-modelling-data-generator-and-analysis-course-faf4b54bfd7b?source=rss-28cf03b4a590------2</link>
            <guid isPermaLink="false">https://medium.com/p/faf4b54bfd7b</guid>
            <dc:creator><![CDATA[Najmicitta Khalif Fauzana]]></dc:creator>
            <pubDate>Mon, 31 Aug 2026 09:41:33 GMT</pubDate>
            <atom:updated>2026-08-31T09:41:33.819Z</atom:updated>
            <content:encoded><![CDATA[<p>Najmicitta Khalif Fauzana</p><p>10223052</p><p>As a final year physics student at Bandung Institute of Technology, i am currently working on my final project (Tugas Akhir). I find myself at a stage where the gap between theoretical understanding and practical execution becomes most apparent. My focus lies in Complex Systems, where the behavior of a system often can’t be understood through analytical solutions alone and it has to be modelled, simulated, and analyzed through data. As i work on my own modelling project, i’ve realized that having conceptual understanding of complex systems is not enough. What i lack is a structured, disciplined approach to building models, generating representative synthetic data, and analyzing results in a way that is both rigorous and reproducible.</p><p>This is precisely why i am motivated to take the <em>Modelling, Data Generator, and Analysis</em> course. My final project requires me to construct a model of a complex system, simulate data that realistically reflects its dynamics and underlying variability, and then analyze the outputs to validate or refine the model. Right now, my approach to these steps is largely improvised and built through trial and error rather than a coherent methodology. I need guidance on how to formalize this process: how to properly design a data generator, how to choose the right statistical or numerical techniques for analysis, and how to ensure that my modelling workflow is sound enough to hold up under academic scrutiny.</p><p>In short, this course isn’t just an academic requirement for me but it directly supports the project i am currently working on. I see it as an opportunity to receive structured guidance and feedback that i currently don’t have access to, and to fill in the methodological gaps that stand between my current progress and a completed, defensible final project.</p><p>By the end of this course, i expect to be able to design a mathematical or computational model of a complex system, with clearly defined assumptions and limitations that are directly applicable to my final project’s modelling component. I also hope to build a data generator capable of producing realistic synthetic data, including appropriate noise modelling and variation across test scenarios, so that i can properly validate my model against it. Beyond that, i want to be able to apply suitable data analysis techniques, whether statistical or numerical to evaluate the accuracy, robustness, and validity of my model’s outputs. More broadly, i aim to establish a structured, reproducible modelling-simulation-analysis workflow that i can carry over directly into my final project, rather than continuing to rely on ad hoc methods. Finally, i expect to be able to communicate my modelling results clearly, in a form suitable for my final thesis report and defense.</p><p>Ultimately, i expect this course to give me not just theoretical knowledge, but a practical toolkit and mentorship that i can apply immediately to move my final project forward with more confidence and rigor.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=faf4b54bfd7b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>