vault backup: 2024-11-18 11:05:09

This commit is contained in:
zleyyij
2024-11-18 11:05:09 -07:00
parent 4e8b44c0b1
commit 1e91beb631
3 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
The Law of Cosines is useful when solving for SAS or SSS triangles.
$$ a^2 = b^2 + c^2 -2bc\cos(\alpha) $$
$$ b^2 = a^2 + c^2 -2ac\cos(\beta) $$
$$ c^2 = a^2 + b^2 -2ab\cos(\gamma) $$
- When using the Law of Cosines to solve for SSS triangles, start solving for the largest angle.
- When correctly solved, the smallest angle will be opposite the smallest side, and the largest angle will be opposite the largest side.

View File

@ -0,0 +1,21 @@
Yes they are, different structs can have the same field names.
> 2
```c
struct c1 C1 { 0.0, 1.0};
struct c1 C2 { 1.0, 1.0};
```
> 8a
```c
const struct color MAGENTA { 255, 0, 255};
```
>11
20 bytes
UNCOMPLETED