-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: mencoba menggunakan ke branch release Signed-off-by: slowy07 <[email protected]> * feat: menambahkan ketinggian barometrik menghitung ketinggian dengan menggunakan rumus barometrik, menggunakan daripada menggunakan prinsip penurunan tekanan udara dengan meningkatnya ketinggian rumus: kettingian = 44330 * [1 - (P/p0)^(1/5.255) dimana: p = tekanan yang sudah terukur p0 = tekanan udara standard pada permukaan laut (101325 Pa) Signed-off-by: slowy07 <[email protected]> --------- Signed-off-by: slowy07 <[email protected]>
- Loading branch information
Showing
4 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import OpenSeries.fisika as fisika | ||
|
||
# tekanan udara | ||
tekanan = 100_000.0 | ||
# memanggil fungsi dari ketinggian barometrik | ||
hasil = fisika.ketinggian_barometrik(tekanan) | ||
print(f"tekanan: {tekanan} Pa, Ketinggian adalah: {hasil} meter") |
This file contains 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
This file contains 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