Attachment 'vlna1.py'
Download 1 #!/usr/bin/python
2 # Uloha VLNA1
3 # Vytvoril Radek Podgorny <radek@podgorny.cz>
4
5 from math import *
6
7 Eps0 = 8.854187817 * 10**-12 #epsilon
8 mi0 = 4*pi * 10**-7
9
10
11 # Tady zadej svoje parametry
12 f = 3.56e+9 #frekvence
13 Epsr = 50.8 #relativni repmitivita
14 Sigma = 34.5 #vodivost prostredi
15 Em = 54.3 #amplituda
16 z1 = -0.0011 #poloha
17 t1 = 4.78e-10 #cas
18
19 omega = 2*pi*f
20 Eps = Eps0*Epsr
21
22 k = (-1j*omega*mi0*(Sigma+1j*omega*Eps))**0.5
23 alpha = k.real
24 beta = -k.imag
25 lamb = 2*pi/alpha
26
27 print("Alfa je " + str(alpha))
28 print("Beta je " + str(beta))
29 print("Vlnova delka je " + str(lamb))
30
31 Z = (1j*omega*mi0/(1j*omega*Eps+Sigma))**0.5
32
33 print("Realna cast impedance prostredi je " + str(Z.real))
34 print("Imaginarni cast impedance prostredi je " + str(Z.imag))
35
36 H = Em/Z
37
38 print("Okamzita hodnot intenz. magn. pole je " + str(H.real))
39
40 print(e)
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.You are not allowed to attach a file to this page.