{{ message }}
Add algorithm for Casimir Effect - #7141
Merged
Merged
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
CaedenPH
reviewed
Oct 14, 2022
CaedenPH
left a comment
Contributor
There was a problem hiding this comment.
Instead of passing 0, how about all arguments are None, and whichever argument isnt passed is evaluated. Otherwise, something may break if a legitimate value of a parameter is 0
In addition, instead of returning a dictionary of the missing value, you can just return the missing value
Contributor
Author
cclauss
reviewed
Oct 15, 2022
|
|
||
| SPEED_OF_LIGHT = 3e8 # unit of c : m * s^-1 | ||
|
|
||
| PI = 3.14 |
for more information, see https://pre-commit.ci
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Describe your change:
I implemented an algorithm to find out the magnitudes of either Force of attraction, distance or surface area of any of the two parallel plates in vacuum between which there is an existence of Casimir effect, using the general equation for Casimir effect, provided the values of the any of the two parameters are non-zero numbers.
Checklist:
Fixes: #{$ISSUE_NO}.