<?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[Schreibweise]]></title><description><![CDATA[<p>Hallo liebe Community!<br />
Kurze Frage: Die Funktion:<br />
f(x) = 3*cos x - log x<br />
lässt sich in C++ doch einfach als</p>
<pre><code>double f (double x)
{
	return 3*cos(x) - log(x);
}
</code></pre>
<p>schreiben, oder habe ich dabei einen Denkfehler gemacht? (Es gibt mir zwar keine Fehlermeldung, allerdings funktioniert eine Berechnung von mir mit dieser Formel nicht so wie sie sollte)</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/334396/schreibweise</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Apr 2026 13:37:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/334396.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 Sep 2015 18:37:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Schreibweise on Thu, 10 Sep 2015 18:37:23 GMT]]></title><description><![CDATA[<p>Hallo liebe Community!<br />
Kurze Frage: Die Funktion:<br />
f(x) = 3*cos x - log x<br />
lässt sich in C++ doch einfach als</p>
<pre><code>double f (double x)
{
	return 3*cos(x) - log(x);
}
</code></pre>
<p>schreiben, oder habe ich dabei einen Denkfehler gemacht? (Es gibt mir zwar keine Fehlermeldung, allerdings funktioniert eine Berechnung von mir mit dieser Formel nicht so wie sie sollte)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2467583</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2467583</guid><dc:creator><![CDATA[Mikomi]]></dc:creator><pubDate>Thu, 10 Sep 2015 18:37:23 GMT</pubDate></item><item><title><![CDATA[Reply to Schreibweise on Thu, 10 Sep 2015 18:39:29 GMT]]></title><description><![CDATA[<p>cos verlangt Bogenmaß. vielleicht musst du erst von Grad nach Radian umrechnen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2467584</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2467584</guid><dc:creator><![CDATA[Bogenmaß]]></dc:creator><pubDate>Thu, 10 Sep 2015 18:39:29 GMT</pubDate></item><item><title><![CDATA[Reply to Schreibweise on Thu, 10 Sep 2015 18:46:56 GMT]]></title><description><![CDATA[<p>Bogenmaß schrieb:</p>
<blockquote>
<p>cos verlangt Bogenmaß. vielleicht musst du erst von Grad nach Radian umrechnen?</p>
</blockquote>
<p>Daran hatte ich auch erst gedacht. Hat sich aber gerade schon ergeben, danke für die Rückmeldung. Hat sich rausgestellt, dass in meiner Formel eine andere Komponente schlecht gewählt war <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/2467585</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2467585</guid><dc:creator><![CDATA[Mikomi]]></dc:creator><pubDate>Thu, 10 Sep 2015 18:46:56 GMT</pubDate></item></channel></rss>