#Beginner Math + Physics Formatting
1 messages · Page 1 of 1 (latest)
\documentclass{article}
\usepackage[fleqn]{mathtools}
\usepackage{siunitx}
\begin{document}
\begin{align*}
W &= F \Delta d_y & F &= (\qty{85.6}{kg})(\qty{9.81}{s^2}) & W &= F \Delta d_y \\
\Delta d_y &= \qty{1.35}{m} & &= \qty{839.736}{N} & &= (\qty{839.736}{N})(\qty{1.35}{m}) \\
F &= mg & &\approx \qty{8.40e2}{N} & &= \qty{1133.6436}{J} \\
m &= \qty{85.6}{kg} & & & &\approx \qty{1.13e3}{J} \\
g &= \qty{9.81}{m s^{-2}}
\end{align*}
Statement.
\begin{align*}
\Delta t_1 &= \qty{5.90}{s} & P &= \frac{\qty{1133.6436}{J}}{\qty{5.90}{s}} \\
P_1 &= \frac{W}{\Delta t_1} & &= \qty{192.1429831}{W} \\
W &= \qty{1133.6436}{J} & &\approx \qty{1.92e2}{W}
\end{align*}
Statement.
\begin{align*}
\Delta t_2 &= \qty{2.66}{s} & P &= \frac{\qty{1133.6436}{J}}{\qty{2.66}{s}} \\
P_2 &= \frac{W}{\Delta t_2} & &= \qty{426.1818045}{W} \\
W &= \qty{1133.6436}{J} & &\approx \qty{4.26e2}{W}
\end{align*}
Statement.
\end{document}
How come when leafe entered this code in chat the bot generated an image, but when I enter it in chat, no image appears?
If I can figure this out I can make my edits very easily.
For reference this code is by leafe, I just need to make the following edits to the document.
g = 9.81 m/s^2
instead of 9.81 ms^-2
and F = (86.6 kg)(9.81 m/s^2)
instead of F = (86.6 kg)(9.81s^2)
I have no experience with LaTeX
to have all fractional units use fractions instead of negative powers, change it to \usepackage[per-mode=symbol]{siunitx}
well actually if you intend to use it for rendering with @frigid remnant then you have to make some adjustments
basically you can only run the code after \begin{document} and before \end{document} directly
but to get the bot set up properly you must also add the siunitx package to your preamble
That is not my name...
I just edited it in overleaf. recompiled and it worked. Errors showed up but I managed to get the pdf anyways. Good enough for now, I don't have time to do it properly right now.