{"id":1337,"date":"2009-02-19T11:50:56","date_gmt":"2009-02-19T08:50:56","guid":{"rendered":"http:\/\/studentpmr.ru\/?p=1337"},"modified":"2009-02-19T11:50:56","modified_gmt":"2009-02-19T08:50:56","slug":"%d1%87%d0%b8%d1%81%d0%bb%d0%b5%d0%bd%d0%bd%d1%8b%d0%b5-%d0%bc%d0%b5%d1%82%d0%be%d0%b4%d1%8b-%d1%80%d0%b5%d1%88%d0%b5%d0%bd%d0%b8%d1%8f-%d1%81%d0%b8%d1%81%d1%82%d0%b5%d0%bc-%d0%bb%d0%b8%d0%bd%d0%b5","status":"publish","type":"post","link":"https:\/\/studentpmr.ru\/?p=1337","title":{"rendered":"\u0427\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0445 \u0430\u043b\u0433\u0435\u0431\u0440\u0430\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0439."},"content":{"rendered":"<p>\u0417\u0430\u0434\u0430\u043d\u0438\u0435: \u0420\u0435\u0448\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u043d\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 III \u043f\u043e\u0440\u044f\u0434\u043a\u0430:<\/p>\n<p>\u0430) \u041c\u0435\u0442\u043e\u0434\u043e\u043c \u0413\u0430\u0443\u0441\u0441\u0430 (\u043f\u0443\u0442\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u043c\u0443 \u0432\u0438\u0434\u0443).<br \/>\n\u0431) \u042d\u0442\u0443 \u0436\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0440\u0435\u0448\u0438\u0442\u044c \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0413\u0430\u0443\u0441\u0441\u0430-\u0417\u0435\u0439\u0434\u0435\u043b\u044f \u0441 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e  .<!--more--><br \/>\n\u0425\u043e\u0434 \u0440\u0430\u0431\u043e\u0442\u044b:<br \/>\n1.\t\u0420\u0435\u0448\u0438\u043c \u0437\u0430\u0434\u0430\u043d\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0413\u0430\u0443\u0441\u0441\u0430<br \/>\n\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u0443\u044e \u043c\u0430\u0442\u0440\u0438\u0446\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u044b:<br \/>\n;<br \/>\n. \u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043d\u0435\u0432\u044f\u0437\u043e\u043a:<br \/>\n;<\/p>\n<p>\u041e\u0442\u0432\u0435\u0442:<br \/>\n\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b:  ;  ;  .<br \/>\n\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u043d\u0435\u0432\u044f\u0437\u043e\u043a:  ;  ;  .<\/p>\n<p>2.\t\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f, \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0439 III \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u043a  \u0432\u0438\u0434\u0443, \u0443\u0434\u043e\u0431\u043d\u043e\u043c\u0443 \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043c\u0435\u0442\u043e\u0434\u0430 \u0413\u0430\u0443\u0441\u0441\u0430-\u0417\u0435\u0439\u0434\u0435\u043b\u044f \u0438 \u0440\u0435\u0448\u0438\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0439 \u044d\u0442\u0438\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c, \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u044f \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0448\u0430\u0433\u0435 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043d\u0435\u0432\u044f\u0437\u043e\u043a:<br \/>\n\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0441\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430:<\/p>\n<p>, \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0431\u0443\u0434\u0435\u0442 \u0441\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f.<\/p>\n<p>.<br \/>\n\u041e\u0442\u0432\u0435\u0442: \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b:  ;  ;  .<\/p>\n<p>\u0421\u043e\u0441\u0442\u0430\u0432\u0438\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043c\u0435\u0442\u043e\u0434\u0430 \u0413\u0430\u0443\u0441\u0441\u0430-\u0417\u0435\u0439\u0434\u0435\u043b\u044f, \u0432\u044b\u0434\u0430\u044e\u0449\u0443\u044e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u043a\u0441\u043e\u0432 \u0438 \u043d\u0435\u0432\u044f\u0437\u043e\u043a \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438:<br \/>\n#include&lt;stdio.h&gt;<br \/>\n#include&lt;conio.h&gt;<br \/>\n#include&lt;math.h&gt;<br \/>\n#define e 0.001<br \/>\nfloat a[3][3]={{5.3,3.4,0.9},<br \/>\n{3.8,7.5,2.5},<br \/>\n{3.4,4.1,10.3}},<br \/>\nb[3]={4.1,3.5,6.4},<br \/>\nx[3]={0,0,0};<br \/>\nfloat x_i(int i){<br \/>\nfloat q;<br \/>\nswitch(i){<br \/>\ncase 0:q=1\/a[0][0]*(b[0]-a[0][1]*x[1]-a[0][2]*x[2]);break;<br \/>\ncase 1:q=1\/a[1][1]*(b[1]-a[1][0]*x[0]-a[1][2]*x[2]);break;<br \/>\ncase 2:q=1\/a[2][2]*(b[2]-a[2][0]*x[0]-a[2][1]*x[1]);break;<br \/>\n}<br \/>\nreturn q;<br \/>\n}<br \/>\nfloat b_i(int i){<br \/>\nreturn a[i][0]*x[0]+a[i][1]*x[1]+a[i][2]*x[2];<br \/>\n}<br \/>\nvoid main(){<br \/>\nclrscr();<br \/>\nint k=0,i,fl;<br \/>\nfloat r[3];<br \/>\nprintf(&#171;&lt;&lt;&lt;\u041c\u0435\u0442\u043e\u0434 \u0413\u0430\u0443\u0441\u0441\u0430-\u0417\u0435\u0439\u0434\u0435\u043b\u044f&gt;&gt;&gt;\\n&#187;);<br \/>\nfor(;;){<br \/>\nfl=0;<br \/>\nfor(i=0;i&lt;3;i++)<br \/>\nx[i]=x_i(i);<br \/>\nfor(i=0;i&lt;3;i++){<br \/>\nr[i]=b[i]-b_i(i);<br \/>\nif(fabs(r[i])&lt;e)fl++;<br \/>\n}<br \/>\nprintf(&#171;%d \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044f: r1=%.7f\\t\\tr2=%.7f\\t\\tr3=%.7f\\n&#187;,k+1,fabs(r[0]),fabs(r[1]),fabs(r[2]));<br \/>\nif(fl==3){<br \/>\nprintf(&#171;\\nx1=%.4f\\nx2=%.4f\\nx3=%.4f&#187;,x[0],x[1],x[2]);<br \/>\nbreak;<br \/>\n}<br \/>\nk++;<br \/>\n}<br \/>\ngetch();<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0417\u0430\u0434\u0430\u043d\u0438\u0435: \u0420\u0435\u0448\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u043d\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 III \u043f\u043e\u0440\u044f\u0434\u043a\u0430: \u0430) \u041c\u0435\u0442\u043e\u0434\u043e\u043c \u0413\u0430\u0443\u0441\u0441\u0430 (\u043f\u0443\u0442\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u043c\u0443 \u0432\u0438\u0434\u0443). \u0431) \u042d\u0442\u0443 \u0436\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0440\u0435\u0448\u0438\u0442\u044c \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0413\u0430\u0443\u0441\u0441\u0430-\u0417\u0435\u0439\u0434\u0435\u043b\u044f \u0441 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e .<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[],"_links":{"self":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/1337"}],"collection":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1337"}],"version-history":[{"count":1,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/1337\/revisions"}],"predecessor-version":[{"id":1338,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=\/wp\/v2\/posts\/1337\/revisions\/1338"}],"wp:attachment":[{"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studentpmr.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}