Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # S = N*(1-P)*LD
- # DFile = N * L/1
- # P = 1-(1-Pe)**L
- Pe = 0.0001
- while True:
- LD = int(input("LD Value:"))
- L = LD + 448
- P = 1-(1-Pe)**L
- N = 16000000000/LD
- S = N*(1-P)*LD
- DFile = N * L/1
- print(str("P = ")+str(P))
- print(str("N = ")+str(N))
- print(str("S = ")+str(S))
- print(str("DFile = ")+str(DFile))
- print("\n")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement