{"id":2711,"date":"2017-07-05T20:32:07","date_gmt":"2017-07-05T17:32:07","guid":{"rendered":"http:\/\/java.mazurok.com\/?p=2711"},"modified":"2017-07-05T23:12:50","modified_gmt":"2017-07-05T20:12:50","slug":"ml7","status":"publish","type":"post","link":"https:\/\/java.mazurok.com\/?p=2711","title":{"rendered":"ML7"},"content":{"rendered":"<h1>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438<\/h1>\n<p>\u0414\u0430\u043d\u044b \u043a\u0430\u0442\u0435\u0442\u044b \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u041d\u0430\u0439\u0442\u0438 \u0435\u0433\u043e \u0433\u0438\u043f\u043e\u0442\u0435\u043d\u0443\u0437\u0443 \u0438 \u043f\u043b\u043e\u0449\u0430\u0434\u044c.<\/p>\n<h1>\u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/h1>\n<p>\u041a\u0430\u0442\u0435\u0442\u044b \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430 &#8212; [latex]a[\/latex] \u0438\u00a0[latex]b[\/latex]\n<h1>\u0412\u044b\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/h1>\n<p>\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430 &#8212;\u00a0[latex]area[\/latex]\n<p>\u0413\u0438\u043f\u043e\u0442\u0435\u043d\u0443\u0437\u0430 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430 &#8212;\u00a0[latex]c[\/latex]\n<h1>\u0422\u0435\u0441\u0442\u044b<\/h1>\n<table style=\"height: 149px;width: 347px\">\n<tbody>\n<tr>\n<td style=\"width: 44px\">\u2116<\/td>\n<td style=\"width: 146px\">\u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/td>\n<td style=\"width: 161px\">\u0412\u044b\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 44px\">1<\/td>\n<td style=\"width: 146px\">8 6<\/td>\n<td style=\"width: 161px\">24 10<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 44px\">2<\/td>\n<td style=\"width: 146px\">4 3<\/td>\n<td style=\"width: 161px\">6 5<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 44px\">3<\/td>\n<td style=\"width: 146px\">3 6<\/td>\n<td style=\"width: 161px\">9 6.70<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/h1>\n<pre class=\"scroll:true lang:java decode:true\">class FirstLab\r\n{\r\n\tpublic static void main (String[] args)\r\n\t{\r\n\t\tdouble a, b, c, area;\r\n\t\tScanner input = new Scanner(System.in);\r\n\t\ta = input.nextDouble();\r\n\t\tb = input.nextDouble();\r\n\t\tarea = 0.5*a*b;\r\n\t\tc = Math.sqrt(Math.pow(a, 2) + Math.pow(b,2));\r\n\t\tSystem.out.println(area);\r\n\t\tSystem.out.println(c);\r\n\t\t\r\n\t}\r\n}<\/pre>\n<h1>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f<\/h1>\n<p>\u041e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u00a0<span class=\"lang:java decode:true crayon-inline \">a, b, c, area<\/span>\u00a0\u0442\u0438\u043f\u0430\u00a0<span class=\"lang:java decode:true crayon-inline \">double<\/span>\u00a0, \u0433\u0434\u0435\u00a0<span class=\"lang:java decode:true crayon-inline \">a, b<\/span>\u00a0 &#8212; \u043a\u0430\u0442\u0435\u0442\u044b \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430,\u00a0<span class=\"lang:java decode:true crayon-inline \">c<\/span>\u00a0 &#8212; \u0433\u0438\u043f\u043e\u0442\u0435\u043d\u0443\u0437\u0430, \u0430\u00a0<span class=\"lang:java decode:true crayon-inline \">area<\/span>\u00a0 &#8212; \u043f\u043b\u043e\u0449\u0430\u0434\u044c \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u0414\u0430\u043b\u0435\u0435 \u0441 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u0432\u0432\u043e\u0434\u0438\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043a\u0430\u0442\u0435\u0442\u043e\u0432 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043f\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0435 \u043f\u043b\u043e\u0449\u0430\u0434\u0438 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430 \u0438 \u0442\u0435\u043e\u0440\u0435\u043c\u0435 \u041f\u0438\u0444\u0430\u0433\u043e\u0440\u0430 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u043f\u043b\u043e\u0449\u0430\u0434\u044c \u0438 \u0433\u0438\u043f\u043e\u0442\u0435\u043d\u0443\u0437\u0443 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u0414\u043b\u044f \u0432\u043e\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0432 \u0441\u0442\u0435\u043f\u0435\u043d\u044c 2, \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<span class=\"lang:java decode:true crayon-inline \">Math.pow()<\/span>\u00a0, \u0434\u043b\u044f \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043a\u043e\u0440\u043d\u044f\u00a0<span class=\"lang:java decode:true crayon-inline \">Math.pow()<\/span>\u00a0. \u00a0\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043b\u043e\u0449\u0430\u0434\u0438\u00a0<span class=\"lang:java decode:true crayon-inline \">area<\/span>\u00a0 \u0438 \u0433\u0438\u043f\u043e\u0442\u0435\u043d\u0443\u0437\u044b\u00a0<span class=\"lang:java decode:true crayon-inline \">c<\/span>\u00a0 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<span class=\"lang:java decode:true crayon-inline \">System.out.println()<\/span>\u00a0.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u0414\u0430\u043d\u044b \u043a\u0430\u0442\u0435\u0442\u044b \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430. \u041d\u0430\u0439\u0442\u0438 \u0435\u0433\u043e \u0433\u0438\u043f\u043e\u0442\u0435\u043d\u0443\u0437\u0443 \u0438 \u043f\u043b\u043e\u0449\u0430\u0434\u044c. \u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435: \u041a\u0430\u0442\u0435\u0442\u044b \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430 &#8212; [latex]a[\/latex] \u0438\u00a0[latex]b[\/latex] \u0412\u044b\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435: \u041f\u043b\u043e\u0449\u0430\u0434\u044c \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430 &#8212;\u00a0[latex]area[\/latex] \u0413\u0438\u043f\u043e\u0442\u0435\u043d\u0443\u0437\u0430 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430 &#8212;\u00a0[latex]c[\/latex] \u0422\u0435\u0441\u0442\u044b \u2116 \u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0412\u044b\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 1 8 6 24 10 2 4 3 6 5 3 3 6 9 6.70 \u0420\u0435\u0448\u0435\u043d\u0438\u0435: class FirstLab { public &hellip; <a href=\"https:\/\/java.mazurok.com\/?p=2711\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":92,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[41,224],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts\/2711"}],"collection":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/users\/92"}],"replies":[{"embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2711"}],"version-history":[{"count":13,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts\/2711\/revisions"}],"predecessor-version":[{"id":2807,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts\/2711\/revisions\/2807"}],"wp:attachment":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}