<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Graph Forums — Calculating the remainder]]></title>
		<link>https://forum.padowan.dk/viewtopic.php?id=684</link>
		<atom:link href="https://forum.padowan.dk/extern.php?action=feed&amp;tid=684&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Calculating the remainder.]]></description>
		<lastBuildDate>Thu, 24 May 2012 10:32:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Calculating the remainder]]></title>
			<link>https://forum.padowan.dk/viewtopic.php?pid=1725#p1725</link>
			<description><![CDATA[<p>There is the condition applied for modulo function: abs(reminder) &lt; abs(divisor). This condition allows only two results for a calculation, positive or negative value. For Graph, there is an answer in menu item Help-Contents-Functions-Special-mod function. More detailed description can be found in <a href="http://en.wikipedia.org/wiki/Modulo_operation">http://en.wikipedia.org/wiki/Modulo_operation</a> .</p>]]></description>
			<author><![CDATA[null@example.com (pin)]]></author>
			<pubDate>Thu, 24 May 2012 10:32:30 +0000</pubDate>
			<guid>https://forum.padowan.dk/viewtopic.php?pid=1725#p1725</guid>
		</item>
		<item>
			<title><![CDATA[Re: Calculating the remainder]]></title>
			<link>https://forum.padowan.dk/viewtopic.php?pid=1724#p1724</link>
			<description><![CDATA[<p>Btw, why is that function called mod? I&#039;m familiar with mod calculations but I hate them in this kind of use. That&#039;s because here the result is always the smallest possible positive number, but in math mod has infinite amount of results and also negative ones. Mod 3: 5 can be 2 as it&#039;s here, but it can also be -4, -1, 8, 11, 14 and so on. I know there isn&#039;t many ways how to handle such calculations with graphing software and it&#039;s practical to expect the wanted result to be the smallest positive, but it kind of made me confused. <img src="https://forum.padowan.dk/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (finnboy11)]]></author>
			<pubDate>Thu, 24 May 2012 08:20:45 +0000</pubDate>
			<guid>https://forum.padowan.dk/viewtopic.php?pid=1724#p1724</guid>
		</item>
		<item>
			<title><![CDATA[Re: Calculating the remainder]]></title>
			<link>https://forum.padowan.dk/viewtopic.php?pid=1719#p1719</link>
			<description><![CDATA[<p>No problem. You made my day with those mistakes <img src="https://forum.padowan.dk/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[null@example.com (finnboy11)]]></author>
			<pubDate>Tue, 22 May 2012 11:10:18 +0000</pubDate>
			<guid>https://forum.padowan.dk/viewtopic.php?pid=1719#p1719</guid>
		</item>
		<item>
			<title><![CDATA[Re: Calculating the remainder]]></title>
			<link>https://forum.padowan.dk/viewtopic.php?pid=1717#p1717</link>
			<description><![CDATA[<p>Sorry about that. I am afrad I was a little too fast, and I wasn&#039;t home when answering so I couldn&#039;t test it with Graph. I am glad you figured it out.</p>]]></description>
			<author><![CDATA[null@example.com (Ivan Johansen)]]></author>
			<pubDate>Tue, 22 May 2012 05:58:08 +0000</pubDate>
			<guid>https://forum.padowan.dk/viewtopic.php?pid=1717#p1717</guid>
		</item>
		<item>
			<title><![CDATA[Re: Calculating the remainder]]></title>
			<link>https://forum.padowan.dk/viewtopic.php?pid=1716#p1716</link>
			<description><![CDATA[<p>It gives an error 56 that says &quot;Invalid number of arguments supplied for the function &#039;sum&#039;&quot;. When I write both &#039;sum&#039; and &#039;mod&#039; with small letters, it gives me a graph. At this point I notice that the graph is different from what it should be. Turns out that you wrote the function wrong and it should be f(x)=sum(mod(x,i)-mod(x-i,i), i, 1, x-1)-(x-2). Now, however, it gives me just a straight line, which is not the function that I expected either. Then I saw that you read my function even worse and mod(x-i,i) should actually be mod(x-1,i). NOW it&#039;s right. <img src="https://forum.padowan.dk/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /> Thank you!</p>]]></description>
			<author><![CDATA[null@example.com (finnboy11)]]></author>
			<pubDate>Mon, 21 May 2012 15:29:05 +0000</pubDate>
			<guid>https://forum.padowan.dk/viewtopic.php?pid=1716#p1716</guid>
		</item>
		<item>
			<title><![CDATA[Re: Calculating the remainder]]></title>
			<link>https://forum.padowan.dk/viewtopic.php?pid=1714#p1714</link>
			<description><![CDATA[<p>It is called mod in Graph.Try this in the beta version of Graph 4.4:<br /></p><div class="codebox"><pre><code>f(x)=Sum(Mod(x,i)-mod(x-i,i)-(x-2), i, 1, x-1)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Ivan Johansen)]]></author>
			<pubDate>Sun, 20 May 2012 19:42:27 +0000</pubDate>
			<guid>https://forum.padowan.dk/viewtopic.php?pid=1714#p1714</guid>
		</item>
		<item>
			<title><![CDATA[Calculating the remainder]]></title>
			<link>https://forum.padowan.dk/viewtopic.php?pid=1712#p1712</link>
			<description><![CDATA[<p>What is the function for calculating a remainder in Graph? In coding languages it&#039;s a%b, but I didn&#039;t find it from the operator list. I would like to graph the attached function.</p>]]></description>
			<author><![CDATA[null@example.com (finnboy11)]]></author>
			<pubDate>Sat, 19 May 2012 12:46:05 +0000</pubDate>
			<guid>https://forum.padowan.dk/viewtopic.php?pid=1712#p1712</guid>
		</item>
	</channel>
</rss>
