<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[wurzel...]]></title><description><![CDATA[<p>wie heißt die funktion für, 3., 4, wurzel? gibt´s die in cmath?</p>
<p>ich brauche die lösung der aufgabe: 5. wurzel aus 7 hoch 6...</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/126161/wurzel</link><generator>RSS for Node</generator><lastBuildDate>Mon, 24 Aug 2026 13:56:51 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/126161.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 12 Nov 2005 13:49:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to wurzel... on Sat, 12 Nov 2005 13:49:48 GMT]]></title><description><![CDATA[<p>wie heißt die funktion für, 3., 4, wurzel? gibt´s die in cmath?</p>
<p>ich brauche die lösung der aufgabe: 5. wurzel aus 7 hoch 6...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/915903</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/915903</guid><dc:creator><![CDATA[XaTrIxX]]></dc:creator><pubDate>Sat, 12 Nov 2005 13:49:48 GMT</pubDate></item><item><title><![CDATA[Reply to wurzel... on Sat, 12 Nov 2005 13:57:07 GMT]]></title><description><![CDATA[<p>Hmpf...ob es eine solche Funktion gibt , weiß ich nicht , aber du könntest in einer for Schleife die 5.Wurzel aus7 oder so ziehen.</p>
<pre><code class="language-cpp">// n-te wurzel aus x
int i;
for (i = 0; i &lt; n)
{
    x = sqrt(x);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/915909</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/915909</guid><dc:creator><![CDATA[alex89ru]]></dc:creator><pubDate>Sat, 12 Nov 2005 13:57:07 GMT</pubDate></item><item><title><![CDATA[Reply to wurzel... on Sat, 12 Nov 2005 14:01:46 GMT]]></title><description><![CDATA[<p>alex89ru schrieb:</p>
<blockquote>
<p>Hmpf...ob es eine solche Funktion gibt , weiß ich nicht , aber du könntest in einer for Schleife die 5.Wurzel aus7 oder so ziehen.</p>
<pre><code class="language-cpp">// n-te wurzel aus x
int i;
for (i = 0; i &lt; n)
{
    x = sqrt(x);
}
</code></pre>
</blockquote>
<p>Autsch, das tut weh <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /> sqrt( sqrt( x)) -&gt; 4. wurzel, sqrt( sqrt( sqrt( x))) -&gt; 8. wurzel usw.</p>
<p>Du kannst einfach pow verwenden.</p>
<pre><code class="language-cpp">#include &lt;cmath&gt;

....

double root( double arg, double radix)
{
   return pow( arg, 1./radix);
}
</code></pre>
<p>Sofern du unter Linux bist, mit -lm die Mathebibliothek dazulinken.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/915913</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/915913</guid><dc:creator><![CDATA[7H3 N4C3R]]></dc:creator><pubDate>Sat, 12 Nov 2005 14:01:46 GMT</pubDate></item><item><title><![CDATA[Reply to wurzel... on Sat, 12 Nov 2005 14:01:56 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">double root_n(double arg, int n)
{
    return pow( arg, 1.0 / n );
}
</code></pre>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/9739">@alex</a>: dein code bestimmt die 2^n-te wurzel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/915915</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/915915</guid><dc:creator><![CDATA[camper]]></dc:creator><pubDate>Sat, 12 Nov 2005 14:01:56 GMT</pubDate></item><item><title><![CDATA[Reply to wurzel... on Sat, 12 Nov 2005 14:04:52 GMT]]></title><description><![CDATA[<p>Das ist NICHT die n-te Wurzel, sondern (wenn ich das richtig sehe) \sqrt\[2^n\]{x}. Richtig wäre, <span class="katex"><span class="katex-mathml"><math><semantics><mrow><msup><mi>x</mi><mfrac><mrow><mn>6</mn></mrow><mrow><mn>5</mn></mrow></mfrac></msup></mrow><annotation encoding="application/x-tex">x^\frac{6}{5}</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.96102em;"></span><span class="strut bottom" style="height:0.96102em;vertical-align:0em;"></span><span class="base textstyle uncramped"><span class="mord"><span class="mord mathit">x</span><span class="vlist"><span style="top:-0.363em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span><span class="reset-textstyle scriptstyle uncramped"><span class="mord reset-scriptstyle scriptstyle uncramped"><span class="sizing reset-size5 size5 reset-scriptstyle textstyle uncramped nulldelimiter"></span><span class="mfrac"><span class="vlist"><span style="top:0.345em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span><span class="reset-scriptstyle scriptscriptstyle cramped"><span class="mord scriptscriptstyle cramped"><span class="mord mathrm">5</span></span></span></span><span style="top:-0.22142857142857142em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span><span class="reset-scriptstyle textstyle uncramped frac-line"></span></span><span style="top:-0.394em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span><span class="reset-scriptstyle scriptscriptstyle uncramped"><span class="mord scriptscriptstyle uncramped"><span class="mord mathrm">6</span></span></span></span><span class="baseline-fix"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span>​</span></span></span><span class="sizing reset-size5 size5 reset-scriptstyle textstyle uncramped nulldelimiter"></span></span></span></span><span class="baseline-fix"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span>​</span></span></span></span></span></span> (je nach Formulierung).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/915917</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/915917</guid><dc:creator><![CDATA[.filmor]]></dc:creator><pubDate>Sat, 12 Nov 2005 14:04:52 GMT</pubDate></item><item><title><![CDATA[Reply to wurzel... on Sat, 12 Nov 2005 14:06:34 GMT]]></title><description><![CDATA[<p>lol okay...wie auch immer...ty</p>
]]></description><link>https://www.c-plusplus.net/forum/post/915921</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/915921</guid><dc:creator><![CDATA[XaTrIxX]]></dc:creator><pubDate>Sat, 12 Nov 2005 14:06:34 GMT</pubDate></item></channel></rss>