repl.it
@MarkoPavlovic/

Proracun za ripl

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#ripl struje kalema
print("evo ooooo   ")
vout=5
d=0.34
deltaIl=0.15
fs=100000
formulaL=(vout*(1/2-d)*d)/(deltaIl*fs)
print(formulaL)
#ripl napona na izlazu

deltaVout=0.066
cout=deltaIl/(16*fs*deltaVout)
print(cout)

#ripl napona na flajbek kondenzatoru
d=0.34
I=5
deltavfly=0.1
cfly=d*I/(deltavfly*fs)
print(cfly)