Skip to content

Displaying Math Equations from ChatGPT Responses #40

@tobitech

Description

@tobitech

Hello, I got a response from ChatGPT and tried to display it with LaTexSwiftUI but it didn't work:

Here is the response:

To solve the equation \(3x + 5 = 4\), follow these steps:
what format is this string of text:
1. Subtract 5 from both sides of the equation to isolate the term with \(x\):
   \[
   3x + 5 - 5 = 4 - 5
   \]
   Simplifying this, we get:
   \[
   3x = -1
   \]
2. Divide both sides by 3 to solve for \(x\):
   \[
   x = \frac{-1}{3}
   \]
So, the solution to the equation \(3x + 5 = 4\) is:
\[
x = -\frac{1}{3}
\]

When I tried it I get an error: Undefined control sequence \(
I don't know what I need to do to be able to display this type of response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions