<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Graph Forums — Syntax for Sum, Product, Integrate]]></title>
	<link rel="self" href="https://forum.padowan.dk/extern.php?action=feed&amp;tid=142&amp;type=atom"/>
	<updated>2010-07-10T18:35:40Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.padowan.dk/viewtopic.php?id=142</id>
		<entry>
			<title type="html"><![CDATA[Re: Syntax for Sum, Product, Integrate]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=393#p393"/>
			<content type="html"><![CDATA[<p>As you have found out the sum, product and integrate functions works a little strange. They&nbsp; were implemented that way because it was easiest and good enough for what I needed. This however makes their usefulness rather limited.</p><p>Fortunately this has been improved in the beta version of <a href="http://padowan.dk/graph/DownloadBeta.php">Graph 4.4</a>, where the functions now work as you would expect. You can now use <em>g(a,b)=Sum(f(x),x,a,b)</em>. The step size is still not supported but I will consider adding it.</p>]]></content>
			<author>
				<name><![CDATA[Ivan Johansen]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=2</uri>
			</author>
			<updated>2010-07-10T18:35:40Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=393#p393</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Syntax for Sum, Product, Integrate]]></title>
			<link rel="alternate" href="https://forum.padowan.dk/viewtopic.php?pid=392#p392"/>
			<content type="html"><![CDATA[<p>Had trouble with the syntax of Sum. Documentation is unclear to me. The issue probably relates to Product and Integrate functions as well. In custom functions, define f(x)=x. Then all these:<br />g(a,b)=Sum(f,a,b)&nbsp; &nbsp; &nbsp; &nbsp;&lt;-as per help file<br />g(a,b)=Sum(f(),a,b)<br />g(a,b)=Sum(f(x),a,b)</p><p>produce an error msg. It appears the syntax must be<br />g(x,a,b)=Sum(f(x),a,b)</p><p>with x required as a dummy variable in the function name. But this means Sum is not useful in a graph equation, since x will be determined by Sum, not the x axis. Instead, a graph equation would have to call the custom function as g(0,x), with the first argument being an unused placeholder. Do I understand this correctly? It would be nice to specify the increment variable (and step value?) and not require the placeholder. Intuitively, I expected<br />g(a,b)=Sum(f(x),x,a,b[,step])</p><p>which could be used anywhere. An optional step value, though not essential, can be convenient.</p>]]></content>
			<author>
				<name><![CDATA[zubaroo]]></name>
				<uri>https://forum.padowan.dk/profile.php?id=89</uri>
			</author>
			<updated>2010-07-10T05:48:29Z</updated>
			<id>https://forum.padowan.dk/viewtopic.php?pid=392#p392</id>
		</entry>
</feed>
