Skip to main content

Thuy_toanhoc

Thư viện toán học cơ bản được tạo bởi Hoang Thuy.

Cài đặt

pip install Thuy_toanhoc

Các hàm có sẵn

Phép tính cơ bản

Hàm Mô tả Ví dụ
cong(a, b) Cộng hai số cong(3, 4)7
tru(a, b) Trừ hai số tru(10, 3)7
nhan(a, b) Nhân hai số nhan(3, 4)12
chia(a, b) Chia hai số chia(10, 2)5.0

Hình chữ nhật

Hàm Mô tả Ví dụ
chu_vi_HCN(dai, rong) Chu vi HCN chu_vi_HCN(5, 3)16
dien_tich_HCN(dai, rong) Diện tích HCN dien_tich_HCN(5, 3)15

Ví dụ sử dụng

from Thuy_toanhoc import cong, tru, nhan, chia, chu_vi_HCN, dien_tich_HCN

# Phép tính cơ bản
print(cong(10, 5))          # 15
print(tru(10, 5))           # 5
print(nhan(10, 5))          # 50
print(chia(10, 5))          # 2.0

# Hình chữ nhật
print(chu_vi_HCN(8, 4))    # 24
print(dien_tich_HCN(8, 4)) # 32

Tác giả

Hoang Thuy — Thư viện toán học cho học sinh

Release files for Nguyen-Viet-Anh 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Nguyen-Viet-Anh 0.1.0
File Size Uploaded
nguyen_viet_anh-0.1.0.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Nguyen-Viet-Anh 0.1.0
File Interpreter ABI Platform
nguyen_viet_anh-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.0 kB

Release files / nguyen_viet_anh-0.1.0.tar.gz

Download URL nguyen_viet_anh-0.1.0.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
37234332e70ebbdcc0337e631d58168c108d50a9e6f2e1de7362dfaf0b33bf60
BLAKE2b-256 checksum
How to use checksums
9b63ec1c90254414ef5abfbd6ad50b20c63084dafb7f2da00f99f24684850f4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / nguyen_viet_anh-0.1.0-py3-none-any.whl

Download URL nguyen_viet_anh-0.1.0-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fb5100565273a9a22d2ed0b4b119a7e07553f87a3d078bb4d2565320aeaa0d8
BLAKE2b-256 checksum
How to use checksums
c8543c2e35126bae92aa9ac7fc34665eb00daba49761c10ffa559cd94dcbef21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release history Release notifications | RSS feed

0.1.1

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page