{"id":301682,"date":"2020-04-11T21:00:17","date_gmt":"2020-04-11T21:00:17","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=301682"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=301682","title":{"rendered":"\u041a\u0430\u043a \u044f \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043e\u0442 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u043d\u044f"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/496782\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/xn\/6c\/pp\/xn6cppynephqqxojrt79eugvpg8.png\"\/><\/p>\n<p>  \u041e\u0447\u0435\u043d\u044c \u0447\u0430\u0441\u0442\u043e, \u043f\u0440\u0438 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0441\u0438\u0433\u043d\u0430\u043b\u043e\u0432 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0434\u043b\u0438\u043d\u043d\u0443 \u0432\u0435\u043a\u0442\u043e\u0440\u0430, \u043e\u0431\u044b\u0447\u043d\u043e \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0435 A=SQR(X^2+Y^2). \u0417\u0434\u0435\u0441\u044c \u0432\u043e\u0437\u0432\u0435\u0441\u0442\u0438 \u0432 \u043a\u0432\u0430\u0434\u0440\u0430\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e, \u043d\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u043d\u044f \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0435\u0439, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u0440\u043d\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u043d\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, \u0438 \u0434\u043b\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0442\u0430\u043a\u0438\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u043c\u043d\u043e\u0433\u043e, \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0441\u043b\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0440\u0435\u043c\u044f, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0434\u043b\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439.<\/p>\n<p>  \u0421 \u0442\u0430\u043a\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0438 \u044f. \u041e \u0442\u043e\u043c \u043a\u0430\u043a \u044f \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u0440\u043d\u044f, \u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u043d\u0438\u0436\u0435.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430, \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0447\u0435\u0442\u044b\u0440\u0435 \u0432\u0435\u043a\u0442\u043e\u0440\u0430, \u043e\u043d\u0438 \u043b\u0435\u0436\u0430\u0442 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u044f\u0445.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/-h\/hc\/kr\/-hhckreoznnnevt5xbc3vkmwjr4.gif\"\/><\/p>\n<p>  \u0421\u0432\u0435\u0434\u0435\u043c \u0432\u0441\u0435 \u0432 \u043e\u0434\u043d\u0443 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u044c \u2014 \u0432 \u043f\u0435\u0440\u0432\u0443\u044e. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0443 Y \u0438 \u0435\u0441\u043b\u0438 \u043e\u043d\u0430 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f, \u0442\u043e \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u043c \u0435\u0435 \u0432 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0441\u043b\u0438 \u043e\u043d\u0430 \u0438 \u0442\u0430\u043a \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f, \u0442\u043e \u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0432\u0441\u0435 \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439.<\/p>\n<p>  \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0443 \u043c\u0435\u043d\u044f \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u044b\u0435 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u0432 \u0446\u0435\u043b\u044b\u0445 \u0447\u0438\u0441\u043b\u0430\u0445 \u0431\u0435\u0437 \u0437\u043d\u0430\u043a\u0430, \u0442\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u043c \u043c\u043e\u0434\u0443\u043b\u044c.<\/p>\n<p>  \u0415\u0441\u043b\u0438 Y&gt;2047, \u0442\u043e Y=Y-2047<br \/>  \u0415\u0441\u043b\u0438 Y&lt;=2047, \u0442\u043e Y=2047-Y<\/p>\n<p>  \u0417\u0434\u0435\u0441\u044c 2047 \u044d\u0442\u043e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u043d\u0443\u043b\u044c, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u044f \u0440\u0430\u0431\u043e\u0442\u0430\u043b, \u043a\u043e\u0433\u0434\u0430 \u0438\u0437\u043e\u0431\u0440\u0435\u0442\u0430\u043b \u044d\u0442\u043e\u0442 \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434, \u0431\u044b\u043b\u0438 \u0410\u0426\u041f 12 \u0431\u0438\u0442.<\/p>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/qu\/bj\/by\/qubjbyblpfgzbduunhij6mvypqo.gif\"\/><\/p>\n<p>  \u0418 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0442\u043e-\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0434\u043b\u044f \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b X.<\/p>\n<p>  \u0415\u0441\u043b\u0438 X&gt;2047, \u0442\u043e X=X-2047<br \/>  \u0415\u0441\u043b\u0438 X&lt;=2047, \u0442\u043e X=2047-X<\/p>\n<p>  \u041a\u0441\u0442\u0430\u0442\u0438 \u0441\u0442\u043e\u0438\u0442 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u043e\u0442 \u0434\u0432\u0443\u0445 12\u0442\u0438 \u0431\u0438\u0442\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0434\u0432\u0430 11\u0442\u0438 \u0431\u0438\u0442\u043d\u044b\u0445.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/cr\/iz\/b3\/crizb3arbdpu9rh98zwih17doqe.gif\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c, \u0432\u0441\u0435 \u0432\u0435\u043a\u0442\u043e\u0440\u044b \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u0438, \u043d\u043e \u0432\u0435\u0434\u044c \u0438\u0445 \u0434\u043b\u0438\u043d\u043d\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0438\u0449\u0435\u043c, \u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0430\u0441\u044c.<\/p>\n<p>  \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u044d\u0442\u0430\u043f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0439: \u00ab\u0432\u044b\u0432\u0435\u0440\u043d\u0435\u043c \u0432\u043e\u043a\u0440\u0443\u0433 \u043e\u0441\u0438 45 \u0433\u0440\u0430\u0434\u0443\u0441\u043e\u0432\u00bb.<\/p>\n<p>  \u0412\u0435\u043a\u0442\u043e\u0440\u044b \u043c\u043e\u0433\u0443\u0442 \u0438\u043c\u0435\u0442\u044c \u0443\u0433\u043e\u043b \u043e\u0442 \u043d\u0443\u043b\u044f \u0438 \u0434\u043e 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043e\u0432, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0435\u0441\u043b\u0438 \u0432 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u0445 \u0432\u0435\u043a\u0442\u043e\u0440\u0430 Y&gt;X, \u0442\u043e \u0443\u0433\u043e\u043b \u0432\u0435\u043a\u0442\u043e\u0440\u0430 \u043b\u0435\u0436\u0438\u0442 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 45-90 \u0433\u0440\u0430\u0434\u0443\u0441\u043e\u0432, \u0430 \u0435\u0441\u043b\u0438 Y&lt;X, \u0442\u043e \u0443\u0433\u043e\u043b \u0432\u0435\u043a\u0442\u043e\u0440\u0430 \u043c\u0435\u043d\u044c\u0448\u0435 45 \u0433\u0440\u0430\u0434\u0443\u0441\u043e\u0432. \u041d\u0443 \u0438 \u0435\u0441\u043b\u0438 X=Y, \u0442\u043e \u0443\u0433\u043e\u043b \u0432\u0435\u043a\u0442\u043e\u0440\u0430 \u0440\u0430\u0432\u0435\u043d 45 \u0433\u0440\u0430\u0434\u0443\u0441\u0430\u043c.<\/p>\n<p>  \u0421\u0432\u0435\u0434\u0435\u043c \u0432\u0435\u043a\u0442\u043e\u0440\u044b \u043a 45 \u0433\u0440\u0430\u0434\u0443\u0441\u0430\u043c.<\/p>\n<p>  \u0415\u0441\u043b\u0438 Y&gt;X, \u0442\u043e TEMP=Y, Y=X, X=TEMP (\u043c\u0435\u043d\u044f\u0435\u043c X \u0438 Y \u043c\u0435\u0441\u0442\u0430\u043c\u0438).<br \/>  \u0415\u0441\u043b\u0438 Y&lt;=X, \u0442\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u043c.<\/p>\n<p>  \u0421\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e. \u0412\u0441\u0435 \u0432\u0435\u043a\u0442\u043e\u0440\u044b \u043b\u0435\u0436\u0430\u0442 \u0432 \u0434\u0438\u0430\u043f\u043e\u0437\u043e\u043d\u0435 \u0443\u0433\u043b\u043e\u0432 \u043e\u0442 0 \u0438 \u0434\u043e 45 \u0433\u0440\u0430\u0434\u0443\u0441\u043e\u0432.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/jk\/g0\/ak\/jkg0ak_j3ciytjdq-vf5gps6lk4.gif\"\/><\/p>\n<p>  \u0425\u043e\u0447\u0443 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435, \u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u0430 \u0438\u0434\u0435\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0443\u0433\u043e\u043b \u043d\u0430 22,5 \u0433\u0440\u0430\u0434\u0443\u0441\u0430 \u0438 \u043e\u043f\u044f\u0442\u044c \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c. \u0410 \u043f\u043e\u0442\u043e\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0438 \u0432\u044b\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 12,25 \u0433\u0440\u0430\u0434\u0443\u0441\u0430. \u0418 \u0442\u0430\u043a, \u0434\u0430\u043b\u0435\u0435, \u043f\u043e\u043a\u0430 \u0432\u0435\u043a\u0442\u043e\u0440 \u043d\u0435 \u00ab\u043b\u044f\u0436\u0435\u0442\u00bb \u043d\u0430 \u043e\u0441\u044c X, \u0430 \u0442\u043e\u0433\u0434\u0430 \u0435\u0433\u043e \u0434\u043b\u0438\u043d\u043d\u0430 \u0438 \u0431\u0443\u0434\u0435\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c\u0441\u044f \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u043e\u0439 X, \u0430 Y \u0441\u0442\u0430\u043d\u0435\u0442 \u0440\u0430\u0432\u0435\u043d \u043d\u0443\u043b\u044e.<\/p>\n<p>  \u041d\u043e, \u044f \u043d\u0435 \u043f\u043e\u0448\u0435\u043b \u044d\u0442\u0438\u043c \u043f\u0443\u0442\u0435\u043c, \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0441\u0442\u0430\u0432\u043a\u0443 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u043c\u0435\u0442\u043e\u0434, \u0438 \u043a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438, \u043d\u0435 \u043f\u0440\u043e\u0433\u0430\u0434\u0430\u043b.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c Y \u043d\u0430 X, \u0430 \u043f\u043e\u0442\u043e\u043c \u0432\u0437\u044f\u0442\u044c \u0430\u0440\u043a\u043a\u043e\u0441\u0438\u043d\u0443\u0441 \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0447\u0430\u0441\u0442\u043d\u043e\u0433\u043e, \u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0443\u0433\u043e\u043b. \u0410 \u0435\u0441\u043b\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c X \u043d\u0430 \u043a\u043e\u0441\u0438\u043d\u0443\u0441 \u044d\u0442\u043e\u0433\u043e \u0443\u0433\u043b\u0430, \u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0434\u043b\u0438\u043d\u0443 \u0432\u0435\u043a\u0442\u043e\u0440\u0430.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0434\u043b\u0438\u043d\u043d\u0430 \u0432\u0435\u043a\u0442\u043e\u0440\u0430 \u0440\u0430\u0432\u043d\u0430 A=X\/COS(ATAN(Y\/X))<\/p>\n<p>  \u041a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0441\u043b\u043e\u0436\u043d\u043e, \u043a\u043e\u0433\u0434\u0430 \u044f \u0434\u0443\u043c\u0430\u043b, \u0447\u0442\u043e \u043d\u0430\u0434\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0443\u0433\u043e\u043b \u043f\u043e \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0430\u0440\u043a\u0442\u0430\u043d\u0433\u0435\u043d\u0441\u043e\u0432, \u0430 \u043f\u043e\u0442\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u043f\u043e \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043a\u043e\u0441\u0438\u043d\u0443\u0441\u043e\u0432.<\/p>\n<p>  \u041d\u043e \u0432\u0441\u0435 \u043e\u0431\u043e\u0448\u043b\u043e\u0441\u044c. \u042f \u0440\u0435\u0448\u0438\u043b, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0440\u0430\u0437\u0443 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443, \u0433\u0434\u0435 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435 Y\/X \u0430\u0434\u0440\u0435\u0441\u0443\u0435\u0442 \u044f\u0447\u0435\u0439\u043a\u0443, \u0430 \u0432 \u043d\u0435\u0439 \u00ab\u043b\u0435\u0436\u0438\u0442\u00bb \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0434\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c X, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043b\u0438\u043d\u043d\u0443 \u0432\u0435\u043a\u0442\u043e\u0440\u0430.<\/p>\n<p>  A=X\/K; \u0433\u0434\u0435 K=COS(ATAN(Y\/X))<\/p>\n<p>  \u041d\u043e \u0443\u043c\u043d\u043e\u0436\u0430\u0442\u044c \u043f\u0440\u043e\u0449\u0435 \u0447\u0435\u043c \u0434\u0435\u043b\u0438\u0442\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443:<\/p>\n<p>  A=X*K; \u0433\u0434\u0435 K=1\/COS(ATAN(Y\/X))<\/p>\n<p>  \u041f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u0432\u0441\u0435 K, \u0434\u043b\u044f \u0432\u0441\u0435\u0445 (Y\/X), \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u043d\u044b \u0437\u0430\u0440\u0430\u043d\u0435\u0435.<\/p>\n<p>  \u041f\u0440\u043e\u0441\u0447\u0438\u0442\u0430\u043d\u043d\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 2048 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u043a\u0430\u0436\u0434\u043e\u0435 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 16 \u0431\u0438\u0442. \u0422\u043e \u0435\u0441\u0442\u044c 4\u043a\u0411 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0422\u0430\u0431\u043b\u0438\u0446\u0430<\/b><\/p>\n<div class=\"spoiler_text\">Magnitude_Table<br \/>   DCW 0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800 <br \/>   DCW 0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800 <br \/>   DCW 0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800 <br \/>   DCW 0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800 <br \/>   DCW 0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800 <br \/>   DCW 0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800 <br \/>   DCW 0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800 <br \/>   DCW 0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800,0x0800 <br \/>   DCW 0x0801,0x0801,0x0801,0x0801,0x0801,0x0801,0x0801,0x0801 <br \/>   DCW 0x0801,0x0801,0x0801,0x0801,0x0801,0x0801,0x0801,0x0801 <br \/>   DCW 0x0801,0x0801,0x0801,0x0801,0x0801,0x0801,0x0801,0x0801 <br \/>   DCW 0x0801,0x0801,0x0802,0x0802,0x0802,0x0802,0x0802,0x0802 <br \/>   DCW 0x0802,0x0802,0x0802,0x0802,0x0802,0x0802,0x0802,0x0802 <br \/>   DCW 0x0802,0x0802,0x0802,0x0802,0x0802,0x0802,0x0803,0x0803 <br \/>   DCW 0x0803,0x0803,0x0803,0x0803,0x0803,0x0803,0x0803,0x0803 <br \/>   DCW 0x0803,0x0803,0x0803,0x0803,0x0803,0x0803,0x0803,0x0803 <br \/>   DCW 0x0804,0x0804,0x0804,0x0804,0x0804,0x0804,0x0804,0x0804 <br \/>   DCW 0x0804,0x0804,0x0804,0x0804,0x0804,0x0804,0x0804,0x0805 <br \/>   DCW 0x0805,0x0805,0x0805,0x0805,0x0805,0x0805,0x0805,0x0805 <br \/>   DCW 0x0805,0x0805,0x0805,0x0805,0x0806,0x0806,0x0806,0x0806 <br \/>   DCW 0x0806,0x0806,0x0806,0x0806,0x0806,0x0806,0x0806,0x0806 <br \/>   DCW 0x0806,0x0807,0x0807,0x0807,0x0807,0x0807,0x0807,0x0807 <br \/>   DCW 0x0807,0x0807,0x0807,0x0807,0x0807,0x0808,0x0808,0x0808 <br \/>   DCW 0x0808,0x0808,0x0808,0x0808,0x0808,0x0808,0x0808,0x0808 <br \/>   DCW 0x0809,0x0809,0x0809,0x0809,0x0809,0x0809,0x0809,0x0809 <br \/>   DCW 0x0809,0x0809,0x080A,0x080A,0x080A,0x080A,0x080A,0x080A <br \/>   DCW 0x080A,0x080A,0x080A,0x080A,0x080B,0x080B,0x080B,0x080B <br \/>   DCW 0x080B,0x080B,0x080B,0x080B,0x080B,0x080B,0x080C,0x080C <br \/>   DCW 0x080C,0x080C,0x080C,0x080C,0x080C,0x080C,0x080C,0x080D <br \/>   DCW 0x080D,0x080D,0x080D,0x080D,0x080D,0x080D,0x080D,0x080E <br \/>   DCW 0x080E,0x080E,0x080E,0x080E,0x080E,0x080E,0x080E,0x080E <br \/>   DCW 0x080F,0x080F,0x080F,0x080F,0x080F,0x080F,0x080F,0x080F <br \/>   DCW 0x0810,0x0810,0x0810,0x0810,0x0810,0x0810,0x0810,0x0810 <br \/>   DCW 0x0811,0x0811,0x0811,0x0811,0x0811,0x0811,0x0811,0x0811 <br \/>   DCW 0x0812,0x0812,0x0812,0x0812,0x0812,0x0812,0x0812,0x0813 <br \/>   DCW 0x0813,0x0813,0x0813,0x0813,0x0813,0x0813,0x0814,0x0814 <br \/>   DCW 0x0814,0x0814,0x0814,0x0814,0x0814,0x0814,0x0815,0x0815 <br \/>   DCW 0x0815,0x0815,0x0815,0x0815,0x0816,0x0816,0x0816,0x0816 <br \/>   DCW 0x0816,0x0816,0x0816,0x0817,0x0817,0x0817,0x0817,0x0817 <br \/>   DCW 0x0817,0x0817,0x0818,0x0818,0x0818,0x0818,0x0818,0x0818 <br \/>   DCW 0x0819,0x0819,0x0819,0x0819,0x0819,0x0819,0x0819,0x081A <br \/>   DCW 0x081A,0x081A,0x081A,0x081A,0x081A,0x081B,0x081B,0x081B <br \/>   DCW 0x081B,0x081B,0x081B,0x081C,0x081C,0x081C,0x081C,0x081C <br \/>   DCW 0x081C,0x081D,0x081D,0x081D,0x081D,0x081D,0x081D,0x081E <br \/>   DCW 0x081E,0x081E,0x081E,0x081E,0x081E,0x081F,0x081F,0x081F <br \/>   DCW 0x081F,0x081F,0x081F,0x0820,0x0820,0x0820,0x0820,0x0820 <br \/>   DCW 0x0820,0x0821,0x0821,0x0821,0x0821,0x0821,0x0822,0x0822 <br \/>   DCW 0x0822,0x0822,0x0822,0x0822,0x0823,0x0823,0x0823,0x0823 <br \/>   DCW 0x0823,0x0824,0x0824,0x0824,0x0824,0x0824,0x0824,0x0825 <br \/>   DCW 0x0825,0x0825,0x0825,0x0825,0x0826,0x0826,0x0826,0x0826 <br \/>   DCW 0x0826,0x0827,0x0827,0x0827,0x0827,0x0827,0x0828,0x0828 <br \/>   DCW 0x0828,0x0828,0x0828,0x0829,0x0829,0x0829,0x0829,0x0829 <br \/>   DCW 0x082A,0x082A,0x082A,0x082A,0x082A,0x082B,0x082B,0x082B <br \/>   DCW 0x082B,0x082B,0x082C,0x082C,0x082C,0x082C,0x082C,0x082D <br \/>   DCW 0x082D,0x082D,0x082D,0x082D,0x082E,0x082E,0x082E,0x082E <br \/>   DCW 0x082E,0x082F,0x082F,0x082F,0x082F,0x0830,0x0830,0x0830 <br \/>   DCW 0x0830,0x0830,0x0831,0x0831,0x0831,0x0831,0x0831,0x0832 <br \/>   DCW 0x0832,0x0832,0x0832,0x0833,0x0833,0x0833,0x0833,0x0833 <br \/>   DCW 0x0834,0x0834,0x0834,0x0834,0x0835,0x0835,0x0835,0x0835 <br \/>   DCW 0x0835,0x0836,0x0836,0x0836,0x0836,0x0837,0x0837,0x0837 <br \/>   DCW 0x0837,0x0837,0x0838,0x0838,0x0838,0x0838,0x0839,0x0839 <br \/>   DCW 0x0839,0x0839,0x083A,0x083A,0x083A,0x083A,0x083A,0x083B <br \/>   DCW 0x083B,0x083B,0x083B,0x083C,0x083C,0x083C,0x083C,0x083D <br \/>   DCW 0x083D,0x083D,0x083D,0x083E,0x083E,0x083E,0x083E,0x083F <br \/>   DCW 0x083F,0x083F,0x083F,0x0840,0x0840,0x0840,0x0840,0x0840 <br \/>   DCW 0x0841,0x0841,0x0841,0x0841,0x0842,0x0842,0x0842,0x0842 <br \/>   DCW 0x0843,0x0843,0x0843,0x0843,0x0844,0x0844,0x0844,0x0844 <br \/>   DCW 0x0845,0x0845,0x0845,0x0845,0x0846,0x0846,0x0846,0x0847 <br \/>   DCW 0x0847,0x0847,0x0847,0x0848,0x0848,0x0848,0x0848,0x0849 <br \/>   DCW 0x0849,0x0849,0x0849,0x084A,0x084A,0x084A,0x084A,0x084B <br \/>   DCW 0x084B,0x084B,0x084B,0x084C,0x084C,0x084C,0x084D,0x084D <br \/>   DCW 0x084D,0x084D,0x084E,0x084E,0x084E,0x084E,0x084F,0x084F <br \/>   DCW 0x084F,0x0850,0x0850,0x0850,0x0850,0x0851,0x0851,0x0851 <br \/>   DCW 0x0851,0x0852,0x0852,0x0852,0x0853,0x0853,0x0853,0x0853 <br \/>   DCW 0x0854,0x0854,0x0854,0x0854,0x0855,0x0855,0x0855,0x0856 <br \/>   DCW 0x0856,0x0856,0x0856,0x0857,0x0857,0x0857,0x0858,0x0858 <br \/>   DCW 0x0858,0x0858,0x0859,0x0859,0x0859,0x085A,0x085A,0x085A <br \/>   DCW 0x085A,0x085B,0x085B,0x085B,0x085C,0x085C,0x085C,0x085C <br \/>   DCW 0x085D,0x085D,0x085D,0x085E,0x085E,0x085E,0x085F,0x085F <br \/>   DCW 0x085F,0x085F,0x0860,0x0860,0x0860,0x0861,0x0861,0x0861 <br \/>   DCW 0x0861,0x0862,0x0862,0x0862,0x0863,0x0863,0x0863,0x0864 <br \/>   DCW 0x0864,0x0864,0x0864,0x0865,0x0865,0x0865,0x0866,0x0866 <br \/>   DCW 0x0866,0x0867,0x0867,0x0867,0x0868,0x0868,0x0868,0x0868 <br \/>   DCW 0x0869,0x0869,0x0869,0x086A,0x086A,0x086A,0x086B,0x086B <br \/>   DCW 0x086B,0x086C,0x086C,0x086C,0x086C,0x086D,0x086D,0x086D <br \/>   DCW 0x086E,0x086E,0x086E,0x086F,0x086F,0x086F,0x0870,0x0870 <br \/>   DCW 0x0870,0x0871,0x0871,0x0871,0x0872,0x0872,0x0872,0x0873 <br \/>   DCW 0x0873,0x0873,0x0874,0x0874,0x0874,0x0874,0x0875,0x0875 <br \/>   DCW 0x0875,0x0876,0x0876,0x0876,0x0877,0x0877,0x0877,0x0878 <br \/>   DCW 0x0878,0x0878,0x0879,0x0879,0x0879,0x087A,0x087A,0x087A <br \/>   DCW 0x087B,0x087B,0x087B,0x087C,0x087C,0x087C,0x087D,0x087D <br \/>   DCW 0x087D,0x087E,0x087E,0x087E,0x087F,0x087F,0x087F,0x0880 <br \/>   DCW 0x0880,0x0880,0x0881,0x0881,0x0881,0x0882,0x0882,0x0882 <br \/>   DCW 0x0883,0x0883,0x0883,0x0884,0x0884,0x0885,0x0885,0x0885 <br \/>   DCW 0x0886,0x0886,0x0886,0x0887,0x0887,0x0887,0x0888,0x0888 <br \/>   DCW 0x0888,0x0889,0x0889,0x0889,0x088A,0x088A,0x088A,0x088B <br \/>   DCW 0x088B,0x088B,0x088C,0x088C,0x088D,0x088D,0x088D,0x088E <br \/>   DCW 0x088E,0x088E,0x088F,0x088F,0x088F,0x0890,0x0890,0x0890 <br \/>   DCW 0x0891,0x0891,0x0892,0x0892,0x0892,0x0893,0x0893,0x0893 <br \/>   DCW 0x0894,0x0894,0x0894,0x0895,0x0895,0x0895,0x0896,0x0896 <br \/>   DCW 0x0897,0x0897,0x0897,0x0898,0x0898,0x0898,0x0899,0x0899 <br \/>   DCW 0x0899,0x089A,0x089A,0x089B,0x089B,0x089B,0x089C,0x089C <br \/>   DCW 0x089C,0x089D,0x089D,0x089E,0x089E,0x089E,0x089F,0x089F <br \/>   DCW 0x089F,0x08A0,0x08A0,0x08A1,0x08A1,0x08A1,0x08A2,0x08A2 <br \/>   DCW 0x08A2,0x08A3,0x08A3,0x08A4,0x08A4,0x08A4,0x08A5,0x08A5 <br \/>   DCW 0x08A5,0x08A6,0x08A6,0x08A7,0x08A7,0x08A7,0x08A8,0x08A8 <br \/>   DCW 0x08A9,0x08A9,0x08A9,0x08AA,0x08AA,0x08AA,0x08AB,0x08AB <br \/>   DCW 0x08AC,0x08AC,0x08AC,0x08AD,0x08AD,0x08AE,0x08AE,0x08AE <br \/>   DCW 0x08AF,0x08AF,0x08AF,0x08B0,0x08B0,0x08B1,0x08B1,0x08B1 <br \/>   DCW 0x08B2,0x08B2,0x08B3,0x08B3,0x08B3,0x08B4,0x08B4,0x08B5 <br \/>   DCW 0x08B5,0x08B5,0x08B6,0x08B6,0x08B7,0x08B7,0x08B7,0x08B8 <br \/>   DCW 0x08B8,0x08B9,0x08B9,0x08B9,0x08BA,0x08BA,0x08BB,0x08BB <br \/>   DCW 0x08BB,0x08BC,0x08BC,0x08BD,0x08BD,0x08BD,0x08BE,0x08BE <br \/>   DCW 0x08BF,0x08BF,0x08BF,0x08C0,0x08C0,0x08C1,0x08C1,0x08C1 <br \/>   DCW 0x08C2,0x08C2,0x08C3,0x08C3,0x08C3,0x08C4,0x08C4,0x08C5 <br \/>   DCW 0x08C5,0x08C5,0x08C6,0x08C6,0x08C7,0x08C7,0x08C8,0x08C8 <br \/>   DCW 0x08C8,0x08C9,0x08C9,0x08CA,0x08CA,0x08CA,0x08CB,0x08CB <br \/>   DCW 0x08CC,0x08CC,0x08CD,0x08CD,0x08CD,0x08CE,0x08CE,0x08CF <br \/>   DCW 0x08CF,0x08CF,0x08D0,0x08D0,0x08D1,0x08D1,0x08D2,0x08D2 <br \/>   DCW 0x08D2,0x08D3,0x08D3,0x08D4,0x08D4,0x08D4,0x08D5,0x08D5 <br \/>   DCW 0x08D6,0x08D6,0x08D7,0x08D7,0x08D7,0x08D8,0x08D8,0x08D9 <br \/>   DCW 0x08D9,0x08DA,0x08DA,0x08DA,0x08DB,0x08DB,0x08DC,0x08DC <br \/>   DCW 0x08DD,0x08DD,0x08DD,0x08DE,0x08DE,0x08DF,0x08DF,0x08E0 <br \/>   DCW 0x08E0,0x08E0,0x08E1,0x08E1,0x08E2,0x08E2,0x08E3,0x08E3 <br \/>   DCW 0x08E4,0x08E4,0x08E4,0x08E5,0x08E5,0x08E6,0x08E6,0x08E7 <br \/>   DCW 0x08E7,0x08E7,0x08E8,0x08E8,0x08E9,0x08E9,0x08EA,0x08EA <br \/>   DCW 0x08EB,0x08EB,0x08EB,0x08EC,0x08EC,0x08ED,0x08ED,0x08EE <br \/>   DCW 0x08EE,0x08EF,0x08EF,0x08EF,0x08F0,0x08F0,0x08F1,0x08F1 <br \/>   DCW 0x08F2,0x08F2,0x08F3,0x08F3,0x08F3,0x08F4,0x08F4,0x08F5 <br \/>   DCW 0x08F5,0x08F6,0x08F6,0x08F7,0x08F7,0x08F8,0x08F8,0x08F8 <br \/>   DCW 0x08F9,0x08F9,0x08FA,0x08FA,0x08FB,0x08FB,0x08FC,0x08FC <br \/>   DCW 0x08FD,0x08FD,0x08FD,0x08FE,0x08FE,0x08FF,0x08FF,0x0900 <br \/>   DCW 0x0900,0x0901,0x0901,0x0902,0x0902,0x0902,0x0903,0x0903 <br \/>   DCW 0x0904,0x0904,0x0905,0x0905,0x0906,0x0906,0x0907,0x0907 <br \/>   DCW 0x0908,0x0908,0x0908,0x0909,0x0909,0x090A,0x090A,0x090B <br \/>   DCW 0x090B,0x090C,0x090C,0x090D,0x090D,0x090E,0x090E,0x090F <br \/>   DCW 0x090F,0x0910,0x0910,0x0910,0x0911,0x0911,0x0912,0x0912 <br \/>   DCW 0x0913,0x0913,0x0914,0x0914,0x0915,0x0915,0x0916,0x0916 <br \/>   DCW 0x0917,0x0917,0x0918,0x0918,0x0918,0x0919,0x0919,0x091A <br \/>   DCW 0x091A,0x091B,0x091B,0x091C,0x091C,0x091D,0x091D,0x091E <br \/>   DCW 0x091E,0x091F,0x091F,0x0920,0x0920,0x0921,0x0921,0x0922 <br \/>   DCW 0x0922,0x0923,0x0923,0x0924,0x0924,0x0924,0x0925,0x0925 <br \/>   DCW 0x0926,0x0926,0x0927,0x0927,0x0928,0x0928,0x0929,0x0929 <br \/>   DCW 0x092A,0x092A,0x092B,0x092B,0x092C,0x092C,0x092D,0x092D <br \/>   DCW 0x092E,0x092E,0x092F,0x092F,0x0930,0x0930,0x0931,0x0931 <br \/>   DCW 0x0932,0x0932,0x0933,0x0933,0x0934,0x0934,0x0935,0x0935 <br \/>   DCW 0x0936,0x0936,0x0937,0x0937,0x0938,0x0938,0x0939,0x0939 <br \/>   DCW 0x093A,0x093A,0x093B,0x093B,0x093C,0x093C,0x093D,0x093D <br \/>   DCW 0x093E,0x093E,0x093F,0x093F,0x0940,0x0940,0x0941,0x0941 <br \/>   DCW 0x0942,0x0942,0x0943,0x0943,0x0944,0x0944,0x0945,0x0945 <br \/>   DCW 0x0946,0x0946,0x0947,0x0947,0x0948,0x0948,0x0949,0x0949 <br \/>   DCW 0x094A,0x094A,0x094B,0x094B,0x094C,0x094C,0x094D,0x094D <br \/>   DCW 0x094E,0x094E,0x094F,0x094F,0x0950,0x0950,0x0951,0x0951 <br \/>   DCW 0x0952,0x0952,0x0953,0x0953,0x0954,0x0954,0x0955,0x0956 <br \/>   DCW 0x0956,0x0957,0x0957,0x0958,0x0958,0x0959,0x0959,0x095A <br \/>   DCW 0x095A,0x095B,0x095B,0x095C,0x095C,0x095D,0x095D,0x095E <br \/>   DCW 0x095E,0x095F,0x095F,0x0960,0x0960,0x0961,0x0961,0x0962 <br \/>   DCW 0x0962,0x0963,0x0964,0x0964,0x0965,0x0965,0x0966,0x0966 <br \/>   DCW 0x0967,0x0967,0x0968,0x0968,0x0969,0x0969,0x096A,0x096A <br \/>   DCW 0x096B,0x096B,0x096C,0x096C,0x096D,0x096E,0x096E,0x096F <br \/>   DCW 0x096F,0x0970,0x0970,0x0971,0x0971,0x0972,0x0972,0x0973 <br \/>   DCW 0x0973,0x0974,0x0974,0x0975,0x0976,0x0976,0x0977,0x0977 <br \/>   DCW 0x0978,0x0978,0x0979,0x0979,0x097A,0x097A,0x097B,0x097B <br \/>   DCW 0x097C,0x097C,0x097D,0x097E,0x097E,0x097F,0x097F,0x0980 <br \/>   DCW 0x0980,0x0981,0x0981,0x0982,0x0982,0x0983,0x0983,0x0984 <br \/>   DCW 0x0985,0x0985,0x0986,0x0986,0x0987,0x0987,0x0988,0x0988 <br \/>   DCW 0x0989,0x0989,0x098A,0x098B,0x098B,0x098C,0x098C,0x098D <br \/>   DCW 0x098D,0x098E,0x098E,0x098F,0x098F,0x0990,0x0991,0x0991 <br \/>   DCW 0x0992,0x0992,0x0993,0x0993,0x0994,0x0994,0x0995,0x0996 <br \/>   DCW 0x0996,0x0997,0x0997,0x0998,0x0998,0x0999,0x0999,0x099A <br \/>   DCW 0x099A,0x099B,0x099C,0x099C,0x099D,0x099D,0x099E,0x099E <br \/>   DCW 0x099F,0x099F,0x09A0,0x09A1,0x09A1,0x09A2,0x09A2,0x09A3 <br \/>   DCW 0x09A3,0x09A4,0x09A4,0x09A5,0x09A6,0x09A6,0x09A7,0x09A7 <br \/>   DCW 0x09A8,0x09A8,0x09A9,0x09AA,0x09AA,0x09AB,0x09AB,0x09AC <br \/>   DCW 0x09AC,0x09AD,0x09AD,0x09AE,0x09AF,0x09AF,0x09B0,0x09B0 <br \/>   DCW 0x09B1,0x09B1,0x09B2,0x09B3,0x09B3,0x09B4,0x09B4,0x09B5 <br \/>   DCW 0x09B5,0x09B6,0x09B7,0x09B7,0x09B8,0x09B8,0x09B9,0x09B9 <br \/>   DCW 0x09BA,0x09BA,0x09BB,0x09BC,0x09BC,0x09BD,0x09BD,0x09BE <br \/>   DCW 0x09BE,0x09BF,0x09C0,0x09C0,0x09C1,0x09C1,0x09C2,0x09C2 <br \/>   DCW 0x09C3,0x09C4,0x09C4,0x09C5,0x09C5,0x09C6,0x09C7,0x09C7 <br \/>   DCW 0x09C8,0x09C8,0x09C9,0x09C9,0x09CA,0x09CB,0x09CB,0x09CC <br \/>   DCW 0x09CC,0x09CD,0x09CD,0x09CE,0x09CF,0x09CF,0x09D0,0x09D0 <br \/>   DCW 0x09D1,0x09D1,0x09D2,0x09D3,0x09D3,0x09D4,0x09D4,0x09D5 <br \/>   DCW 0x09D6,0x09D6,0x09D7,0x09D7,0x09D8,0x09D8,0x09D9,0x09DA <br \/>   DCW 0x09DA,0x09DB,0x09DB,0x09DC,0x09DD,0x09DD,0x09DE,0x09DE <br \/>   DCW 0x09DF,0x09DF,0x09E0,0x09E1,0x09E1,0x09E2,0x09E2,0x09E3 <br \/>   DCW 0x09E4,0x09E4,0x09E5,0x09E5,0x09E6,0x09E7,0x09E7,0x09E8 <br \/>   DCW 0x09E8,0x09E9,0x09E9,0x09EA,0x09EB,0x09EB,0x09EC,0x09EC <br \/>   DCW 0x09ED,0x09EE,0x09EE,0x09EF,0x09EF,0x09F0,0x09F1,0x09F1 <br \/>   DCW 0x09F2,0x09F2,0x09F3,0x09F4,0x09F4,0x09F5,0x09F5,0x09F6 <br \/>   DCW 0x09F7,0x09F7,0x09F8,0x09F8,0x09F9,0x09FA,0x09FA,0x09FB <br \/>   DCW 0x09FB,0x09FC,0x09FD,0x09FD,0x09FE,0x09FE,0x09FF,0x09FF <br \/>   DCW 0x0A00,0x0A01,0x0A01,0x0A02,0x0A03,0x0A03,0x0A04,0x0A04 <br \/>   DCW 0x0A05,0x0A06,0x0A06,0x0A07,0x0A07,0x0A08,0x0A09,0x0A09 <br \/>   DCW 0x0A0A,0x0A0A,0x0A0B,0x0A0C,0x0A0C,0x0A0D,0x0A0D,0x0A0E <br \/>   DCW 0x0A0F,0x0A0F,0x0A10,0x0A10,0x0A11,0x0A12,0x0A12,0x0A13 <br \/>   DCW 0x0A13,0x0A14,0x0A15,0x0A15,0x0A16,0x0A16,0x0A17,0x0A18 <br \/>   DCW 0x0A18,0x0A19,0x0A1A,0x0A1A,0x0A1B,0x0A1B,0x0A1C,0x0A1D <br \/>   DCW 0x0A1D,0x0A1E,0x0A1E,0x0A1F,0x0A20,0x0A20,0x0A21,0x0A21 <br \/>   DCW 0x0A22,0x0A23,0x0A23,0x0A24,0x0A25,0x0A25,0x0A26,0x0A26 <br \/>   DCW 0x0A27,0x0A28,0x0A28,0x0A29,0x0A29,0x0A2A,0x0A2B,0x0A2B <br \/>   DCW 0x0A2C,0x0A2D,0x0A2D,0x0A2E,0x0A2E,0x0A2F,0x0A30,0x0A30 <br \/>   DCW 0x0A31,0x0A32,0x0A32,0x0A33,0x0A33,0x0A34,0x0A35,0x0A35 <br \/>   DCW 0x0A36,0x0A36,0x0A37,0x0A38,0x0A38,0x0A39,0x0A3A,0x0A3A <br \/>   DCW 0x0A3B,0x0A3B,0x0A3C,0x0A3D,0x0A3D,0x0A3E,0x0A3F,0x0A3F <br \/>   DCW 0x0A40,0x0A40,0x0A41,0x0A42,0x0A42,0x0A43,0x0A44,0x0A44 <br \/>   DCW 0x0A45,0x0A45,0x0A46,0x0A47,0x0A47,0x0A48,0x0A49,0x0A49 <br \/>   DCW 0x0A4A,0x0A4B,0x0A4B,0x0A4C,0x0A4C,0x0A4D,0x0A4E,0x0A4E <br \/>   DCW 0x0A4F,0x0A50,0x0A50,0x0A51,0x0A51,0x0A52,0x0A53,0x0A53 <br \/>   DCW 0x0A54,0x0A55,0x0A55,0x0A56,0x0A57,0x0A57,0x0A58,0x0A58 <br \/>   DCW 0x0A59,0x0A5A,0x0A5A,0x0A5B,0x0A5C,0x0A5C,0x0A5D,0x0A5D <br \/>   DCW 0x0A5E,0x0A5F,0x0A5F,0x0A60,0x0A61,0x0A61,0x0A62,0x0A63 <br \/>   DCW 0x0A63,0x0A64,0x0A64,0x0A65,0x0A66,0x0A66,0x0A67,0x0A68 <br \/>   DCW 0x0A68,0x0A69,0x0A6A,0x0A6A,0x0A6B,0x0A6C,0x0A6C,0x0A6D <br \/>   DCW 0x0A6D,0x0A6E,0x0A6F,0x0A6F,0x0A70,0x0A71,0x0A71,0x0A72 <br \/>   DCW 0x0A73,0x0A73,0x0A74,0x0A75,0x0A75,0x0A76,0x0A76,0x0A77 <br \/>   DCW 0x0A78,0x0A78,0x0A79,0x0A7A,0x0A7A,0x0A7B,0x0A7C,0x0A7C <br \/>   DCW 0x0A7D,0x0A7E,0x0A7E,0x0A7F,0x0A80,0x0A80,0x0A81,0x0A81 <br \/>   DCW 0x0A82,0x0A83,0x0A83,0x0A84,0x0A85,0x0A85,0x0A86,0x0A87 <br \/>   DCW 0x0A87,0x0A88,0x0A89,0x0A89,0x0A8A,0x0A8B,0x0A8B,0x0A8C <br \/>   DCW 0x0A8D,0x0A8D,0x0A8E,0x0A8E,0x0A8F,0x0A90,0x0A90,0x0A91 <br \/>   DCW 0x0A92,0x0A92,0x0A93,0x0A94,0x0A94,0x0A95,0x0A96,0x0A96 <br \/>   DCW 0x0A97,0x0A98,0x0A98,0x0A99,0x0A9A,0x0A9A,0x0A9B,0x0A9C <br \/>   DCW 0x0A9C,0x0A9D,0x0A9E,0x0A9E,0x0A9F,0x0AA0,0x0AA0,0x0AA1 <br \/>   DCW 0x0AA1,0x0AA2,0x0AA3,0x0AA3,0x0AA4,0x0AA5,0x0AA5,0x0AA6 <br \/>   DCW 0x0AA7,0x0AA7,0x0AA8,0x0AA9,0x0AA9,0x0AAA,0x0AAB,0x0AAB <br \/>   DCW 0x0AAC,0x0AAD,0x0AAD,0x0AAE,0x0AAF,0x0AAF,0x0AB0,0x0AB1 <br \/>   DCW 0x0AB1,0x0AB2,0x0AB3,0x0AB3,0x0AB4,0x0AB5,0x0AB5,0x0AB6 <br \/>   DCW 0x0AB7,0x0AB7,0x0AB8,0x0AB9,0x0AB9,0x0ABA,0x0ABB,0x0ABB <br \/>   DCW 0x0ABC,0x0ABD,0x0ABD,0x0ABE,0x0ABF,0x0ABF,0x0AC0,0x0AC1 <br \/>   DCW 0x0AC1,0x0AC2,0x0AC3,0x0AC3,0x0AC4,0x0AC5,0x0AC5,0x0AC6 <br \/>   DCW 0x0AC7,0x0AC7,0x0AC8,0x0AC9,0x0AC9,0x0ACA,0x0ACB,0x0ACB <br \/>   DCW 0x0ACC,0x0ACD,0x0ACD,0x0ACE,0x0ACF,0x0ACF,0x0AD0,0x0AD1 <br \/>   DCW 0x0AD1,0x0AD2,0x0AD3,0x0AD3,0x0AD4,0x0AD5,0x0AD5,0x0AD6 <br \/>   DCW 0x0AD7,0x0AD8,0x0AD8,0x0AD9,0x0ADA,0x0ADA,0x0ADB,0x0ADC <br \/>   DCW 0x0ADC,0x0ADD,0x0ADE,0x0ADE,0x0ADF,0x0AE0,0x0AE0,0x0AE1 <br \/>   DCW 0x0AE2,0x0AE2,0x0AE3,0x0AE4,0x0AE4,0x0AE5,0x0AE6,0x0AE6 <br \/>   DCW 0x0AE7,0x0AE8,0x0AE8,0x0AE9,0x0AEA,0x0AEA,0x0AEB,0x0AEC <br \/>   DCW 0x0AED,0x0AED,0x0AEE,0x0AEF,0x0AEF,0x0AF0,0x0AF1,0x0AF1 <br \/>   DCW 0x0AF2,0x0AF3,0x0AF3,0x0AF4,0x0AF5,0x0AF5,0x0AF6,0x0AF7 <br \/>   DCW 0x0AF7,0x0AF8,0x0AF9,0x0AF9,0x0AFA,0x0AFB,0x0AFC,0x0AFC <br \/>   DCW 0x0AFD,0x0AFE,0x0AFE,0x0AFF,0x0B00,0x0B00,0x0B01,0x0B02 <br \/>   DCW 0x0B02,0x0B03,0x0B04,0x0B04,0x0B05,0x0B06,0x0B07,0x0B07 <br \/>   DCW 0x0B08,0x0B09,0x0B09,0x0B0A,0x0B0B,0x0B0B,0x0B0C,0x0B0D <br \/>   DCW 0x0B0D,0x0B0E,0x0B0F,0x0B10,0x0B10,0x0B11,0x0B12,0x0B12 <br \/>   DCW 0x0B13,0x0B14,0x0B14,0x0B15,0x0B16,0x0B16,0x0B17,0x0B18 <br \/>   DCW 0x0B18,0x0B19,0x0B1A,0x0B1B,0x0B1B,0x0B1C,0x0B1D,0x0B1D <br \/>   DCW 0x0B1E,0x0B1F,0x0B1F,0x0B20,0x0B21,0x0B22,0x0B22,0x0B23 <br \/>   DCW 0x0B24,0x0B24,0x0B25,0x0B26,0x0B26,0x0B27,0x0B28,0x0B28 <br \/>   DCW 0x0B29,0x0B2A,0x0B2B,0x0B2B,0x0B2C,0x0B2D,0x0B2D,0x0B2E <br \/>   DCW 0x0B2F,0x0B2F,0x0B30,0x0B31,0x0B32,0x0B32,0x0B33,0x0B34 <br \/>   DCW 0x0B34,0x0B35,0x0B36,0x0B36,0x0B37,0x0B38,0x0B39,0x0B39 <br \/>   DCW 0x0B3A,0x0B3B,0x0B3B,0x0B3C,0x0B3D,0x0B3D,0x0B3E,0x0B3F <br \/>   DCW 0x0B40,0x0B40,0x0B41,0x0B42,0x0B42,0x0B43,0x0B44,0x0B45 <br \/>   DCW 0x0B45,0x0B46,0x0B47,0x0B47,0x0B48,0x0B49,0x0B49,0x0B4A <br \/>   DCW 0x0B4B,0x0B4C,0x0B4C,0x0B4D,0x0B4E,0x0B4E,0x0B4F,0x0B50  <\/div>\n<\/div>\n<p>  \u041c\u043b\u0430\u0434\u0448\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 0x800h, \u0447\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 2048. C\u0442\u0430\u0440\u0448\u0435\u0435 0xB50, \u0438 \u043e\u043d\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 2896.<br \/>  2896\/2048 = 1.414, \u0447\u0442\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 1\/cos(45).<\/p>\n<p>  \u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0430, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043c\u043d\u043e\u0436\u0438\u0442\u044c Y \u043d\u0430 2048 \u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430 \u0425.<\/p>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441 \u0443\u043a\u0430\u0436\u0435\u0442 \u043d\u0430 \u044f\u0447\u0435\u0439\u043a\u0443 \u043c\u0430\u0441\u0441\u0438\u0432\u0430, \u0438\u0437 \u044d\u0442\u043e\u0439 \u044f\u0447\u0435\u0439\u043a\u0438 \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0443\u043c\u043d\u043e\u0436\u0430\u0435\u043c X \u043d\u0430 \u043d\u0435\u0433\u043e \u0438 \u0434\u0435\u043b\u0438\u043c \u043d\u0430 2048. \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0435\u0441\u0442\u044c \u0434\u043b\u0438\u043d\u043d\u0430 \u0432\u0435\u043a\u0442\u043e\u0440\u0430.<\/p>\n<p>  \u0425\u043e\u0447\u0443 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0438 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 2048 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0441\u0434\u0432\u0438\u0433\u043e\u043c, \u0438 \u0435\u0449\u0435 \u043e\u0434\u043d\u043e \u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0438 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438 \u0438\u043b\u0438 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430\u043c\u0438, \u0435\u0441\u043b\u0438 \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 \u043d\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u0438\/\u0438\u043b\u0438 \u0434\u0435\u043b\u0435\u043d\u0438\u044f.<\/p>\n<p>  \u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u043b\u0441\u044f \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 STM32F103, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u043c\u0435\u043b \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0438 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>  \u041f\u043e\u0434\u0432\u0435\u0434\u0435\u043c \u0438\u0442\u043e\u0433 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430.<\/p>\n<ol>\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0437\u043d\u0430\u043a\u0430 \u043f\u043e Y \u0438 \u0440\u0430\u0437\u0432\u043e\u0440\u043e\u0442, \u0435\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e.<\/li>\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0437\u043d\u0430\u043a\u0430 \u043f\u043e X \u0438 \u0440\u0430\u0437\u0432\u043e\u0440\u043e\u0442, \u0435\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e.<\/li>\n<li>\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 X \u0438 Y \u0438 \u043e\u0431\u043c\u0435\u043d \u043c\u0435\u0441\u0442\u0430\u043c\u0438, \u0435\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e.<\/li>\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 X \u043d\u0430 0.<\/li>\n<li>\u0423\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 Y \u043d\u0430 2048 \u0441\u0434\u0432\u0438\u0433\u043e\u043c.<\/li>\n<li>\u0414\u0435\u043b\u0435\u043d\u0438\u0435 Y \u043d\u0430 X.<\/li>\n<li>\u041f\u0440\u0438\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a \u0430\u0434\u0440\u0435\u0441\u0443 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0438 \u0447\u0438\u0442\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 K.<\/li>\n<li>\u0423\u043c\u043d\u043e\u0436\u0430\u0435\u043c X \u043d\u0430 K.<\/li>\n<li>\u0414\u0435\u043b\u0438\u043c X \u043d\u0430 2048 \u0441\u0434\u0432\u0438\u0433\u043e\u043c.<\/li>\n<\/ol>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0430\u044f\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440 \u0434\u043b\u044f STM32F103.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"plaintext\">\t;r5 - X \t;r6 - Y  Magnitude \tmov32\t\t\tr2,0x7FF \tmov32\t\t\tr3,0x7FF \tcmp\t\t\tr5,r2 \tblo\t\t\tMagnitude_xdn Magnitude_xup \tsub\t\t\tr5,r2 \tb\t\t\tMagnitude_X Magnitude_xdn \tsub\t\t\tr2,r5 \tmov\t\t\tr5,r2 Magnitude_X\t\t;X in r5 \tcmp\t\t\tr6,r3 \tblo\t\t\tMagnitede_ydn Magnitude_yup \tsub\t\t\tr6,r3 \tb\t\t\tMagnitude_Y Magnitude_ydn \tsub\t\t\tr3,r6 \tmov\t\t\tr6,r3 Magnitude_Y\t\t;Y in r6 \tcmp\t\t\tr5,r6 \tblo\t\t\tMagnitude_neg Magnitude_pos \tmov\t\t\tr1,r5 \tmov\t\t\tr5,r6 \tmov\t\t\tr6,r1 Magnitude_neg\t\t;Rotating 45 degree \tmov32\t\t\tr2,0x0 \tcmp\t\t\tr6,r2 \tbeq\t\t\tMagnitude_Zero \tlsl\t\t\tr5,#0xC \tudiv\t\t\tr5,r6 \tmov32\t\t\tr2,#0xFFFFFFFE \tand\t\t\tr5,r2 \tmov32\t\t\tr2,Magnitude_Table \tadd\t\t\tr2,r5 \tldrh\t\t\tr0,[r2] \tmul\t\t\tr6,r0 \tlsr\t\t\tr6,#0xB Magnitude_Zero \tpop\t\t\t{lr} \tbx\t\t\tlr ;In r6 length of vector  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u044b \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0432 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0438 \u0441 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0434\u043b\u044f \u0434\u0432\u0443\u0445 \u0438\u0437 \u0447\u0435\u0442\u044b\u0440\u0435\u0445 \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u044b \u043d\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u0445 \u0432\u044b\u0448\u0435.<\/p>\n<p>  \u0412\u043e\u0437\u044c\u043c\u0435\u043c \u0441\u0438\u043d\u0438\u0439 \u0432\u0435\u043a\u0442\u043e\u0440 (\u0438\u0437 \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438).<\/p>\n<p>  \u0415\u0433\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b X=-45,Y=-126 (\u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u043e \u043f\u0438\u043a\u0441\u0435\u043b\u044f\u043c)<\/p>\n<p>  \u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u043e\u0434:<\/p>\n<p>  (-45)^2+(-126)^2=2025+15876=17901<br \/>  SQR(17901)=133 (\u0443\u0441\u0435\u0447\u0435\u043d\u043e \u0434\u043e \u0446\u0435\u043b\u043e\u0433\u043e)<\/p>\n<p>  \u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c:<\/p>\n<p>  X=2047-45=2002, Y=2047-126=1921<\/p>\n<p>  \u043f\u0443\u043d\u043a\u0442 1: 2002&gt;2047? -&gt; \u043d\u0435\u0442. X=2047-2002=45<br \/>  \u043f\u0443\u043d\u043a\u0442 2: 1921&gt;2047? -&gt; \u043d\u0435\u0442. Y=2047-1921=126<br \/>  \u043f\u0443\u043d\u043a\u0442 3: 126&gt;45 -&gt; \u0434\u0430. \u043c\u0435\u043d\u044f\u0435\u043c \u043c\u0435\u0441\u0442\u0430\u043c\u0438 X=126, Y=45<br \/>  \u043f\u0443\u043d\u043a\u0442 4: X=0 -&gt; \u043d\u0435\u0442. \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c<br \/>  \u043f\u0443\u043d\u043a\u0442 5: Y=Y*2048, Y=45*2048=92160<br \/>  \u043f\u0443\u043d\u043a\u0442 6: I=Y\/X, I=92160\/126=731<br \/>  \u041f\u0443\u043d\u043a\u0442 7: \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 255 \u0441\u0442\u0440\u043e\u043a \u043f\u043e 8 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u0438\u0449\u0435\u043c 731\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<br \/>  \u042d\u0442\u043e 91\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0438 3\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0440\u0430\u0432\u043d\u043e 0x087e, \u0438\u043b\u0438 2174 \u0432 \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u043e\u043c<br \/>  \u0432\u0438\u0434\u0435.<br \/>  \u041f\u0443\u043d\u043a\u0442 8: X=X*2174, X=126*2174=273924<br \/>  \u041f\u0443\u043d\u043a\u0442 9: A=X\/2048, A=273924\/2048=133 (\u0443\u0441\u0435\u0447\u0435\u043d\u043e \u0434\u043e \u0446\u0435\u043b\u043e\u0433\u043e)<\/p>\n<p>  \u0427.\u0422.\u0414.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u0437\u0435\u043b\u0435\u043d\u044b\u0439 \u0432\u0435\u043a\u0442\u043e\u0440 (\u0438\u0437 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438).<\/p>\n<p>  \u0415\u0433\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b X=-170,Y=95 (\u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u043e \u043f\u0438\u043a\u0441\u0435\u043b\u044f\u043c).<\/p>\n<p>  \u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0435\u0442\u043e\u0434:<\/p>\n<p>  (-170)^2+(95)^2=28900+9025=37925<br \/>  SQR(37925)=194 (\u0443\u0441\u0435\u0447\u0435\u043d\u043e \u0434\u043e \u0446\u0435\u043b\u043e\u0433\u043e)<\/p>\n<p>  \u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c:<\/p>\n<p>  X=2047-170=1877, Y=2047+95=2142<\/p>\n<p>  \u043f\u0443\u043d\u043a\u0442 1: 1877&gt;2047? -&gt; \u043d\u0435\u0442. X=2047-1877=170<br \/>  \u043f\u0443\u043d\u043a\u0442 2: 2142&gt;2047? -&gt; \u0434\u0430. Y=2142-2047=95<br \/>  \u043f\u0443\u043d\u043a\u0442 3: 95&gt;170 -&gt; \u043d\u0435\u0442. \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u0430\u043a \u0435\u0441\u0442\u044c.<br \/>  \u043f\u0443\u043d\u043a\u0442 4: X=0 -&gt; \u043d\u0435\u0442. \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c<br \/>  \u043f\u0443\u043d\u043a\u0442 5: Y=Y*2048, Y=95*2048=194560<br \/>  \u043f\u0443\u043d\u043a\u0442 6: I=Y\/X, I=194560\/170=1144<br \/>  \u041f\u0443\u043d\u043a\u0442 7: \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0438\u0449\u0435\u043c 1144\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<br \/>  \u042d\u0442\u043e 143\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0438 0\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0440\u0430\u0432\u043d\u043e 0x092A, \u0438\u043b\u0438 2346 \u0432 \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u043e\u043c \u0432\u0438\u0434\u0435.<br \/>  \u041f\u0443\u043d\u043a\u0442 8: X=X*2346, X=170*2346=398820<br \/>  \u041f\u0443\u043d\u043a\u0442 9: A=X\/2048, A=398820\/2048=194 (\u0443\u0441\u0435\u0447\u0435\u043d\u043e \u0434\u043e \u0446\u0435\u043b\u043e\u0433\u043e)<\/p>\n<p>  \u0427.\u0422.\u0414.<\/p>\n<h3>\u0418\u0442\u043e\u0433<\/h3>\n<p>  \u041f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u0426\u041e\u0421 (\u043a\u0430\u043a \u044f), \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u043d\u043e \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c \u0411\u044b\u0441\u0442\u0440\u043e\u0435 \u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0424\u0443\u0440\u044c\u0435. \u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u043e\u0439 \u0433\u0440\u0430\u0444\u0438\u043a\u0435, \u0433\u0434\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0430 \u043b\u0443\u0447\u0435\u0439. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0438 \u0435\u0449\u0435 \u0435\u0441\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435.<\/p>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0435. \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435.<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/496782\/\"> https:\/\/habr.com\/ru\/post\/496782\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/496782\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/xn\/6c\/pp\/xn6cppynephqqxojrt79eugvpg8.png\"\/><\/p>\n<p>  \u041e\u0447\u0435\u043d\u044c \u0447\u0430\u0441\u0442\u043e, \u043f\u0440\u0438 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0441\u0438\u0433\u043d\u0430\u043b\u043e\u0432 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0434\u043b\u0438\u043d\u043d\u0443 \u0432\u0435\u043a\u0442\u043e\u0440\u0430, \u043e\u0431\u044b\u0447\u043d\u043e \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0435 A=SQR(X^2+Y^2). \u0417\u0434\u0435\u0441\u044c \u0432\u043e\u0437\u0432\u0435\u0441\u0442\u0438 \u0432 \u043a\u0432\u0430\u0434\u0440\u0430\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e, \u043d\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u043d\u044f \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0435\u0439, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u0440\u043d\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u043d\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, \u0438 \u0434\u043b\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0442\u0430\u043a\u0438\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u043c\u043d\u043e\u0433\u043e, \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0441\u043b\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0440\u0435\u043c\u044f, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0434\u043b\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439.<\/p>\n<p>  \u0421 \u0442\u0430\u043a\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0438 \u044f. \u041e \u0442\u043e\u043c \u043a\u0430\u043a \u044f \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u0440\u043d\u044f, \u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u043d\u0438\u0436\u0435.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-301682","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/301682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=301682"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/301682\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=301682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=301682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=301682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}