{"id":798,"date":"2016-07-04T21:38:12","date_gmt":"2016-07-04T18:38:12","guid":{"rendered":"http:\/\/java.mazurok.com\/?p=798"},"modified":"2016-09-19T19:50:04","modified_gmt":"2016-09-19T16:50:04","slug":"a71","status":"publish","type":"post","link":"https:\/\/java.mazurok.com\/?p=798","title":{"rendered":"A71"},"content":{"rendered":"<p><a href=\"https:\/\/ideone.com\/Y5SpOv\">\u041a\u043e\u0434 \u043d\u0430 Ideone<\/a><\/p>\n<p><strong>\u0417\u0430\u0434\u0430\u0447\u0430.<\/strong><\/p>\n<p>\u0414\u0430\u043d\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e [latex]a[\/latex]. \u0412\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u044c\u00a0 [latex]f(a)[\/latex], \u0433\u0434\u0435\u00a0 [latex]f[\/latex]\u00a0\u2013 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0441 \u043f\u0435\u0440\u0438\u043e\u0434\u043e\u043c 1.5, \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0449\u0430\u044f \u043d\u0430 \u043e\u0442\u0440\u0435\u0437\u043a\u0435\u00a0 [latex][0;1.5][\/latex]\u00a0\u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439\u00a0 [latex]x^3-2,25x[\/latex].<\/p>\n<p><strong>\u0422\u0435\u0441\u0442\u044b:<\/strong><\/p>\n<table style=\"width: 440px\">\n<tbody>\n<tr style=\"height: 25px\">\n<td style=\"width: 112px;height: 25px\">[latex]a[\/latex]<\/td>\n<td style=\"width: 153px;height: 25px\">[latex]f(a)[\/latex]<\/td>\n<td style=\"width: 165px;height: 25px\">\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"width: 112px;height: 24px\">2.12<\/td>\n<td style=\"width: 153px;height: 24px\">-1.15667<\/td>\n<td style=\"width: 165px;height: 24px\">\u0422\u0435\u0441\u0442 \u043f\u0440\u043e\u0439\u0434\u0435\u043d<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"width: 112px;height: 24px\">-8<\/td>\n<td style=\"width: 153px;height: 24px\">-1.25<\/td>\n<td style=\"width: 165px;height: 24px\">\u0422\u0435\u0441\u0442 \u043f\u0440\u043e\u0439\u0434\u0435\u043d<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"width: 112px;height: 24px\">11.6<\/td>\n<td style=\"width: 153px;height: 24px\">-1.14<\/td>\n<td style=\"width: 165px;height: 24px\">\u0422\u0435\u0441\u0442 \u043f\u0440\u043e\u0439\u0434\u0435\u043d<\/td>\n<\/tr>\n<tr style=\"height: 24px\">\n<td style=\"width: 112px;height: 24px\">3.7<\/td>\n<td style=\"width: 153px;height: 24px\">-1.232<\/td>\n<td style=\"width: 165px;height: 24px\">\u0422\u0435\u0441\u0442 \u043f\u0440\u043e\u0439\u0434\u0435\u043d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u041a\u043e\u0434<\/strong><\/p>\n<pre class=\"lang:java decode:true\">import java.util.*;\r\nimport java.lang.*;\r\nimport java.io.*;\r\n\r\nclass Ideone{\r\n\tpublic static void main (String[] args) throws java.lang.Exception{\r\n\t\tdouble a, b, c, p = 1.5;\r\n\t\tdouble f;\r\n\t\tScanner x = new Scanner(System.in);\r\n\t\ta = x.nextDouble();\r\n\t \tc = a \/ p;\r\n\t\tb = Math.floor(a\/p);\r\n\t\ta = (c-b)*p;\r\n\t\tf = a*a*a-2.25*a;\r\n\t\tSystem.out.print(f);\r\n\t}\r\n}\r\n<\/pre>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/strong><\/p>\n<p>\u041c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u0438\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c [latex]a[\/latex] \u043a \u043e\u0441\u0442\u0430\u0442\u043a\u0443 \u043e\u0442 \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0447\u0438\u0441\u043b\u0430 [latex]a[\/latex] \u043d\u0430 \u043f\u0435\u0440\u0438\u043e\u0434 [latex]p=1.5[\/latex], \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043c\u044b \u0441\u0434\u0432\u0438\u0433\u0430\u0435\u043c [latex]a[\/latex], \u0432\u043b\u0435\u0432\u043e \u043d\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043ep \u043f\u043e\u043a\u0430 [latex]a[\/latex] \u043d\u0435 \u043f\u043e\u043f\u0430\u0434\u0435\u0442 \u0432 \u043e\u0442\u0440\u0435\u0437\u043e\u043a [latex][0;1.5][\/latex]. \u0415\u0441\u043b\u0438 \u0447\u0438\u0441\u043b\u043e [latex]a[\/latex] \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u043e\u0442\u0440\u0435\u0437\u043a\u0443 [latex][0;1.5][\/latex], \u0442\u043e \u043f\u043e \u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0443 \u0447\u0438\u0441\u043b\u043e [latex]a[\/latex] \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u044b\u043c.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041a\u043e\u0434 \u043d\u0430 Ideone \u0417\u0430\u0434\u0430\u0447\u0430. \u0414\u0430\u043d\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e [latex]a[\/latex]. \u0412\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u044c\u00a0 [latex]f(a)[\/latex], \u0433\u0434\u0435\u00a0 [latex]f[\/latex]\u00a0\u2013 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0441 \u043f\u0435\u0440\u0438\u043e\u0434\u043e\u043c 1.5, \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0449\u0430\u044f \u043d\u0430 \u043e\u0442\u0440\u0435\u0437\u043a\u0435\u00a0 [latex][0;1.5][\/latex]\u00a0\u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439\u00a0 [latex]x^3-2,25x[\/latex]. \u0422\u0435\u0441\u0442\u044b: [latex]a[\/latex] [latex]f(a)[\/latex] \u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 2.12 -1.15667 \u0422\u0435\u0441\u0442 \u043f\u0440\u043e\u0439\u0434\u0435\u043d -8 -1.25 \u0422\u0435\u0441\u0442 \u043f\u0440\u043e\u0439\u0434\u0435\u043d 11.6 -1.14 \u0422\u0435\u0441\u0442 \u043f\u0440\u043e\u0439\u0434\u0435\u043d 3.7 -1.232 \u0422\u0435\u0441\u0442 \u043f\u0440\u043e\u0439\u0434\u0435\u043d \u041a\u043e\u0434 import java.util.*; import java.lang.*; import java.io.*; class Ideone{ public static void &hellip; <a href=\"https:\/\/java.mazurok.com\/?p=798\" class=\"more-link\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":87,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[116],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts\/798"}],"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\/87"}],"replies":[{"embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=798"}],"version-history":[{"count":17,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts\/798\/revisions"}],"predecessor-version":[{"id":1005,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=\/wp\/v2\/posts\/798\/revisions\/1005"}],"wp:attachment":[{"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/java.mazurok.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}