<?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[sqrt Domain Fehler]]></title><description><![CDATA[<p>Hallo<br />
Bei mir kommt der fehler: &quot;sqrt Domain Fehler&quot;.</p>
<p>Was ist Falsch?</p>
<pre><code class="language-cpp">#include &quot;BinomischeGleichung3.h&quot;
#include &lt;math.h&gt;
//---------------------------------------------------------------------------
#pragma resource &quot;*.dfm&quot;
TForm1 *Form1;
int a,b,c, p, q, x, x13, x15, x14, x12, x16, x1, x2;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
	: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{
float a = StrToInt (Edit1-&gt;Text);
float b = StrToInt (Edit2-&gt;Text);
float c = StrToInt (Edit3-&gt;Text);
float x  =  1;
float p =  b/ a;
float q  = c / a;

 x13 = - p / 2;
 x15 = x13 * x13;
 x14 = x12 - q;
 x12 = sqrt(x14);
float x16 = sqrt (x12);
x1 = x16;
x2 = -x16;
//(x + p/2)² = (p/2)² -q

 Label5-&gt;Caption = &quot;Ergf&quot; +IntToStr (x1);
Label4-&gt;Caption = &quot;Ergebnis bis jetzt&quot; +IntToStr (x2);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/111122/sqrt-domain-fehler</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 22:06:00 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/111122.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 May 2005 08:38:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to sqrt Domain Fehler on Sat, 28 May 2005 08:39:02 GMT]]></title><description><![CDATA[<p>Hallo<br />
Bei mir kommt der fehler: &quot;sqrt Domain Fehler&quot;.</p>
<p>Was ist Falsch?</p>
<pre><code class="language-cpp">#include &quot;BinomischeGleichung3.h&quot;
#include &lt;math.h&gt;
//---------------------------------------------------------------------------
#pragma resource &quot;*.dfm&quot;
TForm1 *Form1;
int a,b,c, p, q, x, x13, x15, x14, x12, x16, x1, x2;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
	: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{
float a = StrToInt (Edit1-&gt;Text);
float b = StrToInt (Edit2-&gt;Text);
float c = StrToInt (Edit3-&gt;Text);
float x  =  1;
float p =  b/ a;
float q  = c / a;

 x13 = - p / 2;
 x15 = x13 * x13;
 x14 = x12 - q;
 x12 = sqrt(x14);
float x16 = sqrt (x12);
x1 = x16;
x2 = -x16;
//(x + p/2)² = (p/2)² -q

 Label5-&gt;Caption = &quot;Ergf&quot; +IntToStr (x1);
Label4-&gt;Caption = &quot;Ergebnis bis jetzt&quot; +IntToStr (x2);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/797684</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/797684</guid><dc:creator><![CDATA[Kaster Master]]></dc:creator><pubDate>Sat, 28 May 2005 08:39:02 GMT</pubDate></item><item><title><![CDATA[Reply to sqrt Domain Fehler on Sat, 28 May 2005 09:05:45 GMT]]></title><description><![CDATA[<p>Einfach mal einen Blick in die Hilfe zu <em>sqrt</em> werfen!?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/797701</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/797701</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Sat, 28 May 2005 09:05:45 GMT</pubDate></item><item><title><![CDATA[Reply to sqrt Domain Fehler on Mon, 30 May 2005 06:30:24 GMT]]></title><description><![CDATA[<p>x14 = x12 - q</p>
<p>wie soll das funktionieren, wenn x12 noch nicht initialisiert wurde?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/798679</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/798679</guid><dc:creator><![CDATA[Sunday]]></dc:creator><pubDate>Mon, 30 May 2005 06:30:24 GMT</pubDate></item></channel></rss>