Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Critical Point Calculator #1826

Merged

Conversation

Maana-Ajmera
Copy link
Contributor

@Maana-Ajmera Maana-Ajmera commented Aug 8, 2024

Fixes Issue🛠️

Closes #1610

Description👨‍💻

Added the critical point calculator with following features ,
Creating a critical point calculator for ideal gases involves calculating the critical temperature, critical pressure, and critical volume based on the Van der Waals equation of state.

The critical point of an ideal gas is a set of specific thermodynamic conditions where the distinction between the gas and liquid phases disappears. At this point:

Critical Temperature (Tc): This is the highest temperature at which the gas can be liquefied by applying pressure. Above this temperature, no amount of pressure can cause condensation into a liquid phase.

Critical Pressure (Pc): The critical pressure is the pressure required to liquefy the gas at its critical temperature. Below this pressure, the gas cannot be liquefied by any means.

Critical Volume (Vc): This is the molar volume of the gas at the critical point, where the densities of the gas and liquid phases become equal.

Type of Change📄

  • New feature (non-breaking change which adds functionality)

Checklist✅

  • I am an Open Source contributor
  • I have performed a self-review of my code
  • My code follows the style guidelines of this project
  • I have commented on my code, particularly in hard-to-understand areas

Screenshots/GIF📷

Screen.Recording.2024-08-08.at.5.28.00.PM.mov

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Maana-Ajmera, Welcome to the project CalcDiverse! 🎊
Thanks for your contribution! Your effort makes this project better. Keep it up! 🙌
Please wait for the PR to be reviewed. Happy Coding!! ✨

Copy link

netlify bot commented Aug 8, 2024

Deploy Preview for calcdiverse ready!

Name Link
🔨 Latest commit 6f3e0eb
🔍 Latest deploy log https://app.netlify.com/sites/calcdiverse/deploys/66b6693f6debb90008c8855b
😎 Deploy Preview https://deploy-preview-1826--calcdiverse.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Maana-Ajmera
Copy link
Contributor Author

@Rakesh9100 Please review my PR and merge it

@Nihal4777
Copy link

@Maana-Ajmera Add your calc in main index.html file of the project in alphabetical order.

@Nihal4777
Copy link

Also please add appropriate conditions for 0 values.
image

@Maana-Ajmera
Copy link
Contributor Author

@Nihal4777 and @Rakesh9100 done the required things

@Nihal4777
Copy link

@Rakesh9100 This PR is reviewed & can be merged.

@Rakesh9100 Rakesh9100 changed the title Added critical point calculator Added Critical Point Calculator Aug 10, 2024
@Rakesh9100 Rakesh9100 merged commit 7feface into Rakesh9100:main Aug 10, 2024
4 checks passed
Copy link

Congrats, Your pull request has been successfully merged 🥳🎉 Thank you for your contribution to my project 🚀 Keep Contributing!! ✨ @Maana-Ajmera

@Rakesh9100 Rakesh9100 added Completed 🥳 PR successfully merged and issue resolved on completion gssoc GSSOC Open Source Program level3 Advanced task labels Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Completed 🥳 PR successfully merged and issue resolved on completion gssoc GSSOC Open Source Program level3 Advanced task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Add Critical Point Calculator
3 participants