Skip to content

Instantly share code, notes, and snippets.

View louve17's full-sized avatar

louve17

  • Joined Oct 30, 2025
View GitHub Profile
@louve17
louve17 / ba_sec_esp_min.py
Last active October 31, 2025 16:19
BA_sections_espacements_minimales
# ---------- As min ----------
print("trouves fctm p52 tableau 3.13")
fctm = float(input("fctm = "))
b = float(input("b = "))
d = float(input("dreel = "))
fyk = float(input("fyk = "))
As_min = (0.26 * (fctm/fyk) * b* d)*10**(4)
print("la section minimal est de", As_min, "cm**2")
# ---------- espacement ----------
@louve17
louve17 / ba_section_acier.py
Last active October 31, 2025 15:55
BA_section -acier
# --- Calcul de As-----
h = float(input("h = "))
b = float(input("b = "))
d = 0.9 * h
print(" Med doit etre en MN.m")
Med = float(input("Med = "))
print(" fcd et fyd doivent etre en MPa")
fcd = float(input("fcd = "))
fyd = float(input("fyd = "))
@louve17
louve17 / ba_materiaux.py
Last active October 31, 2025 15:55
BA-materiaux
# --- Materiaux ---
# ---- Beton----
print("si t <= 28 jours alpha_cc = 1 si t> 28 jours alpha_cc = 0.85")
print("si gamma_c = 1.5 projet durable , gamma_c = 1.2 projet accidentel")
fck = float(input("fck = "))
alpha_cc = float(input("alpha_cc = "))
gamma_c = float(input("gamma_c = "))
# Calcul de la résistance de calcul du béton
fcd = alpha_cc * fck / gamma_c
print("Résistance de calcul du béton fcd ", fcd,"MPa")