LaTeX primer

Posted on Sun 21 March 2021 in Programming • Tagged with Programming, Mathematics

This is a short getting started article on LaTeX; Recently, one of our courses involved a bit of LaTeX work, and this is meant to be a short introduction on how to use LaTeX to explain one's working.

Getting Started

LaTeX (Pronounced lay-tech, stylized $\LaTeX$), at it's core, is merely …


Continue reading

C development on a Mac

Posted on Thu 18 March 2021 in Programming • Tagged with Programming, C

C development on a Mac has it's fair share of traps and pitfalls, even though Mac is supposed to be POSIX compliant. I'll cover a few of them here, with the hope that nobody repeats the same mistakes :)

XCode CLT Pitfalls

The first thing one does while starting out with …


Continue reading

Understanding Jacobians

Posted on Fri 29 January 2021 in Mathematics • Tagged with Mathematics

$\newcommand{\pdv}[2]{\frac{\partial{#1}}{\partial{#2}}}$ $\newcommand{\ah}{\pmb{a} + \pmb{h}}$ $\newcommand{\a}{\pmb{a}}$ $\newcommand{\h}{\pmb{h}}$

The Jacobian Matrix

Consider a function that maps reals to reals, $f:\Bbb{R} \to \Bbb{R}$. The linear approximation of this function is given by $$f(a …


Continue reading

Intro to FreeCAD

Posted on Thu 31 December 2020 in Engineering • Tagged with CAD

MCP100 is a course that all first year undergrads in IITD have to go through. It consists of two parts: the first part is engineering drawing, using rulers and pencils, and CAD. After a disastrous drawing minor, the next phase involved getting to terms with CAD. The CAD package our …


Continue reading

Sorting Testbench in C

Posted on Wed 11 November 2020 in Programming • Tagged with Programming, C, Algorithms

I started reading CS theory in anticipation of my upcoming curriculum and I found that CLRS starts the reader off with sort algorithms (technically they start with math and basic CS, but I've already covered that). I decided to make a Sorting testbench, whose requirements were pretty simple:

  • It should …

Continue reading

IIT Department Finder Launch (plus personal website domain)

Posted on Wed 28 October 2020 in Programming • Tagged with Programming, Python, Web Development

For IIT admissions, I had created a small command line tool called iit_dep_finder.py to check the departments I would get, given a particular rank. Once the round one allocation results came out, I decided to create a web version, for others to use as well. This article chronicles the …


Continue reading

To IIT Delhi and beyond

Posted on Mon 19 October 2020 in JEE • Tagged with JEE

I think an update on the JEE Situation has been due for a long time, and I'll try to compress the past few months into this single post. Long story short, my JEE(M) was held on 2nd September, in the evening shift. After giving my best and getting a …


Continue reading

Setting up MathNotes - an online math repository

Posted on Fri 16 October 2020 in Mathematics • Tagged with Mathematics, Programming

Just after 10th and as I was beginning my JEE Preparation, I felt the need for an extensible note-taking apparatus. Online notes would be too much trouble and would keep me hooked to the computer. Notebooks were also difficult, as I wanted my notes to be extensible; adding pages in …


Continue reading

Setting up my Mac (again)

Posted on Wed 14 October 2020 in Programming • Tagged with Programming

This was also published on GitHub. The GitHub version is more up-to-date, and I won't be updating this one as frequently.

System Setup Log

My MacBook battery started to swell around a year back, and the machine became unusable 6 months ago and was put into temporary hibernation. Post my …


Continue reading

A Good JEE Main (September) problem

Posted on Fri 11 September 2020 in Mathematics • Tagged with Mathematics, JEE

This beauty came in the 2nd September shift 2 paper:

Let $A = \{ X = (x, y, z)^T : PX = 0 \text{ and } x^2+y^2+z^2=1 \}$, where $$P = \left[ \begin{array}{l l l}1&2&1 \\ -2&3&-4 \\ 1&9&-1 \end{array}\right]$$ then the …


Continue reading