{"id":383530,"date":"2024-06-29T04:57:42","date_gmt":"2024-06-29T04:57:42","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=383530"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-06-29T04:57:42","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=383530","title":{"rendered":"<span>\u041a\u0440\u0438\u0432\u044b\u0435 \u0438 \u0447\u0442\u043e \u044d\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u0447.3<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442!<\/p>\n<p>\u041a\u0430\u043a \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0435 \u043f\u043e \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0443, \u044d\u0442\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u0441 \u0442\u043e\u0439 \u0436\u0435 \u0442\u0435\u043c\u043e\u0439, \u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u043a\u0440\u0438\u0432\u044b\u0435.<\/p>\n<hr\/>\n<h2>\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c<\/h2>\n<p>\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u043a\u0440\u0438\u0432\u044b\u0445 \u0432\u0438\u0434\u0430:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"y(x)=\\frac{\\sum_{i=1}^{n}y_{i}\\cdot k_{i}}{\\sum_{i=1}^{n}k_{i}}.\" alt=\"y(x)=\\frac{\\sum_{i=1}^{n}y_{i}\\cdot k_{i}}{\\sum_{i=1}^{n}k_{i}}.\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9ec\/219\/24e\/9ec21924e179731a9ef0bd1d769a27c9.svg\" width=\"171\" height=\"54\"\/><\/p>\n<p>\u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"k\" alt=\"k\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/166\/a10\/a0a\/166a10a0a822d6487ccb0350eab93a90.svg\" width=\"10\" height=\"17\"\/> \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u0438 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0442 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"0\" alt=\"0\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a3e\/462\/372\/a3e4623726e2f0f0066da1a4c74b9eb7.svg\" width=\"10\" height=\"17\"\/> \u0434\u043e <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"1\" alt=\"1\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/400\/a94\/766\/400a94766b1336883fae62f341fde9b2.svg\" width=\"10\" height=\"17\"\/> \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0442 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"0\" alt=\"0\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d06\/390\/eda\/d06390eda5cf45ce8679983de776aa91.svg\" width=\"10\" height=\"17\"\/> \u0434\u043e <img class=\"formula inline\" source=\"a>0&#8243; alt=&#187;a>0&#8243; src=&#187;https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/347\/812\/1d0\/3478121d0873bb51cad558e0b8c41939.svg&#187; width=&#187;46&#8243; height=&#187;17&#8243;\/>. \u041a\u0430\u043a \u044f \u0438 \u043e\u0431\u0435\u0449\u0430\u043b \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0438 \u0442\u0435\u043a\u0443\u0449\u0430\u044f \u0442\u0435\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u0443\u0436\u0435 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u044f, \u0430 \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u044f.<\/p>\n<p>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0442\u043e\u0447\u043a\u0438 \u0432 \u043b\u044e\u0431\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u0442\u043e\u0433\u0434\u0430 \u043a\u0430\u043a \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u0438 \u0432 \u0443\u0437\u043b\u0430\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u0443\u0437\u043b\u043e\u0432\u044b\u0445 \u0442\u043e\u0447\u0435\u043a. \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432\u043b\u0438\u044f\u043d\u0438\u044f \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"0\" alt=\"0\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d80\/1ae\/57c\/d801ae57c5c7228252185e7601142e33.svg\" width=\"10\" height=\"17\"\/> \u0434\u043b\u044f \u0432\u0441\u0435\u0445, \u043a\u0440\u043e\u043c\u0435 \u043a\u0440\u0430\u0439\u043d\u0438\u0445, \u0442\u043e\u0447\u0435\u043a \u2014 \u0443 \u043a\u0440\u0430\u0439\u043d\u0438\u0445 \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0432\u0435\u043d <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"0\" alt=\"0\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/847\/d57\/697\/847d57697389cf031f9f0be0a53897d3.svg\" width=\"10\" height=\"17\"\/> \u043d\u0430 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u043e\u043c \u043a\u043e\u043d\u0446\u0435 \u043a\u0440\u0438\u0432\u043e\u0439. \u0412 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432 \u043a\u0440\u0430\u0439\u043d\u0438\u0445 \u0442\u043e\u0447\u043a\u0430\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432\u043b\u0438\u044f\u043d\u0438\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u043c \u043a\u043e\u043d\u0446\u0435 \u043a\u0440\u0438\u0432\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u043d\u044c\u0448\u0435 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"0\" alt=\"0\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7b2\/422\/338\/7b2422338126942a23b30b29b069ef0e.svg\" width=\"10\" height=\"17\"\/> \u2014 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0442\u043e\u0447\u0435\u043a \u043a\u0440\u0438\u0432\u0430\u044f \u0432\u043b\u0438\u044f\u043d\u0438\u044f \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u0430\u044f, \u043d\u043e \u0441 \u0440\u0430\u0437\u043d\u044b\u043c \u0441\u0434\u0432\u0438\u0433\u043e\u043c.<\/p>\n<p>\u0410 \u0442\u0435\u043f\u0435\u0440\u044c, \u0431\u0430\u0440\u0430\u0431\u0430\u043d\u043d\u0430\u044f \u0434\u0440\u043e\u0431\u044c, \u044d\u0442\u043e \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0438\u0440\u0443\u0435\u0442, \u043d\u043e \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438! \u042d\u0442\u043e \u043b\u0435\u0433\u043a\u043e \u0434\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f. \u041f\u0440\u0438 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"\\textstyle x\\in\\left[0;1\\right], k\\geq0,\" alt=\"\\textstyle x\\in\\left[0;1\\right], k\\geq0,\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/6ea\/bf8\/29d\/6eabf829d89667c0441cd3a55506ca94.svg\" width=\"138\" height=\"22\"\/> \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e \u043d\u0435\u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u043e<img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"x^{n+k}\\leq x^{n}\" alt=\"x^{n+k}\\leq x^{n}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b97\/4ed\/787\/b974ed78769c17d948eab2106eae001b.svg\" width=\"87\" height=\"23\"\/>, \u0442\u043e \u0435\u0441\u0442\u044c \u0433\u0440\u0430\u0444\u0438\u043a \u043f\u0435\u0440\u0432\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0441\u0438\u043b\u044c\u043d\u0435\u0435 \u043f\u0440\u0438\u0436\u0430\u0442 \u043a \u043e\u0441\u0438 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"X\" alt=\"X\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fbb\/409\/a8b\/fbb409a8b309934760798ac6bef2e64a.svg\" width=\"17\" height=\"17\"\/>. \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u044e \u0441 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0435\u043c (<img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"x\" alt=\"x\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c35\/6d6\/48a\/c356d648a7dd16b98d86020d86c9439e.svg\" width=\"11\" height=\"12\"\/> \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u043c \u0437\u0430 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0434\u043e \u0442\u043e\u0447\u043a\u0438), \u0442\u043e \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u0433\u0440\u0430\u0444\u0438\u043a\u0435 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0432\u043b\u0438\u044f\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u0435\u0435, \u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0435 \u0432 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"0\" alt=\"0\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/004\/6c3\/09d\/0046c309d6170b7af3846a99b732987c.svg\" width=\"10\" height=\"17\"\/> \u0438 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"1\" alt=\"1\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fc4\/688\/680\/fc46886804c11437daaadff2112baf7b.svg\" width=\"10\" height=\"17\"\/>. \u041d\u043e \u0432\u0430\u0436\u043d\u043e \u043f\u043e\u043c\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u043f\u0440\u0438 \u043e\u0447\u0435\u043d\u044c \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u0441\u0430\u043c\u0438\u0445 \u0442\u043e\u0447\u043a\u0430\u0445 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0441\u043e\u043a\u0430\u044f, \u043d\u043e \u043f\u043e\u0431\u043b\u0438\u0437\u043e\u0441\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0436\u0430\u0442\u043e \u043a \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"Y\" alt=\"Y\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/2f5\/0b5\/138\/2f50b51386e39ea6139fcd82c49160a9.svg\" width=\"15\" height=\"16\"\/> \u0442\u043e\u0447\u043a\u0438.<\/p>\n<p>\u041d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430. \u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u0447\u0442\u0438 \u0442\u0435 \u0436\u0435, \u0447\u0442\u043e \u0438 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u0438, \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u2014 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0447\u0438\u0442\u0430\u0442\u044c \u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438\u0437 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e. \u041f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438 \u0442\u0430\u043a\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0441 \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u0435\u0439, <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"x^{n}\" alt=\"x^{n}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/39c\/515\/f28\/39c515f28c87310fdb1b59eaef184588.svg\" width=\"22\" height=\"18\"\/>, <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"\\sin\\left(x\\right)\" alt=\"\\sin\\left(x\\right)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/afd\/aaa\/a42\/afdaaaa42dfefb5a934614ebf9c51ce3.svg\" width=\"50\" height=\"22\"\/>, <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"n^{x}\" alt=\"n^{x}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/6ec\/a39\/776\/6eca39776e0b65bb178db78f693143ab.svg\" width=\"22\" height=\"18\"\/>, <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"\\tan\\left(x\\right)\" alt=\"\\tan\\left(x\\right)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dab\/56f\/06b\/dab56f06b6fd9d53a39458e3d824e3dd.svg\" width=\"55\" height=\"22\"\/> \u0438 \u0434\u0440\u0443\u0433\u0438\u0435.<\/p>\n<hr\/>\n<h2>\u041a\u0432\u0430\u0434\u0440\u0430\u0442<\/h2>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/47a\/a7b\/380\/47aa7b38023c6c0fb2020e2209ffbb83.png\" alt=\"\u043a\u0432\u0430\u0434\u0440\u0430\u0442, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 40\" title=\"\u043a\u0432\u0430\u0434\u0440\u0430\u0442, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 40\" width=\"1222\" height=\"1172\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/47a\/a7b\/380\/47aa7b38023c6c0fb2020e2209ffbb83.png\"\/><figcaption>\u043a\u0432\u0430\u0434\u0440\u0430\u0442, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 40<\/figcaption><\/figure>\n<p>\u041d\u0435 \u043e\u0442\u0441\u0442\u0443\u043f\u0430\u044f \u043e\u0442 \u043f\u043b\u0430\u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438, \u043f\u0435\u0440\u0432\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043d\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u2014 \u0441\u0442\u0435\u043f\u0435\u043d\u043d\u0430\u044f. \u0415\u0441\u043b\u0438 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u0438 \u043c\u044b \u0434\u0435\u043b\u0438\u043b\u0438, \u0442\u043e \u0437\u0434\u0435\u0441\u044c \u043d\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0443\u043c\u043d\u043e\u0436\u0430\u0442\u044c. \u0421\u0430\u043c \u0432\u0438\u0434 \u0442\u043e\u0436\u0435 \u0447\u0443\u0442\u043e\u0447\u043a\u0443 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0438, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"k=\\left(1-\\left(\\frac{x-x_{i}}{x_{n}-x_{1}}\\right)^2\\right)^{p}\\implies k=\\left(\\left(x_{n}-x_{1}\\right)^{2}-\\left(x-x_{i}\\right)^{2}\\right)^{p},\" alt=\"k=\\left(1-\\left(\\frac{x-x_{i}}{x_{n}-x_{1}}\\right)^2\\right)^{p}\\implies k=\\left(\\left(x_{n}-x_{1}\\right)^{2}-\\left(x-x_{i}\\right)^{2}\\right)^{p},\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/996\/5bf\/ce0\/9965bfce02eff71fa31586fede0924af.svg\" width=\"539\" height=\"63\"\/><\/p>\n<p>\u0433\u0434\u0435 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"p\" alt=\"p\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b11\/0da\/3c9\/b110da3c918051829c2caefb4f06ff39.svg\" width=\"11\" height=\"15\"\/> \u2014 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438 \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438. \u0412 \u0441\u043a\u043e\u0431\u043a\u0430\u0445 \u0443 \u043d\u0430\u0441 \u0432\u043e\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 \u043a\u0432\u0430\u0434\u0440\u0430\u0442 \u2014 \u044d\u0442\u043e \u0438 \u0435\u0441\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043d\u043e \u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u0432\u044b\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u0443\u044e <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"2\" alt=\"2\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d12\/a05\/8ca\/d12a058ca9e80f50a576f6e4f1d7f23c.svg\" width=\"10\" height=\"17\"\/>, \u0438\u043d\u0430\u0447\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043b\u043e\u043c\u0430\u043d\u043e\u0439.<\/p>\n<pre><code class=\"cs\">public static float power(Vector2[] points, float x, float n, float p) {   float b = 0, y = 0;   for (int i = 0; i &lt; points.Length; i++)   {     float k = Mathf.Pow(Mathf.Pow(Mathf.Abs(points[points.Length - 1].x - points[0].x), n) - Mathf.Pow(Mathf.Abs(x - points[i].x), n), p);     float y += a[i].y * k;     float b += k;   }   return y \/ b; }<\/code><\/pre>\n<hr\/>\n<h2>\u0421\u0438\u043d\u0443\u0441\/\u041a\u043e\u0441\u0438\u043d\u0443\u0441<\/h2>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/206\/64d\/3c4\/20664d3c46da091a9b9834f9d1b3ddb2.png\" alt=\"\u043a\u043e\u0441\u0438\u043d\u0443\u0441, \u0440\u0430\u0441\u0442\u044f\u0436\u0435\u043d\u0438\u0435 1, \u0441\u0434\u0432\u0438\u0433 1, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 20\" title=\"\u043a\u043e\u0441\u0438\u043d\u0443\u0441, \u0440\u0430\u0441\u0442\u044f\u0436\u0435\u043d\u0438\u0435 1, \u0441\u0434\u0432\u0438\u0433 1, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 20\" width=\"1224\" height=\"1170\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/206\/64d\/3c4\/20664d3c46da091a9b9834f9d1b3ddb2.png\"\/><figcaption>\u043a\u043e\u0441\u0438\u043d\u0443\u0441, \u0440\u0430\u0441\u0442\u044f\u0436\u0435\u043d\u0438\u0435 1, \u0441\u0434\u0432\u0438\u0433 1, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 20<\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a\u043e \u0432\u0441\u0435\u043c\u0438 \u043b\u044e\u0431\u0438\u043c\u043e\u0439 \u0442\u0440\u0438\u0433\u043e\u043d\u043e\u043c\u0435\u0442\u0440\u0438\u0438. \u041f\u0435\u0440\u0432\u044b\u043c\u0438 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u0438\u043d\u0443\u0441 \u0438 \u043a\u043e\u0441\u0438\u043d\u0443\u0441, \u043a\u0430\u043a \u0438 \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0441\u0438\u043d\u0443\u0441 \u0438 \u043a\u043e\u0441\u0438\u043d\u0443\u0441 \u2014 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043d\u043e \u0441 \u0440\u0430\u0437\u043d\u044b\u043c \u0441\u0434\u0432\u0438\u0433\u043e\u043c, \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u044f \u0431\u0443\u0434\u0443 \u043a\u043e\u0441\u0438\u043d\u0443\u0441. \u041d\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043a\u043e\u0441\u0438\u043d\u0443\u0441 \u043d\u0430 \u0441\u0438\u043d\u0443\u0441 \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u0443\u043b\u0435. <\/p>\n<p>\u0418\u0442\u0430\u043a, \u043d\u0430\u0448\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c  <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"1\" alt=\"1\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fa6\/3ff\/fc1\/fa63fffc106f776cab6ac346851e14ed.svg\" width=\"10\" height=\"17\"\/>  \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u043d\u043e\u043c <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"0\" alt=\"0\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b83\/566\/3bd\/b835663bdcf203a4a4305aec870d3b2f.svg\" width=\"10\" height=\"17\"\/>, \u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0432\u0441\u0435\u0433\u043e \u0434\u0432\u0430 \u2014 \u0440\u0430\u0441\u0442\u044f\u0436\u0435\u043d\u0438\u0435 \u0438 \u0441\u0434\u0432\u0438\u0433. \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u043b\u0443\u043f\u0435\u0440\u0438\u043e\u0434 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0432\u0435\u043d <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"1\" alt=\"1\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/60f\/2be\/ba9\/60f2beba9e26979324afa37adc276772.svg\" width=\"10\" height=\"17\"\/>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0444\u043e\u0440\u043c\u0443\u043b\u0430 \u0440\u0430\u0441\u0442\u044f\u0436\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u043e\u0439: <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"\\cos\\left(k\\cdot\\pi\\cdot x\\right)\" alt=\"\\cos\\left(k\\cdot\\pi\\cdot x\\right)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b67\/05e\/a1b\/b6705ea1bc1347f5685cc4db50adbc6a.svg\" width=\"102\" height=\"22\"\/>, \u0433\u0434\u0435 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"k\" alt=\"k\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/35e\/701\/36f\/35e70136f243d8523cbcfeebb20cc5e8.svg\" width=\"10\" height=\"17\"\/> \u2014 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"\\in\\left(0;1\\right]\" alt=\"\\in\\left(0;1\\right]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/985\/647\/ecb\/985647ecb0f97e374df0b501badae4b4.svg\" width=\"60\" height=\"22\"\/>. \u0421 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0441\u0434\u0432\u0438\u0433\u0430 \u043e\u043d\u0430 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"\\cos\\left(k_{1}\\cdot\\pi\\cdot x-k_{2}\\cdot\\pi\\right)\" alt=\"\\cos\\left(k_{1}\\cdot\\pi\\cdot x-k_{2}\\cdot\\pi\\right)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a1c\/3cf\/3ea\/a1c3cf3ea8d99d2b86ee94887019a6a9.svg\" width=\"180\" height=\"22\"\/>.  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u0444\u043e\u0440\u043c\u0443\u043b\u0443 \u043a \u043d\u0443\u0436\u043d\u043e\u043c\u0443 \u0432\u0438\u0434\u0443, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043a\u043e\u043d\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u0438\u0434 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u043e\u0439:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"k=\\left(\\frac{\\cos\\left(k_{1}\\cdot\\pi\\cdot x-k_{2}\\cdot\\pi\\right)-\\cos\\left(k_{1}\\cdot\\pi-k_{2}\\cdot\\pi\\right)}{\\cos\\left(k_{2}\\cdot\\pi\\right)-\\cos\\left(k_{1}\\cdot\\pi-k_{2}\\cdot\\pi\\right)}\\right)^{p}\\implies\" alt=\"k=\\left(\\frac{\\cos\\left(k_{1}\\cdot\\pi\\cdot x-k_{2}\\cdot\\pi\\right)-\\cos\\left(k_{1}\\cdot\\pi-k_{2}\\cdot\\pi\\right)}{\\cos\\left(k_{2}\\cdot\\pi\\right)-\\cos\\left(k_{1}\\cdot\\pi-k_{2}\\cdot\\pi\\right)}\\right)^{p}\\implies\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ae8\/637\/646\/ae8637646dbedd16ac96b58e561b6fc4.svg\" width=\"487\" height=\"51\"\/><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\implies k=\\left(\\cos\\left(k_{1}\\cdot\\pi\\cdot x-k_{2}\\cdot\\pi\\right)-\\cos\\left(k_{1}\\cdot\\pi-k_{2}\\cdot\\pi\\right)\\right)^{p}.\" alt=\"\\implies k=\\left(\\cos\\left(k_{1}\\cdot\\pi\\cdot x-k_{2}\\cdot\\pi\\right)-\\cos\\left(k_{1}\\cdot\\pi-k_{2}\\cdot\\pi\\right)\\right)^{p}.\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ff4\/ab0\/36c\/ff4ab036c93c05dd408db7ac5e0ff7d3.svg\" width=\"472\" height=\"23\"\/><\/p>\n<p>\u041a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u044b \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u044b \u2014 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"k_{1}\\in\\left(0;1\\right]\" alt=\"k_{1}\\in\\left(0;1\\right]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7d1\/daa\/d93\/7d1daad93d859681013ca9333673764d.svg\" width=\"84\" height=\"22\"\/>, \u0430 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"k_{2}\\in\\left[0;1\\right]\/\\left\\{\\frac{k_{1}}{2}\\right\\}\" alt=\"k_{2}\\in\\left[0;1\\right]\/\\left\\{\\frac{k_{1}}{2}\\right\\}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/79b\/e7a\/baa\/79be7abaa3d8421b281caf4517a75f6e.svg\" width=\"154\" height=\"50\"\/>. \u041e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434 \u0434\u043b\u044f \u0441\u0438\u043d\u0443\u0441\u043e\u0438\u0434\u043e\u0439 \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"cs\">public static float sinus(Vector2[] points, float x, float k1, float k2, float p) {   float b = 0, y = 0;   for (int i = 0; i &lt; points.Length; i++)   {     float k = Mathf.Pow(Mathf.Cos(k1 * Mathf.PI * Mathf.Abs(x - points[i].x) \/ (points[points.Length - 1].x - points[0].x) - k2 * Mathf.PI) - Mathf.Cos(k1 * Mathf.PI - k2 * Mathf.PI), p);     y += points[i].y * k;     b += k;   }   return y \/ b; }<\/code><\/pre>\n<hr\/>\n<h2>\u042d\u043a\u0441\u043f\u043e\u043d\u0435\u043d\u0442\u0430<\/h2>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/587\/631\/4f7\/5876314f7ecb092c79c21e106eeab31d.png\" alt=\"\u044d\u043a\u0441\u043f\u043e\u043d\u0435\u043d\u0442\u0430, \u0432\u0442\u043e\u0440\u043e\u0439 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 4, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 30\" title=\"\u044d\u043a\u0441\u043f\u043e\u043d\u0435\u043d\u0442\u0430, \u0432\u0442\u043e\u0440\u043e\u0439 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 4, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 30\" width=\"1222\" height=\"1172\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/587\/631\/4f7\/5876314f7ecb092c79c21e106eeab31d.png\"\/><figcaption>\u044d\u043a\u0441\u043f\u043e\u043d\u0435\u043d\u0442\u0430, \u0432\u0442\u043e\u0440\u043e\u0439 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 4, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 30<\/figcaption><\/figure>\n<p>\u041d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432\u0438\u0434\u0430 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"n^{x}\" alt=\"n^{x}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c0a\/6ae\/4bd\/c0a6ae4bda42a8e158a12d0d1703461c.svg\" width=\"22\" height=\"18\"\/>. \u0412 \u0440\u0430\u043c\u043a\u0430\u0445 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438, \u0445\u043e\u0447\u0443 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u043e\u043d\u0438 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u0435, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043f\u0440\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438 \u043f\u043e\u0447\u0442\u0438 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e. \u041d\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432\u043e\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0432 \u043e\u0447\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f. \u0414\u043b\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0442\u0430\u043a\u043e\u0433\u043e \u0432\u0438\u0434\u0430 \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432, \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u043b\u044f \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438, \u043d\u043e \u044f \u0432\u044b\u0431\u0435\u0440\u0443 \u043b\u0443\u0447\u0448\u0438\u0435 \u0434\u0432\u0430. \u0421\u0432\u0435\u0440\u0445\u0443 \u0443 \u043d\u0430\u0441 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u043f\u0440\u0438 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"\\Delta x\\to0\" alt=\"\\Delta x\\to0\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/40b\/3c6\/03d\/40b3c603de2ab79e8e24f209541d6642.svg\" width=\"68\" height=\"18\"\/> \u0438 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0430\u044f \u043f\u0440\u0438 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"\\Delta x\\to\\max\" alt=\"\\Delta x\\to\\max\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/faf\/ec5\/d28\/fafec5d28d730438c69ec9d3b0d03218.svg\" width=\"94\" height=\"18\"\/>. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u0447\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u044b \u0443\u0436\u0435 \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u043b\u0438\u0441\u044c \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435. \u041f\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443 \u0441\u0442\u0435\u043f\u0435\u043d\u0435\u0439 \u0443 \u043d\u0430\u0441 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u043f\u0435\u0440\u0435\u043c\u043d\u043e\u0436\u0430\u044e\u0442\u0441\u044f:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"k=c^{\\displaystyle k_{\u043a\u0432\u0430\u0434\u0440\u0430\u0442}\\cdot p}.\" alt=\"k=c^{\\displaystyle k_{\u043a\u0432\u0430\u0434\u0440\u0430\u0442}\\cdot p}.\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8b9\/c75\/d02\/8b9c75d02c0f4a0f58dcd121b4885934.svg\" width=\"125\" height=\"30\"\/><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0440\u0430\u0441\u043a\u0440\u044b\u0442\u044c, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0442\u0440\u0438 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u0430:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"k=k_{1}^{\\displaystyle k_{2}\\cdot\\left(1-\\left(\\frac{x-x_{i}}{x_{n}-x_{1}}\\right)^{2}\\right)^{p}}.\" alt=\"k=k_{1}^{\\displaystyle k_{2}\\cdot\\left(1-\\left(\\frac{x-x_{i}}{x_{n}-x_{1}}\\right)^{2}\\right)^{p}}.\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/bf8\/24f\/066\/bf824f066675d80512bf1c852bda368b.svg\" width=\"271\" height=\"76\"\/><\/p>\n<p>\u0412\u0442\u043e\u0440\u043e\u0439 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u0438\u043c, \u0438\u043d\u0430\u0447\u0435 \u0431\u0443\u0434\u0435\u0442 \u0442\u0440\u0443\u0434\u043d\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u044e. \u0412 \u043f\u043b\u0430\u043d\u0435 \u043a\u043e\u0434\u0430 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u0432\u0430 \u0432\u043e\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0432 \u0441\u0442\u0435\u043f\u0435\u043d\u044c, \u043d\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0435. \u041d\u0443 \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0448\u0430\u0433 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430 \u2014 \u043a\u043e\u0434.<\/p>\n<pre><code class=\"cs\">public static float exponent(Vector2[] points, float k1, float k2, float p) {   float b = 0, y = 0;   for (int i = 0; i &lt; points.Length; i++)   {     float k = Mathf.Pow(k1, k2 * Mathf.Pow(1 - (x - points[i].x) * (x - points[i].x) \/ (points[points.Length - 1].x - points[0].x) \/ (points[points.Length - 1].x - points[0].x), p));     y += points[i].y * k;     b += k;   }   return y \/ b; }<\/code><\/pre>\n<hr\/>\n<h2>\u0422\u0430\u043d\u0433\u0435\u043d\u0441\/\u041a\u043e\u0442\u0430\u043d\u0433\u0435\u043d\u0441<\/h2>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/920\/3d1\/e97\/9203d1e9721c15c864a0afcc54319ac0.png\" alt=\"\u0442\u0430\u043d\u0433\u0435\u043d\u0441, \u0440\u0430\u0441\u0442\u044f\u0436\u0435\u043d\u0438\u0435 0.1, \u0441\u0434\u0432\u0438\u0433 0, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 18\" title=\"\u0442\u0430\u043d\u0433\u0435\u043d\u0441, \u0440\u0430\u0441\u0442\u044f\u0436\u0435\u043d\u0438\u0435 0.1, \u0441\u0434\u0432\u0438\u0433 0, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 18\" width=\"1222\" height=\"1174\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/920\/3d1\/e97\/9203d1e9721c15c864a0afcc54319ac0.png\"\/><figcaption>\u0442\u0430\u043d\u0433\u0435\u043d\u0441, \u0440\u0430\u0441\u0442\u044f\u0436\u0435\u043d\u0438\u0435 0.1, \u0441\u0434\u0432\u0438\u0433 0, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 18<\/figcaption><\/figure>\n<p>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0442\u0440\u0438\u0433\u043e\u043d\u043e\u043c\u0435\u0442\u0440\u0438\u044e. \u0418\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0442\u0440\u0438\u0433\u043e\u043d\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c \u043e\u0434\u043d\u0430 \u2014 \u0442\u0430\u043d\u0433\u0435\u043d\u0441. \u0414\u043b\u044f \u0442\u0430\u043d\u0433\u0435\u043d\u0441\u0430 \u0432\u0441\u0435 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0441 \u0441\u0438\u043d\u0443\u0441\u043e\u043c, \u0432\u0438\u0434 \u0442\u0430\u043a\u043e\u0439:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"k=\\left(\\frac{\\tan\\left(k_{1}\\cdot\\pi\\cdot x-k_{2}\\cdot\\pi\\right)-\\tan\\left(k_{1}\\cdot\\pi-k_{2}\\cdot\\pi\\right)}{-\\tan\\left(k_{2}\\cdot\\pi\\right)-\\tan\\left(k_{1}\\cdot\\pi-k_{2}\\cdot\\pi\\right)}\\right)^{p}\\implies\" alt=\"k=\\left(\\frac{\\tan\\left(k_{1}\\cdot\\pi\\cdot x-k_{2}\\cdot\\pi\\right)-\\tan\\left(k_{1}\\cdot\\pi-k_{2}\\cdot\\pi\\right)}{-\\tan\\left(k_{2}\\cdot\\pi\\right)-\\tan\\left(k_{1}\\cdot\\pi-k_{2}\\cdot\\pi\\right)}\\right)^{p}\\implies\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fb9\/582\/c5e\/fb9582c5e5e59ae5df9f30825fc0c439.svg\" width=\"491\" height=\"51\"\/><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\implies k=\\left(\\tan\\left(k_{1}\\cdot\\pi\\cdot x-k_{2}\\cdot\\pi\\right)-\\tan\\left(k_{1}\\cdot\\pi-k_{2}\\cdot\\pi\\right)\\right)^{p}\" alt=\"\\implies k=\\left(\\tan\\left(k_{1}\\cdot\\pi\\cdot x-k_{2}\\cdot\\pi\\right)-\\tan\\left(k_{1}\\cdot\\pi-k_{2}\\cdot\\pi\\right)\\right)^{p}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1e4\/123\/15d\/1e412315df77dab144ef519d75b6c337.svg\" width=\"471\" height=\"23\"\/><\/p>\n<p>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u043e\u0432 \u2014 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"k_{1}\\in\\left(0;\\frac{1}{2}\\right]\" alt=\"k_{1}\\in\\left(0;\\frac{1}{2}\\right]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/295\/235\/c72\/295235c72997dcd47d26157e4f21b8e9.svg\" width=\"103\" height=\"50\"\/>, <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"k_{2}\\in\\left[0;\\frac{1}{2}\\right)\" alt=\"k_{2}\\in\\left[0;\\frac{1}{2}\\right)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/82d\/7b1\/150\/82d7b115089e3961c0c27077768364a6.svg\" width=\"103\" height=\"50\"\/>, <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"k_{1}-k_{2}\\ne \\frac{n\\cdot\\pi}{2}\" alt=\"k_{1}-k_{2}\\ne \\frac{n\\cdot\\pi}{2}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/679\/32c\/ea4\/67932cea451895fb462fc9f116877b29.svg\" width=\"133\" height=\"38\"\/>.<\/p>\n<p>\u0414\u043b\u044f \u043d\u0443\u0436\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432 \u043a\u043e\u0434\u0435 \u043c\u0435\u043d\u044f\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0441\u0438\u043d\u0443\u0441 \u043d\u0430 \u0442\u0430\u043d\u0433\u0435\u043d\u0441 \u0432 \u043a\u043e\u0434\u0435 \u0438\u0437 \u0431\u043b\u043e\u043a\u0430 \u043f\u0440\u043e \u0441\u0438\u043d\u0443\u0441. \u0414\u0430 \u0443\u0436, \u0445\u0430\u043b\u044f\u0432\u043d\u044b\u0439 \u0431\u043b\u043e\u043a \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u043f\u043e \u0433\u043e\u0442\u043e\u0432\u0435\u043d\u044c\u043a\u043e\u043c\u0443 \u043f\u0440\u043e\u0448\u043b\u0438).<\/p>\n<pre><code class=\"cs\">public static float tangent(Vector2[] points, float x, float k1, float k2, float p) {   float b = 0, y = 0;   for (int i = 0; i &lt; points.Length; i++)   {     float k = Mathf.Pow(Mathf.Tan(k1 * Mathf.PI * Mathf.Abs(x - points[i].x) \/ (points[points.Length - 1].x - points[0].x) - k2 * Mathf.PI) - Mathf.Tan(k1 * Mathf.PI - k2 * Mathf.PI), p);     y += points[i].y * k;     b += k;   }   return y \/ b; }<\/code><\/pre>\n<hr\/>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\u041d\u0443 \u0438 \u043a\u0443\u0434\u0430 \u0436\u0435 \u0431\u0435\u0437 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438 \u0441\u0430\u043c\u043e\u0439 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u043e\u0439 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043e\u0434\u0430:<\/p>\n<pre><code class=\"cs\">public struct Approximation {   public static float power(Vector2[] points, float x, float n, float p)   {     float b = 0, y = 0;     float m = Mathf.Pow(Mathf.Abs(points[points.Length - 1].x - points[0].x), n);     for (int i = 0; i &lt; points.Length; i++)     {       float k = Mathf.Pow(m - Mathf.Pow(Mathf.Abs(x - points[i].x), n), p);       float y += a[i].y * k;       float b += k;     }     return y \/ b;   }      public static float sinus(Vector2[] points, float x, float k1, float k2, float p)   {     float b = 0, y = 0;     float c = Mathf.Cos(k1 * Mathf.PI - k2 * Mathf.PI), m = points[points.Length - 1].x - points[0].x;     for (int i = 0; i &lt; points.Length; i++)     {       float k = Mathf.Pow(Mathf.Cos(k1 * Mathf.PI * Mathf.Abs(x - points[i].x) \/ m - k2 * Mathf.PI) - c, p);       y += points[i].y * k;       b += k;     }     return y \/ b;   }      public static float exponent(Vector2[] points, float k1, float k2, float p)   {     float b = 0, y = 0;     float m = (points[points.Length - 1].x - points[0].x) * (points[points.Length - 1].x - points[0].x);     for (int i = 0; i &lt; points.Length; i++)     {       float k = Mathf.Pow(k1, k2 * Mathf.Pow(1 - (x - points[i].x) * (x - points[i].x) \/ m, p));       y += points[i].y * k;       b += k;     }     return y \/ b;   }      public static float tangent(Vector2[] points, float x, float k1, float k2, float p)   {     float b = 0, y = 0;     float t = Mathf.Tan(k1 * Mathf.PI - k2 * Mathf.PI), m = points[points.Length - 1].x - points[0].x;     for (int i = 0; i &lt; points.Length; i++)     {       float k = Mathf.Pow(Mathf.Tan(k1 * Mathf.PI * Mathf.Abs(x - points[i].x) \/ m - k2 * Mathf.PI) - t, p);       y += points[i].y * k;       b += k;     }     return y \/ b;   }      public delegate float function(float f);      public static delegat(Vector2[] points, float x, function func)   {     float b = 0, y = 0;     float m = points[points.Length - 1].x - points[1].x;     for (int i = 0; i &lt; points.Length; i++)     {       float k = f(Mathf.Abs(points[i].x - x) \/ m);       y += points[i].y * k;       b += k;     }     return y \/ b;   } }<\/code><\/pre>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u044b \u043b\u0438\u0448\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u043c\u043e\u0436\u0435\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e. \u041a\u043e\u0434 \u0432 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0443, \u0442\u043e \u0435\u0441\u0442\u044c \u043d\u0435\u0442 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0439, \u0438\u0437-\u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043a\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e \u0432\u0438\u0434\u0443 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u0441\u0430\u043c\u043e\u0439 \u0444\u043e\u0440\u043c\u0443\u043b\u044b. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u0442\u043e\u0447\u0435\u043a \u043e\u0442 \u0434\u0432\u0438\u0436\u043a\u0430 Unity, \u0432\u0435\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 \u0442\u0438\u043f\u0430 float \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u0437-\u0437\u0430 \u0434\u0432\u0438\u0436\u043a\u0430 \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f, \u0434\u043b\u044f \u0447\u0438\u0441\u0442\u043e\u0433\u043e C# \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c double.<\/p>\n<p>\u0425\u043e\u0447\u0443 \u0435\u0449\u0435 \u043d\u0435\u043c\u043d\u043e\u0436\u043a\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u044e. \u041f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445, \u0432\u0430\u0436\u043d\u043e \u043f\u043e\u043c\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0439 \u0440\u0430\u0441\u0442\u0435\u0442 \u043b\u0438\u043d\u0435\u0439\u043d\u043e. \u0414\u0430\u043d\u043d\u043e\u0435 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u2014 \u0437\u0430\u0431\u0430\u0432\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u044e \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u0432\u0438\u0434\u0430 <img loading=\"lazy\" decoding=\"async\" class=\"formula inline\" source=\"f(x)=1-2\\cdot x^{4}+x^{2}\" alt=\"f(x)=1-2\\cdot x^{4}+x^{2}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/477\/8b1\/c09\/4778b1c092b7ce5040429d38b80eeecc.svg\" width=\"186\" height=\"25\"\/>.<\/p>\n<p>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0442\u0430\u043a\u043e\u0439 \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438 \u043c\u043d\u043e\u0433\u043e, \u043d\u043e \u0442\u0440\u0438 \u044f \u0445\u043e\u0447\u0443 \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c. \u041f\u0435\u0440\u0432\u0430\u044f, \u0438 \u0441\u0430\u043c\u0430\u044f \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u0430\u044f, \u2014 \u044d\u0442\u043e \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u044f \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0442\u043e\u0447\u043a\u0430\u043c\u0438. \u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u044d\u0442\u043e \u0442\u0430\u043a, \u043a\u0430\u043a \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e. \u0412\u0442\u043e\u0440\u0430\u044f \u2014 \u044d\u0442\u043e \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445, \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0435 \u043d\u043e\u0432\u044b\u0445 \u043f\u043e \u0441\u0442\u0430\u0440\u044b\u043c. \u041d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u044d\u0442\u043e \u0441\u0430\u043c\u0430\u044f \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u043d\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0434\u043b\u044f \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438. \u041d\u0443 \u0438 \u0442\u0440\u0435\u0442\u044c\u044f \u2014 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0441\u0433\u043b\u0430\u0436\u0438\u0432\u0430\u043d\u0438\u044f. \u041f\u0440\u0438 \u043c\u043e\u0449\u043d\u043e\u043c \u043a\u043e\u043c\u043f\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u043b\u0438\u0431\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u043c\u0438 \u0442\u043e\u0447\u043a\u0430\u043c\u0438. \u041c\u043e\u0436\u043d\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043d\u043e \u0442\u043e\u0433\u0434\u0430 \u043d\u0435\u043b\u044c\u0437\u044f \u0437\u0430\u0431\u044b\u0432\u0430\u0442\u044c \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0443\u0437\u043b\u043e\u0432\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u043e \u043d\u0435 \u0442\u0435\u0440\u044f\u043b\u043e \u0447\u0435\u0442\u043a\u043e\u0441\u0442\u044c \u0431\u0435\u0437 \u043d\u0430\u0434\u043e\u0431\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>\u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0432\u0430\u043c \u0433\u0434\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u044d\u0442\u043e \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f)<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \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\/articles\/680082\/\"> https:\/\/habr.com\/ru\/articles\/680082\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442!<\/p>\n<p>\u041a\u0430\u043a \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0435 \u043f\u043e \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0443, \u044d\u0442\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u0441 \u0442\u043e\u0439 \u0436\u0435 \u0442\u0435\u043c\u043e\u0439, \u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u043a\u0440\u0438\u0432\u044b\u0435.<\/p>\n<hr\/>\n<h2>\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c<\/h2>\n<p>\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u043a\u0440\u0438\u0432\u044b\u0445 \u0432\u0438\u0434\u0430:<\/p>\n<p>\u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430  \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u0438 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0442  \u0434\u043e  \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0442  \u0434\u043e 0&#8243; alt=&#187;a>0&#8243; src=&#187;https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/347\/812\/1d0\/3478121d0873bb51cad558e0b8c41939.svg&#187; width=&#187;46&#8243; height=&#187;17&#8243;\/>. \u041a\u0430\u043a \u044f \u0438 \u043e\u0431\u0435\u0449\u0430\u043b \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0438 \u0442\u0435\u043a\u0443\u0449\u0430\u044f \u0442\u0435\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u0443\u0436\u0435 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u044f, \u0430 \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u044f.<\/p>\n<p>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0442\u043e\u0447\u043a\u0438 \u0432 \u043b\u044e\u0431\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u0442\u043e\u0433\u0434\u0430 \u043a\u0430\u043a \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u0438 \u0432 \u0443\u0437\u043b\u0430\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u0443\u0437\u043b\u043e\u0432\u044b\u0445 \u0442\u043e\u0447\u0435\u043a. \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432\u043b\u0438\u044f\u043d\u0438\u044f \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0435  \u0434\u043b\u044f \u0432\u0441\u0435\u0445, \u043a\u0440\u043e\u043c\u0435 \u043a\u0440\u0430\u0439\u043d\u0438\u0445, \u0442\u043e\u0447\u0435\u043a \u2014 \u0443 \u043a\u0440\u0430\u0439\u043d\u0438\u0445 \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0432\u0435\u043d  \u043d\u0430 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u043e\u043c \u043a\u043e\u043d\u0446\u0435 \u043a\u0440\u0438\u0432\u043e\u0439. \u0412 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432 \u043a\u0440\u0430\u0439\u043d\u0438\u0445 \u0442\u043e\u0447\u043a\u0430\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432\u043b\u0438\u044f\u043d\u0438\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u043c \u043a\u043e\u043d\u0446\u0435 \u043a\u0440\u0438\u0432\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u043d\u044c\u0448\u0435  \u2014 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0442\u043e\u0447\u0435\u043a \u043a\u0440\u0438\u0432\u0430\u044f \u0432\u043b\u0438\u044f\u043d\u0438\u044f \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u0430\u044f, \u043d\u043e \u0441 \u0440\u0430\u0437\u043d\u044b\u043c \u0441\u0434\u0432\u0438\u0433\u043e\u043c.<\/p>\n<p>\u0410 \u0442\u0435\u043f\u0435\u0440\u044c, \u0431\u0430\u0440\u0430\u0431\u0430\u043d\u043d\u0430\u044f \u0434\u0440\u043e\u0431\u044c, \u044d\u0442\u043e \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0438\u0440\u0443\u0435\u0442, \u043d\u043e \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438! \u042d\u0442\u043e \u043b\u0435\u0433\u043a\u043e \u0434\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f. \u041f\u0440\u0438  \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e \u043d\u0435\u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u043e, \u0442\u043e \u0435\u0441\u0442\u044c \u0433\u0440\u0430\u0444\u0438\u043a \u043f\u0435\u0440\u0432\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0441\u0438\u043b\u044c\u043d\u0435\u0435 \u043f\u0440\u0438\u0436\u0430\u0442 \u043a \u043e\u0441\u0438 . \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u044e \u0441 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0435\u043c ( \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u043c \u0437\u0430 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0434\u043e \u0442\u043e\u0447\u043a\u0438), \u0442\u043e \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u0433\u0440\u0430\u0444\u0438\u043a\u0435 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0432\u043b\u0438\u044f\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u0435\u0435, \u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0435 \u0432  \u0438 . \u041d\u043e \u0432\u0430\u0436\u043d\u043e \u043f\u043e\u043c\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u043f\u0440\u0438 \u043e\u0447\u0435\u043d\u044c \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u0441\u0430\u043c\u0438\u0445 \u0442\u043e\u0447\u043a\u0430\u0445 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0441\u043e\u043a\u0430\u044f, \u043d\u043e \u043f\u043e\u0431\u043b\u0438\u0437\u043e\u0441\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0436\u0430\u0442\u043e \u043a \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e  \u0442\u043e\u0447\u043a\u0438.<\/p>\n<p>\u041d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0438\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430. \u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u0447\u0442\u0438 \u0442\u0435 \u0436\u0435, \u0447\u0442\u043e \u0438 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u0438, \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u2014 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0447\u0438\u0442\u0430\u0442\u044c \u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438\u0437 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e. \u041f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438 \u0442\u0430\u043a\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0441 \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u0435\u0439, , , ,  \u0438 \u0434\u0440\u0443\u0433\u0438\u0435.<\/p>\n<hr\/>\n<h2>\u041a\u0432\u0430\u0434\u0440\u0430\u0442<\/h2>\n<figure class=\"full-width\"><figcaption>\u043a\u0432\u0430\u0434\u0440\u0430\u0442, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 40<\/figcaption><\/figure>\n<p>\u041d\u0435 \u043e\u0442\u0441\u0442\u0443\u043f\u0430\u044f \u043e\u0442 \u043f\u043b\u0430\u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438, \u043f\u0435\u0440\u0432\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043d\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u2014 \u0441\u0442\u0435\u043f\u0435\u043d\u043d\u0430\u044f. \u0415\u0441\u043b\u0438 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u0438 \u043c\u044b \u0434\u0435\u043b\u0438\u043b\u0438, \u0442\u043e \u0437\u0434\u0435\u0441\u044c \u043d\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0443\u043c\u043d\u043e\u0436\u0430\u0442\u044c. \u0421\u0430\u043c \u0432\u0438\u0434 \u0442\u043e\u0436\u0435 \u0447\u0443\u0442\u043e\u0447\u043a\u0443 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0438, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a.<\/p>\n<p>\u0433\u0434\u0435  \u2014 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438 \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438. \u0412 \u0441\u043a\u043e\u0431\u043a\u0430\u0445 \u0443 \u043d\u0430\u0441 \u0432\u043e\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 \u043a\u0432\u0430\u0434\u0440\u0430\u0442 \u2014 \u044d\u0442\u043e \u0438 \u0435\u0441\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043d\u043e \u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u0432\u044b\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u0443\u044e , \u0438\u043d\u0430\u0447\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043b\u043e\u043c\u0430\u043d\u043e\u0439.<\/p>\n<pre><code class=\"cs\">public static float power(Vector2[] points, float x, float n, float p) {   float b = 0, y = 0;   for (int i = 0; i &lt; points.Length; i++)   {     float k = Mathf.Pow(Mathf.Pow(Mathf.Abs(points[points.Length - 1].x - points[0].x), n) - Mathf.Pow(Mathf.Abs(x - points[i].x), n), p);     float y += a[i].y * k;     float b += k;   }   return y \/ b; }<\/code><\/pre>\n<hr\/>\n<h2>\u0421\u0438\u043d\u0443\u0441\/\u041a\u043e\u0441\u0438\u043d\u0443\u0441<\/h2>\n<figure class=\"full-width\"><figcaption>\u043a\u043e\u0441\u0438\u043d\u0443\u0441, \u0440\u0430\u0441\u0442\u044f\u0436\u0435\u043d\u0438\u0435 1, \u0441\u0434\u0432\u0438\u0433 1, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 20<\/figcaption><\/figure>\n<p>\u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a\u043e \u0432\u0441\u0435\u043c\u0438 \u043b\u044e\u0431\u0438\u043c\u043e\u0439 \u0442\u0440\u0438\u0433\u043e\u043d\u043e\u043c\u0435\u0442\u0440\u0438\u0438. \u041f\u0435\u0440\u0432\u044b\u043c\u0438 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u0438\u043d\u0443\u0441 \u0438 \u043a\u043e\u0441\u0438\u043d\u0443\u0441, \u043a\u0430\u043a \u0438 \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0441\u0438\u043d\u0443\u0441 \u0438 \u043a\u043e\u0441\u0438\u043d\u0443\u0441 \u2014 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043d\u043e \u0441 \u0440\u0430\u0437\u043d\u044b\u043c \u0441\u0434\u0432\u0438\u0433\u043e\u043c, \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u044f \u0431\u0443\u0434\u0443 \u043a\u043e\u0441\u0438\u043d\u0443\u0441. \u041d\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043a\u043e\u0441\u0438\u043d\u0443\u0441 \u043d\u0430 \u0441\u0438\u043d\u0443\u0441 \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u0443\u043b\u0435. <\/p>\n<p>\u0418\u0442\u0430\u043a, \u043d\u0430\u0448\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c    \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u043d\u043e\u043c , \u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0432\u0441\u0435\u0433\u043e \u0434\u0432\u0430 \u2014 \u0440\u0430\u0441\u0442\u044f\u0436\u0435\u043d\u0438\u0435 \u0438 \u0441\u0434\u0432\u0438\u0433. \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u043b\u0443\u043f\u0435\u0440\u0438\u043e\u0434 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0432\u0435\u043d , \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0444\u043e\u0440\u043c\u0443\u043b\u0430 \u0440\u0430\u0441\u0442\u044f\u0436\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u043e\u0439: , \u0433\u0434\u0435  \u2014 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 . \u0421 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0441\u0434\u0432\u0438\u0433\u0430 \u043e\u043d\u0430 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 .  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u0444\u043e\u0440\u043c\u0443\u043b\u0443 \u043a \u043d\u0443\u0436\u043d\u043e\u043c\u0443 \u0432\u0438\u0434\u0443, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043a\u043e\u043d\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u0438\u0434 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u043e\u0439:<\/p>\n<p>\u041a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u044b \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u044b \u2014 , \u0430 . \u041e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434 \u0434\u043b\u044f \u0441\u0438\u043d\u0443\u0441\u043e\u0438\u0434\u043e\u0439 \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"cs\">public static float sinus(Vector2[] points, float x, float k1, float k2, float p) {   float b = 0, y = 0;   for (int i = 0; i &lt; points.Length; i++)   {     float k = Mathf.Pow(Mathf.Cos(k1 * Mathf.PI * Mathf.Abs(x - points[i].x) \/ (points[points.Length - 1].x - points[0].x) - k2 * Mathf.PI) - Mathf.Cos(k1 * Mathf.PI - k2 * Mathf.PI), p);     y += points[i].y * k;     b += k;   }   return y \/ b; }<\/code><\/pre>\n<hr\/>\n<h2>\u042d\u043a\u0441\u043f\u043e\u043d\u0435\u043d\u0442\u0430<\/h2>\n<figure class=\"full-width\"><figcaption>\u044d\u043a\u0441\u043f\u043e\u043d\u0435\u043d\u0442\u0430, \u0432\u0442\u043e\u0440\u043e\u0439 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 4, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 30<\/figcaption><\/figure>\n<p>\u041d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432\u0438\u0434\u0430 . \u0412 \u0440\u0430\u043c\u043a\u0430\u0445 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438, \u0445\u043e\u0447\u0443 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u043e\u043d\u0438 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u0435, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043f\u0440\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438 \u043f\u043e\u0447\u0442\u0438 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e. \u041d\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432\u043e\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0432 \u043e\u0447\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f. \u0414\u043b\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0442\u0430\u043a\u043e\u0433\u043e \u0432\u0438\u0434\u0430 \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432, \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0434\u043b\u044f \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438, \u043d\u043e \u044f \u0432\u044b\u0431\u0435\u0440\u0443 \u043b\u0443\u0447\u0448\u0438\u0435 \u0434\u0432\u0430. \u0421\u0432\u0435\u0440\u0445\u0443 \u0443 \u043d\u0430\u0441 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u043f\u0440\u0438  \u0438 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0430\u044f \u043f\u0440\u0438 . \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u0447\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u044b \u0443\u0436\u0435 \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u043b\u0438\u0441\u044c \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435. \u041f\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443 \u0441\u0442\u0435\u043f\u0435\u043d\u0435\u0439 \u0443 \u043d\u0430\u0441 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u043f\u0435\u0440\u0435\u043c\u043d\u043e\u0436\u0430\u044e\u0442\u0441\u044f:<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0440\u0430\u0441\u043a\u0440\u044b\u0442\u044c, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0442\u0440\u0438 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u0430:<\/p>\n<p>\u0412\u0442\u043e\u0440\u043e\u0439 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u0438\u043c, \u0438\u043d\u0430\u0447\u0435 \u0431\u0443\u0434\u0435\u0442 \u0442\u0440\u0443\u0434\u043d\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u044e. \u0412 \u043f\u043b\u0430\u043d\u0435 \u043a\u043e\u0434\u0430 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0434\u0432\u0430 \u0432\u043e\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0432 \u0441\u0442\u0435\u043f\u0435\u043d\u044c, \u043d\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0435. \u041d\u0443 \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0448\u0430\u0433 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430 \u2014 \u043a\u043e\u0434.<\/p>\n<pre><code class=\"cs\">public static float exponent(Vector2[] points, float k1, float k2, float p) {   float b = 0, y = 0;   for (int i = 0; i &lt; points.Length; i++)   {     float k = Mathf.Pow(k1, k2 * Mathf.Pow(1 - (x - points[i].x) * (x - points[i].x) \/ (points[points.Length - 1].x - points[0].x) \/ (points[points.Length - 1].x - points[0].x), p));     y += points[i].y * k;     b += k;   }   return y \/ b; }<\/code><\/pre>\n<hr\/>\n<h2>\u0422\u0430\u043d\u0433\u0435\u043d\u0441\/\u041a\u043e\u0442\u0430\u043d\u0433\u0435\u043d\u0441<\/h2>\n<figure class=\"full-width\"><figcaption>\u0442\u0430\u043d\u0433\u0435\u043d\u0441, \u0440\u0430\u0441\u0442\u044f\u0436\u0435\u043d\u0438\u0435 0.1, \u0441\u0434\u0432\u0438\u0433 0, \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c 18<\/figcaption><\/figure>\n<p>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0442\u0440\u0438\u0433\u043e\u043d\u043e\u043c\u0435\u0442\u0440\u0438\u044e. \u0418\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0442\u0440\u0438\u0433\u043e\u043d\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c \u043e\u0434\u043d\u0430 \u2014 \u0442\u0430\u043d\u0433\u0435\u043d\u0441. \u0414\u043b\u044f \u0442\u0430\u043d\u0433\u0435\u043d\u0441\u0430 \u0432\u0441\u0435 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0441 \u0441\u0438\u043d\u0443\u0441\u043e\u043c, \u0432\u0438\u0434 \u0442\u0430\u043a\u043e\u0439:<\/p>\n<p>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u043e\u0432 \u2014 , , .<\/p>\n<p>\u0414\u043b\u044f \u043d\u0443\u0436\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432 \u043a\u043e\u0434\u0435 \u043c\u0435\u043d\u044f\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0441\u0438\u043d\u0443\u0441 \u043d\u0430 \u0442\u0430\u043d\u0433\u0435\u043d\u0441 \u0432 \u043a\u043e\u0434\u0435 \u0438\u0437 \u0431\u043b\u043e\u043a\u0430 \u043f\u0440\u043e \u0441\u0438\u043d\u0443\u0441. \u0414\u0430 \u0443\u0436, \u0445\u0430\u043b\u044f\u0432\u043d\u044b\u0439 \u0431\u043b\u043e\u043a \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u043f\u043e \u0433\u043e\u0442\u043e\u0432\u0435\u043d\u044c\u043a\u043e\u043c\u0443 \u043f\u0440\u043e\u0448\u043b\u0438).<\/p>\n<pre><code class=\"cs\">public static float tangent(Vector2[] points, float x, float k1, float k2, float p) {   float b = 0, y = 0;   for (int i = 0; i &lt; points.Length; i++)   {     float k = Mathf.Pow(Mathf.Tan(k1 * Mathf.PI * Mathf.Abs(x - points[i].x) \/ (points[points.Length - 1].x - points[0].x) - k2 * Mathf.PI) - Mathf.Tan(k1 * Mathf.PI - k2 * Mathf.PI), p);     y += points[i].y * k;     b += k;   }   return y \/ b; }<\/code><\/pre>\n<hr\/>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\u041d\u0443 \u0438 \u043a\u0443\u0434\u0430 \u0436\u0435 \u0431\u0435\u0437 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438 \u0441\u0430\u043c\u043e\u0439 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u043e\u0439 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043e\u0434\u0430:<\/p>\n<pre><code class=\"cs\">public struct Approximation {   public static float power(Vector2[] points, float x, float n, float p)   {     float b = 0, y = 0;     float m = Mathf.Pow(Mathf.Abs(points[points.Length - 1].x - points[0].x), n);     for (int i = 0; i &lt; points.Length; i++)     {       float k = Mathf.Pow(m - Mathf.Pow(Mathf.Abs(x - points[i].x), n), p);       float y += a[i].y * k;       float b += k;     }     return y \/ b;   }      public static float sinus(Vector2[] points, float x, float k1, float k2, float p)   {     float b = 0, y = 0;     float c = Mathf.Cos(k1 * Mathf.PI - k2 * Mathf.PI), m = points[points.Length - 1].x - points[0].x;     for (int i = 0; i &lt; points.Length; i++)     {       float k = Mathf.Pow(Mathf.Cos(k1 * Mathf.PI * Mathf.Abs(x - points[i].x) \/ m - k2 * Mathf.PI) - c, p);       y += points[i].y * k;       b += k;     }     return y \/ b;   }      public static float exponent(Vector2[] points, float k1, float k2, float p)   {     float b = 0, y = 0;     float m = (points[points.Length - 1].x - points[0].x) * (points[points.Length - 1].x - points[0].x);     for (int i = 0; i &lt; points.Length; i++)     {       float k = Mathf.Pow(k1, k2 * Mathf.Pow(1 - (x - points[i].x) * (x - points[i].x) \/ m, p));       y += points[i].y * k;       b += k;     }     return y \/ b;   }      public static float tangent(Vector2[] points, float x, float k1, float k2, float p)   {     float b = 0, y = 0;     float t = Mathf.Tan(k1 * Mathf.PI - k2 * Mathf.PI), m = points[points.Length - 1].x - points[0].x;     for (int i = 0; i &lt; points.Length; i++)     {       float k = Mathf.Pow(Mathf.Tan(k1 * Mathf.PI * Mathf.Abs(x - points[i].x) \/ m - k2 * Mathf.PI) - t, p);       y += points[i].y * k;       b += k;     }     return y \/ b;   }      public delegate float function(float f);      public static delegat(Vector2[] points, float x, function func)   {     float b = 0, y = 0;     float m = points[points.Length - 1].x - points[1].x;     for (int i = 0; i &lt; points.Length; i++)     {       float k = f(Mathf.Abs(points[i].x - x) \/ m);       y += points[i].y * k;       b += k;     }     return y \/ b;   } }<\/code><\/pre>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u044b \u043b\u0438\u0448\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u043c\u043e\u0436\u0435\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e. \u041a\u043e\u0434 \u0432 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0443, \u0442\u043e \u0435\u0441\u0442\u044c \u043d\u0435\u0442 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0439, \u0438\u0437-\u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043a\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e \u0432\u0438\u0434\u0443 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u0441\u0430\u043c\u043e\u0439 \u0444\u043e\u0440\u043c\u0443\u043b\u044b. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u0442\u043e\u0447\u0435\u043a \u043e\u0442 \u0434\u0432\u0438\u0436\u043a\u0430 Unity, \u0432\u0435\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430 \u0442\u0438\u043f\u0430 float \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u0437-\u0437\u0430 \u0434\u0432\u0438\u0436\u043a\u0430 \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f, \u0434\u043b\u044f \u0447\u0438\u0441\u0442\u043e\u0433\u043e C# \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c double.<\/p>\n<p>\u0425\u043e\u0447\u0443 \u0435\u0449\u0435 \u043d\u0435\u043c\u043d\u043e\u0436\u043a\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u044e. \u041f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445, \u0432\u0430\u0436\u043d\u043e \u043f\u043e\u043c\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0439 \u0440\u0430\u0441\u0442\u0435\u0442 \u043b\u0438\u043d\u0435\u0439\u043d\u043e. \u0414\u0430\u043d\u043d\u043e\u0435 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u2014 \u0437\u0430\u0431\u0430\u0432\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u044e \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u0432\u0438\u0434\u0430 .<\/p>\n<p>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0442\u0430\u043a\u043e\u0439 \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438 \u043c\u043d\u043e\u0433\u043e, \u043d\u043e \u0442\u0440\u0438 \u044f \u0445\u043e\u0447\u0443 \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c. \u041f\u0435\u0440\u0432\u0430\u044f, \u0438 \u0441\u0430\u043c\u0430\u044f \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u0430\u044f, \u2014 \u044d\u0442\u043e \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u044f \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0442\u043e\u0447\u043a\u0430\u043c\u0438. \u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u044d\u0442\u043e \u0442\u0430\u043a, \u043a\u0430\u043a \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e. \u0412\u0442\u043e\u0440\u0430\u044f \u2014 \u044d\u0442\u043e \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445, \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0435 \u043d\u043e\u0432\u044b\u0445 \u043f\u043e \u0441\u0442\u0430\u0440\u044b\u043c. \u041d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u044d\u0442\u043e \u0441\u0430\u043c\u0430\u044f \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u043d\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0434\u043b\u044f \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438. \u041d\u0443 \u0438 \u0442\u0440\u0435\u0442\u044c\u044f \u2014 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0441\u0433\u043b\u0430\u0436\u0438\u0432\u0430\u043d\u0438\u044f. \u041f\u0440\u0438 \u043c\u043e\u0449\u043d\u043e\u043c \u043a\u043e\u043c\u043f\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u043b\u0438\u0431\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u043c\u0438 \u0442\u043e\u0447\u043a\u0430\u043c\u0438. \u041c\u043e\u0436\u043d\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043d\u043e \u0442\u043e\u0433\u0434\u0430 \u043d\u0435\u043b\u044c\u0437\u044f \u0437\u0430\u0431\u044b\u0432\u0430\u0442\u044c \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0443\u0437\u043b\u043e\u0432\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u043e \u043d\u0435 \u0442\u0435\u0440\u044f\u043b\u043e \u0447\u0435\u0442\u043a\u043e\u0441\u0442\u044c \u0431\u0435\u0437 \u043d\u0430\u0434\u043e\u0431\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>\u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0432\u0430\u043c \u0433\u0434\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u044d\u0442\u043e \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f)<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \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\/articles\/680082\/\"> https:\/\/habr.com\/ru\/articles\/680082\/<\/a><br \/><\/br><\/br><\/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-383530","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/383530","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=383530"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/383530\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=383530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=383530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=383530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}