File:Dieterici gas inversion temperature plot.png

From testwiki
Jump to navigation Jump to search
    Original file (523 × 525 pixels, file size: 30 KB, MIME type: image/png)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: The reduced inversion temperature of a Dieterici gas, as a function of its reduced pressure. Reproduced from Figure 17 of Pippard "Elements of Classical Thermodynamics" page 75.

    ```python import numpy as np import matplotlib.pyplot as plt

    1. Define the range of y

    y = np.linspace(0.1, 7.99, 400)

    1. Define z based on y

    z = 4 / (8 - y)

    1. Calculate x based on y and z

    x = np.exp(2 - 2/(y*z)) * y / (2*z - 1)

    1. Create the plot

    plt.figure(figsize=(6, 6)) # Set figsize to (6, 6) plt.plot(x, y) plt.scatter(1, 1, color='red', label="critical point") # Add a red spot at (1, 1) plt.xlabel('Reduced Pressure') plt.ylabel('Reduced Temperature') plt.legend() plt.grid(True) plt.show()

    ```
    Date
    Source Own work
    Author Cosmia Nebula

    Licensing

    I, the copyright holder of this work, hereby publish it under the following license:
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    5 July 2023

    image/png

    30,430 byte

    525 pixel

    523 pixel

    1bb2e2e0931b87ddd877e79120d527ae0855b003

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current02:32, 6 July 2023Thumbnail for version as of 02:32, 6 July 2023523 × 525 (30 KB)wikimediacommons>Cosmia NebulaUploaded while editing "Joule–Thomson effect" on en.wikipedia.org

    There are no pages that use this file.