<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=264358</guid>
        <pubDate>Tue, 16 Dec 2003 10:01:15 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=264358</link>
        <description><![CDATA[Guest:  При x от 1 до 5 выдает правильные y, а дальше муть какая-то... ]]></description>
        <author>Guest</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=264343</guid>
        <pubDate>Tue, 16 Dec 2003 09:46:15 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=264343</link>
        <description><![CDATA[Антоха:  Мои вычисления:<br><br>  (1,0)<br>  (2,2)<br>  (3,24)<br>  (4 60)<br>  (5,3120)<br><br>  f(x) = 0    * (x-2) * (x-3) * (x-4) * (x-5) / [ (1-2) * (1-3) * (1-4) * (1-5) ]<br>       + 2    * (x-1) * (x-3) * (x-4) * (x-5) / [ (2-1) * (2-3) * (2-4) * (2-5) ]<br>	   + 24   * (x-1) * (x-2) * (x-4) * (x-5) / [ (3-1) * (3-2) * (3-4) * (3-5) ]<br>	   + 60   * (x-1) * (x-2) * (x-3) * (x-5) / [ (4-1) * (4-2) * (4-3) * (4-5) ]<br>	   + 3120 * (x-1) * (x-2) * (x-3) * (x-4) / [ (5-1) * (5-2) * (5-3) * (5-4) ]<br><br>       = 0<br>	   + 2    * (x-1) * (x-3) * (x-4) * (x-5) / (-6)<br>	   + 24   * (x-1) * (x-2) * (x-4) * (x-5) / (4)<br>	   + 60   * (x-1) * (x-2) * (x-3) * (x-5) / (-6)<br>	   + 3120 * (x-1) * (x-2) * (x-3) * (x-4) / (24)<br><br>       = 0<br>	   + (x-1) * (x-3) * (x-4) * (x-5) / (-3)<br>	   + (x-1) * (x-2) * (x-4) * (x-5) * (6)<br>	   + (x-1) * (x-2) * (x-3) * (x-5) * (-10)<br>	   + (x-1) * (x-2) * (x-3) * (x-4) * (130)<br><br>       = 0<br>	   + (x^4 - 13*x^3 + 59*x^2 - 107*x + 60) / (-3)<br>	   + (x^4 - 12*x^3 + 49*x^2 - 78*x + 40)  * (6)<br>	   + (x^4 - 11*x^3 + 41*x^2 - 61*x + 30)  * (-10)<br>	   + (x^4 - 10*x^3 + 35*x^2 - 50*x + 24)  * (130)<br><br>       = 0<br>	   + -x^4/3 + 13*x^3/3 - 59*x^2/3 + 107*x/3 - 20<br>	   + 6*x^4 - 72*x^3 + 294*x^2 - 468*x + 240<br>	   + -10*x^4 + 110*x^3 - 410*x^2 + 610*x - 300<br>	   + 130*x^4 - 1300*x^3 + 4550*x^2 - 6500*x + 3120<br><br>       = 125*2/3*x^4 - 1262*x^3 + 13/3x^3 + 4434*x^2 - 59*x^2/3 - 6358*x + 107*x/3 + 3040<br><br>Это не очень почему-то походит на x^x - x ??? ]]></description>
        <author>Антоха</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=264145</guid>
        <pubDate>Mon, 15 Dec 2003 23:34:42 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=264145</link>
        <description><![CDATA[C300G:  <b>Антоха</b><br>Глянь на алгоритмы, описанные здесь:<br><a href='http://astronomy.swin.edu.au/~pbourke/analysis/interpolation/' target='_blank'>http://astronomy.swin.edu.au/~pbourke/anal.../interpolation/</a><br>и здесь:<br><a href='http://astronomy.swin.edu.au/~pbourke/analysis/curvefit/' target='_blank'>http://astronomy.swin.edu.au/~pbourke/analysis/curvefit/</a><br>может сгодится. ]]></description>
        <author>C300G</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=264006</guid>
        <pubDate>Mon, 15 Dec 2003 17:50:26 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=264006</link>
        <description><![CDATA[Антоха:  Построил график - получилась прямая... ]]></description>
        <author>Антоха</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=264004</guid>
        <pubDate>Mon, 15 Dec 2003 17:47:58 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=264004</link>
        <description><![CDATA[Антоха:  т.е. f(x) = y1 * (x - x1) + ... yn * (x - xn)<br><br>Чего-то я ничего не понял...<br><br>fx.cpp:<br><br><!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b></b> </td></tr><tr><td id='CODE'><!--ec1--><br>//f&#40;x&#41; = y1 * &#40;x - x1&#41; + ... yn * &#40;x - xn&#41;<br><br>#include &#60;iostream.h&#62;<br><br>int f&#40;int x, int *xa, int *ya, int n&#41;<br>{<br>&nbsp;int i;<br>&nbsp;int ret = 0;<br>&nbsp;<br>&nbsp;for &#40;i = 0; i &#60; n; i++&#41;<br>&nbsp;{<br>&nbsp;	ret += ya&#91;i&#93;*&#40;x - xa&#91;i&#93;&#41;;<br>&nbsp;}<br><br>&nbsp;return ret;<br>}<br><br>void main&#40;&#41;<br>{<br>&nbsp;int xa&#91;&#93; = {1,2,3,4,5};<br>&nbsp;int ya&#91;&#93; = {0,2,24,60,3120};<br>&nbsp;int n = 5;<br><br>&nbsp;int x;<br>&nbsp;int y;<br><br>&nbsp;for &#40;x = 1; x &#60; 10; x++&#41;<br>&nbsp;{<br>&nbsp;	y = f&#40;x, xa, ya, n&#41;;<br>&nbsp;	cout &#60;&#60; x &#60;&#60; &#34; &#58; &nbsp;&#34; &#60;&#60; y &#60;&#60; &#34;&#092;n&#34;;<br>&nbsp;}<br>}<br><!--c2--></td></tr></table><div class='postcolor'><!--ec2--><br><br><br>Результаты:<br><br>1 :  -12710<br>2 :  -9504<br>3 :  -6298<br>4 :  -3092<br>5 :  114<br>6 :  3320<br>7 :  6526<br>8 :  9732<br>9 :  12938<br><br>Что это дало??? ]]></description>
        <author>Антоха</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=263895</guid>
        <pubDate>Mon, 15 Dec 2003 14:55:23 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=263895</link>
        <description><![CDATA[Антоха:  А возможно ли это проделать в MathCad, MatLab, Mathematica и т.п. ??? ]]></description>
        <author>Антоха</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=258906</guid>
        <pubDate>Sun, 07 Dec 2003 03:41:08 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=258906</link>
        <description><![CDATA[grustnoe:  через любые N точек, у которых y-ки не совпадают конечно, можно провести полином N-1 степени <!--emo&:)--><img src='http://forum.sources.ru/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo--><br><br> ]]></description>
        <author>grustnoe</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=258727</guid>
        <pubDate>Sat, 06 Dec 2003 16:15:47 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=258727</link>
        <description><![CDATA[esperanto: <!--QuoteBegin-Guest+5.12.03, 17:07--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>Цитата</b> (Guest @ 5.12.03, 17:07)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <b>tserega</b>, ответь, пожалуйста&#33;&#33;&#33; <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd--><br> угадал или знал универсального метода нет тем более это не единственный правильнвый ответ ]]></description>
        <author>esperanto</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=258401</guid>
        <pubDate>Fri, 05 Dec 2003 18:21:40 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=258401</link>
        <description><![CDATA[wormball:  я думаю или интуитивно, или в екселе построил график и аппроксимировал полиномом второй степени. но обучить такому машину тебе врядли удастся ]]></description>
        <author>wormball</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=258396</guid>
        <pubDate>Fri, 05 Dec 2003 18:07:47 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=258396</link>
        <description><![CDATA[Guest:  <b>tserega</b>, ответь, пожалуйста&#33;&#33;&#33; ]]></description>
        <author>Guest</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=255686</guid>
        <pubDate>Mon, 01 Dec 2003 17:23:52 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=255686</link>
        <description><![CDATA[rodion:  Mogno yspolzovat regresia obshego vida  ]]></description>
        <author>rodion</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=255427</guid>
        <pubDate>Mon, 01 Dec 2003 11:59:40 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=255427</link>
        <description><![CDATA[Антоха: <!--QuoteBegin-tserega+30.11.03, 17:32--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>Цитата</b> (tserega @ 30.11.03, 17:32)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Для данного примера y = x^x - x   <!--emo&:D--><img src='http://forum.sources.ru/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo--> <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd--><br> КАК ТЫ НАШЕЛ???????<br> ]]></description>
        <author>Антоха</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=254948</guid>
        <pubDate>Sun, 30 Nov 2003 14:32:16 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=254948</link>
        <description><![CDATA[tserega:  Для данного примера y = x^x - x   <!--emo&:D--><img src='http://forum.sources.ru/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->  ]]></description>
        <author>tserega</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=254373</guid>
        <pubDate>Sat, 29 Nov 2003 10:50:59 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=254373</link>
        <description><![CDATA[GrAnd:  <a href='http://www.exponenta.ru/educat/class/courses/teacher/courses.asp' target='_blank'>Раздел вычислительной математики, приближение функкций</a> ]]></description>
        <author>GrAnd</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=254155</guid>
        <pubDate>Fri, 28 Nov 2003 18:05:04 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=254155</link>
        <description><![CDATA[wormball:  нет<br><br>можешь её нарисовать и посмотреть, на какую функцию она больше похожа, можешь её аппроксимировать ]]></description>
        <author>wormball</author>
        <category>Алгоритмы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=254141</guid>
        <pubDate>Fri, 28 Nov 2003 17:44:03 +0000</pubDate>
        <title>Функция</title>
        <link>https://forum.sources.ru/index.php?showtopic=39224&amp;view=findpost&amp;p=254141</link>
        <description><![CDATA[Антон:  Я знаю, что при некоторых значениях аргумента функция принимает такие-то значения. Например, x=1 y=0, x=2 y=2, x=3 y=24, x=4 y=60, x=5 y=3120 и т.д. Могу ли я узнать что это за функция?? ]]></description>
        <author>Антон</author>
        <category>Алгоритмы</category>
      </item>
	
      </channel>
      </rss>
	