Skip to content

Instantly share code, notes, and snippets.

View maxencepicard52-ctrl's full-sized avatar

maxencepicard52-ctrl

View GitHub Profile
from math import *
s = float(input('Coefficient de sécurité\n'))
d = float(input('Diaemetre filetage M [mm] (cf tableau)\n'))
seq = float(input('Section resistante [mm^2] (cf tableau)\n'))
n = float(input('Effort presseur [N]\n'))
s_qual = int(input('1er chiffre vis (S)\n'))
y_qual = int(input('2nd chiffre vis (Y)\n'))
re = s_qual*y_qual*10
fmax = 0.9*re*seq
@maxencepicard52-ctrl
maxencepicard52-ctrl / calculroulement.py
Last active December 13, 2025 17:29
calcul roulement
from math import *