{"id":648,"date":"2016-02-21T21:30:09","date_gmt":"2016-02-21T21:30:09","guid":{"rendered":"http:\/\/mathparser.org\/?p=648"},"modified":"2016-02-23T23:22:44","modified_gmt":"2016-02-23T23:22:44","slug":"indirect-recursion-using-mxparser","status":"publish","type":"post","link":"https:\/\/mathparser.org\/mathematics\/indirect-recursion-using-mxparser\/","title":{"rendered":"Indirect recursion using mXparser"},"content":{"rendered":"<p>Hello,<\/p>\n<p>Today I will present how flexible mXparser really is. As an example we will approximate $$\\sin(x)$$ and\u00a0$$\\cos(x)$$ using <span style=\"color: #ff6600;\"><em><strong>indirect recursion<\/strong><\/em><\/span> steps, which means two functions depending on each other. Let us start with a bit of theory starting with basic\u00a0<strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/List_of_trigonometric_identities\" target=\"_blank\">trigonometric identities<\/a><\/strong>:<\/p>\n<p style=\"text-align: center;\">$$\\sin(2x)=2\\sin(x)\\cos(x)$$<br \/>\n$$\\cos(2x)=\\cos^2(x)-\\sin^2(x)$$<\/p>\n<p style=\"text-align: left;\">Above formals can be equivalently written as<\/p>\n<p style=\"text-align: center;\">$$\\sin(x)=2\\sin\\big(\\frac{x}{2}\\big)\\cos\\big(\\frac{x}{2}\\big)$$<br \/>\n$$\\cos(x)=\\cos^2\\big(\\frac{x}{2}\\big)-\\sin^2\\big(\\frac{x}{2}\\big)$$<\/p>\n<p style=\"text-align: left;\">Please notice that knowing the solution for smaller value $$\\frac{x}{2}$$ it is possible to get solution for the original\u00a0one $$x$$. \u00a0This simply means that <span style=\"color: #ff6600;\"><em><strong>mentioned trigonometric identities are in fact example of recursion<\/strong> <\/em><\/span>&#8211; here indirect recursion as $$\\sin(x)$$ function is using $$\\cos(x)$$, and $$\\cos(x)$$ is using $$\\sin(x)$$. The complete recursion definition requires <span style=\"color: #ff6600;\"><em><strong>base case d<span style=\"color: #ff6600;\">efinition<\/span><\/strong><\/em><\/span> (stop condition).<\/p>\n<p style=\"text-align: left;\">For $$x$$ near to $$0$$ function $$\\sin(x)$$ can be well approximated exactly by $$x$$, while in case of\u00a0$$\\cos(x)$$ constant $$1$$ is pretty good approximation. This gives good stop condition.<\/p>\n<p style=\"text-align: left;\">For\u00a0small $$a&gt;0$$ let us define two recursive functions:<\/p>\n<p style=\"text-align: center;\">$$\\text{s}(x)=\\begin{cases}x&amp;amp;\\text{dla}\\quad |x|&amp;lt;a\\\\2\\text{s}\\big(\\frac{x}{2}\\big)\\text{c}\\big(\\frac{x}{2}\\big)&amp;amp;\\text{dla}\\quad |x|\\geq a\\end{cases}$$<br \/>\n$$\\text{c}(x)=\\begin{cases}1&amp;amp;\\text{dla}\\quad |x|&amp;lt;a\\\\\\text{c}^2\\big(\\frac{x}{2}\\big)-\\text{s}^2\\big(\\frac{x}{2}\\big)&amp;amp;\\text{dla}\\quad |x|\\geq a\\end{cases}$$<\/p>\n<p>Once again please notice that $$\\text{s}$$ (and $$\\text{c}$$ separately) is using both $$\\text{s}\\big(\\frac{x}{2}\\big)$$ and $$\\text{c}\\big(\\frac{x}{2}\\big)$$.<\/p>\n<p>We expect that smaller parameter $$a$$ is giving better approximations &#8211; below you will find functions graphs separately for $$a = 0.5$$ and $$a=0.01$$.<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\nimport org.mariuszgromada.math.mxparser.*;\r\n...\r\n\/* Recursive functions definition *\/\r\nConstant a = new Constant(&quot;a&quot;, 0.1);\r\nFunction s = new Function(&quot;s(x) =\u00a0 if( abs(x) &lt; a, x, 2*s(x\/2)*c(x\/2) )&quot;, a);\r\nFunction c = new Function(&quot;c(x) =\u00a0 if( abs(x) &lt; a, 1, c(x\/2)^2-s(x\/2)^2 )&quot;, a);\r\n\r\n\/* Pointing that 's' is using 'c', and 'c' is using 's' *\/\r\ns.addDefinitions(c);\r\nc.addDefinitions(s);\r\n\r\n<\/pre>\n<p><script src=\"https:\/\/www.google.com\/jsapi\" type=\"text\/javascript\"><\/script><\/p>\n<p><script type=\"text\/javascript\">\/\/ <![CDATA[\ngoogle.load('visualization', '1', {packages: ['corechart', 'line']}); google.setOnLoadCallback(drawCurveTypes); function drawCurveTypes() { var data = new google.visualization.DataTable(); data.addColumn('number', 'x'); data.addColumn('number', 'sin(x)'); data.addColumn('number', 's(x)'); data.addRows([ [ -3.141592653589793, -1.2246467991473532E-16, -0.26174249710508557 ], [ -3.121592653589793, -0.01999866669333322, -0.29016760207222403 ], [ -3.101592653589793, -0.03998933418663432, -0.31817016992492286 ], [ -3.081592653589793, -0.059964006479444776, -0.3457481091045371 ], [ -3.061592653589793, -0.07991469396917288, -0.3728994145255326 ], [ -3.041592653589793, -0.09983341664682836, -0.3996221672132642 ], [ -3.021592653589793, -0.11971220728891958, -0.42591453393795653 ], [ -3.001592653589793, -0.13954311464423672, -0.4517747668449193 ], [ -2.981592653589793, -0.15931820661424623, -0.4772012030810177 ], [ -2.961592653589793, -0.17902957342582446, -0.5021922644174305 ], [ -2.941592653589793, -0.19866933079506152, -0.5267464568687067 ], [ -2.921592653589793, -0.21822962308086963, -0.5508623703081631 ], [ -2.901592653589793, -0.2377026264271349, -0.5745386780796261 ], [ -2.881592653589793, -0.25708055189215545, -0.5977741366055664 ], [ -2.861592653589793, -0.2763556485641141, -0.6205675849916278 ], [ -2.841592653589793, -0.29552020666133993, -0.6429179446275941 ], [ -2.821592653589793, -0.31456656061611815, -0.6648242187848036 ], [ -2.801592653589793, -0.3334870921408148, -0.686285492210049 ], [ -2.781592653589793, -0.3522742332750904, -0.707300930715974 ], [ -2.761592653589793, -0.3709204694129831, -0.7278697807680043 ], [ -2.7415926535897928, -0.3894183423086509, -0.7479913690678271 ], [ -2.7215926535897927, -0.40776045305957065, -0.7676651021334492 ], [ -2.7015926535897927, -0.42593946506600006, -0.786890465875858 ], [ -2.6815926535897927, -0.44394810696552023, -0.8056670251723059 ], [ -2.6615926535897927, -0.4617791755414834, -0.8239944234362526 ], [ -2.6415926535897927, -0.4794255386042035, -0.8418723821839739 ], [ -2.6215926535897927, -0.49688013784373725, -0.8593007005978804 ], [ -2.6015926535897926, -0.5141359916531136, -0.8762792550865511 ], [ -2.5815926535897926, -0.531186197920884, -0.8928079988415278 ], [ -2.5615926535897926, -0.5480239367918741, -0.908886961390873 ], [ -2.5415926535897926, -0.5646424733950359, -0.924516248149536 ], [ -2.5215926535897926, -0.5810351605373056, -0.9396960399665333 ], [ -2.5015926535897925, -0.5971954413623926, -0.9544265926689863 ], [ -2.4815926535897925, -0.6131168519734344, -0.968708236603024 ], [ -2.4615926535897925, -0.628793024018469, -0.9825413761715878 ], [ -2.4415926535897925, -0.6442176872376917, -0.9959264893691543 ], [ -2.4215926535897925, -0.6593846719714738, -1.008864127313409 ], [ -2.4015926535897925, -0.6742879116281456, -1.0213549137738889 ], [ -2.3815926535897924, -0.6889214451105519, -1.0333995446976174 ], [ -2.3615926535897924, -0.7032794192004108, -1.0449987877317675 ], [ -2.3415926535897924, -0.7173560908995233, -1.0561534817433604 ], [ -2.3215926535897924, -0.7311458297268965, -1.066864536336043 ], [ -2.3015926535897924, -0.7446431199708599, -1.0771329313639504 ], [ -2.2815926535897924, -0.7578425628952775, -1.0869597164426963 ], [ -2.2615926535897923, -0.7707388788989699, -1.096346010457498 ], [ -2.2415926535897923, -0.783326909627484, -1.105293001068478 ], [ -2.2215926535897923, -0.7956016200363666, -1.113801944213148 ], [ -2.2015926535897923, -0.8075581004051149, -1.121874163606121 ], [ -2.1815926535897923, -0.8191915683009988, -1.129511050236057 ], [ -2.1615926535897922, -0.830497370491971, -1.136714061859879 ], [ -2.1415926535897922, -0.8414709848078971, -1.1434847224942795 ], [ -2.121592653589792, -0.8521080219493634, -1.1498246219045414 ], [ -2.101592653589792, -0.8624042272433389, -1.1557354150907002 ], [ -2.081592653589792, -0.8723554823449868, -1.1612188217710704 ], [ -2.061592653589792, -0.881957806884948, -1.1662766258631625 ], [ -2.041592653589792, -0.8912073600614359, -1.1709106749620133 ], [ -2.021592653589792, -0.9001004421765055, -1.1751228798159525 ], [ -2.001592653589792, -0.9086334961158837, -1.1789152137998395 ], [ -1.981592653589792, -0.9168031087717674, -1.495271491807285 ], [ -1.961592653589792, -0.9246060124080208, -1.4898485327761195 ], [ -1.941592653589792, -0.9320390859672267, -1.4841313348469156 ], [ -1.921592653589792, -0.939099356319068, -1.4781228980196732 ], [ -1.901592653589792, -0.9457839994495394, -1.4718262222943925 ], [ -1.881592653589792, -0.9520903415905162, -1.4652443076710735 ], [ -1.861592653589792, -0.9580158602892254, -1.4583801541497154 ], [ -1.841592653589792, -0.9635581854171933, -1.4512367617303195 ], [ -1.821592653589792, -0.9687151001182656, -1.4438171304128848 ], [ -1.801592653589792, -0.9734845416953197, -1.4361242601974118 ], [ -1.781592653589792, -0.9778646024353165, -1.4281611510839 ], [ -1.761592653589792, -0.98185353037236, -1.41993080307235 ], [ -1.7415926535897919, -0.9854497299884604, -1.4114362161627616 ], [ -1.7215926535897919, -0.98865176285172, -1.4026803903551346 ], [ -1.7015926535897918, -0.9914583481916867, -1.393666325649469 ], [ -1.6815926535897918, -0.993868363411645, -1.384397022045765 ], [ -1.6615926535897918, -0.9958808445376401, -1.3748754795440226 ], [ -1.6415926535897918, -0.9974949866040546, -1.3651046981442418 ], [ -1.6215926535897918, -0.9987101439755831, -1.3550876778464225 ], [ -1.6015926535897917, -0.9995258306054791, -1.3448274186505647 ], [ -1.5815926535897917, -0.9999417202299663, -1.3343269205566683 ], [ -1.5615926535897917, -0.9999576464987401, -1.3235891835647338 ], [ -1.5415926535897917, -0.9995736030415051, -1.3126172076747604 ], [ -1.5215926535897917, -0.998789743470524, -1.3014139928867487 ], [ -1.5015926535897917, -0.9976063813191736, -1.2899825392006985 ], [ -1.4815926535897916, -0.9960239899165366, -1.2783258466166099 ], [ -1.4615926535897916, -0.9940432021980757, -1.2664469151344828 ], [ -1.4415926535897916, -0.9916648104524685, -1.2543487447543173 ], [ -1.4215926535897916, -0.9888897660047012, -1.2420343354761134 ], [ -1.4015926535897916, -0.9857191788355533, -1.2295066872998708 ], [ -1.3815926535897916, -0.9821543171376181, -1.2167688002255899 ], [ -1.3615926535897915, -0.9781966068080443, -1.2038236742532704 ], [ -1.3415926535897915, -0.9738476308781948, -1.1906743093829126 ], [ -1.3215926535897915, -0.969109128880456, -1.177323705614516 ], [ -1.3015926535897915, -0.9639829961524476, -1.1637748629480813 ], [ -1.2815926535897915, -0.9584712830789137, -1.150030781383608 ], [ -1.2615926535897914, -0.9525761942715948, -1.1360944609210961 ], [ -1.2415926535897914, -0.9463000876874139, -1.1219689015605459 ], [ -1.2215926535897914, -0.9396454736853243, -1.107657103301957 ], [ -1.2015926535897914, -0.9326150140221998, -1.0931620661453298 ], [ -1.1815926535897914, -0.9252115207881675, -1.0784867900906643 ], [ -1.1615926535897914, -0.917437955281809, -1.0636342751379602 ], [ -1.1415926535897913, -0.9092974268256809, -1.0486075212872175 ], [ -1.1215926535897913, -0.9007931915226265, -1.0334095285384366 ], [ -1.1015926535897913, -0.8919286509533788, -1.0180432968916169 ], [ -1.0815926535897913, -0.8827073508159732, -1.002511826346759 ], [ -1.0615926535897913, -0.8731329795075156, -0.9868181169038626 ], [ -1.0415926535897913, -0.8632093666488728, -0.9709651685629275 ], [ -1.0215926535897912, -0.8529404815528753, -0.9549559813239542 ], [ -1.0015926535897912, -0.8423304316366447, -0.9387935551869423 ], [ -0.9815926535897912, -0.8313834607786821, -0.9815926535897912 ], [ -0.9615926535897912, -0.8201039476213731, -0.9615926535897912 ], [ -0.9415926535897912, -0.808496403819589, -0.9415926535897912 ], [ -0.9215926535897911, -0.7965654722360853, -0.9215926535897911 ], [ -0.9015926535897911, -0.7843159250844187, -0.9015926535897911 ], [ -0.8815926535897911, -0.7717526620201245, -0.8815926535897911 ], [ -0.8615926535897911, -0.7588807081809206, -0.8615926535897911 ], [ -0.8415926535897911, -0.7457052121767187, -0.8415926535897911 ], [ -0.821592653589791, -0.7322314440302499, -0.821592653589791 ], [ -0.801592653589791, -0.7184647930691246, -0.801592653589791 ], [ -0.781592653589791, -0.7044107657701746, -0.781592653589791 ], [ -0.761592653589791, -0.6900749835569348, -0.761592653589791 ], [ -0.741592653589791, -0.6754631805511493, -0.741592653589791 ], [ -0.721592653589791, -0.660581201279199, -0.721592653589791 ], [ -0.701592653589791, -0.6454349983343689, -0.701592653589791 ], [ -0.6815926535897909, -0.6300306299958904, -0.6815926535897909 ], [ -0.6615926535897909, -0.6143742578057099, -0.6615926535897909 ], [ -0.6415926535897909, -0.5984721441039547, -0.6415926535897909 ], [ -0.6215926535897909, -0.58233064952408, -0.6215926535897909 ], [ -0.6015926535897909, -0.5659562304487008, -0.6015926535897909 ], [ -0.5815926535897908, -0.5493554364271247, -0.5815926535897908 ], [ -0.5615926535897908, -0.5325349075556192, -0.5615926535897908 ], [ -0.5415926535897908, -0.5155013718214622, -0.5415926535897908 ], [ -0.5215926535897908, -0.4982616424118365, -0.5215926535897908 ], [ -0.5015926535897908, -0.4808226149886462, -0.5015926535897908 ], [ -0.48159265358979075, -0.46319126493034307, -0.48159265358979075 ], [ -0.46159265358979074, -0.44537464454186904, -0.46159265358979074 ], [ -0.4415926535897907, -0.42737988023382767, -0.4415926535897907 ], [ -0.4215926535897907, -0.4092141696720152, -0.4215926535897907 ], [ -0.4015926535897907, -0.3908847788984501, -0.4015926535897907 ], [ -0.38159265358979066, -0.37239903942505315, -0.38159265358979066 ], [ -0.36159265358979065, -0.3537643453011405, -0.36159265358979065 ], [ -0.34159265358979063, -0.33498815015590244, -0.34159265358979063 ], [ -0.3215926535897906, -0.3160779642170512, -0.3215926535897906 ], [ -0.3015926535897906, -0.29704135130682974, -0.3015926535897906 ], [ -0.2815926535897906, -0.2778859258165841, -0.2815926535897906 ], [ -0.26159265358979056, -0.2586193496611081, -0.26159265358979056 ], [ -0.24159265358979057, -0.23924932921397973, -0.24159265358979057 ], [ -0.22159265358979058, -0.21978361222511428, -0.22159265358979058 ], [ -0.2015926535897906, -0.20022998472176787, -0.2015926535897906 ], [ -0.1815926535897906, -0.1805962678942303, -0.1815926535897906 ], [ -0.1615926535897906, -0.16089031496745315, -0.1615926535897906 ], [ -0.14159265358979062, -0.14112000805986463, -0.14159265358979062 ], [ -0.12159265358979061, -0.12129325503062717, -0.12159265358979061 ], [ -0.10159265358979061, -0.10141798631659929, -0.10159265358979061 ], [ -0.0815926535897906, -0.08150215176026655, -0.0815926535897906 ], [ -0.0615926535897906, -0.06155371742991059, -0.0615926535897906 ], [ -0.0415926535897906, -0.041580662433287945, -0.0415926535897906 ], [ -0.021592653589790598, -0.021590975726093427, -0.021592653589790598 ], [ -0.0015926535897905977, -0.0015926529164843118, -0.0015926535897905977 ], [ 0.018407346410209403, 0.018406306933056307, 0.018407346410209403 ], [ 0.0384073464102094, 0.038397904505237855, 0.0384073464102094 ], [ 0.05840734641020941, 0.05837414342758255, 0.05840734641020941 ], [ 0.07840734641020941, 0.07832703347086774, 0.07840734641020941 ], [ 0.09840734641020941, 0.0982485937451111, 0.09840734641020941 ], [ 0.11840734641020942, 0.11813085589182022, 0.11840734641020942 ], [ 0.1384073464102094, 0.13796586727122967, 0.1384073464102094 ], [ 0.1584073464102094, 0.157745694143251, 0.1584073464102094 ], [ 0.1784073464102094, 0.1774624248408629, 0.1784073464102094 ], [ 0.19840734641020938, 0.19710817293467256, 0.19840734641020938 ], [ 0.21840734641020937, 0.21667508038738229, 0.21840734641020937 ], [ 0.23840734641020936, 0.23615532069689962, 0.23840734641020936 ], [ 0.25840734641020935, 0.25554110202683383, 0.25840734641020935 ], [ 0.27840734641020937, 0.2748246703231266, 0.27840734641020937 ], [ 0.2984073464102094, 0.2939983124155702, 0.2984073464102094 ], [ 0.3184073464102094, 0.31305435910297275, 0.3184073464102094 ], [ 0.3384073464102094, 0.33198518822073664, 0.3384073464102094 ], [ 0.35840734641020944, 0.35078322768962233, 0.35840734641020944 ], [ 0.37840734641020946, 0.36944095854447956, 0.37840734641020946 ], [ 0.3984073464102095, 0.38795091794173275, 0.3984073464102095 ], [ 0.4184073464102095, 0.40630570214441925, 0.4184073464102095 ], [ 0.4384073464102095, 0.42449796948358504, 0.4384073464102095 ], [ 0.4584073464102095, 0.44252044329485485, 0.4584073464102095 ], [ 0.47840734641020954, 0.4603659148290007, 0.47840734641020954 ], [ 0.49840734641020956, 0.4780272461353452, 0.49840734641020956 ], [ 0.5184073464102096, 0.49549737291684726, 0.5184073464102096 ], [ 0.5384073464102096, 0.5127693073557261, 0.5384073464102096 ], [ 0.5584073464102096, 0.5298361409084956, 0.5584073464102096 ], [ 0.5784073464102096, 0.5466910470692894, 0.5784073464102096 ], [ 0.5984073464102097, 0.5633272841003722, 0.5984073464102097 ], [ 0.6184073464102097, 0.5797381977287452, 0.6184073464102097 ], [ 0.6384073464102097, 0.5959172238077663, 0.6384073464102097 ], [ 0.6584073464102097, 0.6118578909427214, 0.6584073464102097 ], [ 0.6784073464102097, 0.6275538230792957, 0.6784073464102097 ], [ 0.6984073464102097, 0.6429987420539112, 0.6984073464102097 ], [ 0.7184073464102098, 0.6581864701049073, 0.7184073464102098 ], [ 0.7384073464102098, 0.673110932343564, 0.7384073464102098 ], [ 0.7584073464102098, 0.687766159183976, 0.7584073464102098 ], [ 0.7784073464102098, 0.7021462887308076, 0.7784073464102098 ], [ 0.7984073464102098, 0.7162455691239726, 0.7984073464102098 ], [ 0.8184073464102098, 0.7300583608393016, 0.8184073464102098 ], [ 0.8384073464102099, 0.7435791389442766, 0.8384073464102099 ], [ 0.8584073464102099, 0.7568024953079303, 0.8584073464102099 ], [ 0.8784073464102099, 0.7697231407640261, 0.8784073464102099 ], [ 0.8984073464102099, 0.7823359072266547, 0.8984073464102099 ], [ 0.9184073464102099, 0.794635749757399, 0.9184073464102099 ], [ 0.93840734641021, 0.8066177485832424, 0.93840734641021 ], [ 0.95840734641021, 0.8182771110644124, 0.95840734641021 ], [ 0.97840734641021, 0.8296091736113727, 0.97840734641021 ], [ 0.99840734641021, 0.8406094035501964, 0.99840734641021 ], [ 1.01840734641021, 0.8512734009355761, 0.9523920484474094 ], [ 1.03840734641021, 0.8615969003107423, 0.9684258421843451 ], [ 1.05840734641021, 0.8715757724135896, 0.9843038748193192 ], [ 1.07840734641021, 0.8812060258283269, 1.000023146352332 ], [ 1.09840734641021, 0.8904838085819898, 1.015580656783383 ], [ 1.11840734641021, 0.8994054096851792, 1.0309734061124725 ], [ 1.13840734641021, 0.9079672606164066, 1.0461983943396005 ], [ 1.15840734641021, 0.9161659367494563, 1.061252621464767 ], [ 1.17840734641021, 0.9239981587231891, 1.076133087487972 ], [ 1.19840734641021, 0.9314607937532439, 1.0908367924092153 ], [ 1.21840734641021, 0.9385508568851089, 1.1053607362284972 ], [ 1.23840734641021, 0.9452655121880645, 1.1197019189458177 ], [ 1.2584073464102101, 0.951602073889517, 1.1338573405611765 ], [ 1.2784073464102101, 0.9575580074492721, 1.1478240010745737 ], [ 1.2984073464102102, 0.9631309305733174, 1.1615989004860097 ], [ 1.3184073464102102, 0.968318614166708, 1.175179038795484 ], [ 1.3384073464102102, 0.9731189832251745, 1.1885614160029965 ], [ 1.3584073464102102, 0.9775301176650978, 1.2017430321085476 ], [ 1.3784073464102102, 0.9815502530915161, 1.2147208871121373 ], [ 1.3984073464102103, 0.98517778150386, 1.2274919810137654 ], [ 1.4184073464102103, 0.988411251939131, 1.240053313813432 ], [ 1.4384073464102103, 0.9912493710522674, 1.252401885511137 ], [ 1.4584073464102103, 0.9936910036334649, 1.2645346961068804 ], [ 1.4784073464102103, 0.9957351730622457, 1.2764487456006626 ], [ 1.4984073464102103, 0.9973810616980936, 1.2881410339924828 ], [ 1.5184073464102104, 0.998628011207499, 1.2996085612823418 ], [ 1.5384073464102104, 0.9994755228272841, 1.3108483274702394 ], [ 1.5584073464102104, 0.9999232575641009, 1.321857332556175 ], [ 1.5784073464102104, 0.9999710363300244, 1.3326325765401494 ], [ 1.5984073464102104, 0.9996188400141853, 1.3431710594221622 ], [ 1.6184073464102104, 0.998866809490414, 1.3534697812022134 ], [ 1.6384073464102105, 0.9977152455608931, 1.363525741880303 ], [ 1.6584073464102105, 0.9961646088358403, 1.3733359414564315 ], [ 1.6784073464102105, 0.994215519549271, 1.3828973799305981 ], [ 1.6984073464102105, 0.9918687573109121, 1.3922070573028031 ], [ 1.7184073464102105, 0.9891252607943692, 1.4012619735730467 ], [ 1.7384073464102106, 0.9859861273616697, 1.4100591287413289 ], [ 1.7584073464102106, 0.9824526126243318, 1.4185955228076494 ], [ 1.7784073464102106, 0.9785261299411377, 1.4268681557720082 ], [ 1.7984073464102106, 0.9742082498528083, 1.4348740276344059 ], [ 1.8184073464102106, 0.9695006994538079, 1.4426101383948418 ], [ 1.8384073464102106, 0.9644053617015296, 1.4500734880533162 ], [ 1.8584073464102107, 0.9589242746631373, 1.457261076609829 ], [ 1.8784073464102107, 0.9530596307003665, 1.4641699040643805 ], [ 1.8984073464102107, 0.9468137755926076, 1.47079697041697 ], [ 1.9184073464102107, 0.9401892075986271, 1.4771392756675983 ], [ 1.9384073464102107, 0.9331885764572962, 1.483193819816265 ], [ 1.9584073464102107, 0.9258146823277308, 1.4889576028629703 ], [ 1.9784073464102108, 0.9180704746692655, 1.494427624807714 ], [ 1.9984073464102108, 0.9099590510617088, 1.4996008856504963 ], [ 2.0184073464102106, 0.9014836559663533, 1.1757549256609736 ], [ 2.0384073464102106, 0.8926476794282329, 1.1716097254220572 ], [ 2.0584073464102106, 0.8834546557201515, 1.1670429910493054 ], [ 2.0784073464102106, 0.8739082619290204, 1.1620528017848186 ], [ 2.0984073464102106, 0.8640123164850725, 1.1566372999402648 ], [ 2.1184073464102107, 0.8537707776345412, 1.1507946914215181 ], [ 2.1384073464102107, 0.8431877418564148, 1.1445232462507349 ], [ 2.1584073464102107, 0.832267442223899, 1.137821299085855 ], [ 2.1784073464102107, 0.8210142467112449, 1.1306872497374891 ], [ 2.1984073464102107, 0.8094326564466171, 1.123119563683179 ], [ 2.2184073464102108, 0.797527303911702, 1.115116772579003 ], [ 2.2384073464102108, 0.785302951088778, 1.106677474768496 ], [ 2.258407346410211, 0.7727644875559848, 1.0978003357888706 ], [ 2.278407346410211, 0.7599169285315583, 1.0884840888745044 ], [ 2.298407346410211, 0.7467654128678098, 1.07872753545767 ], [ 2.318407346410211, 0.7333152009956537, 1.0685295456664987 ], [ 2.338407346410211, 0.7195716728205049, 1.0578890588201233 ], [ 2.358407346410211, 0.7055403255703889, 1.0468050839210084 ], [ 2.378407346410211, 0.6912267715971238, 1.0352767001444165 ], [ 2.398407346410211, 0.6766367361314538, 1.0233030573250046 ], [ 2.418407346410211, 0.6617760549930342, 1.0108833764405127 ], [ 2.438407346410211, 0.6466506722561803, 0.998016950092533 ], [ 2.458407346410211, 0.6312666378723181, 0.9847031429843197 ], [ 2.478407346410211, 0.6156301052500831, 0.9709413923956284 ], [ 2.498407346410211, 0.5997473287940401, 0.9567312086545547 ], [ 2.518407346410211, 0.583624661403004, 0.9420721756063464 ], [ 2.538407346410211, 0.5672685519289649, 0.9269639510791648 ], [ 2.558407346410211, 0.5506855425976341, 0.9114062673467757 ], [ 2.578407346410211, 0.5338822663916404, 0.8953989315881394 ], [ 2.598407346410211, 0.5168654443974252, 0.8789418263438752 ], [ 2.618407346410211, 0.4996418831168985, 0.8620349099695824 ], [ 2.638407346410211, 0.48221847174492793, 0.8446782170859838 ], [ 2.658407346410211, 0.4646021794137533, 0.8268718590258775 ], [ 2.678407346410211, 0.4468000524054263, 0.8086160242778598 ], [ 2.698407346410211, 0.4288192113333918, 0.7899109789268094 ], [ 2.718407346410211, 0.4106668482943371, 0.7707570670910922 ], [ 2.738407346410211, 0.39235022399144964, 0.7511547113564793 ], [ 2.7584073464102112, 0.3738766648302322, 0.7311044132067382 ], [ 2.7784073464102113, 0.3552535599880384, 0.7106067534508796 ], [ 2.7984073464102113, 0.33648835845850034, 0.6896623926470383 ], [ 2.8184073464102113, 0.3175885660720305, 0.6682720715229579 ], [ 2.8384073464102113, 0.29856174249358963, 0.646436611393054 ], [ 2.8584073464102113, 0.2794154981989215, 0.6241569145720414 ], [ 2.8784073464102113, 0.26015749143046407, 0.6014339647850833 ], [ 2.8984073464102114, 0.24079542513415475, 0.5782688275744567 ], [ 2.9184073464102114, 0.22133704387835465, 0.5546626507026979 ], [ 2.9384073464102114, 0.20179013075612443, 0.5306166645522011 ], [ 2.9584073464102114, 0.18216250427209096, 0.5061321825212606 ], [ 2.9784073464102114, 0.16246201521514966, 0.48121060141651284 ], [ 2.9984073464102114, 0.14269654351825364, 0.4558534018417672 ], [ 3.0184073464102115, 0.12287399510654552, 0.4300621485831948 ], [ 3.0384073464102115, 0.10300229873509287, 0.4038384909908573 ], [ 3.0584073464102115, 0.08308940281749186, 0.3771841633565358 ], [ 3.0784073464102115, 0.06314327224660778, 0.3501009852878598 ], [ 3.0984073464102115, 0.04317188520872412, 0.32259086207868426 ], [ 3.1184073464102116, 0.023183229992374443, 0.29465578507571105 ], [ 3.1384073464102116, 0.003185301793133427, 0.2662978320413212 ] ]); var options = { hAxis: { title: 'x' }, vAxis: { title: 'f(x)' }, series: { 1: {curveType: 'function'} }, legend: { position: 'bottom' }, 'title':'a = 0.5' }; var chart = new google.visualization.LineChart(document.getElementById('chart_sin1')); chart.draw(data, options); }\n\/\/ ]]><\/script><\/p>\n<p><script type=\"text\/javascript\">\/\/ <![CDATA[\ngoogle.load('visualization', '1', {packages: ['corechart', 'line']}); google.setOnLoadCallback(drawCurveTypes); function drawCurveTypes() { var data = new google.visualization.DataTable(); data.addColumn('number', 'x'); data.addColumn('number', 'sin(x)'); data.addColumn('number', 's(x)'); data.addRows([ [ -3.141592653589793, -1.2246467991473532E-16, -3.980745440099369E-5 ], [ -3.121592653589793, -0.01999866669333322, -0.020228917370228146 ], [ -3.101592653589793, -0.03998933418663432, -0.0404050398604443 ], [ -3.081592653589793, -0.059964006479444776, -0.0605601563768528 ], [ -3.061592653589793, -0.07991469396917288, -0.08068625862150881 ], [ -3.041592653589793, -0.09983341664682836, -0.1007753517033343 ], [ -3.021592653589793, -0.11971220728891958, -0.12081945728872868 ], [ -3.001592653589793, -0.13954311464423672, -0.1408106167449009 ], [ -2.981592653589793, -0.15931820661424623, -0.1607408942747464 ], [ -2.961592653589793, -0.17902957342582446, -0.1806023800420067 ], [ -2.941592653589793, -0.19866933079506152, -0.2003871932854966 ], [ -2.921592653589793, -0.21822962308086963, -0.22008748542119172 ], [ -2.901592653589793, -0.2377026264271349, -0.23969544313098437 ], [ -2.881592653589793, -0.25708055189215545, -0.25920329143686477 ], [ -2.861592653589793, -0.2763556485641141, -0.2786032967592938 ], [ -2.841592653589793, -0.29552020666133993, -0.2978877699587188 ], [ -2.821592653589793, -0.31456656061611815, -0.31704906935889343 ], [ -2.801592653589793, -0.3334870921408148, -0.33607960375084744 ], [ -2.781592653589793, -0.3522742332750904, -0.3549718353764289 ], [ -2.761592653589793, -0.3709204694129831, -0.3737182828901807 ], [ -2.7415926535897928, -0.3894183423086509, -0.39231152429835736 ], [ -2.7215926535897927, -0.40776045305957065, -0.41074419987404986 ], [ -2.7015926535897927, -0.42593946506600006, -0.42900901504722583 ], [ -2.6815926535897927, -0.44394810696552023, -0.44709874326841614 ], [ -2.6615926535897927, -0.4617791755414834, -0.46500622884534015 ], [ -2.6415926535897927, -0.4794255386042035, -0.48272438975076987 ], [ -2.6215926535897927, -0.49688013784373725, -0.5002462204012003 ], [ -2.6015926535897926, -0.5141359916531136, -0.5175647944045768 ], [ -2.5815926535897926, -0.531186197920884, -0.5346732672766402 ], [ -2.5615926535897926, -0.5480239367918741, -0.5515648791243437 ], [ -2.5415926535897926, -0.5646424733950359, -0.5718808977057148 ], [ -2.5215926535897926, -0.5810351605373056, -0.588362756900709 ], [ -2.5015926535897925, -0.5971954413623926, -0.6046038001236398 ], [ -2.4815926535897925, -0.6131168519734344, -0.6205977027022505 ], [ -2.4615926535897925, -0.628793024018469, -0.6363382393102721 ], [ -2.4415926535897925, -0.6442176872376917, -0.6518192863510375 ], [ -2.4215926535897925, -0.6593846719714738, -0.6670348243010008 ], [ -2.4015926535897925, -0.6742879116281456, -0.6819789400122257 ], [ -2.3815926535897924, -0.6889214451105519, -0.6966458289728311 ], [ -2.3615926535897924, -0.7032794192004108, -0.7110297975248631 ], [ -2.3415926535897924, -0.7173560908995233, -0.7251252650383848 ], [ -2.3215926535897924, -0.7311458297268965, -0.7389267660412931 ], [ -2.3015926535897924, -0.7446431199708599, -0.7524289523037972 ], [ -2.2815926535897924, -0.7578425628952775, -0.7656265948769985 ], [ -2.2615926535897923, -0.7707388788989699, -0.7785145860846572 ], [ -2.2415926535897923, -0.783326909627484, -0.7910879414675037 ], [ -2.2215926535897923, -0.7956016200363666, -0.8033418016792109 ], [ -2.2015926535897923, -0.8075581004051149, -0.8152714343335455 ], [ -2.1815926535897923, -0.8191915683009988, -0.8268722358018173 ], [ -2.1615926535897922, -0.830497370491971, -0.83813973296 ], [ -2.1415926535897922, -0.8414709848078971, -0.8490695848849622 ], [ -2.121592653589792, -0.8521080219493634, -0.8596575844990958 ], [ -2.101592653589792, -0.8624042272433389, -0.8698996601626381 ], [ -2.081592653589792, -0.8723554823449868, -0.8797918772133765 ], [ -2.061592653589792, -0.881957806884948, -0.8893304394528158 ], [ -2.041592653589792, -0.8912073600614359, -0.8985116905785357 ], [ -2.021592653589792, -0.9001004421765055, -0.9073321155620286 ], [ -2.001592653589792, -0.9086334961158837, -0.9157883419716459 ], [ -1.981592653589792, -0.9168031087717674, -0.9238771412400395 ], [ -1.961592653589792, -0.9246060124080208, -0.9315954298756857 ], [ -1.941592653589792, -0.9320390859672267, -0.93894027061805 ], [ -1.921592653589792, -0.939099356319068, -0.9459088735360328 ], [ -1.901592653589792, -0.9457839994495394, -0.9524985970690535 ], [ -1.881592653589792, -0.9520903415905162, -0.9587069490107681 ], [ -1.861592653589792, -0.9580158602892254, -0.964531587434657 ], [ -1.841592653589792, -0.9635581854171933, -0.9699703215614892 ], [ -1.821592653589792, -0.9687151001182656, -0.9750211125681014 ], [ -1.801592653589792, -0.9734845416953197, -0.9796820743373392 ], [ -1.781592653589792, -0.9778646024353165, -0.9839514741488501 ], [ -1.761592653589792, -0.98185353037236, -0.9878277333104497 ], [ -1.7415926535897919, -0.9854497299884604, -0.9913094277298663 ], [ -1.7215926535897919, -0.98865176285172, -0.9943952884266981 ], [ -1.7015926535897918, -0.9914583481916867, -0.9970842019842978 ], [ -1.6815926535897918, -0.993868363411645, -0.9993752109415841 ], [ -1.6615926535897918, -0.9958808445376401, -1.0012675141244283 ], [ -1.6415926535897918, -0.9974949866040546, -1.0027604669167383 ], [ -1.6215926535897918, -0.9987101439755831, -1.0038535814709884 ], [ -1.6015926535897917, -0.9995258306054791, -1.0045465268582403 ], [ -1.5815926535897917, -0.9999417202299663, -1.0048391291574899 ], [ -1.5615926535897917, -0.9999576464987401, -1.0047313714843773 ], [ -1.5415926535897917, -0.9995736030415051, -1.0042233939594403 ], [ -1.5215926535897917, -0.998789743470524, -1.0033154936155484 ], [ -1.5015926535897917, -0.9976063813191736, -1.0020081242448962 ], [ -1.4815926535897916, -0.9960239899165366, -1.0003018961856127 ], [ -1.4615926535897916, -0.9940432021980757, -0.9981975760478223 ], [ -1.4415926535897916, -0.9916648104524685, -0.9956960863795917 ], [ -1.4215926535897916, -0.9888897660047012, -0.9927985052726586 ], [ -1.4015926535897916, -0.9857191788355533, -0.9895060659083125 ], [ -1.3815926535897916, -0.9821543171376181, -0.9858201560434133 ], [ -1.3615926535897915, -0.9781966068080443, -0.9817423174369176 ], [ -1.3415926535897915, -0.9738476308781948, -0.9772742452170802 ], [ -1.3215926535897915, -0.969109128880456, -0.9724177871895714 ], [ -1.3015926535897915, -0.9639829961524476, -0.9671749430867637 ], [ -1.2815926535897915, -0.9584712830789137, -0.9615478637586766 ], [ -1.2615926535897914, -0.9525761942715948, -0.9585042490606017 ], [ -1.2415926535897914, -0.9463000876874139, -0.9520026689097572 ], [ -1.2215926535897914, -0.9396454736853243, -0.9451258852258182 ], [ -1.2015926535897914, -0.9326150140221998, -0.9378767258568422 ], [ -1.1815926535897914, -0.9252115207881675, -0.9302581607393932 ], [ -1.1615926535897914, -0.917437955281809, -0.9222733007229063 ], [ -1.1415926535897913, -0.9092974268256809, -0.9139253963419791 ], [ -1.1215926535897913, -0.9007931915226265, -0.9052178365371781 ], [ -1.1015926535897913, -0.8919286509533788, -0.8961541473247175 ], [ -1.0815926535897913, -0.8827073508159732, -0.8867379904155465 ], [ -1.0615926535897913, -0.8731329795075156, -0.876973161784445 ], [ -1.0415926535897913, -0.8632093666488728, -0.8668635901895895 ], [ -1.0215926535897912, -0.8529404815528753, -0.8564133356431416 ], [ -1.0015926535897912, -0.8423304316366447, -0.8456265878335039 ], [ -0.9815926535897912, -0.8313834607786821, -0.8345076644997362 ], [ -0.9615926535897912, -0.8201039476213731, -0.8230610097588934 ], [ -0.9415926535897912, -0.808496403819589, -0.8112911923867178 ], [ -0.9215926535897911, -0.7965654722360853, -0.7992029040525123 ], [ -0.9015926535897911, -0.7843159250844187, -0.786800957508701 ], [ -0.8815926535897911, -0.7717526620201245, -0.7740902847358956 ], [ -0.8615926535897911, -0.7588807081809206, -0.7610759350440414 ], [ -0.8415926535897911, -0.7457052121767187, -0.7477630731303927 ], [ -0.821592653589791, -0.7322314440302499, -0.7341569770950908 ], [ -0.801592653589791, -0.7184647930691246, -0.7202630364150042 ], [ -0.781592653589791, -0.7044107657701746, -0.7060867498765979 ], [ -0.761592653589791, -0.6900749835569348, -0.6916337234686657 ], [ -0.741592653589791, -0.6754631805511493, -0.6769096682356135 ], [ -0.721592653589791, -0.660581201279199, -0.6619203980921802 ], [ -0.701592653589791, -0.6454349983343689, -0.6466718276003223 ], [ -0.6815926535897909, -0.6300306299958904, -0.6311699697091174 ], [ -0.6615926535897909, -0.6143742578057099, -0.6154209334585752 ], [ -0.6415926535897909, -0.5984721441039547, -0.5994309216481077 ], [ -0.6215926535897909, -0.58233064952408, -0.5840750936153372 ], [ -0.6015926535897909, -0.5659562304487008, -0.5675439890225119 ], [ -0.5815926535897908, -0.5493554364271247, -0.550795598786439 ], [ -0.5615926535897908, -0.5325349075556192, -0.5338363874379883 ], [ -0.5415926535897908, -0.5155013718214622, -0.5166728951107284 ], [ -0.5215926535897908, -0.4982616424118365, -0.49931173517865435 ], [ -0.5015926535897908, -0.4808226149886462, -0.48175959186937367 ], [ -0.48159265358979075, -0.46319126493034307, -0.46402321785355005 ], [ -0.46159265358979074, -0.44537464454186904, -0.44610943181141355 ], [ -0.4415926535897907, -0.42737988023382767, -0.42802511597716886 ], [ -0.4215926535897907, -0.4092141696720152, -0.40977721366209285 ], [ -0.4015926535897907, -0.3908847788984501, -0.3913727267572209 ], [ -0.38159265358979066, -0.37239903942505315, -0.37281871321637733 ], [ -0.36159265358979065, -0.3537643453011405, -0.35412228452047906 ], [ -0.34159265358979063, -0.33498815015590244, -0.3352906031238957 ], [ -0.3215926535897906, -0.3160779642170512, -0.3163308798837691 ], [ -0.3015926535897906, -0.29704135130682974, -0.2974552555813004 ], [ -0.2815926535897906, -0.2778859258165841, -0.278223429128229 ], [ -0.26159265358979056, -0.2586193496611081, -0.2588903771547845 ], [ -0.24159265358979057, -0.23924932921397973, -0.23946315341095506 ], [ -0.22159265358979058, -0.21978361222511428, -0.2199488415530206 ], [ -0.2015926535897906, -0.20022998472176787, -0.20035455288896933 ], [ -0.1815926535897906, -0.1805962678942303, -0.1806874241163146 ], [ -0.1615926535897906, -0.16089031496745315, -0.1609546150529535 ], [ -0.14159265358979062, -0.14112000805986463, -0.14120478471920792 ], [ -0.12159265358979061, -0.12129325503062717, -0.12134698228315892 ], [ -0.10159265358979061, -0.10141798631659929, -0.10144934295754464 ], [ -0.0815926535897906, -0.08150215176026655, -0.08151840415429214 ], [ -0.0615926535897906, -0.06155371742991059, -0.06156709840252431 ], [ -0.0415926535897906, -0.041580662433287945, -0.04158478392536503 ], [ -0.021592653589790598, -0.021590975726093427, -0.02159202437623601 ], [ -0.0015926535897905977, -0.0015926529164843118, -0.0015926535897905977 ], [ 0.018407346410209403, 0.018406306933056307, 0.018407346410209403 ], [ 0.0384073464102094, 0.038397904505237855, 0.0384038054346853 ], [ 0.05840734641020941, 0.05837414342758255, 0.05838555439752259 ], [ 0.07840734641020941, 0.07832703347086774, 0.07835462990454609 ], [ 0.09840734641020941, 0.0982485937451111, 0.0982770949822346 ], [ 0.11840734641020942, 0.11813085589182022, 0.11818047566957583 ], [ 0.1384073464102094, 0.13796586727122967, 0.138045060041479 ], [ 0.1584073464102094, 0.157745694143251, 0.15786431874656556 ], [ 0.1784073464102094, 0.1774624248408629, 0.17754888295559426 ], [ 0.19840734641020938, 0.19710817293467256, 0.19722695223918996 ], [ 0.21840734641020937, 0.21667508038738229, 0.21683332023603868 ], [ 0.23840734641020936, 0.23615532069689962, 0.23636084641425845 ], [ 0.25840734641020935, 0.25554110202683383, 0.2558024152705508 ], [ 0.27840734641020937, 0.2748246703231266, 0.2751509385935271 ], [ 0.2984073464102094, 0.2939983124155702, 0.2943993577195476 ], [ 0.3184073464102094, 0.31305435910297275, 0.31354064578045115 ], [ 0.3384073464102094, 0.33198518822073664, 0.33227936118652235 ], [ 0.35840734641020944, 0.35078322768962233, 0.3511319191960011 ], [ 0.37840734641020946, 0.36944095854447956, 0.3698503697707191 ], [ 0.3984073464102095, 0.38795091794173275, 0.38842754257488554 ], [ 0.4184073464102095, 0.40630570214441925, 0.4068563178378626 ], [ 0.4384073464102095, 0.42449796948358504, 0.42512962891057204 ], [ 0.4584073464102095, 0.44252044329485485, 0.44324046480411655 ], [ 0.47840734641020954, 0.4603659148290007, 0.4611818727097746 ], [ 0.49840734641020956, 0.4780272461353452, 0.4789469604995189 ], [ 0.5184073464102096, 0.49549737291684726, 0.49652889920620613 ], [ 0.5384073464102096, 0.5127693073557261, 0.5139209254826324 ], [ 0.5584073464102096, 0.5298361409084956, 0.5311163440385913 ], [ 0.5784073464102096, 0.5466910470692894, 0.5481085300551436 ], [ 0.5984073464102097, 0.5633272841003722, 0.5648909315752594 ], [ 0.6184073464102097, 0.5797381977287452, 0.5814570718700516 ], [ 0.6384073464102097, 0.5959172238077663, 0.5978005517797877 ], [ 0.6584073464102097, 0.6118578909427214, 0.6128902500289738 ], [ 0.6784073464102097, 0.6275538230792957, 0.6286780830084727 ], [ 0.6984073464102097, 0.6429987420539112, 0.6442197193033259 ], [ 0.7184073464102098, 0.6581864701049073, 0.6595090347839023 ], [ 0.7384073464102098, 0.673110932343564, 0.6745400010425142 ], [ 0.7584073464102098, 0.687766159183976, 0.6893066876952789 ], [ 0.7784073464102098, 0.7021462887308076, 0.703803264648055 ], [ 0.7984073464102098, 0.7162455691239726, 0.7180240043254481 ], [ 0.8184073464102098, 0.7300583608393016, 0.7319632838622273 ], [ 0.8384073464102099, 0.7435791389442766, 0.7456155872561825 ], [ 0.8584073464102099, 0.7568024953079303, 0.7589755074817853 ], [ 0.8784073464102099, 0.7697231407640261, 0.7720377485637203 ], [ 0.8984073464102099, 0.7823359072266547, 0.784797127609626 ], [ 0.9184073464102099, 0.794635749757399, 0.7972485768012345 ], [ 0.93840734641021, 0.8066177485832424, 0.8093871453431909 ], [ 0.95840734641021, 0.8182771110644124, 0.8212080013688119 ], [ 0.97840734641021, 0.8296091736113727, 0.8327064338020821 ], [ 0.99840734641021, 0.8406094035501964, 0.8438778541752062 ], [ 1.01840734641021, 0.8512734009355761, 0.8547177984010401 ], [ 1.03840734641021, 0.8615969003107423, 0.8652219284996666 ], [ 1.05840734641021, 0.8715757724135896, 0.8753860342785932 ], [ 1.07840734641021, 0.8812060258283269, 0.8852060349658653 ], [ 1.09840734641021, 0.8904838085819898, 0.8946779807954337 ], [ 1.11840734641021, 0.8994054096851792, 0.9037980545443364 ], [ 1.13840734641021, 0.9079672606164066, 0.9125625730209516 ], [ 1.15840734641021, 0.9161659367494563, 0.9209679885038466 ], [ 1.17840734641021, 0.9239981587231891, 0.9290108901306874 ], [ 1.19840734641021, 0.9314607937532439, 0.9366880052366086 ], [ 1.21840734641021, 0.9385508568851089, 0.9439962006416495 ], [ 1.23840734641021, 0.9452655121880645, 0.9509324838866375 ], [ 1.2584073464102101, 0.951602073889517, 0.9574940044171721 ], [ 1.2784073464102101, 0.9575580074492721, 0.9636780547151771 ], [ 1.2984073464102102, 0.9631309305733174, 0.96630441106013 ], [ 1.3184073464102102, 0.968318614166708, 0.9716085984210697 ], [ 1.3384073464102102, 0.9731189832251745, 0.9765267321670454 ], [ 1.3584073464102102, 0.9775301176650978, 0.9810567884421769 ], [ 1.3784073464102102, 0.9815502530915161, 0.9851968951923828 ], [ 1.3984073464102103, 0.98517778150386, 0.988945332925332 ], [ 1.4184073464102103, 0.988411251939131, 0.9923005354117769 ], [ 1.4384073464102103, 0.9912493710522674, 0.9952610903276803 ], [ 1.4584073464102103, 0.9936910036334649, 0.9978257398373002 ], [ 1.4784073464102103, 0.9957351730622457, 0.9999933811165419 ], [ 1.4984073464102103, 0.9973810616980936, 1.0017630668166724 ], [ 1.5184073464102104, 0.998628011207499, 1.0031340054681284 ], [ 1.5384073464102104, 0.9994755228272841, 1.0041055618241808 ], [ 1.5584073464102104, 0.9999232575641009, 1.0046772571444071 ], [ 1.5784073464102104, 0.9999710363300244, 1.004848769417827 ], [ 1.5984073464102104, 0.9996188400141853, 1.0046199335254573 ], [ 1.6184073464102104, 0.998866809490414, 1.0039907413424707 ], [ 1.6384073464102105, 0.9977152455608931, 1.0029613417797558 ], [ 1.6584073464102105, 0.9961646088358403, 1.0015320407647685 ], [ 1.6784073464102105, 0.994215519549271, 0.9997033011617689 ], [ 1.6984073464102105, 0.9918687573109121, 0.9974757426315889 ], [ 1.7184073464102105, 0.9891252607943692, 0.9948501414306655 ], [ 1.7384073464102106, 0.9859861273616697, 0.9918274301496212 ], [ 1.7584073464102106, 0.9824526126243318, 0.9884086973914624 ], [ 1.7784073464102106, 0.9785261299411377, 0.9845951873893707 ], [ 1.7984073464102106, 0.9742082498528083, 0.9803882995643749 ], [ 1.8184073464102106, 0.9695006994538079, 0.9757895880229812 ], [ 1.8384073464102106, 0.9644053617015296, 0.9708007609949518 ], [ 1.8584073464102107, 0.9589242746631373, 0.9654236802113334 ], [ 1.8784073464102107, 0.9530596307003665, 0.9596603602231959 ], [ 1.8984073464102107, 0.9468137755926076, 0.9535129676610631 ], [ 1.9184073464102107, 0.9401892075986271, 0.9469838204354826 ], [ 1.9384073464102107, 0.9331885764572962, 0.9400753868789384 ], [ 1.9584073464102107, 0.9258146823277308, 0.9327902848293635 ], [ 1.9784073464102108, 0.9180704746692655, 0.925131280655812 ], [ 1.9984073464102108, 0.9099590510617088, 0.9171012882264 ], [ 2.0184073464102106, 0.9014836559663533, 0.9087033678190193 ], [ 2.0384073464102106, 0.8926476794282329, 0.8999407249750957 ], [ 2.0584073464102106, 0.8834546557201515, 0.8908167092971037 ], [ 2.0784073464102106, 0.8739082619290204, 0.8813348131899535 ], [ 2.0984073464102106, 0.8640123164850725, 0.8714986705468329 ], [ 2.1184073464102107, 0.8537707776345412, 0.8613120553801635 ], [ 2.1384073464102107, 0.8431877418564148, 0.8507788803978064 ], [ 2.1584073464102107, 0.832267442223899, 0.8399031955254032 ], [ 2.1784073464102107, 0.8210142467112449, 0.8286891863752894 ], [ 2.1984073464102107, 0.8094326564466171, 0.8171411726624116 ], [ 2.2184073464102108, 0.797527303911702, 0.8052636065679946 ], [ 2.2384073464102108, 0.785302951088778, 0.7930610710514963 ], [ 2.258407346410211, 0.7727644875559848, 0.7805382781116084 ], [ 2.278407346410211, 0.7599169285315583, 0.7677000669966789 ], [ 2.298407346410211, 0.7467654128678098, 0.7545514023655255 ], [ 2.318407346410211, 0.7333152009956537, 0.7410973723991182 ], [ 2.338407346410211, 0.7195716728205049, 0.7273431868639323 ], [ 2.358407346410211, 0.7055403255703889, 0.7132941751277359 ], [ 2.378407346410211, 0.6912267715971238, 0.6989557841283756 ], [ 2.398407346410211, 0.6766367361314538, 0.6843335762965532 ], [ 2.418407346410211, 0.6617760549930342, 0.6694332274332138 ], [ 2.438407346410211, 0.6466506722561803, 0.6542605245423834 ], [ 2.458407346410211, 0.6312666378723181, 0.6388213636202993 ], [ 2.478407346410211, 0.6156301052500831, 0.6231217474016306 ], [ 2.498407346410211, 0.5997473287940401, 0.6071677830636436 ], [ 2.518407346410211, 0.583624661403004, 0.5909656798891686 ], [ 2.538407346410211, 0.5672685519289649, 0.5745217468893017 ], [ 2.558407346410211, 0.5506855425976341, 0.5578423903866346 ], [ 2.578407346410211, 0.5338822663916404, 0.5373782084163333 ], [ 2.598407346410211, 0.5168654443974252, 0.5203038236442914 ], [ 2.618407346410211, 0.4996418831168985, 0.503018255391792 ], [ 2.638407346410211, 0.48221847174492793, 0.4855283348494615 ], [ 2.658407346410211, 0.4646021794137533, 0.46784097554527304 ], [ 2.678407346410211, 0.4468000524054263, 0.44996317063349467 ], [ 2.698407346410211, 0.4288192113333918, 0.43190199015170444 ], [ 2.718407346410211, 0.4106668482943371, 0.41366457824716657 ], [ 2.738407346410211, 0.39235022399144964, 0.3952581503734214 ], [ 2.7584073464102112, 0.3738766648302322, 0.3766899904582207 ], [ 2.7784073464102113, 0.3552535599880384, 0.35796744804407366 ], [ 2.7984073464102113, 0.33648835845850034, 0.3390979354022877 ], [ 2.8184073464102113, 0.3175885660720305, 0.3200889246218173 ], [ 2.8384073464102113, 0.29856174249358963, 0.3009479446739556 ], [ 2.8584073464102113, 0.2794154981989215, 0.2816825784539942 ], [ 2.8784073464102113, 0.26015749143046407, 0.26230045980110384 ], [ 2.8984073464102114, 0.24079542513415475, 0.24280927049750378 ], [ 2.9184073464102114, 0.22133704387835465, 0.22321673724813718 ], [ 2.9384073464102114, 0.20179013075612443, 0.2035306286420301 ], [ 2.9584073464102114, 0.18216250427209096, 0.18375875209645293 ], [ 2.9784073464102114, 0.16246201521514966, 0.1639089507852147 ], [ 2.9984073464102114, 0.14269654351825364, 0.1439891005521597 ], [ 3.0184073464102115, 0.12287399510654552, 0.12400710681107742 ], [ 3.0384073464102115, 0.10300229873509287, 0.10397090143338077 ], [ 3.0584073464102115, 0.08308940281749186, 0.0838884396245679 ], [ 3.0784073464102115, 0.06314327224660778, 0.06376769679082238 ], [ 3.0984073464102115, 0.04317188520872412, 0.0436166653969509 ], [ 3.1184073464102116, 0.023183229992374443, 0.02344335181684179 ], [ 3.1384073464102116, 0.003185301793133427, 0.00325577317773037 ] ]); var options = { hAxis: { title: 'x' }, vAxis: { title: 'f(x)' }, series: { 1: {curveType: 'function'} }, legend: { position: 'bottom' }, 'title':'a = 0.01' }; var chart = new google.visualization.LineChart(document.getElementById('chart_sin2')); chart.draw(data, options); }\n\/\/ ]]><\/script><\/p>\n<p><script type=\"text\/javascript\">\/\/ <![CDATA[\ngoogle.load('visualization', '1', {packages: ['corechart', 'line']}); google.setOnLoadCallback(drawCurveTypes); function drawCurveTypes() { var data = new google.visualization.DataTable(); data.addColumn('number', 'x'); data.addColumn('number', 'cos(x)'); data.addColumn('number', 'c(x)'); data.addRows([ [ -3.141592653589793, -1.0, -1.7553676637374411 ], [ -3.121592653589793, -0.9998000066665778, -1.738720791264334 ], [ -3.101592653589793, -0.9992001066609779, -1.7217450462451358 ], [ -3.081592653589793, -0.9982005399352042, -1.704447596095544 ], [ -3.061592653589793, -0.9968017063026193, -1.686835600309056 ], [ -3.041592653589793, -0.9950041652780257, -1.6689162097340313 ], [ -3.021592653589793, -0.9928086358538663, -1.6506965658549322 ], [ -3.001592653589793, -0.9902159962126371, -1.6321838000777749 ], [ -2.981592653589793, -0.9872272833756269, -1.6133850330197834 ], [ -2.961592653589793, -0.9838436927881213, -1.5943073738032711 ], [ -2.941592653589793, -0.9800665778412416, -1.574957919353744 ], [ -2.921592653589793, -0.9758974493306054, -1.5553437537022474 ], [ -2.901592653589793, -0.9713379748520296, -1.5354719472919571 ], [ -2.881592653589793, -0.9663899781345131, -1.5153495562890278 ], [ -2.861592653589793, -0.9610554383107709, -1.4949836218977062 ], [ -2.841592653589793, -0.9553364891256059, -1.4743811696797207 ], [ -2.821592653589793, -0.9492354180824407, -1.4535492088779525 ], [ -2.801592653589793, -0.9427546655283461, -1.4324947317443972 ], [ -2.781592653589793, -0.9358968236779347, -1.4112247128724333 ], [ -2.761592653589793, -0.9286646355765101, -1.389746108533391 ], [ -2.7415926535897928, -0.9210609940028849, -1.36806585601745 ], [ -2.7215926535897927, -0.913088940312308, -1.3461908729788534 ], [ -2.7015926535897927, -0.9047516632199633, -1.324128056785468 ], [ -2.6815926535897927, -0.896052497525525, -1.3018842838726759 ], [ -2.6615926535897927, -0.8869949227792839, -1.2794664091016312 ], [ -2.6415926535897927, -0.8775825618903724, -1.2568812651218668 ], [ -2.6215926535897927, -0.8678191796776497, -1.2341356617382777 ], [ -2.6015926535897926, -0.8577086813638238, -1.2112363852824743 ], [ -2.5815926535897926, -0.8472551110134158, -1.1881901979885288 ], [ -2.5615926535897926, -0.8364626499151866, -1.165003837373107 ], [ -2.5415926535897926, -0.8253356149096779, -1.1416840156200074 ], [ -2.5215926535897926, -0.8138784566625336, -1.1182374189691073 ], [ -2.5015926535897925, -0.8020957578842922, -1.0946707071097252 ], [ -2.4815926535897925, -0.7899922314973646, -1.070990512578411 ], [ -2.4615926535897925, -0.7775727187509275, -1.0472034401611645 ], [ -2.4415926535897925, -0.7648421872844879, -1.023316066300101 ], [ -2.4215926535897925, -0.7518057291408945, -0.9993349385045599 ], [ -2.4015926535897925, -0.7384685587295874, -0.9752665747666696 ], [ -2.3815926535897924, -0.7248360107409046, -0.9511174629813788 ], [ -2.3615926535897924, -0.7109135380122767, -0.926894060370957 ], [ -2.3415926535897924, -0.6967067093471648, -0.902602792913971 ], [ -2.3215926535897924, -0.6822212072876129, -0.8782500547787535 ], [ -2.3015926535897924, -0.6674628258413074, -0.8538422077613539 ], [ -2.2815926535897924, -0.6524374681640511, -0.8293855807280036 ], [ -2.2615926535897923, -0.6371511441985795, -0.804886469062075 ], [ -2.2415926535897923, -0.6216099682706637, -0.7803511341155625 ], [ -2.2215926535897923, -0.6058201566434621, -0.7557858026650848 ], [ -2.2015926535897923, -0.5897880250310974, -0.7311966663724128 ], [ -2.1815926535897923, -0.5735199860724559, -0.7065898812495349 ], [ -2.1615926535897922, -0.5570225467662164, -0.6819715671282636 ], [ -2.1415926535897922, -0.5403023058681389, -0.6573478071343933 ], [ -2.121592653589792, -0.5233659512516486, -0.6327246471664101 ], [ -2.101592653589792, -0.5062202572327775, -0.6081080953787676 ], [ -2.081592653589792, -0.4888720818605266, -0.5835041216697319 ], [ -2.061592653589792, -0.4713283641737391, -0.5589186571737983 ], [ -2.041592653589792, -0.4535961214255764, -0.5343575937586948 ], [ -2.021592653589792, -0.43568244627671115, -0.5098267835269732 ], [ -2.001592653589792, -0.41759450395835707, -0.485332038322191 ], [ -1.981592653589792, -0.3993395294062721, -0.4122853891932958 ], [ -1.961592653589792, -0.3809248243668807, -0.3851065393713985 ], [ -1.941592653589792, -0.36235775447667246, -0.35815554119190207 ], [ -1.921592653589792, -0.3436457463160459, -0.33143385834929695 ], [ -1.901592653589792, -0.32479628443877506, -0.30494293953807283 ], [ -1.881592653589792, -0.3058169083782881, -0.2786842184527204 ], [ -1.861592653589792, -0.2867152096319543, -0.25265911378772976 ], [ -1.841592653589792, -0.2674988286245862, -0.22686902923759078 ], [ -1.821592653589792, -0.2481754516523717, -0.20131535349679408 ], [ -1.801592653589792, -0.2287528078084582, -0.17599946025982938 ], [ -1.781592653589792, -0.20923866589141807, -0.15092270822118747 ], [ -1.761592653589792, -0.18964083129783305, -0.12608644107535794 ], [ -1.7415926535897919, -0.1699671429002396, -0.10149198751683142 ], [ -1.7215926535897919, -0.1502254699116844, -0.07714066124009777 ], [ -1.7015926535897918, -0.1304237087381441, -0.05303376093964762 ], [ -1.6815926535897918, -0.11056977982006815, -0.02917257030997078 ], [ -1.6615926535897918, -0.09067162446430822, -0.005558358045557599 ], [ -1.6415926535897918, -0.07073720166770146, 0.01780762215910181 ], [ -1.6215926535897918, -0.050774484933577724, 0.04092413160951747 ], [ -1.6015926535897917, -0.030791459082464667, 0.06378994661119874 ], [ -1.5815926535897917, -0.010796117058265938, 0.08640385846965548 ], [ -1.5615926535897917, 0.00920354326880979, 0.10876467349039787 ], [ -1.5415926535897917, 0.02919952230129027, 0.13087121297893534 ], [ -1.5215926535897917, 0.049183821914172005, 0.152722313240778 ], [ -1.5015926535897917, 0.06914844865406362, 0.17431682558143513 ], [ -1.4815926535897916, 0.08908541693646063, 0.1956536163064173 ], [ -1.4615926535897916, 0.10898675223987278, 0.21673156672123395 ], [ -1.4415926535897916, 0.1288444942955263, 0.2375495731313947 ], [ -1.4215926535897916, 0.1486507002713653, 0.25810654684240963 ], [ -1.4015926535897916, 0.16839744794907865, 0.2784014141597883 ], [ -1.3815926535897916, 0.18807683889288176, 0.29843311638904074 ], [ -1.3615926535897915, 0.20768100160878544, 0.3182006098356766 ], [ -1.3415926535897915, 0.22720209469308872, 0.337702865805206 ], [ -1.3215926535897915, 0.24663230996883564, 0.3569388706031382 ], [ -1.3015926535897915, 0.265963875608982, 0.3759076255349834 ], [ -1.2815926535897915, 0.28518905924502247, 0.3946081469062516 ], [ -1.2615926535897914, 0.304300171059835, 0.41303946602245206 ], [ -1.2415926535897914, 0.32328956686350513, 0.4312006291890949 ], [ -1.2215926535897914, 0.34214965115089996, 0.44909069771168997 ], [ -1.2015926535897914, 0.3608728801397689, 0.46670874789574696 ], [ -1.1815926535897914, 0.37945176478815623, 0.4840538710467756 ], [ -1.1615926535897914, 0.3978788737899177, 0.501125173470286 ], [ -1.1415926535897913, 0.4161468365471441, 0.5179217764717878 ], [ -1.1215926535897913, 0.43424834611830215, 0.5344428163567907 ], [ -1.1015926535897913, 0.45217616214091366, 0.5506874444308045 ], [ -1.0815926535897913, 0.46992311372760387, 0.5666548269993394 ], [ -1.0615926535897913, 0.48748210233436107, 0.5823441453679048 ], [ -1.0415926535897913, 0.5048461045998591, 0.5977545958420103 ], [ -1.0215926535897912, 0.522008175154709, 0.6128853897271664 ], [ -1.0015926535897912, 0.5389614493995131, 0.6277357533288825 ], [ -0.9815926535897912, 0.5556991462506143, 0.759118965604638 ], [ -0.9615926535897912, 0.5722145708524384, 0.7688348921405359 ], [ -0.9415926535897912, 0.5885011172553474, 0.7783508186764339 ], [ -0.9215926535897911, 0.6045522710579312, 0.7876667452123318 ], [ -0.9015926535897911, 0.6203616120126813, 0.7967826717482297 ], [ -0.8815926535897911, 0.6359228165940042, 0.8056985982841276 ], [ -0.8615926535897911, 0.6512296605275474, 0.8144145248200256 ], [ -0.8415926535897911, 0.6662760212798258, 0.8229304513559235 ], [ -0.821592653589791, 0.6810558805071542, 0.8312463778918214 ], [ -0.801592653589791, 0.6955633264629038, 0.8393623044277193 ], [ -0.781592653589791, 0.7097925563621221, 0.8472782309636172 ], [ -0.761592653589791, 0.7237378787025702, 0.8549941574995151 ], [ -0.741592653589791, 0.737393715541247, 0.8625100840354131 ], [ -0.721592653589791, 0.7507546047254925, 0.8698260105713109 ], [ -0.701592653589791, 0.7638152020777755, 0.8769419371072089 ], [ -0.6815926535897909, 0.7765702835332945, 0.8838578636431068 ], [ -0.6615926535897909, 0.7890147472295326, 0.8905737901790047 ], [ -0.6415926535897909, 0.8011436155469351, 0.8970897167149027 ], [ -0.6215926535897909, 0.8129520370998914, 0.9034056432508005 ], [ -0.6015926535897909, 0.8244352886772236, 0.9095215697866985 ], [ -0.5815926535897908, 0.8355887771314089, 0.9154374963225964 ], [ -0.5615926535897908, 0.8464080412157768, 0.9211534228584943 ], [ -0.5415926535897908, 0.8568887533689485, 0.9266693493943923 ], [ -0.5215926535897908, 0.8670267214458036, 0.9319852759302901 ], [ -0.5015926535897908, 0.8768178903942826, 0.937101202466188 ], [ -0.48159265358979075, 0.8862583438773531, 1.0 ], [ -0.46159265358979074, 0.8953443058394931, 1.0 ], [ -0.4415926535897907, 0.9040721420170622, 1.0 ], [ -0.4215926535897907, 0.912438361391959, 1.0 ], [ -0.4015926535897907, 0.9204396175879817, 1.0 ], [ -0.38159265358979066, 0.9280727102093336, 1.0 ], [ -0.36159265358979065, 0.9353345861207397, 1.0 ], [ -0.34159265358979063, 0.9422223406686591, 1.0 ], [ -0.3215926535897906, 0.9487332188431079, 1.0 ], [ -0.3015926535897906, 0.9548646163796272, 1.0 ], [ -0.2815926535897906, 0.960614080800953, 1.0 ], [ -0.26159265358979056, 0.9659793123979755, 1.0 ], [ -0.24159265358979057, 0.9709581651495912, 1.0 ], [ -0.22159265358979058, 0.9755486475810833, 1.0 ], [ -0.2015926535897906, 0.9797489235606848, 1.0 ], [ -0.1815926535897906, 0.9835573130340068, 1.0 ], [ -0.1615926535897906, 0.986972292696038, 1.0 ], [ -0.14159265358979062, 0.9899924966004459, 1.0 ], [ -0.12159265358979061, 0.9926167167059374, 1.0 ], [ -0.10159265358979061, 0.9948439033594597, 1.0 ], [ -0.0815926535897906, 0.9966731657160468, 1.0 ], [ -0.0615926535897906, 0.9981037720951458, 1.0 ], [ -0.0415926535897906, 0.9991351502732796, 1.0 ], [ -0.021592653589790598, 0.9997668877129284, 1.0 ], [ -0.0015926535897905977, 0.9999987317275395, 1.0 ], [ 0.018407346410209403, 0.9998305895825983, 1.0 ], [ 0.0384073464102094, 0.9992625285327208, 1.0 ], [ 0.05840734641020941, 0.9982947757947529, 1.0 ], [ 0.07840734641020941, 0.9969277184568867, 1.0 ], [ 0.09840734641020941, 0.99516190332383, 1.0 ], [ 0.11840734641020942, 0.9929980366980924, 1.0 ], [ 0.1384073464102094, 0.9904369840974727, 1.0 ], [ 0.1584073464102094, 0.9874797699088644, 1.0 ], [ 0.1784073464102094, 0.984127576978514, 1.0 ], [ 0.19840734641020938, 0.9803817461388983, 1.0 ], [ 0.21840734641020937, 0.9762437756724093, 1.0 ], [ 0.23840734641020936, 0.9717153207120615, 1.0 ], [ 0.25840734641020935, 0.9667981925794603, 1.0 ], [ 0.27840734641020937, 0.9614943580602981, 1.0 ], [ 0.2984073464102094, 0.9558059386176656, 1.0 ], [ 0.3184073464102094, 0.9497352095434953, 1.0 ], [ 0.3384073464102094, 0.943284599048475, 1.0 ], [ 0.35840734641020944, 0.9364566872907955, 1.0 ], [ 0.37840734641020946, 0.9292542053441223, 1.0 ], [ 0.3984073464102095, 0.9216800341052023, 1.0 ], [ 0.4184073464102095, 0.9137372031415436, 1.0 ], [ 0.4384073464102095, 0.9054288894796285, 1.0 ], [ 0.4584073464102095, 0.8967584163341458, 1.0 ], [ 0.47840734641020954, 0.8877292517787488, 1.0 ], [ 0.49840734641020956, 0.8783450073588727, 1.0 ], [ 0.5184073464102096, 0.8686094366471635, 0.9328134557969813 ], [ 0.5384073464102096, 0.8585264337421002, 0.9275293823328792 ], [ 0.5584073464102096, 0.8481000317104066, 0.922045308868777 ], [ 0.5784073464102096, 0.8373344009738786, 0.916361235404675 ], [ 0.5984073464102097, 0.8262338476412706, 0.9104771619405728 ], [ 0.6184073464102097, 0.8148028117859107, 0.9043930884764707 ], [ 0.6384073464102097, 0.803045865669729, 0.8981090150123686 ], [ 0.6584073464102097, 0.790967711914415, 0.8916249415482665 ], [ 0.6784073464102097, 0.7785731816204305, 0.8849408680841644 ], [ 0.6984073464102097, 0.7658672324346354, 0.8780567946200624 ], [ 0.7184073464102098, 0.7528549465672932, 0.8709727211559602 ], [ 0.7384073464102098, 0.7395415287592564, 0.8636886476918582 ], [ 0.7584073464102098, 0.725932304200138, 0.856204574227756 ], [ 0.7784073464102098, 0.712032716398308, 0.8485205007636539 ], [ 0.7984073464102098, 0.6978483250035615, 0.8406364272995518 ], [ 0.8184073464102098, 0.683384803583334, 0.8325523538354497 ], [ 0.8384073464102099, 0.6686479373533489, 0.8242682803713476 ], [ 0.8584073464102099, 0.6536436208636096, 0.8157842069072455 ], [ 0.8784073464102099, 0.6383778556406567, 0.8071001334431434 ], [ 0.8984073464102099, 0.622856747787039, 0.7982160599790413 ], [ 0.9184073464102099, 0.6070865055389523, 0.7891319865149391 ], [ 0.93840734641021, 0.5910734367830288, 0.7798479130508371 ], [ 0.95840734641021, 0.5748239465332663, 0.7703638395867349 ], [ 0.97840734641021, 0.5583445343691075, 0.7606797661226328 ], [ 0.99840734641021, 0.5416417918356956, 0.7507956926585307 ], [ 1.01840734641021, 0.5247223998073438, 0.6152693328179415 ], [ 1.03840734641021, 0.5075931258152743, 0.6001831503518007 ], [ 1.05840734641021, 0.4902608213406968, 0.5848171870697304 ], [ 1.07840734641021, 0.47273241907430685, 0.5691722292772399 ], [ 1.09840734641021, 0.455014930143302, 0.5532490782798394 ], [ 1.11840734641021, 0.43711544130702473, 0.5370485503830386 ], [ 1.13840734641021, 0.41904111212235284, 0.5205714768923471 ], [ 1.15840734641021, 0.4007991720799723, 0.5038187041132749 ], [ 1.17840734641021, 0.3823969177126775, 0.48679109335133175 ], [ 1.19840734641021, 0.3638417096768552, 0.46948952091202745 ], [ 1.21840734641021, 0.34514096980832026, 0.45191487810087194 ], [ 1.23840734641021, 0.3263021781536803, 0.4340680712233749 ], [ 1.2584073464102101, 0.30733286997841647, 0.4159500215850462 ], [ 1.2784073464102101, 0.2882406327528783, 0.3975616654913955 ], [ 1.2984073464102102, 0.26903310311739614, 0.37890395424793283 ], [ 1.3184073464102102, 0.24971796382772726, 0.35997785416016786 ], [ 1.3384073464102102, 0.23030294068205573, 0.3407843465336103 ], [ 1.3584073464102102, 0.21079579943077634, 0.32132442767377023 ], [ 1.3784073464102102, 0.1912043426702978, 0.3015991088861573 ], [ 1.3984073464102103, 0.17153640672210838, 0.2816094164762812 ], [ 1.4184073464102103, 0.15179985849835173, 0.2613563917496521 ], [ 1.4384073464102103, 0.13200259235516684, 0.2408410910117793 ], [ 1.4584073464102103, 0.112152526935051, 0.22006458556817277 ], [ 1.4784073464102103, 0.09225760199950822, 0.1990279617243429 ], [ 1.4984073464102103, 0.0723257752532506, 0.1777323207857986 ], [ 1.5184073464102104, 0.052365019161222486, 0.15617877905805022 ], [ 1.5384073464102104, 0.03238331775972084, 0.13436846784660772 ], [ 1.5584073464102104, 0.012388663462887107, 0.11230253345698027 ], [ 1.5784073464102104, -0.007610946134151799, 0.08998213719467829 ], [ 1.5984073464102104, -0.027607511454214972, 0.06740845536521112 ], [ 1.6184073464102104, -0.04759303413779171, 0.04458267927408888 ], [ 1.6384073464102105, -0.06755952024227865, 0.021506015226821384 ], [ 1.6584073464102105, -0.08749898343945027, -0.001820315471081635 ], [ 1.6784073464102105, -0.10740344820988368, -0.02539507651411055 ], [ 1.6984073464102105, -0.12726495303306, -0.04921701659675526 ], [ 1.7184073464102105, -0.14707555357186652, -0.07328486941350632 ], [ 1.7384073464102106, -0.16682732585022553, -0.09759735365885347 ], [ 1.7584073464102106, -0.18651236942257915, -0.12215317302728712 ], [ 1.7784073464102106, -0.20612281053396217, -0.14695101621329765 ], [ 1.7984073464102106, -0.22565080526939907, -0.17198955691137496 ], [ 1.8184073464102106, -0.2450885426913655, -0.1972674538160094 ], [ 1.8384073464102106, -0.2644282479640591, -0.22278335062169097 ], [ 1.8584073464102107, -0.28366218546323, -0.24853587602291016 ], [ 1.8784073464102107, -0.30278266187032765, -0.27452364371415694 ], [ 1.8984073464102107, -0.32178202924972554, -0.30074525238992167 ], [ 1.9184073464102107, -0.34065268810779337, -0.32719928574469437 ], [ 1.9384073464102107, -0.3593870904325933, -0.35388431247296537 ], [ 1.9584073464102107, -0.37797774271298423, -0.38079888626922465 ], [ 1.9784073464102108, -0.396417208935926, -0.4079415458279627 ], [ 1.9984073464102108, -0.41469811356078573, -0.4353108148436694 ], [ 2.0184073464102106, -0.4328131444694554, -0.5059230547958302 ], [ 2.0384073464102106, -0.4507550558911025, -0.5304485091723455 ], [ 2.0584073464102106, -0.4685166713003804, -0.5550051450656415 ], [ 2.0784073464102106, -0.4860908862879438, -0.5795871167520883 ], [ 2.0984073464102106, -0.5034706714021174, -0.6041885386639234 ], [ 2.1184073464102107, -0.520649074960583, -0.6288034858869298 ], [ 2.1384073464102107, -0.5376192258309593, -0.6534259946627035 ], [ 2.1584073464102107, -0.5543743361791642, -0.6780500628955057 ], [ 2.1784073464102107, -0.5709077041844566, -0.7026696506636908 ], [ 2.1984073464102107, -0.5872127167200765, -0.727278680735702 ], [ 2.2184073464102108, -0.6032828519984068, -0.7518710390906378 ], [ 2.2384073464102108, -0.6191116821796019, -0.776440575443365 ], [ 2.258407346410211, -0.6346928759426375, -0.8009811037741927 ], [ 2.278407346410211, -0.6500202010177548, -0.8254864028630801 ], [ 2.298407346410211, -0.6650875266792856, -0.8499502168283888 ], [ 2.318407346410211, -0.6798888261978601, -0.8743662556701598 ], [ 2.338407346410211, -0.6944181792510189, -0.898728195817913 ], [ 2.358407346410211, -0.7086697742912629, -0.9230296806829654 ], [ 2.378407346410211, -0.7226379108705947, -0.9472643212152572 ], [ 2.398407346410211, -0.736317001920622, -0.9714256964646755 ], [ 2.418407346410211, -0.7497015759873102, -0.9955073541468764 ], [ 2.438407346410211, -0.7627862794194912, -1.0195028112135935 ], [ 2.458407346410211, -0.7755658785102525, -1.043405554427422 ], [ 2.478407346410211, -0.7880352615903502, -1.06720904094108 ], [ 2.498407346410211, -0.8001894410728084, -1.0909066988811298 ], [ 2.518407346410211, -0.8120235554478878, -1.1144919279361618 ], [ 2.538407346410211, -0.8235328712276245, -1.1379580999494208 ], [ 2.558407346410211, -0.8347127848391621, -1.1612985595158805 ], [ 2.578407346410211, -0.8455588244661193, -1.184506624583748 ], [ 2.598407346410211, -0.8560666518372574, -1.2075755870603964 ], [ 2.618407346410211, -0.8662320639617305, -1.2304987134227172 ], [ 2.638407346410211, -0.8760509948102257, -1.2532692453318792 ], [ 2.658407346410211, -0.885519516941321, -1.2758804002524937 ], [ 2.678407346410211, -0.8946338430724093, -1.298325372076173 ], [ 2.698407346410211, -0.9033903275945608, -1.3205973317494761 ], [ 2.718407346410211, -0.9117854680307182, -1.3426894279062307 ], [ 2.738407346410211, -0.9198159064366409, -1.3645947875042286 ], [ 2.7584073464102112, -0.9274784307440375, -1.3863065164662798 ], [ 2.7784073464102113, -0.9347699760453505, -1.407817700325623 ], [ 2.7984073464102113, -0.941687625819679, -1.4291214048756766 ], [ 2.8184073464102113, -0.9482286130993473, -1.4502106768241356 ], [ 2.8384073464102113, -0.9543903215766553, -1.4710785444513843 ], [ 2.8584073464102113, -0.9601702866503673, -1.4917180182732392 ], [ 2.8784073464102113, -0.965566196411519, -1.5121220917079978 ], [ 2.8984073464102114, -0.9705758925681504, -1.532283741747789 ], [ 2.9184073464102114, -0.9751973713085937, -1.5521959296342211 ], [ 2.9384073464102114, -0.9794287841029721, -1.5718516015383097 ], [ 2.9584073464102114, -0.9832684384425855, -1.5912436892446873 ], [ 2.9784073464102114, -0.9867147985168928, -1.610365110840071 ], [ 2.9984073464102114, -0.9897664858278155, -1.6292087714059962 ], [ 3.0184073464102115, -0.9924222797411174, -1.6477675637157982 ], [ 3.0384073464102115, -0.9946811179746435, -1.6660343689358272 ], [ 3.0584073464102115, -0.9965420970232178, -1.6840020573308998 ], [ 3.0784073464102115, -0.9980044725200338, -1.701663488973971 ], [ 3.0984073464102115, -0.9990676595343905, -1.7190115144600142 ], [ 3.1184073464102116, -0.999731232805658, -1.7360389756241088 ], [ 3.1384073464102116, -0.9999949269133752, -1.7527387062637172 ] ]); var options = { hAxis: { title: 'x' }, vAxis: { title: 'f(x)' }, series: { 1: {curveType: 'function'} }, legend: { position: 'bottom' }, 'title':'a = 0.5' }; var chart = new google.visualization.LineChart(document.getElementById('chart_cos1')); chart.draw(data, options); }\n\/\/ ]]><\/script><\/p>\n<p><script type=\"text\/javascript\">\/\/ <![CDATA[\ngoogle.load('visualization', '1', {packages: ['corechart', 'line']}); google.setOnLoadCallback(drawCurveTypes); function drawCurveTypes() { var data = new google.visualization.DataTable(); data.addColumn('number', 'x'); data.addColumn('number', 'cos(x)'); data.addColumn('number', 'c(x)'); data.addRows([ [ -3.141592653589793, -1.0, -1.0096846994337203 ], [ -3.121592653589793, -0.9998000066665778, -1.0093585126885085 ], [ -3.101592653589793, -0.9992001066609779, -1.0086295277879476 ], [ -3.081592653589793, -0.9982005399352042, -1.0074981320840535 ], [ -3.061592653589793, -0.9968017063026193, -1.005964872201328 ], [ -3.041592653589793, -0.9950041652780257, -1.0040304537830713 ], [ -3.021592653589793, -0.9928086358538663, -1.0016957411751943 ], [ -3.001592653589793, -0.9902159962126371, -0.9989617570475973 ], [ -2.981592653589793, -0.9872272833756269, -0.995829681953683 ], [ -2.961592653589793, -0.9838436927881213, -0.9923008538277567 ], [ -2.941592653589793, -0.9800665778412416, -0.9883767674206947 ], [ -2.921592653589793, -0.9758974493306054, -0.9840590736742341 ], [ -2.901592653589793, -0.9713379748520296, -0.979349579033988 ], [ -2.881592653589793, -0.9663899781345131, -0.9742502447015656 ], [ -2.861592653589793, -0.9610554383107709, -0.9687631858258016 ], [ -2.841592653589793, -0.9553364891256059, -0.9628906706340681 ], [ -2.821592653589793, -0.9492354180824407, -0.9566351195034031 ], [ -2.801592653589793, -0.9427546655283461, -0.9499991039719717 ], [ -2.781592653589793, -0.9358968236779347, -0.9429853456915707 ], [ -2.761592653589793, -0.9286646355765101, -0.9355967153212942 ], [ -2.7415926535897928, -0.9210609940028849, -0.9278362313627774 ], [ -2.7215926535897927, -0.913088940312308, -0.9197070589377522 ], [ -2.7015926535897927, -0.9047516632199633, -0.9112125085082521 ], [ -2.6815926535897927, -0.896052497525525, -0.9023560345396976 ], [ -2.6615926535897927, -0.8869949227792839, -0.8931412341082163 ], [ -2.6415926535897927, -0.8775825618903724, -0.8835718454515794 ], [ -2.6215926535897927, -0.8678191796776497, -0.8736517464656043 ], [ -2.6015926535897926, -0.8577086813638238, -0.8633849531453914 ], [ -2.5815926535897926, -0.8472551110134158, -0.852775617973112 ], [ -2.5615926535897926, -0.8364626499151866, -0.8418280282521939 ], [ -2.5415926535897926, -0.8253356149096779, -0.8357662301670445 ], [ -2.5215926535897926, -0.8138784566625336, -0.8240004063733799 ], [ -2.5015926535897925, -0.8020957578842922, -0.8119109931601962 ], [ -2.4815926535897925, -0.7899922314973646, -0.7995028941870221 ], [ -2.4615926535897925, -0.7775727187509275, -0.7867811361759389 ], [ -2.4415926535897925, -0.7648421872844879, -0.7737508669088944 ], [ -2.4215926535897925, -0.7518057291408945, -0.7604173531791821 ], [ -2.4015926535897925, -0.7384685587295874, -0.74678597869775 ], [ -2.3815926535897924, -0.7248360107409046, -0.7328622419550435 ], [ -2.3615926535897924, -0.7109135380122767, -0.7186517540395425 ], [ -2.3415926535897924, -0.6967067093471648, -0.7041602364134623 ], [ -2.3215926535897924, -0.6822212072876129, -0.6893935186467994 ], [ -2.3015926535897924, -0.6674628258413074, -0.6743575361103655 ], [ -2.2815926535897924, -0.6524374681640511, -0.6590583276288974 ], [ -2.2615926535897923, -0.6371511441985795, -0.6435020330950384 ], [ -2.2415926535897923, -0.6216099682706637, -0.6276948910451803 ], [ -2.2215926535897923, -0.6058201566434621, -0.6116432361980126 ], [ -2.2015926535897923, -0.5897880250310974, -0.5953534969568949 ], [ -2.1815926535897923, -0.5735199860724559, -0.5788321928768688 ], [ -2.1615926535897922, -0.5570225467662164, -0.5620859320973488 ], [ -2.1415926535897922, -0.5403023058681389, -0.5451214087415325 ], [ -2.121592653589792, -0.5233659512516486, -0.5279454002834763 ], [ -2.101592653589792, -0.5062202572327775, -0.5105647648838196 ], [ -2.081592653589792, -0.4888720818605266, -0.4929864386953465 ], [ -2.061592653589792, -0.4713283641737391, -0.47521743313921544 ], [ -2.041592653589792, -0.4535961214255764, -0.457264832153087 ], [ -2.021592653589792, -0.43568244627671115, -0.43913578941209797 ], [ -2.001592653589792, -0.41759450395835707, -0.4208375255238333 ], [ -1.981592653589792, -0.3993395294062721, -0.4023773251983131 ], [ -1.961592653589792, -0.3809248243668807, -0.3837625343941233 ], [ -1.941592653589792, -0.36235775447667246, -0.36500055744177295 ], [ -1.921592653589792, -0.3436457463160459, -0.34609885414543573 ], [ -1.901592653589792, -0.32479628443877506, -0.32706493686407867 ], [ -1.881592653589792, -0.3058169083782881, -0.3079063675732521 ], [ -1.861592653589792, -0.2867152096319543, -0.2886307549085314 ], [ -1.841592653589792, -0.2674988286245862, -0.2692457511918543 ], [ -1.821592653589792, -0.2481754516523717, -0.2497590494418257 ], [ -1.801592653589792, -0.2287528078084582, -0.23017838036918042 ], [ -1.781592653589792, -0.20923866589141807, -0.21051150935854418 ], [ -1.761592653589792, -0.18964083129783305, -0.19076623343764937 ], [ -1.7415926535897919, -0.1699671429002396, -0.170950378235172 ], [ -1.7215926535897919, -0.1502254699116844, -0.15107179492837408 ], [ -1.7015926535897918, -0.1304237087381441, -0.13113835718168582 ], [ -1.6815926535897918, -0.11056977982006815, -0.11115795807744822 ], [ -1.6615926535897918, -0.09067162446430822, -0.09113850703994941 ], [ -1.6415926535897918, -0.07073720166770146, -0.07108792675396708 ], [ -1.6215926535897918, -0.050774484933577724, -0.05101415007898613 ], [ -1.6015926535897917, -0.030791459082464667, -0.03092511696027106 ], [ -1.5815926535897917, -0.010796117058265938, -0.01082877133797755 ], [ -1.5615926535897917, 0.00920354326880979, 0.009266941944501894 ], [ -1.5415926535897917, 0.02919952230129027, 0.02935408023179037 ], [ -1.5215926535897917, 0.049183821914172005, 0.04942470614618394 ], [ -1.5015926535897917, 0.06914844865406362, 0.06947089067452589 ], [ -1.4815926535897916, 0.08908541693646063, 0.08948471625113658 ], [ -1.4615926535897916, 0.10898675223987278, 0.10945827983559353 ], [ -1.4415926535897916, 0.1288444942955263, 0.12938369598420324 ], [ -1.4215926535897916, 0.1486507002713653, 0.1492530999139816 ], [ -1.4015926535897916, 0.16839744794907865, 0.1690586505579797 ], [ -1.3815926535897916, 0.18807683889288176, 0.18879253361076836 ], [ -1.3615926535897915, 0.20768100160878544, 0.20844696456294082 ], [ -1.3415926535897915, 0.22720209469308872, 0.22801419172345944 ], [ -1.3215926535897915, 0.24663230996883564, 0.24748649922869764 ], [ -1.3015926535897915, 0.265963875608982, 0.2668562100370052 ], [ -1.2815926535897915, 0.28518905924502247, 0.28611568890771927 ], [ -1.2615926535897914, 0.304300171059835, 0.30623703736560853 ], [ -1.2415926535897914, 0.32328956686350513, 0.32527916617867686 ], [ -1.2215926535897914, 0.34214965115089996, 0.34418491245537525 ], [ -1.2015926535897914, 0.3608728801397689, 0.36294694418218554 ], [ -1.1815926535897914, 0.37945176478815623, 0.3815579873225635 ], [ -1.1615926535897914, 0.3978788737899177, 0.4000108285474752 ], [ -1.1415926535897913, 0.4161468365471441, 0.41829831794233385 ], [ -1.1215926535897913, 0.43424834611830215, 0.43641337168940386 ], [ -1.1015926535897913, 0.45217616214091366, 0.4543489747246384 ], [ -1.0815926535897913, 0.46992311372760387, 0.4720981833680104 ], [ -1.0615926535897913, 0.48748210233436107, 0.4896541279264007 ], [ -1.0415926535897913, 0.5048461045998591, 0.5070100152680833 ], [ -1.0215926535897912, 0.522008175154709, 0.5241591313678501 ], [ -1.0015926535897912, 0.5389614493995131, 0.5410948438219099 ], [ -0.9815926535897912, 0.5556991462506143, 0.5578106043315646 ], [ -0.9615926535897912, 0.5722145708524384, 0.5742999511548857 ], [ -0.9415926535897912, 0.5885011172553474, 0.5905565115253604 ], [ -0.9215926535897911, 0.6045522710579312, 0.6065740040367538 ], [ -0.9015926535897911, 0.6203616120126813, 0.6223462409932248 ], [ -0.8815926535897911, 0.6359228165940042, 0.6378671307239414 ], [ -0.8615926535897911, 0.6512296605275474, 0.6531306798612704 ], [ -0.8415926535897911, 0.6662760212798258, 0.668130995581751 ], [ -0.821592653589791, 0.6810558805071542, 0.6828622878090806 ], [ -0.801592653589791, 0.6955633264629038, 0.6973188713782554 ], [ -0.781592653589791, 0.7097925563621221, 0.7114951681600816 ], [ -0.761592653589791, 0.7237378787025702, 0.725385709145369 ], [ -0.741592653589791, 0.737393715541247, 0.7389851364879452 ], [ -0.721592653589791, 0.7507546047254925, 0.7522882055058573 ], [ -0.701592653589791, 0.7638152020777755, 0.7652897866399445 ], [ -0.6815926535897909, 0.7765702835332945, 0.7779848673691055 ], [ -0.6615926535897909, 0.7890147472295326, 0.7903685540816336 ], [ -0.6415926535897909, 0.8011436155469351, 0.8024360739018306 ], [ -0.6215926535897909, 0.8129520370998914, 0.8154209993417507 ], [ -0.6015926535897909, 0.8244352886772236, 0.8267795899285129 ], [ -0.5815926535897908, 0.8355887771314089, 0.8378085321506308 ], [ -0.5615926535897908, 0.8464080412157768, 0.8485037383497082 ], [ -0.5415926535897908, 0.8568887533689485, 0.8588612455090746 ], [ -0.5215926535897908, 0.8670267214458036, 0.8688772166281237 ], [ -0.5015926535897908, 0.8768178903942826, 0.8785479420526628 ], [ -0.48159265358979075, 0.8862583438773531, 0.8878698407608391 ], [ -0.46159265358979074, 0.8953443058394931, 0.8968394616042162 ], [ -0.4415926535897907, 0.9040721420170622, 0.905453484503624 ], [ -0.4215926535897907, 0.912438361391959, 0.9137087215993199 ], [ -0.4015926535897907, 0.9204396175879817, 0.9216021183552349 ], [ -0.38159265358979066, 0.9280727102093336, 0.9291307546167551 ], [ -0.36159265358979065, 0.9353345861207397, 0.9362918456218948 ], [ -0.34159265358979063, 0.9422223406686591, 0.9430827429653647 ], [ -0.3215926535897906, 0.9487332188431079, 0.9495009355153416 ], [ -0.3015926535897906, 0.9548646163796272, 0.9562252503581442 ], [ -0.2815926535897906, 0.960614080800953, 0.9618069716278705 ], [ -0.26159265358979056, 0.9659793123979755, 0.9670141927797918 ], [ -0.24159265358979057, 0.9709581651495912, 0.9718451417780584 ], [ -0.22159265358979058, 0.9755486475810833, 0.9762981749554022 ], [ -0.2015926535897906, 0.9797489235606848, 0.9803717774990774 ], [ -0.1815926535897906, 0.9835573130340068, 0.9840645638985858 ], [ -0.1615926535897906, 0.986972292696038, 0.9873752783551695 ], [ -0.14159265358979062, 0.9899924966004459, 0.990613433681517 ], [ -0.12159265358979061, 0.9926167167059374, 0.9930757063718637 ], [ -0.10159265358979061, 0.9948439033594597, 0.9951649574850416 ], [ -0.0815926535897906, 0.9966731657160468, 0.9968805926574938 ], [ -0.0615926535897906, 0.9981037720951458, 0.9983405218959891 ], [ -0.0415926535897906, 0.9991351502732796, 0.9992431985303347 ], [ -0.021592653589790598, 0.9997668877129284, 0.9998251598407562 ], [ -0.0015926535897905977, 0.9999987317275395, 1.0 ], [ 0.018407346410209403, 0.9998305895825983, 0.9999152923995336 ], [ 0.0384073464102094, 0.9992625285327208, 0.9994468369031143 ], [ 0.05840734641020941, 0.9982947757947529, 0.9985077034583177 ], [ 0.07840734641020941, 0.9969277184568867, 0.9973110218875799 ], [ 0.09840734641020941, 0.99516190332383, 0.9954632261980552 ], [ 0.11840734641020942, 0.9929980366980924, 0.9934334421192954 ], [ 0.1384073464102094, 0.9904369840974727, 0.9910305346862706 ], [ 0.1584073464102094, 0.9874797699088644, 0.9882551875834469 ], [ 0.1784073464102094, 0.984127576978514, 0.9846174563971045 ], [ 0.19840734641020938, 0.9803817461388983, 0.9809854401082153 ], [ 0.21840734641020937, 0.9762437756724093, 0.9769723989756709 ], [ 0.23840734641020936, 0.9717153207120615, 0.9725796978777962 ], [ 0.25840734641020935, 0.9667981925794603, 0.9678088310629651 ], [ 0.27840734641020937, 0.9614943580602981, 0.9626614217079256 ], [ 0.2984073464102094, 0.9558059386176656, 0.9571392214379534 ], [ 0.3184073464102094, 0.9497352095434953, 0.9512441098089476 ], [ 0.3384073464102094, 0.943284599048475, 0.9441299543143357 ], [ 0.35840734641020944, 0.9364566872907955, 0.937398251377214 ], [ 0.37840734641020946, 0.9292542053441223, 0.9302959456286048 ], [ 0.3984073464102095, 0.9216800341052023, 0.9228256636710381 ], [ 0.4184073464102095, 0.9137372031415436, 0.9149901686129305 ], [ 0.4384073464102095, 0.9054288894796285, 0.9067923591120141 ], [ 0.4584073464102095, 0.8967584163341458, 0.8982352683716741 ], [ 0.47840734641020954, 0.8877292517787488, 0.8893220630905305 ], [ 0.49840734641020956, 0.8783450073588727, 0.8800560423656104 ], [ 0.5184073464102096, 0.8686094366471635, 0.8704406365494345 ], [ 0.5384073464102096, 0.8585264337421002, 0.8604794060614438 ], [ 0.5584073464102096, 0.8481000317104066, 0.8501760401540913 ], [ 0.5784073464102096, 0.8373344009738786, 0.8395343556340388 ], [ 0.5984073464102097, 0.8262338476412706, 0.8285582955388411 ], [ 0.6184073464102097, 0.8148028117859107, 0.8172519277695856 ], [ 0.6384073464102097, 0.803045865669729, 0.8056194436798989 ], [ 0.6584073464102097, 0.790967711914415, 0.7923117810928092 ], [ 0.6784073464102097, 0.7785731816204305, 0.7799781324187504 ], [ 0.6984073464102097, 0.7658672324346354, 0.7673323214444001 ], [ 0.7184073464102098, 0.7528549465672932, 0.7543792226735293 ], [ 0.7384073464102098, 0.7395415287592564, 0.7411238298132297 ], [ 0.7584073464102098, 0.725932304200138, 0.7275712539096415 ], [ 0.7784073464102098, 0.712032716398308, 0.7137267214396784 ], [ 0.7984073464102098, 0.6978483250035615, 0.6995955723592422 ], [ 0.8184073464102098, 0.683384803583334, 0.6851832581088255 ], [ 0.8384073464102099, 0.6686479373533489, 0.6704953395770483 ], [ 0.8584073464102099, 0.6536436208636096, 0.6555374850230341 ], [ 0.8784073464102099, 0.6383778556406567, 0.6403154679582226 ], [ 0.8984073464102099, 0.622856747787039, 0.6248351649884986 ], [ 0.9184073464102099, 0.6070865055389523, 0.6091025536173521 ], [ 0.93840734641021, 0.5910734367830288, 0.5931237100109 ], [ 0.95840734641021, 0.5748239465332663, 0.5769048067255522 ], [ 0.97840734641021, 0.5583445343691075, 0.5604521103991564 ], [ 0.99840734641021, 0.5416417918356956, 0.5437719794064688 ], [ 1.01840734641021, 0.5247223998073438, 0.5268708614797959 ], [ 1.03840734641021, 0.5075931258152743, 0.5097552912956214 ], [ 1.05840734641021, 0.4902608213406968, 0.49243188802817733 ], [ 1.07840734641021, 0.47273241907430685, 0.47490735287078967 ], [ 1.09840734641021, 0.455014930143302, 0.4571884665258771 ], [ 1.11840734641021, 0.43711544130702473, 0.4392820866645943 ], [ 1.13840734641021, 0.41904111212235284, 0.4211951453569539 ], [ 1.15840734641021, 0.4007991720799723, 0.4029346464734043 ], [ 1.17840734641021, 0.3823969177126775, 0.38450766305880724 ], [ 1.19840734641021, 0.3638417096768552, 0.365921334679739 ], [ 1.21840734641021, 0.34514096980832026, 0.3471828647461206 ], [ 1.23840734641021, 0.3263021781536803, 0.3282995178081013 ], [ 1.2584073464102101, 0.30733286997841647, 0.30927861682922064 ], [ 1.2784073464102101, 0.2882406327528783, 0.29012754043681777 ], [ 1.2984073464102102, 0.26903310311739614, 0.2699311547967947 ], [ 1.3184073464102102, 0.24971796382772726, 0.25057849006149013 ], [ 1.3384073464102102, 0.23030294068205573, 0.23112200972449592 ], [ 1.3584073464102102, 0.21079579943077634, 0.2115693843690325 ], [ 1.3784073464102102, 0.1912043426702978, 0.19192832387583242 ], [ 1.3984073464102103, 0.17153640672210838, 0.17220657443096093 ], [ 1.4184073464102103, 0.15179985849835173, 0.1524119155190155 ], [ 1.4384073464102103, 0.13200259235516684, 0.13255215690280087 ], [ 1.4584073464102103, 0.112152526935051, 0.1126351355907142 ], [ 1.4784073464102103, 0.09225760199950822, 0.092668712792909 ], [ 1.4984073464102103, 0.0723257752532506, 0.07266077086746564 ], [ 1.5184073464102104, 0.052365019161222486, 0.052619210257712046 ], [ 1.5384073464102104, 0.03238331775972084, 0.032551946421867484 ], [ 1.5584073464102104, 0.012388663462887107, 0.012466906756182783 ], [ 1.5784073464102104, -0.007610946134151799, -0.007627972487240953 ], [ 1.5984073464102104, -0.027607511454214972, -0.027724749286782646 ], [ 1.6184073464102104, -0.04759303413779171, -0.04781547894059507 ], [ 1.6384073464102105, -0.06755952024227865, -0.0678922171576759 ], [ 1.6584073464102105, -0.08749898343945027, -0.08794702314954655 ], [ 1.6784073464102105, -0.10740344820988368, -0.10797196272133319 ], [ 1.6984073464102105, -0.12726495303306, -0.12795911136109062 ], [ 1.7184073464102105, -0.14707555357186652, -0.1479005573261642 ], [ 1.7384073464102106, -0.16682732585022553, -0.167788404725416 ], [ 1.7584073464102106, -0.18651236942257915, -0.18761477659614317 ], [ 1.7784073464102106, -0.20612281053396217, -0.20737181797447812 ], [ 1.7984073464102106, -0.22565080526939907, -0.22705169895813337 ], [ 1.8184073464102106, -0.2450885426913655, -0.24664661776028507 ], [ 1.8384073464102106, -0.2644282479640591, -0.266148803753445 ], [ 1.8584073464102107, -0.28366218546323, -0.2855505205021134 ], [ 1.8784073464102107, -0.30278266187032765, -0.30484406878311254 ], [ 1.8984073464102107, -0.32178202924972554, -0.32402178959237976 ], [ 1.9184073464102107, -0.34065268810779337, -0.34307606713709693 ], [ 1.9384073464102107, -0.3593870904325933, -0.36199933181200494 ], [ 1.9584073464102107, -0.37797774271298423, -0.38078406315871555 ], [ 1.9784073464102108, -0.396417208935926, -0.399422792806971 ], [ 1.9984073464102108, -0.41469811356078573, -0.41790810739664125 ], [ 2.0184073464102106, -0.4328131444694554, -0.4362326514793619 ], [ 2.0384073464102106, -0.4507550558911025, -0.4543891303986589 ], [ 2.0584073464102106, -0.4685166713003804, -0.47237031314755346 ], [ 2.0784073464102106, -0.4860908862879438, -0.49016903520243393 ], [ 2.0984073464102106, -0.5034706714021174, -0.5077782013321227 ], [ 2.1184073464102107, -0.520649074960583, -0.5251907883811586 ], [ 2.1384073464102107, -0.5376192258309593, -0.5423998480260213 ], [ 2.1584073464102107, -0.5543743361791642, -0.5593985095034346 ], [ 2.1784073464102107, -0.5709077041844566, -0.576179982309617 ], [ 2.1984073464102107, -0.5872127167200765, -0.5927375588693764 ], [ 2.2184073464102108, -0.6032828519984068, -0.6090646171740939 ], [ 2.2384073464102108, -0.6191116821796019, -0.6251546233875349 ], [ 2.258407346410211, -0.6346928759426375, -0.6410011344185744 ], [ 2.278407346410211, -0.6500202010177548, -0.6565978004596408 ], [ 2.298407346410211, -0.6650875266792856, -0.6719383674901103 ], [ 2.318407346410211, -0.6798888261978601, -0.687016679743532 ], [ 2.338407346410211, -0.6944181792510189, -0.7018266821377952 ], [ 2.358407346410211, -0.7086697742912629, -0.7163624226673223 ], [ 2.378407346410211, -0.7226379108705947, -0.7306180547562244 ], [ 2.398407346410211, -0.736317001920622, -0.7445878395716733 ], [ 2.418407346410211, -0.7497015759873102, -0.7582661482964904 ], [ 2.438407346410211, -0.7627862794194912, -0.7716474643600696 ], [ 2.458407346410211, -0.7755658785102525, -0.7847263856268019 ], [ 2.478407346410211, -0.7880352615903502, -0.7974976265411284 ], [ 2.498407346410211, -0.8001894410728084, -0.8099560202283802 ], [ 2.518407346410211, -0.8120235554478878, -0.82209652055057 ], [ 2.538407346410211, -0.8235328712276245, -0.8339142041164059 ], [ 2.558407346410211, -0.8347127848391621, -0.8454042722446207 ], [ 2.578407346410211, -0.8455588244661193, -0.8510545795078059 ], [ 2.598407346410211, -0.8560666518372574, -0.8617180774111968 ], [ 2.618407346410211, -0.8662320639617305, -0.8720397072989751 ], [ 2.638407346410211, -0.8760509948102257, -0.8820152951037491 ], [ 2.658407346410211, -0.885519516941321, -0.8916408029833769 ], [ 2.678407346410211, -0.8946338430724093, -0.9009123309419658 ], [ 2.698407346410211, -0.9033903275945608, -0.909826118396848 ], [ 2.718407346410211, -0.9117854680307182, -0.9183785456913639 ], [ 2.738407346410211, -0.9198159064366409, -0.9265661355524136 ], [ 2.7584073464102112, -0.9274784307440375, -0.9343855544922637 ], [ 2.7784073464102113, -0.9347699760453505, -0.9418336141543635 ], [ 2.7984073464102113, -0.941687625819679, -0.948907272602204 ], [ 2.8184073464102113, -0.9482286130993473, -0.9556036355510276 ], [ 2.8384073464102113, -0.9543903215766553, -0.9619199575417838 ], [ 2.8584073464102113, -0.9601702866503673, -0.9678536430566953 ], [ 2.8784073464102113, -0.965566196411519, -0.9734022475763199 ], [ 2.8984073464102114, -0.9705758925681504, -0.9785634785773871 ], [ 2.9184073464102114, -0.9751973713085937, -0.9833351964711646 ], [ 2.9384073464102114, -0.9794287841029721, -0.9877154154819779 ], [ 2.9584073464102114, -0.9832684384425855, -0.9917023044652445 ], [ 2.9784073464102114, -0.9867147985168928, -0.995294187665268 ], [ 2.9984073464102114, -0.9897664858278155, -0.9984895454119354 ], [ 3.0184073464102115, -0.9924222797411174, -1.00128701475605 ], [ 3.0384073464102115, -0.9946811179746435, -1.0036853900437122 ], [ 3.0584073464102115, -0.9965420970232178, -1.0056836234285178 ], [ 3.0784073464102115, -0.9980044725200338, -1.007280825322055 ], [ 3.0984073464102115, -0.9990676595343905, -1.0084762647824626 ], [ 3.1184073464102116, -0.999731232805658, -1.0092693698403732 ], [ 3.1384073464102116, -0.9999949269133752, -1.009659727762825 ] ]); var options = { hAxis: { title: 'x' }, vAxis: { title: 'f(x)' }, series: { 1: {curveType: 'function'} }, legend: { position: 'bottom' }, 'title':'a = 0.01' }; var chart = new google.visualization.LineChart(document.getElementById('chart_cos2')); chart.draw(data, options); }\n\/\/ ]]><\/script><\/p>\n<div id=\"chart_sin1\"><\/div>\n<div id=\"chart_sin2\"><\/div>\n<div id=\"chart_cos1\"><\/div>\n<div id=\"chart_cos2\"><\/div>\n<p>&nbsp;<\/p>\n<p style=\"text-align: right;\">Best regards,<\/p>\n<p style=\"text-align: right;\">Mariusz Gromada<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello, Today I will present how flexible mXparser really is. As an example we will approximate $$\\sin(x)$$ and\u00a0$$\\cos(x)$$ using indirect recursion steps, which means two functions depending on each other. Let us start with a bit of theory starting with basic\u00a0trigonometric identities: $$\\sin(2x)=2\\sin(x)\\cos(x)$$ $$\\cos(2x)=\\cos^2(x)-\\sin^2(x)$$ Above formals can be equivalently written as $$\\sin(x)=2\\sin\\big(\\frac{x}{2}\\big)\\cos\\big(\\frac{x}{2}\\big)$$ $$\\cos(x)=\\cos^2\\big(\\frac{x}{2}\\big)-\\sin^2\\big(\\frac{x}{2}\\big)$$ Please notice &hellip; <a href=\"https:\/\/mathparser.org\/mathematics\/indirect-recursion-using-mxparser\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Indirect recursion using mXparser<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-648","post","type-post","status-publish","format-standard","hentry","category-mathematics"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mathparser.org\/wp-json\/wp\/v2\/posts\/648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mathparser.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mathparser.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mathparser.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mathparser.org\/wp-json\/wp\/v2\/comments?post=648"}],"version-history":[{"count":38,"href":"https:\/\/mathparser.org\/wp-json\/wp\/v2\/posts\/648\/revisions"}],"predecessor-version":[{"id":694,"href":"https:\/\/mathparser.org\/wp-json\/wp\/v2\/posts\/648\/revisions\/694"}],"wp:attachment":[{"href":"https:\/\/mathparser.org\/wp-json\/wp\/v2\/media?parent=648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mathparser.org\/wp-json\/wp\/v2\/categories?post=648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mathparser.org\/wp-json\/wp\/v2\/tags?post=648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}