<?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[eine gleichung mit c++ lösen]]></title><description><![CDATA[<p>guten morgen</p>
<p>ich habe hier diese gleichung und muss diese mit c++ lösen</p>
<p>y=<span class="katex"><span class="katex-mathml"><math><semantics><mrow><msubsup><mi>x</mi><mn>1</mn><mn>1</mn></msubsup></mrow><annotation encoding="application/x-tex">x_1^1</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.8141079999999999em;"></span><span class="strut bottom" style="height:1.0622159999999998em;vertical-align:-0.24810799999999997em;"></span><span class="base textstyle uncramped"><span class="mord"><span class="mord mathit">x</span><span class="vlist"><span style="top:0.24810799999999997em;margin-left:0em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span><span class="reset-textstyle scriptstyle cramped"><span class="mord mathrm">1</span></span></span><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 mathrm">1</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> <span class="katex"><span class="katex-mathml"><math><semantics><mrow><mo>+</mo></mrow><annotation encoding="application/x-tex">+</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.58333em;"></span><span class="strut bottom" style="height:0.66666em;vertical-align:-0.08333em;"></span><span class="base textstyle uncramped"><span class="mord">+</span></span></span></span> <span class="katex"><span class="katex-mathml"><math><semantics><mrow><msubsup><mi>x</mi><mn>2</mn><mn>2</mn></msubsup></mrow><annotation encoding="application/x-tex">x_2^2</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.8141079999999999em;"></span><span class="strut bottom" style="height:1.0622159999999998em;vertical-align:-0.24810799999999997em;"></span><span class="base textstyle uncramped"><span class="mord"><span class="mord mathit">x</span><span class="vlist"><span style="top:0.24810799999999997em;margin-left:0em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span><span class="reset-textstyle scriptstyle cramped"><span class="mord mathrm">2</span></span></span><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 mathrm">2</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> <span class="katex"><span class="katex-mathml"><math><semantics><mrow><mo>+</mo></mrow><annotation encoding="application/x-tex">+</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.58333em;"></span><span class="strut bottom" style="height:0.66666em;vertical-align:-0.08333em;"></span><span class="base textstyle uncramped"><span class="mord">+</span></span></span></span> <span class="katex"><span class="katex-mathml"><math><semantics><mrow><msubsup><mi>x</mi><mn>3</mn><mn>3</mn></msubsup></mrow><annotation encoding="application/x-tex">x_3^3</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.8141079999999999em;"></span><span class="strut bottom" style="height:1.0622159999999998em;vertical-align:-0.24810799999999997em;"></span><span class="base textstyle uncramped"><span class="mord"><span class="mord mathit">x</span><span class="vlist"><span style="top:0.24810799999999997em;margin-left:0em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span><span class="reset-textstyle scriptstyle cramped"><span class="mord mathrm">3</span></span></span><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 mathrm">3</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> <span class="katex"><span class="katex-mathml"><math><semantics><mrow><mo>+</mo></mrow><annotation encoding="application/x-tex">+</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.58333em;"></span><span class="strut bottom" style="height:0.66666em;vertical-align:-0.08333em;"></span><span class="base textstyle uncramped"><span class="mord">+</span></span></span></span> ..... <span class="katex"><span class="katex-mathml"><math><semantics><mrow><msubsup><mi>x</mi><mi>n</mi><mi>n</mi></msubsup></mrow><annotation encoding="application/x-tex">x_n^n</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.664392em;"></span><span class="strut bottom" style="height:0.911392em;vertical-align:-0.247em;"></span><span class="base textstyle uncramped"><span class="mord"><span class="mord mathit">x</span><span class="vlist"><span style="top:0.247em;margin-left:0em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span><span class="reset-textstyle scriptstyle cramped"><span class="mord mathit">n</span></span></span><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 mathit">n</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></p>
<p>leider habe ich im gegensatz zu den anderen programmen keinen ansatz hier. ich weiß nur, dass ich es mit der for, while schleife machen muss aber nicht wie.<br />
ich hoffe ihr könnt mir helfen</p>
<p>vielen dank</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/300093/eine-gleichung-mit-c-lösen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 22:51:43 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/300093.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 25 Feb 2012 08:20:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 08:20:59 GMT]]></title><description><![CDATA[<p>guten morgen</p>
<p>ich habe hier diese gleichung und muss diese mit c++ lösen</p>
<p>y=<span class="katex"><span class="katex-mathml"><math><semantics><mrow><msubsup><mi>x</mi><mn>1</mn><mn>1</mn></msubsup></mrow><annotation encoding="application/x-tex">x_1^1</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.8141079999999999em;"></span><span class="strut bottom" style="height:1.0622159999999998em;vertical-align:-0.24810799999999997em;"></span><span class="base textstyle uncramped"><span class="mord"><span class="mord mathit">x</span><span class="vlist"><span style="top:0.24810799999999997em;margin-left:0em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span><span class="reset-textstyle scriptstyle cramped"><span class="mord mathrm">1</span></span></span><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 mathrm">1</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> <span class="katex"><span class="katex-mathml"><math><semantics><mrow><mo>+</mo></mrow><annotation encoding="application/x-tex">+</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.58333em;"></span><span class="strut bottom" style="height:0.66666em;vertical-align:-0.08333em;"></span><span class="base textstyle uncramped"><span class="mord">+</span></span></span></span> <span class="katex"><span class="katex-mathml"><math><semantics><mrow><msubsup><mi>x</mi><mn>2</mn><mn>2</mn></msubsup></mrow><annotation encoding="application/x-tex">x_2^2</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.8141079999999999em;"></span><span class="strut bottom" style="height:1.0622159999999998em;vertical-align:-0.24810799999999997em;"></span><span class="base textstyle uncramped"><span class="mord"><span class="mord mathit">x</span><span class="vlist"><span style="top:0.24810799999999997em;margin-left:0em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span><span class="reset-textstyle scriptstyle cramped"><span class="mord mathrm">2</span></span></span><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 mathrm">2</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> <span class="katex"><span class="katex-mathml"><math><semantics><mrow><mo>+</mo></mrow><annotation encoding="application/x-tex">+</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.58333em;"></span><span class="strut bottom" style="height:0.66666em;vertical-align:-0.08333em;"></span><span class="base textstyle uncramped"><span class="mord">+</span></span></span></span> <span class="katex"><span class="katex-mathml"><math><semantics><mrow><msubsup><mi>x</mi><mn>3</mn><mn>3</mn></msubsup></mrow><annotation encoding="application/x-tex">x_3^3</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.8141079999999999em;"></span><span class="strut bottom" style="height:1.0622159999999998em;vertical-align:-0.24810799999999997em;"></span><span class="base textstyle uncramped"><span class="mord"><span class="mord mathit">x</span><span class="vlist"><span style="top:0.24810799999999997em;margin-left:0em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span><span class="reset-textstyle scriptstyle cramped"><span class="mord mathrm">3</span></span></span><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 mathrm">3</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> <span class="katex"><span class="katex-mathml"><math><semantics><mrow><mo>+</mo></mrow><annotation encoding="application/x-tex">+</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.58333em;"></span><span class="strut bottom" style="height:0.66666em;vertical-align:-0.08333em;"></span><span class="base textstyle uncramped"><span class="mord">+</span></span></span></span> ..... <span class="katex"><span class="katex-mathml"><math><semantics><mrow><msubsup><mi>x</mi><mi>n</mi><mi>n</mi></msubsup></mrow><annotation encoding="application/x-tex">x_n^n</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.664392em;"></span><span class="strut bottom" style="height:0.911392em;vertical-align:-0.247em;"></span><span class="base textstyle uncramped"><span class="mord"><span class="mord mathit">x</span><span class="vlist"><span style="top:0.247em;margin-left:0em;margin-right:0.05em;"><span class="fontsize-ensurer reset-size5 size5"><span style="font-size:0em;">​</span></span><span class="reset-textstyle scriptstyle cramped"><span class="mord mathit">n</span></span></span><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 mathit">n</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></p>
<p>leider habe ich im gegensatz zu den anderen programmen keinen ansatz hier. ich weiß nur, dass ich es mit der for, while schleife machen muss aber nicht wie.<br />
ich hoffe ihr könnt mir helfen</p>
<p>vielen dank</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185480</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185480</guid><dc:creator><![CDATA[Mohamedyarub]]></dc:creator><pubDate>Sat, 25 Feb 2012 08:20:59 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 08:23:10 GMT]]></title><description><![CDATA[<p>könnte es sein, dass du nur werte einsetzen und den ausdruck ausrechnen sollst?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185482</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185482</guid><dc:creator><![CDATA[JSP]]></dc:creator><pubDate>Sat, 25 Feb 2012 08:23:10 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 08:39:20 GMT]]></title><description><![CDATA[<p>nicht ganz<br />
ich muss eine zahl eingeben z.B die zahl 8 dann rechnet der von x1 bis x8 und druckt dann das ergebnis aus<br />
also ist n die zahl die ich eingebe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185489</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185489</guid><dc:creator><![CDATA[Mohamedyarub]]></dc:creator><pubDate>Sat, 25 Feb 2012 08:39:20 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 08:43:25 GMT]]></title><description><![CDATA[<p>und wo kommen die werte für x1 bis x8 in dem beispiel her?</p>
<p>muss man dir alles aus der nase ziehen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185490</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185490</guid><dc:creator><![CDATA[JSP]]></dc:creator><pubDate>Sat, 25 Feb 2012 08:43:25 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 09:21:00 GMT]]></title><description><![CDATA[<p>Das Problem ist unterspezifiziert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185498</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185498</guid><dc:creator><![CDATA[krümelkacker]]></dc:creator><pubDate>Sat, 25 Feb 2012 09:21:00 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 13:12:34 GMT]]></title><description><![CDATA[<blockquote>
<p>und wo kommen die werte für x1 bis x8 in dem beispiel her?</p>
<p>muss man dir alles aus der nase ziehen?</p>
</blockquote>
<p>da hast du recht. also werde ich mein problem besser formulieren</p>
<p>also die zahl die ich eingebe z.B die zahl 8 dann gilt diese zahl für alle werte von x1 bis x8. also haben die variablen x1 bis x8 die gleichen werte</p>
<p>ich hoffe das ist jetzt besser verständlich</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185584</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185584</guid><dc:creator><![CDATA[Mohamedyarub]]></dc:creator><pubDate>Sat, 25 Feb 2012 13:12:34 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 13:19:21 GMT]]></title><description><![CDATA[<p>Also sollst Du folgendes berechnen?</p>
<p>y = 8 + 8² + 8³ + ... + 8<sup>8</sup></p>
<p>Warum verschwinden meine Zweifel nicht ...<br />
Poste dochmal die AUfgabenstellung im Wortlaut.</p>
<p>Und dann zeig doch einfach mal was was Du bisher versucht hast.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185588</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185588</guid><dc:creator><![CDATA[JSP]]></dc:creator><pubDate>Sat, 25 Feb 2012 13:19:21 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 13:42:13 GMT]]></title><description><![CDATA[<p><a href="http://de.wikipedia.org/wiki/Newton-Verfahren" rel="nofollow">http://de.wikipedia.org/wiki/Newton-Verfahren</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185593</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185593</guid><dc:creator><![CDATA[dot]]></dc:creator><pubDate>Sat, 25 Feb 2012 13:42:13 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 14:24:35 GMT]]></title><description><![CDATA[<p>ja genau so ist es richtig.<br />
diese aufgabenstellung muss ich berechnen<br />
aber wie gesagt, hab keinen ansatz, wie ich überhaupt anfangen soll.<br />
ich hoffe du kannst mir jetzt helfen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185600</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185600</guid><dc:creator><![CDATA[Mohamedyarub]]></dc:creator><pubDate>Sat, 25 Feb 2012 14:24:35 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 14:30:12 GMT]]></title><description><![CDATA[<p>Steht doch genau im Artikel!?</p>
<p>Noch mehr dazu hier: <a href="http://en.wikipedia.org/wiki/Polynomial#Solving_polynomial_equations" rel="nofollow">http://en.wikipedia.org/wiki/Polynomial#Solving_polynomial_equations</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185602</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185602</guid><dc:creator><![CDATA[dot]]></dc:creator><pubDate>Sat, 25 Feb 2012 14:30:12 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 14:33:45 GMT]]></title><description><![CDATA[<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /> Das ist doch noch nicht einmal eine Gleichung. Was hindert dich, y einfach direkt auszurechnen? Bist du wirklich sicher, dass das, was JSP beschreiben hat, das ist, was du möchtest?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185603</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185603</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Sat, 25 Feb 2012 14:33:45 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 14:33:50 GMT]]></title><description><![CDATA[<p>Ich würde eine for-Schleife machen, deren Index der Exponent ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185604</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185604</guid><dc:creator><![CDATA[Thuruk]]></dc:creator><pubDate>Sat, 25 Feb 2012 14:33:50 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 14:34:50 GMT]]></title><description><![CDATA[<p>Falls du dich auch für komplexe Nullstellen interessierst, nimm das <a href="http://de.wikipedia.org/wiki/Bairstow-Verfahren" rel="nofollow">Bairstow-Verfahren</a>. Da steht sogar ein bisschen Pseudocode, der dir weiterhelfen könnte.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185606</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185606</guid><dc:creator><![CDATA[Ramanujan]]></dc:creator><pubDate>Sat, 25 Feb 2012 14:34:50 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 14:52:36 GMT]]></title><description><![CDATA[<p>Das ist eine geometrische Reihe. Wenn das so richtig ist, wie JSP es beschreibt, ist y = (x<sup>x+1</sup> - 1) / (x - 1) - 1.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185611</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185611</guid><dc:creator><![CDATA[seldon]]></dc:creator><pubDate>Sat, 25 Feb 2012 14:52:36 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 16:19:49 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/6496">@dot</a><br />
Hast Du den Thread überhaupt gelesen?</p>
<p>Hier ist keine Gleichung zu lösen. Nur stupides Ausrechnen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185643</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185643</guid><dc:creator><![CDATA[JSP]]></dc:creator><pubDate>Sat, 25 Feb 2012 16:19:49 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 16:29:11 GMT]]></title><description><![CDATA[<p>Boah mir wirds zu blöd.</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;

using namespace std;

int calc(int n)
{
    int res = 0, partial = 1;
    for(int i=1; i&lt;=n ;++i)
    {
        partial*=n;
        res+=partial;
    }
    return res;
}

int main()
{
    int n;
    cin&gt;&gt;n;
    cout&lt;&lt;calc(n)&lt;&lt;endl;
    return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2185648</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185648</guid><dc:creator><![CDATA[JSP]]></dc:creator><pubDate>Sat, 25 Feb 2012 16:29:11 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 16:56:15 GMT]]></title><description><![CDATA[<p>danke dir JSP<br />
das ist genau das , was ich suche.<br />
aber gibt es keine andere möglichkeit diese aufgabe zu lösen?<br />
weil in der uni sind wir erst be while schleife angekommen.<br />
und für diese aufgabe gibt es extranoten. deswegen soll der lehrer das nicht merken, dass es auf einem forum stand, sondern soll denken ich hab es gemacht. außerdem will ich es auch mit der while, for schleife lernen wegen der klausur nächste woche.<br />
vielen dank</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185659</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185659</guid><dc:creator><![CDATA[Mohamedyarub]]></dc:creator><pubDate>Sat, 25 Feb 2012 16:56:15 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 16:59:03 GMT]]></title><description><![CDATA[<p>tja, den Schritt zur while-Schleife musst du wohl selbst lösen.</p>
<p>Das ist deine Aufgabe.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185661</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185661</guid><dc:creator><![CDATA[otze]]></dc:creator><pubDate>Sat, 25 Feb 2012 16:59:03 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 17:07:18 GMT]]></title><description><![CDATA[<p>ja aber wie gesagt, hab keine ahnung davon, wie ich es umsetze.</p>
<p>mit der for schleife oder while schleife ist es bestimmt zu machen aber ich weiß nicht wie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185668</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185668</guid><dc:creator><![CDATA[Mohamedyarub]]></dc:creator><pubDate>Sat, 25 Feb 2012 17:07:18 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 17:08:44 GMT]]></title><description><![CDATA[<p>Das Beispiel ist doch mit der for-schleife <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="😮"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185669</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185669</guid><dc:creator><![CDATA[pyhax]]></dc:creator><pubDate>Sat, 25 Feb 2012 17:08:44 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 17:17:56 GMT]]></title><description><![CDATA[<p>hab mich wieder nicht richtig ausgedrückt</p>
<p>meine es so</p>
<pre><code>#include &lt;iostream&gt;

using namespace std;

int calc(int n) // hier int main
{
    int res = 0, partial = 1; // partial kenne ich nicht. 
    for(int i=1; i&lt;=n ;++i)
    {
        partial*=n;
  res+=partial;  
    }
    return res; // das hier kenn ich ebenfalls nicht
}

int main() // hier versteh ich nicht, warum ich hier erst die zahl eingebe
{
    int n;
    cin&gt;&gt;n;
    cout&lt;&lt;calc(n)&lt;&lt;endl;
    return 0;
}
</code></pre>
<p>also hoffe es ist jetzt verständlich <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185684</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185684</guid><dc:creator><![CDATA[Mohamedyarub]]></dc:creator><pubDate>Sat, 25 Feb 2012 17:17:56 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 17:18:07 GMT]]></title><description><![CDATA[<p>Das hört sich jetzt alles sehr anspruchsvoll an... Aber auch wieder nicht ganz so anspruchsvoll wie in der kurzen &quot;Informatik&quot; Einführung bei uns in der neunten Klasse. Bist du sicher, dass du die Uni nicht wechseln willst?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185685</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185685</guid><dc:creator><![CDATA[Mechanics]]></dc:creator><pubDate>Sat, 25 Feb 2012 17:18:07 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 17:20:51 GMT]]></title><description><![CDATA[<p>Mohamedyarub schrieb:</p>
<blockquote>
<p>weil in der uni sind wir erst be while schleife angekommen.</p>
</blockquote>
<p>LOL</p>
<p>Mohamedyarub schrieb:</p>
<blockquote>
<p>und für diese aufgabe gibt es extranoten.</p>
</blockquote>
<p>ROFL</p>
<p>Mohamedyarub schrieb:</p>
<blockquote>
<p>deswegen soll der lehrer das nicht merken, dass es auf einem forum stand, sondern soll denken ich hab es gemacht.</p>
</blockquote>
<p>Hahahahahaha, moment, ganz ruhig, Luft holen, Luft holen, ahh es geht wieder. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185690</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185690</guid><dc:creator><![CDATA[roflmaster 6000]]></dc:creator><pubDate>Sat, 25 Feb 2012 17:20:51 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 17:24:01 GMT]]></title><description><![CDATA[<p>Mohamedyarub schrieb:</p>
<blockquote>
<p>danke dir JSP<br />
das ist genau das , was ich suche.<br />
aber gibt es keine andere möglichkeit diese aufgabe zu lösen?<br />
weil in der uni sind wir erst be while schleife angekommen.<br />
und für diese aufgabe gibt es extranoten. deswegen soll der lehrer das nicht merken, dass es auf einem forum stand, sondern soll denken ich hab es gemacht. außerdem will ich es auch mit der while, for schleife lernen wegen der klausur nächste woche.<br />
vielen dank</p>
</blockquote>
<p>Glückwunsch Troll.<br />
Du hast mich erwischt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185694</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185694</guid><dc:creator><![CDATA[JSP]]></dc:creator><pubDate>Sat, 25 Feb 2012 17:24:01 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 18:37:36 GMT]]></title><description><![CDATA[<p>@ JSP</p>
<p>versteh dich jetzt überhaupt nicht</p>
<p>ist auch egal.<br />
ist hier jemand so freundlich und gibt mir ein fertiges programm?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185747</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185747</guid><dc:creator><![CDATA[Mohamedyarub]]></dc:creator><pubDate>Sat, 25 Feb 2012 18:37:36 GMT</pubDate></item><item><title><![CDATA[Reply to eine gleichung mit c++ lösen on Sat, 25 Feb 2012 18:38:14 GMT]]></title><description><![CDATA[<p>Nur gegen Geld!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2185748</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2185748</guid><dc:creator><![CDATA[geber]]></dc:creator><pubDate>Sat, 25 Feb 2012 18:38:14 GMT</pubDate></item></channel></rss>