Attachment 'koax1.py'

Download

   1 #!/usr/bin/python
   2 # Uloha KOAX1
   3 # Vytvoril Radek Podgorny <radek@podgorny.cz>
   4 
   5 from math import *
   6 
   7 eps0 = 8.854187817 * 10**-12 #epsilon nula
   8 Emax = 4000000 #el. pevnost
   9 mi = pi * 4e-07
  10 
  11 # Tady zadej svoje parametry
  12 Rin = 0.001342 #vnitrni prumer
  13 Rout = 0.01328 #vnejsi prumer
  14 R1 = 0.004981
  15 R2 = 0.007046
  16 R3 = 0.006388
  17 epsr = 46.59
  18 U12 = 6.75 #napeti mezi R1 a R2
  19 fi1 = -3.479 #potencial v R1
  20 
  21 
  22 tau = U12 * (2*pi*eps0*epsr)/log(R2/R1);
  23 
  24 K = fi1 + tau/(2*pi*eps0*epsr) * log(R1);
  25 
  26 C = (2*pi*eps0*epsr)/log(Rout/Rin);
  27 
  28 fi3 = -tau/(2*pi*eps0*epsr) * log(R3) + K;
  29 
  30 Lout = mi/(2*pi) * log(Rout/Rin);
  31 
  32 Lin = mi/(8*pi);
  33 
  34 U = Emax*Rin*log(Rout/Rin);
  35 Pmax = U*U/10;
  36 
  37 
  38 print("Liniova hustota tau je " + str(tau) + " C/m")
  39 print("Int. konstanta je " + str(K))
  40 print("Kapacita jednoho metru kabelu je " + str(C) + " F")
  41 print("Potencial fi3 je " + str(fi3))
  42 print("Vnejsi indukcnost 1m kabelu je " + str(Lout))
  43 print("Vnitrni indukcnost 1m vnitr. vodice kabelu je " + str(Lin))
  44 print("Max vykon do zateze 10ohm " + str(Pmax))

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2004-10-02 15:36:47, 1.1 KB) [[attachment:coul1.py]]
  • [get | view] (2004-10-02 15:36:48, 1.0 KB) [[attachment:koax1.py]]
  • [get | view] (2004-10-02 15:36:48, 1.2 KB) [[attachment:magn1.py]]
  • [get | view] (2004-10-02 15:36:48, 2.1 KB) [[attachment:roh1.py]]
  • [get | view] (2004-10-02 15:36:48, 0.8 KB) [[attachment:vlna1.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.