Skip to main content

Thư Viện canhungdung_toanhoc_th2911

Thư viện hỗ trợ tính toán toán học và hình học cơ bản viết bằng Python.

  • Tác giả: Cấn Hùng Dũng
  • Lớp: TH29.11
  • Khoa: Công Nghệ Thông Tin - HUBT

Các chức năng chính

  1. 4 phép tính cơ bản:
    • cong(a, b): Tính tổng $a + b$
    • tru(a, b): Tính hiệu $a - b$
    • nhan(a, b): Tính tích $a \times b$
    • chia(a, b): Tính thương $a / b$ (có kiểm tra chia cho 0 an toàn)
  2. Hình học cơ bản:
    • chuvi_hcn(dai, rong): Tính chu vi hình chữ nhật
    • dientich_hcn(dai, rong): Tính diện tích hình chữ nhật

Hướng dẫn cài đặt

pip install canhungdung-toanhoc-th2911

Hoặc cài đặt từ mã nguồn cục bộ:

pip install -e .

Ví dụ sử dụng

from canhungdung_toanhoc import cong, tru, nhan, chia, chuvi_hcn, dientich_hcn

print("Tổng:", cong(10, 5))          # 15
print("Hiệu:", tru(10, 5))          # 5
print("Tích:", nhan(10, 5))         # 50
print("Thương:", chia(10, 5))       # 2.0
print("Chu vi HCN:", chuvi_hcn(8, 4))      # 24
print("Diện tích HCN:", dientich_hcn(8, 4)) # 32

Release files for canhungdung-toanhoc-th2911 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 canhungdung-toanhoc-th2911 0.1.0
File Size Uploaded
canhungdung_toanhoc_th2911-0.1.0.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for canhungdung-toanhoc-th2911 0.1.0
File Interpreter ABI Platform
canhungdung_toanhoc_th2911-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / canhungdung_toanhoc_th2911-0.1.0.tar.gz

Download URL canhungdung_toanhoc_th2911-0.1.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e1959f8ed92f7e85619f0c432bb4e5fd79c83c35913832ee4643f6883fe5c254
BLAKE2b-256 checksum
How to use checksums
78796ea14d7aa2994b9606edc3896042103e3a5c11e8fa464ecfc3a22ff91e68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

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

Download URL canhungdung_toanhoc_th2911-0.1.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6e657d23e90df77cbc7ded2cb171cae33b5d545ee7f6f816d179f26f8bc61a6
BLAKE2b-256 checksum
How to use checksums
f4294d6d4c391a5403a702b2aca72e8cf1c5cb897d83ee278a872c747047974e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release history Release notifications | RSS feed

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