• @skillissuer@discuss.tchncs.de
    link
    fedilink
    3
    edit-2
    1 year ago

    while i get that at some point chatgpt could have been mildly good at bolierplate programming, it’s much worse at chemistry. just ask it how to make aspirin

    • @Kayel@aussie.zone
      link
      fedilink
      41 year ago

      I’m assuming they’ve blocked out chemistry from the training data. It’s crazy how easy it is to make many things from common chemicals, the liability would be insane.

    • @Zeth0s@lemmy.world
      link
      fedilink
      3
      edit-2
      1 year ago

      Is this answer correct? I can’t judge, as I have no idea how aspirin active compound is synthetized.

      Answer from gtp-4:

      Aspirin, also known as acetylsalicylic acid (ASA), can be synthesized through a chemical reaction involving salicylic acid and acetic anhydride. Here’s the general process:

      1. Salicylic Acid Preparation (if needed): If starting from other compounds like phenol, salicylic acid may need to be synthesized first.
      2. Acetylation of Salicylic Acid: Salicylic acid is reacted with acetic anhydride. [ \text{{salicylic acid}} + \text{{acetic anhydride}} \rightarrow \text{{acetylsalicylic acid}} + \text{{acetic acid}} ]
      3. Purification: The crude product is often purified by recrystallization, typically using a solvent like ethanol or water.
      4. Drying: The purified aspirin is dried to remove any remaining solvent.
      5. Characterization: The synthesized aspirin may be characterized using methods like melting point determination, infrared spectroscopy, or other analytical techniques to ensure purity and identity.

      In a laboratory setting, the reaction is often catalyzed by an acid such as sulfuric acid, which speeds up the process. The reaction is typically carried out at a moderate temperature, such as around 80°C.

      Safety precautions must be taken as the chemicals involved can be corrosive, and proper waste disposal is necessary.