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

[Feature] Add Atomic Composition Calculator #712

Closed
4 of 7 tasks
govinddwivedi-git opened this issue May 12, 2024 · 14 comments · Fixed by #1669
Closed
4 of 7 tasks

[Feature] Add Atomic Composition Calculator #712

govinddwivedi-git opened this issue May 12, 2024 · 14 comments · Fixed by #1669
Assignees
Labels
calculator addition 📱 Addition of new calculator enhancement ✨ New feature or request gssoc GSSoC 2k24 Open Source Program level3 GSSoC2k24 Level-3 Task -- 45 Points

Comments

@govinddwivedi-git
Copy link

govinddwivedi-git commented May 12, 2024

Description

  1. Input: The user inputs the mass of the substance and its molar mass (in grams per mole).

  2. Calculate Moles: The calculator calculates the number of moles of the substance.

  3. Calculate Number of Electrons, Protons, and Neutrons: This part depends on the substance. If the substance is an atom (not an ion), you can determine the number of electrons, protons, and neutrons based on its atomic number (Z) and mass number (A).

    • Number of protons (Z) = atomic number (provided for each element)
    • Number of electrons (Z) = number of protons (for a neutral atom)
    • Number of neutrons (N) = mass number (A) - number of protons (Z)
  4. Output : The calculator displays the number of moles of the substance, as well as the number of electrons, protons, and neutrons.

  5. Optional Features:

    • Error Handling: Ensure the user inputs valid values and handle any potential errors gracefully.
    • Support for Ions: Extend the calculator to handle ions by allowing the user to input the charge, which would affect the number of electrons.
    • Interactive Interface: Develop a user-friendly interface that guides the user through the process step by step.

Screenshots

No response

Checklist

  • I have checked the existing issues.
  • I follow Contributing Guidelines of this project.
  • I am a GSSOC'24 contributor.
  • I am a IWOC'24 contributor.
  • I am a JWOC'24 contributor.
  • I am a SWOC'24 contributor.

Code of Conduct

Copy link

Hey @govinddwivedigit, Welcome to the project CalcDiverse! 🎊
Thanks for opening an issue! 🙌 Please wait for the issue to be assigned. Happy Coding!! ✨

@govinddwivedi-git
Copy link
Author

Can you assign this issue to me ?

@Rakesh9100
Copy link
Owner

Can you pls tell the proper name for your calculator @govinddwivedi-git

@Rakesh9100 Rakesh9100 added the question 🤔 Further information is requested label May 23, 2024
@govinddwivedi-git
Copy link
Author

"Atomic Composition Calculator" @Rakesh9100

@Rakesh9100
Copy link
Owner

Proceed @govinddwivedi-git

@Rakesh9100 Rakesh9100 added gssoc GSSoC 2k24 Open Source Program and removed question 🤔 Further information is requested labels May 27, 2024
@Rakesh9100 Rakesh9100 changed the title [Feature] Number of moles of substance & number of electron , proton and neutron calculator. Add Atomic Composition Calculator May 27, 2024
@Rakesh9100 Rakesh9100 changed the title Add Atomic Composition Calculator [Feature] Add Atomic Composition Calculator May 27, 2024
@Rakesh9100
Copy link
Owner

Pls provide your PR @govinddwivedi-git

@Rakesh9100 Rakesh9100 added question 🤔 Further information is requested up for grab ✋ This issue is up to be assigned and removed question 🤔 Further information is requested labels May 31, 2024
@debangi29
Copy link
Contributor

I am ready to work on it @Rakesh9100
Please assign me the issue
Thank You :)

@Rakesh9100
Copy link
Owner

Go ahead @debangi29

@Rakesh9100 Rakesh9100 removed the up for grab ✋ This issue is up to be assigned label Jun 5, 2024
@Rakesh9100
Copy link
Owner

Pls provide your PR @debangi29

@Rakesh9100 Rakesh9100 added question 🤔 Further information is requested up for grab ✋ This issue is up to be assigned and removed question 🤔 Further information is requested labels Jun 21, 2024
@bharat-c27
Copy link
Contributor

Hello @Rakesh9100, please assign me the issue I can work on this.

@Rakesh9100
Copy link
Owner

Go ahead @bharat-c27

@Rakesh9100 Rakesh9100 removed the up for grab ✋ This issue is up to be assigned label Jul 6, 2024
@Rakesh9100
Copy link
Owner

Pls provide your PR @bharat-c27

@Rakesh9100 Rakesh9100 added the question 🤔 Further information is requested label Jul 12, 2024
@bharat-c27
Copy link
Contributor

Sure, I am working on it.
I will provide you tomorrow

Copy link

Hello @govinddwivedi-git! Your issue #712 has been closed. Thank you for your contribution!! 🙌

@Rakesh9100 Rakesh9100 added enhancement ✨ New feature or request calculator addition 📱 Addition of new calculator level3 GSSoC2k24 Level-3 Task -- 45 Points and removed question 🤔 Further information is requested labels Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
calculator addition 📱 Addition of new calculator enhancement ✨ New feature or request gssoc GSSoC 2k24 Open Source Program level3 GSSoC2k24 Level-3 Task -- 45 Points
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants