{"id":29,"date":"2015-12-10T17:19:51","date_gmt":"2015-12-11T01:19:51","guid":{"rendered":"http:\/\/www.johnnylogic.org\/blog\/?p=29"},"modified":"2018-12-27T08:48:55","modified_gmt":"2018-12-27T16:48:55","slug":"test2","status":"publish","type":"post","link":"https:\/\/www.johnnylogic.org\/blog\/2015\/12\/10\/test2\/","title":{"rendered":"LaTeX Test"},"content":{"rendered":"<p>We interpolate points<img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=%5C%7B%28x_k%2Cf_k%29%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"&#92;{(x_k,f_k)&#92;}\" class=\"latex\" \/> by polynomial<br \/>\n<img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=P_%7BN-1%7D%28x%29%3D%5Csum_%7Bj%3D0%7D%5E%7BN-1%7D%7Ba_jx%5Ej%7D++&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"P_{N-1}(x)=&#92;sum_{j=0}^{N-1}{a_jx^j}  \" class=\"latex\" \/><\/p>\n<p>Its coefficients <img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=%5C%7Ba_j%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"&#92;{a_j&#92;}\" class=\"latex\" \/> are found as a solution of system of linear equations:<br \/>\n<img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=%5Cleft%5C%7B+P_%7BN-1%7D%28x_k%29+%3D+f_k%5Cright%5C%7D%2C%5Cquad+k%3D-%5Cfrac%7BN-1%7D%7B2%7D%2C%5Cdots%2C%5Cfrac%7BN-1%7D%7B2%7D++&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"&#92;left&#92;{ P_{N-1}(x_k) = f_k&#92;right&#92;},&#92;quad k=-&#92;frac{N-1}{2},&#92;dots,&#92;frac{N-1}{2}  \" class=\"latex\" \/><\/p>\n<p>Code example:<\/p>\n<pre>def fib(n):\r\n    if n == 0:\r\n        return 0\r\n    elif n == 1:\r\n        return 1\r\n    else:\r\n        return fib(n-1) + fib(n-2)\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>We interpolate points by polynomial Its coefficients are found as a solution of system of linear equations: Code example: def fib(n): if n == 0: return 0 elif n == 1: return 1 else: return fib(n-1) + fib(n-2)<\/p>\n","protected":false},"author":1,"featured_media":1466,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":{"0":"post-29","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-blog","8":"czr-hentry"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.johnnylogic.org\/blog\/wp-content\/uploads\/2015\/12\/euler-identity.png?fit=360%2C240&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/s71YpQ-test2","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.johnnylogic.org\/blog\/wp-json\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.johnnylogic.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.johnnylogic.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.johnnylogic.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.johnnylogic.org\/blog\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":9,"href":"https:\/\/www.johnnylogic.org\/blog\/wp-json\/wp\/v2\/posts\/29\/revisions"}],"predecessor-version":[{"id":1480,"href":"https:\/\/www.johnnylogic.org\/blog\/wp-json\/wp\/v2\/posts\/29\/revisions\/1480"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.johnnylogic.org\/blog\/wp-json\/wp\/v2\/media\/1466"}],"wp:attachment":[{"href":"https:\/\/www.johnnylogic.org\/blog\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.johnnylogic.org\/blog\/wp-json\/wp\/v2\/categories?post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.johnnylogic.org\/blog\/wp-json\/wp\/v2\/tags?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}