Uh oh!
There was an error while loading. Please reload this page.
Added Altitude Pressure equation - #8909
Conversation
for more information, see https://pre-commit.ci
…thon into Altitude-Equation
| "python.linting.pylintEnabled": true, | ||
| "python.linting.enabled": true |
There was a problem hiding this comment.
Please revert this change. This repo not use pylint. Instead, we use ruff that includes the pylint rules.
Line 111 in d31750a
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Christian Clauss <cclauss@me.com>
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Christian Clauss <cclauss@me.com>
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Christian Clauss <cclauss@me.com>
cclauss
left a comment
There was a problem hiding this comment.
Cool algorithm... Just a few more tests.
| >>> get_altitude_at_pressure(pressure=100000) | ||
| 105.47836610778828 |
There was a problem hiding this comment.
Please make tests for H ~= sea level, H ~= 100 meters (the current test), H ~= 1,750 (altitude of my house) also a zero pressure, a negative pressure, and a pressure greater than 101,325... The last few should prove that the code raises ValueErrors like...
Python/arithmetic_analysis/bisection.py
Lines 9 to 12 in d31750a
Uh oh!
There was an error while loading. Please reload this page.
Describe your change:
Checklist: