j], 4) [i] [- 1]=round (p [i] [- 1]) p [i] += 1p=int (sys.argv [1])=rand.gen_r (rand.gen_u (n0))=rand.u_vih (p)=calc.mat_o (mv)=calc.sko (mv, mo)=calc.dop (sko, mo) _eksp=calc.n_eksp (sko, mo) (p) mat. oszidanie=, mo sko=, sko dopusk=+/- , dop, % chislo realizaciy=, n_eksp
Модуль calcmathmat_o (mv):=len (mv), s=0, 0i lt; n0: +=mv [i] +=1=round (s/n0, 4) mosko (mv, mo):=len (mv), s=0, 0i lt; n0: +=math.pow (mv [ i] -mo, 2) +=1=math.sqrt (s/(n0-1))=round (s, 4) sdop (sko, mo):=round (sko * 3/mo * 100, 4) dpn_eksp (sko, mo):=0.02 * 0.02 * mo=round (4 * math.pow (sko, 2) /math.pow (delt, 2)) n
Модуль randrandomgen_u (n0) :, q=[], []=0=range (10) _min, u_max=50-50 * 0.02, 50 + 50 * 0.02, s=50, 50 * 0.02/3i lt; n0: j in x:=0=0ys!=1:=random.normalvariate (m, s) u_min lt;=ra lt;=u_max:=1.append (ra) .append (q)=[] += 1pgen_r (p):=[], r, ys=0, 0, 0=len (p)=range (5) _min, r_max=10-10 * 0.1, 10 + 10 * 0.1_n_min, r_n_max=10-10 * 0.05, 10 + 10 * 0.05=10_n, s=10 * 0.05/3, 10 * 0.1/3i lt; n0: j in x:=random.uniform (r_n_min, r_n_max) .append (r), r=0, 0ys!=1:=random.normalvariate (m, s) r_min lt;=r lt;=r_max:= 1.append (r), r=0, 0 [i] .append (q [0]) [i] .append (q [1])=[] +=1pu_vih (p):=[]=len ( p), u=0, 0=range (10) i lt; n0: j in x: +=p [i] [j] * 39/p [i] [j + 10] [i] .append (u) .append (u)=0 +=1
return uv
Додаток В
Малюнок В.1- Графічна реалізація програми