Tuesday, June 23, 2020

Python Class 165 (Transformer Formula) - Kapil

print ("*** Application to calculate the transformer formula ***")

print ("\n")

# primary voltage (Vp = Np / Ns * Vs)

NPV = float(input("Please enter the number of turns in the primary:"))
NSV = float(input("Please enter number of turns in the secondary:"))
VSV = float(input("Please enter the secondary voltage:"))

VPV1 = NPV / NSV 

VPV2 = VPV1 * VSV

print ("\n")

print("The the transformer formula value (Vp) is: %.2f" %VPV2,"V")


===============================================================

https://github.com/bornfreesoul/PythonLessons

https://www.youtube.com/channel/UCe0rLJmSQXNoK2Mo2eMVuvg

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Blockchain: 101 (By - Kapil Sharma)

 https://testing-mines.blogspot.com/2021/10/blockchain-101-by-kapil-sharma.html Blockchain through the following attributes: Distributed:  T...