math2001's blog https://math2001.github.io/ Recent content on math2001's blog Hugo -- gohugo.io en-au © Mathieu Paturel 2017-2022 Mon, 09 Dec 2019 09:09:57 +1100 Finding the equation of a curve formed by lines https://math2001.github.io/article/finding-the-equation-of-a-curve-formed-by-lines/ Mon, 09 Dec 2019 09:09:57 +1100 https://math2001.github.io/article/finding-the-equation-of-a-curve-formed-by-lines/ <p><img src="https://math2001.github.io/img/curve-lines-drawing.jpg" alt="drawing with lines only that form curves"></p> <p>My sister had to do some artwork for school, and she decided to make some curved shapes out of lines. It looks pretty cool (although it would have been even better with pencil I think, but she wouldn&rsquo;t listen, and I&rsquo;m too lazy to do it myself right now), and making curves out of <em>just</em> lines, well, I find that pretty fancy. But I wondered what the curves actually were&hellip; Circles? Parabolas? Ellipses? Something different?</p> Go Order of Operation Matters https://math2001.github.io/article/go-order-of-operation-matters/ Sat, 07 Dec 2019 10:00:06 +1100 https://math2001.github.io/article/go-order-of-operation-matters/ <p>In Go, two mathematically equivalent expression can yield different result based on the order in which you do things! Thanks rounding errors&hellip;</p> Motion and calculus https://math2001.github.io/article/motion-and-calculus/ Fri, 15 Feb 2019 11:12:47 +1100 https://math2001.github.io/article/motion-and-calculus/ <p>If you studied physics, one of the first things you probably did was graph the &ldquo;motion&rdquo; of objects. That is the displacement, velocity, and acceleration at an instant <em>t</em>. Didn&rsquo;t it remind you of a mathematical concept?</p> Length of a curve https://math2001.github.io/article/length-of-a-curve/ Thu, 14 Feb 2019 21:31:45 +1100 https://math2001.github.io/article/length-of-a-curve/ <p>After misunderstanding a question in physics, I thought I had to calculate the length of a curved trajectory (ie. the distance) instead of just the straight line (ie. the displacement). Turns out it was the easy option, but I now wanted to know how to get the length of a curve. I mean, it&rsquo;d just be summing up an infinite number of straight lines, which is almost exactly what integration is&hellip;</p> How to combine svgs https://math2001.github.io/article/combine-svgs/ Sun, 08 Oct 2017 17:18:21 +1100 https://math2001.github.io/article/combine-svgs/ <p>If you want your website to be fast, you should limit the number of http requests. A great way of doing that is combining your images. If you use SVGS for your icons and stuff like that, here&rsquo;s how you can combine all your icon in one big file, and use them in your website!</p> Bash's find command https://math2001.github.io/article/bashs-find-command/ Sun, 24 Sep 2017 07:51:15 +1000 https://math2001.github.io/article/bashs-find-command/ <p>The <code>find</code> command in bash is quite powerful, and knowing the basics might save you some scripting.</p> <p>What does it do? It &ldquo;finds&rdquo; files. By default, it outputs their path relative to where you ran <code>find</code>. But, in addition of providing you with advanced &ldquo;filters&rdquo; it actually allows you to run commands on each of those files.</p>