Transformationen

This commit is contained in:
2025-12-01 11:06:23 +01:00
parent 205d67f773
commit 11205c2468
5 changed files with 55 additions and 30 deletions

18
Einheitenumrechnung.py Normal file
View File

@@ -0,0 +1,18 @@
import sympy as sp
class Einheitenumrechnung:
def __init__(self):
pass
def mas_to_rad(mas):
umrechnungsfaktor = 1 / 1000 * 1 / 3600 * sp.pi / 180
grad = mas * umrechnungsfaktor
return grad
def mm_to_m(mm):
m = mm / 1000
return m
def ppb(ppb):
ppb *= 10 ** (-9)
return ppb