{"id":487388,"date":"2026-07-15T11:30:35","date_gmt":"2026-07-15T11:30:35","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=487388"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=487388","title":{"rendered":"\u041c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0435 \u043f\u043e\u043b\u0435 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0433\u043e \u043c\u0430\u0433\u043d\u0438\u0442\u0430"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>         \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443:\u0414\u0430\u043d \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u044b\u0439 \u043c\u0430\u0433\u043d\u0438\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0444\u043e\u0440\u043c\u044b \u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0435\u0433\u043e \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f B\u00a0\u0432 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435.\u0420\u0430\u0437\u0431\u0435\u0440\u0451\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u0443\u0447\u0430\u0435\u0432.\u0411\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043c\u0430\u0433\u043d\u0438\u0442 \u043e\u0434\u043d\u043e\u0440\u043e\u0434\u043d\u044b\u043c.<\/p>\n<p>1.\u0424\u043e\u0440\u043c\u0430 \u043c\u0430\u0433\u043d\u0438\u0442\u0430 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0435\u043f\u0438\u043f\u0435\u0434(\u043f\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u043c\u0430\u0433\u043d\u0438\u0442) \u0440\u0430\u0437\u043c\u0435\u0440\u0430 2a \u043d\u0430 2b \u043d\u0430 2c.\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u043c \u043d\u0430\u0447\u0430\u043b\u043e O \u0434\u0435\u043a\u0430\u0440\u0442\u043e\u0432\u043e\u0439 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0439 \u043e\u0440\u0442\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442 \u0441 \u043f\u0440\u0430\u0432\u043e\u0439 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439 \u0431\u0430\u0437\u0438\u0441\u043d\u044b\u0445 \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432(i, j, k\u00a0) XOYZ \u0432 \u0446\u0435\u043d\u0442\u0440 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0435\u043f\u0438\u043f\u0435\u0434\u0430.\u0421\u0434\u0435\u043b\u0430\u0435\u043c \u0441\u0445\u0435\u043c\u0430\u0442\u0438\u0447\u043d\u044b\u0439 \u0440\u0438\u0441\u0443\u043d\u043e\u043a:<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ef7\/554\/a6c\/ef7554a6c349b1f37deac0671475dd5a.png\" alt=\"\u041f\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u043c\u0430\u0433\u043d\u0438\u0442\" title=\"\u041f\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u043c\u0430\u0433\u043d\u0438\u0442\" width=\"661\" height=\"452\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/ef7\/554\/a6c\/ef7554a6c349b1f37deac0671475dd5a.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ef7\/554\/a6c\/ef7554a6c349b1f37deac0671475dd5a.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u041f\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u043c\u0430\u0433\u043d\u0438\u0442<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/160\/dec\/fce\/160decfcecafe684da85e49efc33edc0.jpg\" alt=\"\u0417\u0430\u043a\u043e\u043d \u0411\u0438\u043e-\u0421\u0430\u0432\u0430\u0440\u0430-\u041b\u0430\u043f\u043b\u0430\u0441\u0430\" title=\"\u0417\u0430\u043a\u043e\u043d \u0411\u0438\u043e-\u0421\u0430\u0432\u0430\u0440\u0430-\u041b\u0430\u043f\u043b\u0430\u0441\u0430\" width=\"640\" height=\"278\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/160\/dec\/fce\/160decfcecafe684da85e49efc33edc0.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/160\/dec\/fce\/160decfcecafe684da85e49efc33edc0.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u0417\u0430\u043a\u043e\u043d \u0411\u0438\u043e-\u0421\u0430\u0432\u0430\u0440\u0430-\u041b\u0430\u043f\u043b\u0430\u0441\u0430<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d7d\/dfc\/8ed\/d7ddfc8edc4d912c5b86e477f17d0fdd.jpg\" alt=\"\u041d\u0430\u0447\u0430\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f\" title=\"\u041d\u0430\u0447\u0430\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f\" width=\"640\" height=\"841\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/d7d\/dfc\/8ed\/d7ddfc8edc4d912c5b86e477f17d0fdd.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d7d\/dfc\/8ed\/d7ddfc8edc4d912c5b86e477f17d0fdd.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u041d\u0430\u0447\u0430\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/6f8\/75e\/724\/6f875e724825c6f90756fa08f2698448.jpg\" alt=\"\u041a\u043e\u043d\u0435\u0446 \u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u0410\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435.\" title=\"\u041a\u043e\u043d\u0435\u0446 \u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u0410\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435.\" width=\"640\" height=\"861\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/6f8\/75e\/724\/6f875e724825c6f90756fa08f2698448.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/6f8\/75e\/724\/6f875e724825c6f90756fa08f2698448.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u041a\u043e\u043d\u0435\u0446 \u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u0410\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435.<\/figcaption><\/div>\n<\/figure>\n<p>2.\u00a0\u0426\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0430\u0433\u043d\u0438\u0442(\u043c\u0430\u0433\u043d\u0438\u0442 \u0438\u043c\u0435\u0435\u0442 \u0444\u043e\u0440\u043c\u0443 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0430 \u0432\u044b\u0441\u043e\u0442\u044b 2h \u0438 \u0440\u0430\u0434\u0438\u0443\u0441\u0430 R).\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u043c \u043d\u0430\u0447\u0430\u043b\u043e O \u0434\u0435\u043a\u0430\u0440\u0442\u043e\u0432\u043e\u0439 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0439 \u043e\u0440\u0442\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442 \u0441 \u043f\u0440\u0430\u0432\u043e\u0439 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439 \u0431\u0430\u0437\u0438\u0441\u043d\u044b\u0445 \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432\u00a0XOYZ \u0432 \u0446\u0435\u043d\u0442\u0440 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0430.\u0421\u0434\u0435\u043b\u0430\u0435\u043c \u0440\u0438\u0441\u0443\u043d\u043e\u043a:<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/9c3\/d02\/c14\/9c3d02c14a643bd1adc74a2581f7f3f4.jpg\" alt=\"\u0426\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0430\u0433\u043d\u0438\u0442\" title=\"\u0426\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0430\u0433\u043d\u0438\u0442\" width=\"640\" height=\"509\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/9c3\/d02\/c14\/9c3d02c14a643bd1adc74a2581f7f3f4.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/9c3\/d02\/c14\/9c3d02c14a643bd1adc74a2581f7f3f4.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u0426\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0430\u0433\u043d\u0438\u0442<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b50\/28a\/a73\/b5028aa73894aaafd7bcce938f456663.jpg\" alt=\"\u0417\u0430\u043a\u043e\u043d \u0411\u0438\u043e-\u0421\u0430\u0432\u0430\u0440\u0430-\u041b\u0430\u043f\u043b\u0430\u0441\u0430.\" title=\"\u0417\u0430\u043a\u043e\u043d \u0411\u0438\u043e-\u0421\u0430\u0432\u0430\u0440\u0430-\u041b\u0430\u043f\u043b\u0430\u0441\u0430.\" width=\"640\" height=\"230\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/b50\/28a\/a73\/b5028aa73894aaafd7bcce938f456663.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/b50\/28a\/a73\/b5028aa73894aaafd7bcce938f456663.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u0417\u0430\u043a\u043e\u043d \u0411\u0438\u043e-\u0421\u0430\u0432\u0430\u0440\u0430-\u041b\u0430\u043f\u043b\u0430\u0441\u0430.<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e93\/68e\/90a\/e9368e90ab51aad8cba8149e0d379a86.jpg\" alt=\"\u041d\u0430\u0447\u0430\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f.\" title=\"\u041d\u0430\u0447\u0430\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f.\" width=\"640\" height=\"891\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/e93\/68e\/90a\/e9368e90ab51aad8cba8149e0d379a86.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e93\/68e\/90a\/e9368e90ab51aad8cba8149e0d379a86.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u041d\u0430\u0447\u0430\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f.<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/cc8\/a43\/cac\/cc8a43cacd890ce7f95f4573c33ab293.jpg\" alt=\"\u041a\u043e\u043d\u0435\u0446 \u0440\u0435\u0448\u0435\u043d\u0438\u044f.\" title=\"\u041a\u043e\u043d\u0435\u0446 \u0440\u0435\u0448\u0435\u043d\u0438\u044f.\" width=\"640\" height=\"392\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/cc8\/a43\/cac\/cc8a43cacd890ce7f95f4573c33ab293.jpg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/cc8\/a43\/cac\/cc8a43cacd890ce7f95f4573c33ab293.jpg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u041a\u043e\u043d\u0435\u0446 \u0440\u0435\u0448\u0435\u043d\u0438\u044f.<\/figcaption><\/div>\n<\/figure>\n<p>   \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043d\u0430 Python \u043a\u043e\u0434 \u0434\u043b\u044f \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u0430\u0433\u043d\u0438\u0442\u0430 (\u043a\u043e\u0434 \u043f\u043e\u043c\u043e\u0433\u0430\u043b\u0430 \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c):<\/p>\n<pre><code class=\"python\">import numpy as npimport matplotlib.pyplot as pltfrom matplotlib import cm# \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043c\u0430\u0433\u043d\u0438\u0442\u0430mu_0 = 4 * np.pi * 1e-7  # \u0422\u043b\u00b7\u043c\/\u0410mu = 1.0  # \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u0430\u044f \u043f\u0440\u043e\u043d\u0438\u0446\u0430\u0435\u043c\u043e\u0441\u0442\u044crho = 1.0  # \u043f\u043b\u043e\u0442\u043d\u043e\u0441\u0442\u044c \u0442\u043e\u043a\u0430 (\u0410\/\u043c\u00b2)v = 1.0  # \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0434\u0440\u0435\u0439\u0444\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043e\u0432 (\u043c\/\u0441)R = 0.1  # \u0440\u0430\u0434\u0438\u0443\u0441 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0430 (\u043c)h = 0.2  # \u0432\u044b\u0441\u043e\u0442\u0430 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0430 (\u043c)# \u041a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u0430 \u0434\u043b\u044f \u0440\u0430\u0441\u0447\u0435\u0442\u043e\u0432const = mu_0 * mu * rho * v \/ (4 * np.pi)def calculate_field(r0, z0):    # \u0412\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0440\u0430\u0441\u0447\u0435\u0442\u0430    def I1(r0, z0):        integral = 0        for r in np.linspace(0, R, 100):            term1 = (z0 - h) * np.log(                (np.sqrt((z0 - h)**2 + (R - r0)**2) + R - r0) \/                (np.sqrt((z0 - h)**2 + r0**2) - r0)            )            term2 = np.sqrt((z0 - h)**2 + (R - r0)**2) - np.sqrt((z0 - h)**2 + r0**2)            term3 = (z0 + h) * np.log(                (np.sqrt((z0 + h)**2 + (R - r0)**2) + R - r0) \/                (np.sqrt((z0 + h)**2 + r0**2) - r0)            )            term4 = np.sqrt((z0 + h)**2 + (R - r0)**2) - np.sqrt((z0 + h)**2 + r0**2)            integral += r * (term1 + term2 + term3 + term4)        return integral    def I2(r0, z0):        integral = 0        for r in np.linspace(0, R, 100):            term = (r - r0) \/ np.sqrt((r - r0)**2 + (z0 - h)**2)            integral += r * term        return integral    # \u0420\u0430\u0441\u0447\u0435\u0442 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043f\u043e\u043b\u044f    Br = const * I1(r0, z0)    Bz = const * I2(r0, z0)    return Br, Bz# \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0435\u0442\u043a\u0438 \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438r = np.linspace(0, 2*R, 50)z = np.linspace(-2*h, 2*h, 50)R_grid, Z_grid = np.meshgrid(r, z)Br_grid = np.zeros_like(R_grid)Bz_grid = np.zeros_like(Z_grid)for i in range(R_grid.shape[0]):    for j in range(R_grid.shape[1]):        Br_grid[i,j], Bz_grid[i,j] = calculate_field(R_grid[i,j], Z_grid[i,j])# \u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044fplt.figure(figsize=(14, 8))# \u0413\u0440\u0430\u0444\u0438\u043a \u0440\u0430\u0434\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044bplt.subplot(121)plt.pcolormesh(R_grid, Z_grid, Br_grid, cmap=cm.coolwarm)plt.colorbar(label='Br (\u0422\u043b)')plt.title('\u0420\u0430\u0434\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f')plt.xlabel('r (\u043c)')plt.ylabel('z (\u043c)')plt.axis('equal')# \u0413\u0440\u0430\u0444\u0438\u043a \u043e\u0441\u0435\u0432\u043e\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044bplt.subplot(122)plt.pcolormesh(R_grid, Z_grid, Bz_grid, cmap=cm.coolwarm)plt.colorbar(label='Bz (\u0422\u043b)')plt.title('\u041e\u0441\u0435\u0432\u0430\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f')plt.xlabel('r (\u043c)')plt.ylabel('z (\u043c)')plt.axis('equal')plt.tight_layout()plt.show()<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0432\u0438\u0434\u043d\u043e \u0437\u0434\u0435\u0441\u044c:<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/af8\/ba0\/7fc\/af8ba07fc2608438fd2e514347700bfd.png\" alt=\"\u041c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0435 \u043f\u043e\u043b\u0435 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u0430\u0433\u043d\u0438\u0442\u0430\" title=\"\u041c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0435 \u043f\u043e\u043b\u0435 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u0430\u0433\u043d\u0438\u0442\u0430\" width=\"1400\" height=\"800\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/af8\/ba0\/7fc\/af8ba07fc2608438fd2e514347700bfd.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/af8\/ba0\/7fc\/af8ba07fc2608438fd2e514347700bfd.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u041c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0435 \u043f\u043e\u043b\u0435 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u0430\u0433\u043d\u0438\u0442\u0430<\/figcaption><\/div>\n<\/figure>\n<p>     \u0418\u0437 \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0432 \u0432\u0438\u0434\u043d\u0430 \u043d\u0435\u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0432 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u043c\u0430\u0433\u043d\u0438\u0442\u0435, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c\u044e B(r, z), \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u043c\u0438 \u043e\u0448\u0438\u0431\u043a\u0430\u043c\u0438 \u043f\u0440\u0438 \u0437\u0430\u0431\u0438\u0432\u0430\u043d\u0438\u0438 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u043e\u0440\u043c\u0443\u043b \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443. \u041f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044f\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0439\u0442\u0438 \u0438\u0445 \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c.<\/p>\n<p>         \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u044b \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u043f\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0433\u043e \u0438 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u0430\u0433\u043d\u0438\u0442\u043e\u0432, \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043a\u043e\u0434 \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432.<\/p>\n<p>                                                               \u0421\u043f\u0438\u0441\u043e\u043a \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u044b:<\/p>\n<ol>\n<li>\n<p>\u041b.\u0414.\u041b\u0430\u043d\u0434\u0430\u0443, \u0415. \u041c. \u041b\u0438\u0444\u0448\u0438\u0446 \u0442. II \u0422\u0435\u043e\u0440\u0438\u044f \u043f\u043e\u043b\u044f ,1967 \u0433.<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043b\u0435\u0441\u0430\u0440\u0435\u0432 \u042e. \u041d., \u041c\u0430\u043b\u044b\u0448\u0435\u0432 \u0411. \u0412., \u0411\u043e\u0440\u0438\u0441\u043e\u0432\u0430 \u0410. \u0410., \u0412\u043e\u0440\u043e\u043d\u0446\u043e\u0432 \u0410. \u0410.<\/strong>\u00a0\u00ab\u041c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u044b\u0445 \u043f\u043e\u043b\u0435\u0439 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u044b\u0445 \u043c\u0430\u0433\u043d\u0438\u0442\u043e\u0432 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0444\u043e\u0440\u043c\u044b \u0438 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b\u0445 \u0438\u043c \u0441\u043e\u043b\u0435\u043d\u043e\u0438\u0434\u043e\u0432\u00bb \/\/ \u00ab\u041c\u043e\u0434\u0435\u043b\u0438, \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0441\u0435\u0442\u0438 \u0432 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u043a\u0435, \u0442\u0435\u0445\u043d\u0438\u043a\u0435, \u043f\u0440\u0438\u0440\u043e\u0434\u0435 \u0438 \u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0435\u00bb. \u2014 2016. \u2014 \u2116 4 (20). \u2014 \u0421. 150\u2013157.  <\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043b\u0435\u0441\u0430\u0440\u0435\u0432 \u042e. \u041d., \u0412\u043e\u0440\u043e\u043d\u0446\u043e\u0432 \u0410. \u0410.<\/strong>\u00a0\u00ab\u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u044b\u0445 \u043f\u043e\u043b\u0435\u0439 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u044b\u0445 \u043c\u0430\u0433\u043d\u0438\u0442\u043e\u0432 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0444\u043e\u0440\u043c\u044b \u0438 \u0441\u043e\u043b\u0435\u043d\u043e\u0438\u0434\u043e\u0432 \u0438 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432\u00bb \/\/ \u00abXXI \u0432\u0435\u043a: \u0438\u0442\u043e\u0433\u0438 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0433\u043e \u043f\u043b\u044e\u0441\u00bb. \u2014 2016. \u2014 \u2116 6 (34). \u2014 \u0421. 110\u2013115.\u00a0  <\/p>\n<\/li>\n<li>\n<p><strong>\u0427\u0435\u0440\u043a\u0430\u0441\u043e\u0432\u0430 \u041e. \u0410.<\/strong>\u00a0\u00ab\u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0433\u043e \u043c\u0430\u0433\u043d\u0438\u0442\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\u00bb \/\/ \u00ab\u0413\u0435\u0442\u0435\u0440\u043e\u043c\u0430\u0433\u043d\u0438\u0442\u043d\u0430\u044f \u043c\u0438\u043a\u0440\u043e\u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0438\u043a\u0430\u00bb. \u2014 2014. \u2014 \u0412\u044b\u043f. 17. \u2014 \u0421. 112\u2013120.  <\/p>\n<\/li>\n<li>\n<p><strong>\u0427\u0435\u0440\u043a\u0430\u0441\u043e\u0432\u0430 \u041e. \u0410., \u0427\u0435\u0440\u043a\u0430\u0441\u043e\u0432\u0430 \u0421. \u0410.<\/strong>\u00a0\u00ab\u041a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u043e\u0435 \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u043e\u0434\u043c\u0430\u0433\u043d\u0438\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0433\u0435\u0442\u0435\u0440\u043e\u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u00bb \/\/ \u00ab\u0418\u041d\u0416\u0418\u041d\u0418\u0420\u0418\u041d\u0413 \u0422\u0415\u0425\u041d\u041e 2015\u00bb: \u0441\u0431. \u0442\u0440. III \u041c\u0435\u0436\u0434\u0443\u043d\u0430\u0440. \u043d\u0430\u0443\u0447\u043d\u043e-\u043f\u0440\u0430\u043a\u0442. \u043a\u043e\u043d\u0444. \u2014 \u0421\u0430\u0440\u0430\u0442\u043e\u0432: \u0418\u0437\u0434\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0434\u043e\u043c \u00ab\u0420\u0430\u0439\u0442-\u042d\u043a\u0441\u043f\u043e\u00bb, 2015. \u2014 \u0422. 2. \u2014 \u0421. 97\u2013103.\u00a0  <\/p>\n<\/li>\n<\/ol>\n<\/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\/articles\/1059416\/\">https:\/\/habr.com\/ru\/articles\/1059416\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>         \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443:\u0414\u0430\u043d \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u044b\u0439 \u043c\u0430\u0433\u043d\u0438\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0444\u043e\u0440\u043c\u044b \u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0435\u0433\u043e \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f B\u00a0\u0432 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435.\u0420\u0430\u0437\u0431\u0435\u0440\u0451\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u0443\u0447\u0430\u0435\u0432.\u0411\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043c\u0430\u0433\u043d\u0438\u0442 \u043e\u0434\u043d\u043e\u0440\u043e\u0434\u043d\u044b\u043c.1.\u0424\u043e\u0440\u043c\u0430 \u043c\u0430\u0433\u043d\u0438\u0442\u0430 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0435\u043f\u0438\u043f\u0435\u0434(\u043f\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u043c\u0430\u0433\u043d\u0438\u0442) \u0440\u0430\u0437\u043c\u0435\u0440\u0430 2a \u043d\u0430 2b \u043d\u0430 2c.\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u043c \u043d\u0430\u0447\u0430\u043b\u043e O \u0434\u0435\u043a\u0430\u0440\u0442\u043e\u0432\u043e\u0439 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0439 \u043e\u0440\u0442\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442 \u0441 \u043f\u0440\u0430\u0432\u043e\u0439 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439 \u0431\u0430\u0437\u0438\u0441\u043d\u044b\u0445 \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432(i, j, k\u00a0) XOYZ \u0432 \u0446\u0435\u043d\u0442\u0440 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0435\u043f\u0438\u043f\u0435\u0434\u0430.\u0421\u0434\u0435\u043b\u0430\u0435\u043c \u0441\u0445\u0435\u043c\u0430\u0442\u0438\u0447\u043d\u044b\u0439 \u0440\u0438\u0441\u0443\u043d\u043e\u043a:\u041f\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0439 \u043c\u0430\u0433\u043d\u0438\u0442\u0417\u0430\u043a\u043e\u043d \u0411\u0438\u043e-\u0421\u0430\u0432\u0430\u0440\u0430-\u041b\u0430\u043f\u043b\u0430\u0441\u0430\u041d\u0430\u0447\u0430\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u041a\u043e\u043d\u0435\u0446 \u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u0410\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435.2.\u00a0\u0426\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0430\u0433\u043d\u0438\u0442(\u043c\u0430\u0433\u043d\u0438\u0442 \u0438\u043c\u0435\u0435\u0442 \u0444\u043e\u0440\u043c\u0443 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0430 \u0432\u044b\u0441\u043e\u0442\u044b 2h \u0438 \u0440\u0430\u0434\u0438\u0443\u0441\u0430 R).\u041f\u043e\u043c\u0435\u0441\u0442\u0438\u043c \u043d\u0430\u0447\u0430\u043b\u043e O \u0434\u0435\u043a\u0430\u0440\u0442\u043e\u0432\u043e\u0439 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0439 \u043e\u0440\u0442\u043e\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442 \u0441 \u043f\u0440\u0430\u0432\u043e\u0439 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439 \u0431\u0430\u0437\u0438\u0441\u043d\u044b\u0445 \u0432\u0435\u043a\u0442\u043e\u0440\u043e\u0432\u00a0XOYZ \u0432 \u0446\u0435\u043d\u0442\u0440 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0430.\u0421\u0434\u0435\u043b\u0430\u0435\u043c \u0440\u0438\u0441\u0443\u043d\u043e\u043a:\u0426\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u0430\u0433\u043d\u0438\u0442\u0417\u0430\u043a\u043e\u043d \u0411\u0438\u043e-\u0421\u0430\u0432\u0430\u0440\u0430-\u041b\u0430\u043f\u043b\u0430\u0441\u0430.\u041d\u0430\u0447\u0430\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f.\u041a\u043e\u043d\u0435\u0446 \u0440\u0435\u0448\u0435\u043d\u0438\u044f.   \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043d\u0430 Python \u043a\u043e\u0434 \u0434\u043b\u044f \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u0430\u0433\u043d\u0438\u0442\u0430 (\u043a\u043e\u0434 \u043f\u043e\u043c\u043e\u0433\u0430\u043b\u0430 \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c):import numpy as npimport matplotlib.pyplot as pltfrom matplotlib import cm# \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043c\u0430\u0433\u043d\u0438\u0442\u0430mu_0 = 4 * np.pi * 1e-7  # \u0422\u043b\u00b7\u043c\/\u0410mu = 1.0  # \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u0430\u044f \u043f\u0440\u043e\u043d\u0438\u0446\u0430\u0435\u043c\u043e\u0441\u0442\u044crho = 1.0  # \u043f\u043b\u043e\u0442\u043d\u043e\u0441\u0442\u044c \u0442\u043e\u043a\u0430 (\u0410\/\u043c\u00b2)v = 1.0  # \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0434\u0440\u0435\u0439\u0444\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043e\u0432 (\u043c\/\u0441)R = 0.1  # \u0440\u0430\u0434\u0438\u0443\u0441 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0430 (\u043c)h = 0.2  # \u0432\u044b\u0441\u043e\u0442\u0430 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0430 (\u043c)# \u041a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u0430 \u0434\u043b\u044f \u0440\u0430\u0441\u0447\u0435\u0442\u043e\u0432const = mu_0 * mu * rho * v \/ (4 * np.pi)def calculate_field(r0, z0):    # \u0412\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0440\u0430\u0441\u0447\u0435\u0442\u0430    def I1(r0, z0):        integral = 0        for r in np.linspace(0, R, 100):            term1 = (z0 &#8212; h) * np.log(                (np.sqrt((z0 &#8212; h)**2 + (R &#8212; r0)**2) + R &#8212; r0) \/                (np.sqrt((z0 &#8212; h)**2 + r0**2) &#8212; r0)            )            term2 = np.sqrt((z0 &#8212; h)**2 + (R &#8212; r0)**2) &#8212; np.sqrt((z0 &#8212; h)**2 + r0**2)            term3 = (z0 + h) * np.log(                (np.sqrt((z0 + h)**2 + (R &#8212; r0)**2) + R &#8212; r0) \/                (np.sqrt((z0 + h)**2 + r0**2) &#8212; r0)            )            term4 = np.sqrt((z0 + h)**2 + (R &#8212; r0)**2) &#8212; np.sqrt((z0 + h)**2 + r0**2)            integral += r * (term1 + term2 + term3 + term4)        return integral    def I2(r0, z0):        integral = 0        for r in np.linspace(0, R, 100):            term = (r &#8212; r0) \/ np.sqrt((r &#8212; r0)**2 + (z0 &#8212; h)**2)            integral += r * term        return integral    # \u0420\u0430\u0441\u0447\u0435\u0442 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043f\u043e\u043b\u044f    Br = const * I1(r0, z0)    Bz = const * I2(r0, z0)    return Br, Bz# \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0435\u0442\u043a\u0438 \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438r = np.linspace(0, 2*R, 50)z = np.linspace(-2*h, 2*h, 50)R_grid, Z_grid = np.meshgrid(r, z)Br_grid = np.zeros_like(R_grid)Bz_grid = np.zeros_like(Z_grid)for i in range(R_grid.shape[0]):    for j in range(R_grid.shape[1]):        Br_grid[i,j], Bz_grid[i,j] = calculate_field(R_grid[i,j], Z_grid[i,j])# \u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044fplt.figure(figsize=(14, 8))# \u0413\u0440\u0430\u0444\u0438\u043a \u0440\u0430\u0434\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044bplt.subplot(121)plt.pcolormesh(R_grid, Z_grid, Br_grid, cmap=cm.coolwarm)plt.colorbar(label=&#8217;Br (\u0422\u043b)&#8217;)plt.title(&#8216;\u0420\u0430\u0434\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f&#8217;)plt.xlabel(&#8216;r (\u043c)&#8217;)plt.ylabel(&#8216;z (\u043c)&#8217;)plt.axis(&#8216;equal&#8217;)# \u0413\u0440\u0430\u0444\u0438\u043a \u043e\u0441\u0435\u0432\u043e\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044bplt.subplot(122)plt.pcolormesh(R_grid, Z_grid, Bz_grid, cmap=cm.coolwarm)plt.colorbar(label=&#8217;Bz (\u0422\u043b)&#8217;)plt.title(&#8216;\u041e\u0441\u0435\u0432\u0430\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f&#8217;)plt.xlabel(&#8216;r (\u043c)&#8217;)plt.ylabel(&#8216;z (\u043c)&#8217;)plt.axis(&#8216;equal&#8217;)plt.tight_layout()plt.show()\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0432\u0438\u0434\u043d\u043e \u0437\u0434\u0435\u0441\u044c:\u041c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0435 \u043f\u043e\u043b\u0435 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u0430\u0433\u043d\u0438\u0442\u0430     \u0418\u0437 \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0432 \u0432\u0438\u0434\u043d\u0430 \u043d\u0435\u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0432 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u043c\u0430\u0433\u043d\u0438\u0442\u0435, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c\u044e B(r, z), \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u043c\u0438 \u043e\u0448\u0438\u0431\u043a\u0430\u043c\u0438 \u043f\u0440\u0438 \u0437\u0430\u0431\u0438\u0432\u0430\u043d\u0438\u0438 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u043e\u0440\u043c\u0443\u043b \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443. \u041f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044f\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0439\u0442\u0438 \u0438\u0445 \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c.         \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u044b \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u043f\u043e\u043b\u043e\u0441\u043e\u0432\u043e\u0433\u043e \u0438 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043c\u0430\u0433\u043d\u0438\u0442\u043e\u0432, \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043a\u043e\u0434 \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432.                                                               \u0421\u043f\u0438\u0441\u043e\u043a \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u044b:\u041b.\u0414.\u041b\u0430\u043d\u0434\u0430\u0443, \u0415. \u041c. \u041b\u0438\u0444\u0448\u0438\u0446 \u0442. II \u0422\u0435\u043e\u0440\u0438\u044f \u043f\u043e\u043b\u044f ,1967 \u0433.\u0421\u043b\u0435\u0441\u0430\u0440\u0435\u0432 \u042e. \u041d., \u041c\u0430\u043b\u044b\u0448\u0435\u0432 \u0411. \u0412., \u0411\u043e\u0440\u0438\u0441\u043e\u0432\u0430 \u0410. \u0410., \u0412\u043e\u0440\u043e\u043d\u0446\u043e\u0432 \u0410. \u0410.\u00a0\u00ab\u041c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u044b\u0445 \u043f\u043e\u043b\u0435\u0439 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u044b\u0445 \u043c\u0430\u0433\u043d\u0438\u0442\u043e\u0432 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0444\u043e\u0440\u043c\u044b \u0438 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b\u0445 \u0438\u043c \u0441\u043e\u043b\u0435\u043d\u043e\u0438\u0434\u043e\u0432\u00bb \/\/ \u00ab\u041c\u043e\u0434\u0435\u043b\u0438, \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0441\u0435\u0442\u0438 \u0432 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u043a\u0435, \u0442\u0435\u0445\u043d\u0438\u043a\u0435, \u043f\u0440\u0438\u0440\u043e\u0434\u0435 \u0438 \u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0435\u00bb. \u2014 2016. \u2014 \u2116 4 (20). \u2014 \u0421. 150\u2013157.  \u0421\u043b\u0435\u0441\u0430\u0440\u0435\u0432 \u042e. \u041d., \u0412\u043e\u0440\u043e\u043d\u0446\u043e\u0432 \u0410. \u0410.\u00a0\u00ab\u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u044b\u0445 \u043f\u043e\u043b\u0435\u0439 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u044b\u0445 \u043c\u0430\u0433\u043d\u0438\u0442\u043e\u0432 \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0444\u043e\u0440\u043c\u044b \u0438 \u0441\u043e\u043b\u0435\u043d\u043e\u0438\u0434\u043e\u0432 \u0438 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432\u00bb \/\/ \u00abXXI \u0432\u0435\u043a: \u0438\u0442\u043e\u0433\u0438 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0433\u043e \u043f\u043b\u044e\u0441\u00bb. \u2014 2016. \u2014 \u2116 6 (34). \u2014 \u0421. 110\u2013115.\u00a0  \u0427\u0435\u0440\u043a\u0430\u0441\u043e\u0432\u0430 \u041e. \u0410.\u00a0\u00ab\u0418\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0433\u043e \u043c\u0430\u0433\u043d\u0438\u0442\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\u00bb \/\/ \u00ab\u0413\u0435\u0442\u0435\u0440\u043e\u043c\u0430\u0433\u043d\u0438\u0442\u043d\u0430\u044f \u043c\u0438\u043a\u0440\u043e\u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0438\u043a\u0430\u00bb. \u2014 2014. \u2014 \u0412\u044b\u043f. 17. \u2014 \u0421. 112\u2013120.  \u0427\u0435\u0440\u043a\u0430\u0441\u043e\u0432\u0430 \u041e. \u0410., \u0427\u0435\u0440\u043a\u0430\u0441\u043e\u0432\u0430 \u0421. \u0410.\u00a0\u00ab\u041a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u043e\u0435 \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u043e\u0434\u043c\u0430\u0433\u043d\u0438\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0433\u0435\u0442\u0435\u0440\u043e\u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u00bb \/\/ \u00ab\u0418\u041d\u0416\u0418\u041d\u0418\u0420\u0418\u041d\u0413 \u0422\u0415\u0425\u041d\u041e 2015\u00bb: \u0441\u0431. \u0442\u0440. III \u041c\u0435\u0436\u0434\u0443\u043d\u0430\u0440. \u043d\u0430\u0443\u0447\u043d\u043e-\u043f\u0440\u0430\u043a\u0442. \u043a\u043e\u043d\u0444. \u2014 \u0421\u0430\u0440\u0430\u0442\u043e\u0432: \u0418\u0437\u0434\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0434\u043e\u043c \u00ab\u0420\u0430\u0439\u0442-\u042d\u043a\u0441\u043f\u043e\u00bb, 2015. \u2014 \u0422. 2. \u2014 \u0421. 97\u2013103.\u00a0  \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 https:\/\/habr.com\/ru\/articles\/1059416\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-487388","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/487388","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=487388"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/487388\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=487388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=487388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=487388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}