Beobachtungsvektor Näherung Numerisch: Strecken fertig
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import sympy as sp
|
||||
from decimal import Decimal
|
||||
import math
|
||||
|
||||
class Berechnungen:
|
||||
def __init__(self, a, b):
|
||||
@@ -54,4 +56,10 @@ class Einheitenumrechnung:
|
||||
|
||||
def ppb(ppb):
|
||||
ppb *= 10 ** (-9)
|
||||
return ppb
|
||||
return ppb
|
||||
|
||||
def gon_to_rad_Decimal(gon):
|
||||
gon = Decimal(gon)
|
||||
pi = Decimal(str(math.pi))
|
||||
rad = (gon / Decimal(200)) * pi
|
||||
return rad
|
||||
Reference in New Issue
Block a user