Advertisement
sashachca

Untitled

Apr 10th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Octave 0.86 KB | None | 0 0
  1. >> MC_LR_2_SALNIKOVA
  2.  
  3.  Variant is 14
  4.  [a, b] = [1.14, 3.8],
  5.  sigma = 1.14, lambda = 1.14
  6.  
  7. %----------
  8.   %TASK NUMBER 1
  9.  
  10. pi = { 0.0226087, 0.0986358, 0.235664, 0.308872, 0.222193, 0.0876711, 0.0189404, 0.00223463 }
  11. |wi - pi| = { 0.00739129, 0.0186358, 0.0306642, 0.00387244, 0.0428071, 0.0276711, 0.0210596, 0.0127654 }
  12. max{|wi - pi|} = 0.0428071
  13.  
  14. %----------
  15.   %TASK NUMBER 2
  16.  
  17. pi = { 0.457726, 0.248213, 0.134599, 0.0729898, 0.0395805, 0.0214635, 0.0116391, 0.00631158 }
  18. |wi - pi| = { 0.0622743, 0.0217871, 0.0545995, 0.0120102, 0.0245805, 0.00646349, 0.0016391, 0.00131158 }
  19. max{|wi - pi|} = 0.0622743
  20.  
  21. %----------
  22.   %TASK NUMBER 3
  23.  
  24. pi = { 0.110442, 0.110442, 0.110442, 0.110442, 0.110442, 0.110442, 0.110442, 0.110442 }
  25. |wi - pi| = { 0.0545583, 0.00544173, 0.0154417, 0.00955827, 0.0195583, 0.0245583, 0.0295583, 0.000441729 }
  26. max{|wi - pi|} = 0.0545583
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement