<?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[Mittelwert aus Funktionswerten bestimmen]]></title><description><![CDATA[<p>Hallo...<br />
ich hänge nun schon länger an einer Aufgabe fest und hoffe,dass mir hier vielleicht jemand weiterhelfen kann.</p>
<p>Also ich habe ein Programm zur Bestimmung von Funktionswerten in einem best. Def.bereich:</p>
<pre><code>#include &lt;stdio.h&gt;
#include &lt;conio.h&gt;
void main() {
double x, y;
printf(&quot;%50s\n\n&quot;, &quot;ROCKWELL-HAERTEMESSUNG&quot;);
printf(&quot;%55s\n\n&quot;, &quot;Tabelle der Fkt. f(x)=100-(x/0.002)&quot;);
printf(&quot;%49s\n\n&quot;, &quot;x = Eindringtiefe in mm&quot;);
printf(&quot;%50s\n\n&quot;, &quot;f(x) = Rockwellhaerte HRC&quot;);
printf(&quot;%18s%40s\n&quot;, &quot;x&quot;, &quot;f(x)&quot;);
for( x=0.1; x &lt; 0.2; x += 0.003 ) {
y = 100-(x/0.002);
printf(&quot;%20.3f %38.3f\n&quot;, x, y);
}
getch();
}
</code></pre>
<p>Nun soll ich je Datensatz den Abstand |mw-y| bestimmen, wobei mw der Mittelwert der Funktionswerte ist.<br />
Und genau da komm ich nicht weiter <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="😕"
    /><br />
Kann mir jemand helfen?<br />
Grüße</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/185433/mittelwert-aus-funktionswerten-bestimmen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 24 Sep 2026 04:00:43 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/185433.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Jun 2007 15:19:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mittelwert aus Funktionswerten bestimmen on Mon, 25 Jun 2007 15:19:47 GMT]]></title><description><![CDATA[<p>Hallo...<br />
ich hänge nun schon länger an einer Aufgabe fest und hoffe,dass mir hier vielleicht jemand weiterhelfen kann.</p>
<p>Also ich habe ein Programm zur Bestimmung von Funktionswerten in einem best. Def.bereich:</p>
<pre><code>#include &lt;stdio.h&gt;
#include &lt;conio.h&gt;
void main() {
double x, y;
printf(&quot;%50s\n\n&quot;, &quot;ROCKWELL-HAERTEMESSUNG&quot;);
printf(&quot;%55s\n\n&quot;, &quot;Tabelle der Fkt. f(x)=100-(x/0.002)&quot;);
printf(&quot;%49s\n\n&quot;, &quot;x = Eindringtiefe in mm&quot;);
printf(&quot;%50s\n\n&quot;, &quot;f(x) = Rockwellhaerte HRC&quot;);
printf(&quot;%18s%40s\n&quot;, &quot;x&quot;, &quot;f(x)&quot;);
for( x=0.1; x &lt; 0.2; x += 0.003 ) {
y = 100-(x/0.002);
printf(&quot;%20.3f %38.3f\n&quot;, x, y);
}
getch();
}
</code></pre>
<p>Nun soll ich je Datensatz den Abstand |mw-y| bestimmen, wobei mw der Mittelwert der Funktionswerte ist.<br />
Und genau da komm ich nicht weiter <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="😕"
    /><br />
Kann mir jemand helfen?<br />
Grüße</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1313448</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1313448</guid><dc:creator><![CDATA[Merlin_1334]]></dc:creator><pubDate>Mon, 25 Jun 2007 15:19:47 GMT</pubDate></item><item><title><![CDATA[Reply to Mittelwert aus Funktionswerten bestimmen on Mon, 25 Jun 2007 16:17:58 GMT]]></title><description><![CDATA[<p>Hallöle,</p>
<p>wo genau kommst du nicht weiter?<br />
Gruss Jerry</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1313498</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1313498</guid><dc:creator><![CDATA[jerry]]></dc:creator><pubDate>Mon, 25 Jun 2007 16:17:58 GMT</pubDate></item><item><title><![CDATA[Reply to Mittelwert aus Funktionswerten bestimmen on Mon, 25 Jun 2007 16:26:02 GMT]]></title><description><![CDATA[<p>kann ich den mw über eine Funktion bestimmen?<br />
oder muss ich da mit Vektoren rangehen...<br />
der mw ändert sich ja über den Def.bereich<br />
bin leider noch Anfänger in C++</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1313506</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1313506</guid><dc:creator><![CDATA[Merlin_1334]]></dc:creator><pubDate>Mon, 25 Jun 2007 16:26:02 GMT</pubDate></item><item><title><![CDATA[Reply to Mittelwert aus Funktionswerten bestimmen on Mon, 25 Jun 2007 16:38:17 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Di ePunkte folgen zwar einer Funktion, es es sind doch Funktionswerte. Die kann man doch summieren, oder? Wenn man den Mittelwert hat, sollte man dann den Betrag der Abweichung vom Mittelwert ausrechnen. Das erste würde ich vor deiner, das zweite in deiner Schleife machen. Ist das ein angebot?<br />
Gruss Jerry</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1313511</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1313511</guid><dc:creator><![CDATA[jerry]]></dc:creator><pubDate>Mon, 25 Jun 2007 16:38:17 GMT</pubDate></item><item><title><![CDATA[Reply to Mittelwert aus Funktionswerten bestimmen on Mon, 25 Jun 2007 16:57:07 GMT]]></title><description><![CDATA[<p>hmm...versteh ich nicht.<br />
ich weiß doch die Anzahl der Werte nicht vorher</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1313527</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1313527</guid><dc:creator><![CDATA[Merlin_1334]]></dc:creator><pubDate>Mon, 25 Jun 2007 16:57:07 GMT</pubDate></item><item><title><![CDATA[Reply to Mittelwert aus Funktionswerten bestimmen on Mon, 25 Jun 2007 17:54:01 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-9713.html" rel="nofollow">estartu</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-1.html" rel="nofollow">MFC (Visual C++)</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-15.html" rel="nofollow">C++</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1313569</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1313569</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Mon, 25 Jun 2007 17:54:01 GMT</pubDate></item><item><title><![CDATA[Reply to Mittelwert aus Funktionswerten bestimmen on Mon, 25 Jun 2007 19:06:54 GMT]]></title><description><![CDATA[<p>Merlin_1334 schrieb:</p>
<blockquote>
<p>hmm...versteh ich nicht.<br />
ich weiß doch die Anzahl der Werte nicht vorher</p>
</blockquote>
<p>na dann speicherst du die werte halt zwischen, brechnest den mittelwert und gibst den krams erst dann aus <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1313614</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1313614</guid><dc:creator><![CDATA[thordk]]></dc:creator><pubDate>Mon, 25 Jun 2007 19:06:54 GMT</pubDate></item></channel></rss>