Posts

How to Copy ChatGPT, Gemini and Claude Math into Word as Real Equations

Image
  If you use ChatGPT, Gemini or Claude for anything with math in it, you know this moment. The answer looks perfect in the chat: clean fractions, square roots, integrals. Then you copy it into Microsoft Word and get this: x = \frac{-b \pm \sqrt{b^2-4ac}}{2a} Or worse, a scramble of symbols with every superscript flattened onto one line. The only fix used to be rebuilding each formula by hand in Word's equation editor. For a report with twenty equations, that's an evening gone. I got tired of doing that, so I built a small tool to fix it. It's called TeXbridge . What TeXbridge does TeXbridge is a free browser extension for Chrome and Microsoft Edge. It turns the math in your AI chats into real, editable Word equations , the same kind you would build with Word's own equation editor, not pictures and not raw LaTeX code. Copy one formula: hover over any formula in the chat and click Copy for Word . Paste it into Word with Ctrl+V. Copy a whole passage: ...

Thermodynamic Potentials Applied for Equations of State (Post #3)

Equation of State of Ideal Gas \[ A(T, V, \bar{n}) - A(T, V_R, \bar{n}) = \int_{V_R}^{V} \left( \frac{\partial A}{\partial V} \right)_{T, \bar{n}} dV = -\int_{V_R}^{V} P dV \tag{1} \] In Equation 1, the term \( V_R \) acts as an arbitrary reference volume, which corresponds to a specific but unknown reference Helmholtz free energy, \( A_R \) (where \( A(T, V_R, \bar{n}) = A_R \)). To see how this plays out mathematically, let's look at the most basic example using the ideal-gas equation of state: \[ P^{IG}(T, V, \bar{n}) = \frac{n R_g T}{V} \tag{2} \] By substituting this into the fundamental volume derivative of the Helmholtz energy and performing the integration, we get: \[ A^{IG}(T, V, \bar{n}) - A^{IG}(T, V_R, \bar{n}) = -\int_{V_R}^{V} P^{IG} dV \] \[ = -\int_{V_R}^{V} \frac{n R T}{V} dV = -n R_g T \ln\left(\frac{V}{V_R}\right) \tag{3} \] While Equation 3 allows us to calculate changes in Helmholtz free energy, it only provides the difference between states—we still do not kno...

Thermodynamic Potentials (Post #2)

Starting with: \[ dU = T dS - P dV + \sum_r \mu_r dn_r \tag{1} \] Notice that Equation 1 is now composed entirely of state functions. This introduces internal energy (\( U \)) as a thermodynamic potential, indicating that \( U \) is fundamentally a function of entropy, volume, and the number of moles. While it is mathematically possible to express internal energy using temperature and volume instead, the resulting equation loses its compact elegance—a natural mathematical framing referred to as a canonical relationship. However, applying Equation 1 directly requires functional models that relate variables like \( T \), \( P \), and \( \mu_i \) back to \( S \), \( V \), and \( \bar{n} \). Because such models are rare and typically impractical for standard chemical engineering applications, it is often more useful to mathematically eliminate entropy as an independent variable. We do this using an operation called a Legendre transformation: \[ dU - d(TS) = T dS - P dV + \sum_r \mu_r dn_r ...

Fundamental Relations in Thermodynamics: The First and Second Laws (Post #1)

First Law of Thermodynamics for a closed system, starting from the universal principle of conservation of energy . 1. Total Energy Conservation: Because the universe is isolated, the sum of all energy changes must equal zero: energy cannot be created or destroyed: $$\Delta(E_{kin} + E_{pot} + U)_{Sys} + \Delta(E_{kin} + E_{pot} + U)_{Surr} = 0\tag{1}$$  The universe is divided into two parts: the System ( Sys , the region of interest) and the Surroundings ( Surr , everything else) . The total energy of any body or region consists of: \(E_{kin}\): macroscopic kinetic energy (movement of the center of mass) \(E_{pot}\):  macroscopic potential energy (position in external fields, like gravity) . \(U\): microscopic internal energy (molecular vibrations, rotations, electronic states, intermolecular forces) 2. Practical Approximations & Boundary Transfers $$\Delta(U)_{Sys} = -\Delta(E_k + E_p + U)_{Surr} = Q + W\tag{2}$$  Neglecting macroscopic motion of the system: In ...