<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[devshare.de - Polynomdivision]]></title>
		<link>http://devshare.de/topic/32371/polynomdivision/</link>
		<description><![CDATA[Die neusten Beiträge in Polynomdivision.]]></description>
		<lastBuildDate>Tue, 14 May 2002 19:23:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Polynomdivision]]></title>
			<link>http://devshare.de/post/32384/#p32384</link>
			<description><![CDATA[<p>also ich muss ma sagen - danke an alle, die geantwortet haben. matho, du hast mir wirklich geholfen!</p><p> und als info für gero: mir ging es hier eigentlich mehr um die polinomdivision an sich, als um die ermittlung von nullstellen. bisektionsverfahren o.ä. und die umsetzung für &#039;n pc sind mir durchaus geläufig. trotzdem danke.</p><p> viel spass. osd.</p>]]></description>
			<author><![CDATA[dummy@example.com (osd)]]></author>
			<pubDate>Tue, 14 May 2002 19:23:00 +0000</pubDate>
			<guid>http://devshare.de/post/32384/#p32384</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polynomdivision]]></title>
			<link>http://devshare.de/post/32383/#p32383</link>
			<description><![CDATA[<p>Hi</p><p> Eine Frage:<br /> Wenn du schon nen Computer hast, warum lÃ¤sst du den nicht einfach stupide rackern und mit dem Newton-Verfahren oder einem Ã¤hnlichen eine Nullstelle annÃ¤hren? Wenn man das in genÃ¼gend Schritten macht ist die NÃ¤hrung sowieso genau genug.<br /> z.B. lÃ¤sst du den PC die Funktion nach einer Ã?nderung des Vorzeichens prÃ¼fen, an einer solche Stelle wird eine Tangente angelegt. An der Stelle wo diese Tangente die X-Achse schneidet wird wieder am Graphen eine Tangente angelegt usw. so nÃ¤hert man sich der Nullstelle bei beliebig vielen Schritten beliebig genau an.<br /> Klingt vielleicht kompiziert, ist aber die Methode, die ich als gelÃ¤fige Art kennen gelernt hab zur Funktionsdisskusion mit einem Computer.<br /> Frag mich jetzt nur nicht, wie man mit dem PC Ableiten kann&nbsp; &lt;img border=&quot;0&quot; title=&quot;&quot; alt=&quot;[Lächeln]&quot; src=&quot;images/icons/smile.gif&quot; /&gt; </p><p> Die Beschreibung, die ich mal hatte zur Kurvendisskussion hab ich leider nicht mehr&nbsp; &lt;img border=&quot;0&quot; title=&quot;&quot; alt=&quot;[Enttäscht]&quot; src=&quot;images/icons/frown.gif&quot; /&gt;</p>]]></description>
			<author><![CDATA[dummy@example.com (Gero)]]></author>
			<pubDate>Tue, 14 May 2002 16:23:00 +0000</pubDate>
			<guid>http://devshare.de/post/32383/#p32383</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polynomdivision]]></title>
			<link>http://devshare.de/post/32382/#p32382</link>
			<description><![CDATA[<p>@ osd</p><p> Ich hatte bisher nicht geantwortet, weil ich zugegebenermaßen Dein<br /> Problem nicht verstanden hatte. Es ist mir bis jetzt nicht ganz klar.<br /> Aber vielleicht hilft Dir das:</p><p> Wenn Du die Nullstellen ermittelt hast, ergibt sich die Division <br /> doch von selbst:</p><p> a*x^4 + b*x^3 + c*x^2 + d*x +e / x+n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;a=1;</p><p> =</p><p> x^3 + (b - a*n)*x^2 + (c - b*n + a*n^2)*x + (d - c*n + b*n^2 - a*n^3)</p><p> wobei der letzte Term gleich e/n ist.</p><p> Konkret:</p><p> (x^4 + 2x^3 - 10x^2 -6x + 45) / (x + 3)</p><p> also:&nbsp; a=1, b=2, c=-10, d=-6, e=45, n=3</p><p> ==&gt; x^3 - x^2 - 7*x + 15</p><p> Ich weiß gar nicht recht, ob man das nun einen Algorithmus nennen<br /> soll - naja, eventuell das Vorgehn (zunächst Nullstelle suchen, dann<br /> Umformen....)</p><p> Hier ist mal ein kleines Beispiel in javascript (auf die Schnelle,<br /> ich hatte momentan keine Zeit, es genauer zu machen), natürlich <br /> nur mit Ganzzahlen:</p><p> &lt;html&gt;<br /> &lt;head&gt;<br /> &lt;title&gt;&lt;/title&gt;<br /> &lt;script&gt;<br /> var d=document,K=[],X=[],Z=[&#039;Nullstelle bei &#039;,&#039;Nullstellen bei &#039;,&#039;Keine ganzzahlige Nullstelle&#039;];<br /> function A(a){d.getElementsByTagName(&#039;div&#039;)[0].innerHTML=a};<br /> function P(p1,p2){return Math.pow(p1,p2)};<br /> function M(m){return X[0]!=0?Math.ceil(Math.abs(m/2)):100};<br /> function T(t){return t.toString().match(/-/)?&#039; &#039;+t:&#039; +&#039;+t};</p><p> function N()<br /> {r=/(^s*-?d+s*$)/;r0=/^s*$/;<br />&nbsp; for(i=0;i&lt;=4;i++)<br />&nbsp; {X[i]=d.F.X[4-i].value.match(r)?d.F.X[4-i].value*1:d.F.X[4-i].value.match(r0)?0:&#039;cucumber&#039;;<br />&nbsp; &nbsp;if(typeof X[i]!=&#039;number&#039;){alert(&#039;wreally rongg&#039;);break}<br />&nbsp; };</p><p> x=-M(X[0]);</p><p> {while(x&lt;M(X[0]))<br />&nbsp; {x++;<br />&nbsp; &nbsp;if(X[4]*P(x,4)+X[3]*P(x,3)+X[2]*P(x,2)+X[1]*P(x,1)+X[0]==0)K.push(x);<br />&nbsp; &nbsp;A(K.length==1?Z[0]+K:K.length&gt;1?Z[1]+K:Z[2]);<br />&nbsp; };<br /> };</p><p> for(i=0;i&lt;K.length;i++)<br />&nbsp; {K[i]=-K[i];<br />&nbsp; &nbsp;k3=X[4]!=0?T(X[4])+&#039;*x³ &#039;:&#039;&#039;;<br />&nbsp; &nbsp;k2=X[4]!=0||X[3]!=0?T(X[3]-X[4]*K[i])+&#039;*x² &#039;:&#039;&#039;;<br />&nbsp; &nbsp;k1=X[4]!=0||X[3]!=0||X[2]!=0?T(X[2]-X[3]*K[i]+X[4]*P(K[i],2))+&#039;*x &#039;:&#039;&#039;;<br />&nbsp; &nbsp;k0=X[0]!=0?T(X[0]/K[i]):&#039;&#039;;<br />&nbsp; &nbsp;n=T(K[i]);<br />&nbsp; &nbsp;if(n!=0)alert(&#039;/(x&#039;+n+&#039;) =nn&#039;+k3+k2+k1+k0);<br />&nbsp; };</p><p> x=-M(X[0]);<br /> K=[];<br /> };<br /> &lt;/script&gt;<br /> &lt;/head&gt;<br /> &lt;body&gt;<br /> &lt;form name=F&gt;<br /> &lt;input type=text name=X size=3 value=1&gt;&lt;/input&gt;* x^4 +<br /> &lt;input type=text name=X size=3 value=2&gt;&lt;/input&gt;* x^3 +<br /> &lt;input type=text name=X size=3 value=-10&gt;&lt;/input&gt;* x^2 +<br /> &lt;input type=text name=X size=3 value=-6&gt;&lt;/input&gt;* x^1 +<br /> &lt;input type=text name=X size=3 value=45&gt;&lt;/input&gt;<br /> &lt;input type=button value=R onclick=&#039;N()&#039;&gt;&lt;/input&gt;<br /> &lt;/form&gt;<br /> &lt;div&gt;&lt;/div&gt;<br /> &lt;/body&gt;<br /> &lt;/html&gt;</p><p> Ein guter Rat vielleicht noch: wenn Du an sowas <br /> arbeitest, gibt acht auf Fließkommazahlen, bzw.<br /> etwaige &#039;Rundungsfehler&#039; (aus menschlicher Sicht).</p><p> gruß</p><p> matho<br />&nbsp; <br />&nbsp; &lt;small&gt;[ 04-05-2002, 12:29: Beitrag editiert von: matho ]&lt;/small&gt;</p>]]></description>
			<author><![CDATA[dummy@example.com (matho)]]></author>
			<pubDate>Thu, 02 May 2002 22:36:00 +0000</pubDate>
			<guid>http://devshare.de/post/32382/#p32382</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polynomdivision]]></title>
			<link>http://devshare.de/post/32381/#p32381</link>
			<description><![CDATA[<p>doch, du hast einen gesehen, der dir weitergeholfen hat - du weißt es nur noch nich *g*. ich schau mal nach multiplikation - vielleicht find ich was...</p>]]></description>
			<author><![CDATA[dummy@example.com (braveheart)]]></author>
			<pubDate>Sat, 20 Apr 2002 11:39:00 +0000</pubDate>
			<guid>http://devshare.de/post/32381/#p32381</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polynomdivision]]></title>
			<link>http://devshare.de/post/32380/#p32380</link>
			<description><![CDATA[<p>jetzt mal bitte ganz konkret. ich möchte die funktion f(x)=x^4 + 2x^3 - 10x^2 -6x + 45 mit g(x)=x+3 dividieren. zeigt mir doch bitte mal einen weg, dass ich auf q(x)=x^3 - x^2 - 7x + 15 komme.</p><p> wie kann ich also eine division durchführen, die der schriftlichen division nahekommt (beispiel auf <a href="http://ig.cs.tu-berlin.de/~gymstegl/math_onl/ma_basis/poly_div.htm">http://ig.cs.tu-berlin.de/~gymstegl/mat &#133; ly_div.htm</a> ). sonst gab es bei google leider kein algorithmus, der mir weitergeholfen hat.</p>]]></description>
			<author><![CDATA[dummy@example.com (osd)]]></author>
			<pubDate>Fri, 19 Apr 2002 07:55:00 +0000</pubDate>
			<guid>http://devshare.de/post/32380/#p32380</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polynomdivision]]></title>
			<link>http://devshare.de/post/32379/#p32379</link>
			<description><![CDATA[<p>Natürlich meinte ich das - jetzt ohne Ironie und voller Ernst !!</p><p> Viel Spass OSD</p>]]></description>
			<author><![CDATA[dummy@example.com (osd)]]></author>
			<pubDate>Thu, 18 Apr 2002 14:20:00 +0000</pubDate>
			<guid>http://devshare.de/post/32379/#p32379</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polynomdivision]]></title>
			<link>http://devshare.de/post/32378/#p32378</link>
			<description><![CDATA[<p>Hi osd,</p><p>&nbsp; &lt;/font&gt;&lt;blockquote&gt;&lt;font size=&quot;1&quot; face=&quot;Verdana, Helvetica, sans-serif&quot;&gt;Zitat:&lt;/font&gt;&lt;hr /&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana, Helvetica, sans-serif&quot;&gt; gemäß suani &lt;/font&gt;&lt;hr /&gt;&lt;/blockquote&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana, Helvetica, sans-serif&quot;&gt;Ich hoffe du meinst gemäß Suanis Vorschlag und nicht gemäß Suanis Weisung.&nbsp; &lt;img border=&quot;0&quot; title=&quot;&quot; alt=&quot;[Breites Grinsen]&quot; src=&quot;images/icons/grin.gif&quot; /&gt;&nbsp; </p><p> Auch, wenn sich´s so anhört( aber ich denke der Ton gehört sich für ein Developer Forum), ich will euch keine Methodik aufzwingen, sondern mache nur Vorschläge.</p><p> Aber ich denke ihr habt das auch in diesem Sinne verstanden.</p>]]></description>
			<author><![CDATA[dummy@example.com (michael_r)]]></author>
			<pubDate>Thu, 18 Apr 2002 13:23:00 +0000</pubDate>
			<guid>http://devshare.de/post/32378/#p32378</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polynomdivision]]></title>
			<link>http://devshare.de/post/32377/#p32377</link>
			<description><![CDATA[<p>ok danke erstma an alle die sich zeit genommen haben.</p><p> den teilnenner einer zahl zu finden ist jetzt klar. das war aber auch nicht das primÃ¤re problem.</p><p> Ã¼ber polinomdivision werde ich mich erstmal (gemÃ¤Ã? suani) im netz informieren. die infos hier werden sicher auch hilfreich sein. sollten dann noch fragen auftreten, werd ich nochmal fragen&nbsp; &lt;img border=&quot;0&quot; title=&quot;&quot; alt=&quot;[Lächeln]&quot; src=&quot;images/icons/smile.gif&quot; /&gt;</p>]]></description>
			<author><![CDATA[dummy@example.com (osd)]]></author>
			<pubDate>Thu, 18 Apr 2002 11:26:00 +0000</pubDate>
			<guid>http://devshare.de/post/32377/#p32377</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polynomdivision]]></title>
			<link>http://devshare.de/post/32376/#p32376</link>
			<description><![CDATA[<p>Hi osd, hi whitehouse,</p><p> das fing doch so gut an.</p><p> osd kommt mit einem groben Algorithmus für sein Problem, wieso artet das ganze in so einem Gestammel aus?</p><p> Naja, egal, irgendwann sind wir bei der Definition des Teilalgorithmus &#039;Teiler finden&#039; angelangt:</p><p>&nbsp; &lt;/font&gt;&lt;blockquote&gt;&lt;font size=&quot;1&quot; face=&quot;Verdana, Helvetica, sans-serif&quot;&gt;Zitat:&lt;/font&gt;&lt;hr /&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana, Helvetica, sans-serif&quot;&gt;&lt;/font&gt;&lt;blockquote&gt;&lt;font size=&quot;1&quot; face=&quot;Verdana, Helvetica, sans-serif&quot;&gt;Code:&lt;/font&gt;&lt;hr /&gt;&lt;pre style=&quot;font-size:x-small; font-family: monospace;&quot;&gt; for (i = 0; i &lt; n; i++)&nbsp; if (a % i == 0)&nbsp; &nbsp; put(T(a), i);<br />&nbsp; [/code]&lt;/blockquote&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana, Helvetica, sans-serif&quot;&gt;&lt;/font&gt;&lt;hr /&gt;&lt;/blockquote&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana, Helvetica, sans-serif&quot;&gt;Für den ersten Wurf nicht schlecht, aber auch trivial.</p><p> Was mir direkt einfällt, ist das man den test gar nicht bis n durchführen muß, denn:<br /> Bsp., Teiler von 6:<br /> 1 x 6 - 6 x 1 <br /> 2 x 3 - 3 x 2<br /> 3 x 3 - 3 x 3</p><p> ..., also reicht der test bis n/2 auf jeden fall aus. 1 und 6 sind auch nicht so interessant.</p><p> Was ich eigentlich sagen will ist, ihr seid doch medienkompetent, oder?&nbsp; &lt;img border=&quot;0&quot; title=&quot;&quot; alt=&quot;[Winken]&quot; src=&quot;images/icons/wink.gif&quot; /&gt;&nbsp; </p><p> osd, informier dich doch erstmal im Web und lass uns dann deine Probleme bei den gefundenen Algorithmen besprechen.</p><p> <a href="http://www.google.de/search?q=Algorithmus+Teiler+ermitteln&amp;hl=de&amp;meta=">suche auf google nach Algorithmus Teiler ermitteln</a> <br /> <a href="http://www.google.de/search?hl=de&amp;q=Algorithmus+Polynomdivision+&amp;meta=">suche auf google nach Algorithmus Polynomdivision </a></p>]]></description>
			<author><![CDATA[dummy@example.com (michael_r)]]></author>
			<pubDate>Thu, 18 Apr 2002 09:35:00 +0000</pubDate>
			<guid>http://devshare.de/post/32376/#p32376</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polynomdivision]]></title>
			<link>http://devshare.de/post/32375/#p32375</link>
			<description><![CDATA[<p>zu 1.: die einfachere methode ist (da nat. zahl, kannst ja auch mit abs und sgn ergänzen...), einfach zahl für zahl zu testen, ob (bsp. a=45 i=3) <br /> a mod i = 0 =&gt; i teilt a...&nbsp; <br /> konkret pseudocode (T(n) ist die Menge der Teiler ns): <br /> &lt;/font&gt;&lt;blockquote&gt;&lt;font size=&quot;1&quot; face=&quot;Verdana, Helvetica, sans-serif&quot;&gt;Code:&lt;/font&gt;&lt;hr /&gt;&lt;pre style=&quot;font-size:x-small; font-family: monospace;&quot;&gt;for (i = 0; i &lt; n; i++)<br />&nbsp; &nbsp;if (a % i == 0)<br />&nbsp; &nbsp; &nbsp;put(T(a), i);[/code]&lt;/blockquote&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana, Helvetica, sans-serif&quot;&gt;zu 2.: fangen wir lieber erst mal grundlegender an: <br /> dich interessiert ein eindimensionales (mit einem Parameter) Polyonom p(x) etc., wobei du<br /> r(x) = p(x) ~ q(x)<br /> mit ~ als Operation festlegst. du möchtest nun r darstellen. seh ich das zunächst richtig? <br /> ein polynom ist definiert durch seine koeffizienten <br /> stellen wir es also einfach als feld (array) mit der Potenz als Index dar. <br /> für <br /> p(x) = 4 x^4 + 7 x^3 - 32x^2 + 64 - 7<br /> ist also:<br /> &lt;/font&gt;&lt;blockquote&gt;&lt;font size=&quot;1&quot; face=&quot;Verdana, Helvetica, sans-serif&quot;&gt;Code:&lt;/font&gt;&lt;hr /&gt;&lt;pre style=&quot;font-size:x-small; font-family: monospace;&quot;&gt;Index&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; 1&nbsp; &nbsp;2 3 4<br /> Koeffizient -7 64 -32 7 4[/code]&lt;/blockquote&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana, Helvetica, sans-serif&quot;&gt;soweit so gut... doch fragst du dich - was soll das? <br /> so ist also die Polynomaddition zunächst ganz einfach: <br /> r[i] = p[i] + q[i]<br /> wobei der Name des Polynoms hier auch der Name des Feldes ist... <br /> wieder als pseudocode: <br />&nbsp; &lt;/font&gt;&lt;blockquote&gt;&lt;font size=&quot;1&quot; face=&quot;Verdana, Helvetica, sans-serif&quot;&gt;Code:&lt;/font&gt;&lt;hr /&gt;&lt;pre style=&quot;font-size:x-small; font-family: monospace;&quot;&gt;for (i = 0; i &lt; max(n, k); i++)<br />&nbsp; &nbsp;if (i &gt;= k)<br />&nbsp; &nbsp; &nbsp; r[i] = p[i];<br />&nbsp; &nbsp;else if (i &gt;= n)<br />&nbsp; &nbsp; &nbsp; r[i] = q[i];<br />&nbsp; &nbsp;else<br />&nbsp; &nbsp; &nbsp; r[i] = p[i] + q[i];[/code]&lt;/blockquote&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana, Helvetica, sans-serif&quot;&gt;</p>]]></description>
			<author><![CDATA[dummy@example.com (braveheart)]]></author>
			<pubDate>Wed, 17 Apr 2002 18:28:00 +0000</pubDate>
			<guid>http://devshare.de/post/32375/#p32375</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polynomdivision]]></title>
			<link>http://devshare.de/post/32374/#p32374</link>
			<description><![CDATA[<p>Also, mal ehrlich, ich habe nicht wirklich einen Schimmer, was Ihr da veranstaltet. <br /> Nur bei dem Thema: wie finde ich einen Teilnenner, drängt sich mir auf, das hier ein Ergebnis ohne Nachkommastellen gefunden werden muss. Also &quot;glattes Teilen&quot;. Und das erreiche ich in der Programmierung immer dadurch, dass ich abfrage, ob eine Modulo-Division das Ergebnis Null erbracht hat.<br /> Wenn diese Idee hier gar nicht zutrifft:<br /> Oh si tacuisses, philosophus manssisses.</p>]]></description>
			<author><![CDATA[dummy@example.com (pao)]]></author>
			<pubDate>Wed, 17 Apr 2002 18:14:00 +0000</pubDate>
			<guid>http://devshare.de/post/32374/#p32374</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polynomdivision]]></title>
			<link>http://devshare.de/post/32373/#p32373</link>
			<description><![CDATA[<p>hallo. danke erstmal fÃ¼rs hÃ¼bscher machen&nbsp; &lt;img border=&quot;0&quot; title=&quot;&quot; alt=&quot;[Lächeln]&quot; src=&quot;images/icons/smile.gif&quot; /&gt; </p><p> also gut, jetzt mal ganz kurz und nacheinander:</p><p> 1. wie kann ich teilnenner einer zahl herausfinden? beispielsweise von 45 -&gt; 5, 9, 3 usw.?</p><p> 2. also wie kann ich eine aufgabe wie (x ^ 4 + 2xÂ³ - 10xÂ² - 6x + 45) / (x + 3) ausrechnen, dass ich auf xÂ³ - xÂ² - 7x + 15 komme?</p><p> grÃ¼Ã?e osd</p>]]></description>
			<author><![CDATA[dummy@example.com (osd)]]></author>
			<pubDate>Tue, 16 Apr 2002 18:31:00 +0000</pubDate>
			<guid>http://devshare.de/post/32373/#p32373</guid>
		</item>
		<item>
			<title><![CDATA[Re: Polynomdivision]]></title>
			<link>http://devshare.de/post/32372/#p32372</link>
			<description><![CDATA[<p>also, bitte mal konkret: was willst du zuerst? irgendwie kann ich nicht daraus ablesen, was du willst...</p>]]></description>
			<author><![CDATA[dummy@example.com (braveheart)]]></author>
			<pubDate>Tue, 16 Apr 2002 18:15:00 +0000</pubDate>
			<guid>http://devshare.de/post/32372/#p32372</guid>
		</item>
		<item>
			<title><![CDATA[Polynomdivision]]></title>
			<link>http://devshare.de/post/32371/#p32371</link>
			<description><![CDATA[<p>[ mod: hÃ¼bscher gemacht&nbsp; &lt;img border=&quot;0&quot; title=&quot;&quot; alt=&quot;[Winken]&quot; src=&quot;images/icons/wink.gif&quot; /&gt;&nbsp; ]<br /> [ content belassen ]</p><p> ---------------</p><p> es ist ein wenig kompliziert. es geht grundsÃ¤tzlich um das berechnen der nullstellen einer funktion. da gibt es versch. mÃ¶glichkeiten (je nach grad der funktion). oft ist es nÃ¶tig, die sog. polynomdivision durchzufÃ¼hren.</p><p> wir haben also zum beispiel die funktion<br /> f(x) = x ^ 4 + 2xÂ³ - 10xÂ² - 6x + 45.<br /> wir kÃ¶nnen so noch kein lÃ¶sungsverfahren anwenden, wie zum beispiel Ã¤quivalentes umformen, lÃ¶sungsformel, nullprodukt anwenden oder das substitutionsverfahren.</p><p> dem menschem fÃ¤llt der nÃ¤chste schritt leicht. wir mÃ¼ssen die funktion soweit umformen, dass sie fÃ¼r eines dieser lÃ¶sungsverfahren anwendbar ist.<br /> dazu suchen wir zuerst einen mÃ¶glichen teiler von a0 (in diesem fall +45); diese wÃ¤ren also beispielsweise 5, -5, 3, -3, 9, -9 usw.<br /> diese setzen wir nun nacheinander in die funktion ein und schauen, welcher teiler eine nullstelle ist. so kommen wir darauf, dass -3 eine nullstelle ist, weil f(-3) = 0.</p><p> diese nullstelle wenden wir nun in der polinomdivision an: folgendes wird gerechnet:<br /> (x ^ 4 + 2xÂ³ - 10xÂ² - 6x + 45) / (x + 3).<br /> schriftlich geht das ziemlich einfach auszurechnen. wir kommen auf<br /> xÂ³ - xÂ² - 7x + 15!</p><p> jetzt kÃ¶nnen wir die weiteren nullstellen mit einem der lÃ¶sungsverfahren ausrechnen. wie in etwa kÃ¶nnte sowas in einem c++ prgramm aussehen (oder irgendeine andere programmiersprache)? der pc muss ja erstma selber schauen, was teiler von a0 wÃ¤ren. dann muss er diesen nehmen, und in (x-teiler) einsetzen. durch das muss dann gerechnet werden, um auf unsere einfachere funktion zu kommen. ich hab schon einiges versucht, aber es nie wirklich hinbekommen. kann mir jemand helfen??!</p><p> andere funktionen wÃ¤ren zum beispiel noch:<br /> f(x) = xÂ³ + 2xÂ² - 104x + 192<br /> f(x) = xÂ³ - 4xÂ² - 16x + 15<br /> f(x) = xÂ³ + 2xÂ² - 5x+6<br /> f(x) = 4xÂ³ - 19xÂ² - 36x + 36<br /> ihr kÃ¶nnt es ja mal ausprobieren.</p><p> eine kleine anmerkung noch von mir: das alles sollte bei jeder (polynomialen) funktion bis zum vierten grad funktionieren. die funktion f muss ganzrational sein und die form<br /> f(x) = a4x ^ 4 + ... + a0 haben. sind dann alle koeffizienten a ganzzahlig&nbsp; und a0 != 0, sollte es funktionieren. diese Ã¼berprÃ¼fung mÃ¼sste Ã¼brigens auch noch irgendwie in das programm rein&nbsp; &nbsp;&lt;img border=&quot;0&quot; title=&quot;&quot; alt=&quot;[Lächeln]&quot; src=&quot;images/icons/smile.gif&quot; /&gt;<br />&nbsp; <br />&nbsp; &lt;small&gt;[ 15-04-2002, 20:29: Beitrag editiert von: whitehouse ]&lt;/small&gt;</p>]]></description>
			<author><![CDATA[dummy@example.com (osd)]]></author>
			<pubDate>Mon, 15 Apr 2002 18:15:00 +0000</pubDate>
			<guid>http://devshare.de/post/32371/#p32371</guid>
		</item>
	</channel>
</rss>

