Hello there!

My name is Balder and this is my personal website. Here i write down what i learn to maybe help others some day. For now i will just act like people are reading my articles, and make them for fun.

This website has three main sections:

I write these articles for fun, and even though i try to make sure that they are correct, i am not a perfect human and there are sure to be mistakes. Below is a list of most recent articles in all categories.

Recent Posts

Mekanisk effekt
Mekanisk effekt Mekanisk Effekt $P$, er udtryk for hvor hurtigt Arbejde tilføres. $$P_{mek} = \vec{F} \bullet \vec{v}$$ $P_{mek}$ : Den mekaniske Effekt. $\vec{F}$ : Kraften. $\vec{v}$ : Hastigheden.
Mekanisk energi
Mekanisk energi $$E_{mekanisk}=K + U$$ $K$ : Kinetisk Energi $U$ : Potentiel Energi
Mekanisk energi i centralbevægelser
Mekanisk energi i centralbevægelser Mekanisk energi Vi sætter gravitationskraft lig Centripetalkraft, da dette altid er sandt for et legme i bane om et støre legme (ie. en planet). $$G \cdot \frac{m \cdot M}{r^{\c{2}}} = \frac{1}{2} \cdot m \cdot \frac{v^2}{\c{r}}$$ $$\Updownarrow$$ $$G \cdot \frac{m \cdot M}{r} = \frac{1}{2} \cdot m \cdot v^2$$ $$\Updownarrow$$ da $E_{pot} = \frac{m \cdot M}{r}$ og $E_{kin} =\frac{1}{2} \cdot m \cdot v^2$ kan vi omskrive udtrykket således
Memory Management
Memory Management CPU generates logical addresses: Addresses starting from $0$. The OS the converts them into physical addresses, that point to the actual data in memory. Dynamic Loading Only load parts of the executable when needed. This is useful for parts of your program that are rarely used (ex: Language translations). This is implemented by the programmer (pro tip: Use a library). Dynamic Linking (Shared Libraries) Windows: .dll Linux: .so
Memory Management in C++
Memory Management in C++ Stack Keeps track of function calls and variables in the called functions. Uses the stack datastructure. Heap A memory resource that we can manually manipulate. For this there are two keywords new and delete. Warning Variables must be destroyed manually. Be carefull with delete a; and delete a[];. If the wrong one is used it is undefined behavior. int *a = new int; delete a; int *a = new int[5000]; // Allocate space for 5000 integers delete [] a; Sizes of objects on the heap can be dynamically be allocated on the heap.
MIC Architecture
MIC Architecture Mic-2 Add bus and IFU. The new bus allows for less wasted clock cycles IFU allows pre-fetcing the next instruction in parallel with the ALU, meaning that the ALU does not have to carry out this task. Mic-3 Introduces latches before and after the ALU. This tripples the efficiency, as reading from registers, writing to registers and performing ALU operation, can now run in parallel. There can however be other problems with sharing resources.
Microcontrolers
Microcontrolers Noter list from #microcontrolers sort file.name
Middelværdisætningen
Middelværdisætningen Det vil altid være et punkt > $c$> mellem to andre punkter (> $a$> og > $b$> ) på en glat graf, hvor hældningen af grafen er lig hældningen på linjestykket mellem > $a$> og > $b$> . $$f'(c)= \frac{f(b)-f(a)}{b-a} \s \text{hvor } c\in \ ]a,b[$$
Modstande
Modstande $$V_{ab}=V_a - V_b$$ Følger Ohm’s Lov If the current through a resistor increases, the voltage increases. Strøm Strøm gennem en modstand $$I_{a \rightarrow b} = \frac{V_a - V_b}{R} = \frac{V_{ab}}{R}$$ Impedans (note) $$Z= \frac{V}{I} \s [\Omega]$$ Farvekoder Color codes
Monotoniforhold
Monotoniforhold En kategorisering af hvornår hældningen af en graf en enten stigende, falende aller $0$ Ligning Hældning ($a$) $$f'(x) = 0$$ Vendepunkter ($a = 0$) $$f'(x) > 0$$ Positiv ($a > 0$) $$f'(x) < 0$$ Negativ ($a < 0$) Monotone funktioner En monoton funktion er altid voksende eller altid aftagende.