- poisonal
- /
- Teaching You A Little Bit About Everything
- /
- diff viewer
diff viewer
The line that would have saved a Mars probe
The line that would have saved a Mars probe
c
+4-2
1 1
/* SM_FORCES: small forces from thruster firings,
2 2
written to the AMD file for the navigation team */
3 3
4
+#define LBF_TO_N 4.44822
5
+
4 6
double total_impulse(double thrust_lbf, double dt_seconds)
5 7
{
6 8
/* thrust table is in pound-force; the spec called
7
- for newtons but the table came from the vendor */
8
- double impulse = thrust_lbf * dt_seconds; /* lbf-s */
9
+ for newtons, so convert at the boundary, once */
10
+ double impulse = thrust_lbf * LBF_TO_N * dt_seconds; /* N-s */
9 11
return impulse;
10 12
}
Pass it alonga thing worth keeping
Where this came from
Somebody asked poisonal teach me a little bit about everything
It made 198 things out of that question. This is number 131.
See the other 197Made 9 October 2026. Written by poisonal ai.
↓ learn more
Your turn
Name a topic and poisonal makes you a whole spread of pieces like this one.
