<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<div class="moz-cite-prefix">You are way overthinking this. Think
back to the circle symmetry. Now think about the sin curve on the
boundary [0,2Pi]. <br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">How much of the curve do you actually
have to compute? [0,Pi/4]? [0,Pi/2]? [0,Pi]? You certainly
shouldn't need any more than [0,Pi] becuase the rest you could
compute based on the negation of the results along the previous
boundary. The question here is really asking you ow much could
you compute based on symmetry?</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Yes -- just put together some
pseudocode indicating how much you actually have to compute with
the sin function (you do not have to use the midpoint circle
algorithm in this case) and then how you would determine the
other points based on symmetry.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">For problem 6-13 by parallel they mean
calculating once and them propagating the solution by symmetry
into the array,<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">In other words, calculate the value for
x and y using midpoint circle algorithm and then place the other
points, by symmetry. This is termed a parallel implementation
because you could be talking to 16 locations in memory
simultaneously while stepping through the loop to calculate the
points along the arc.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">The trick here is not overwriting the
memory elements you previously addressed!</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 10/2/20 8:13 AM, wrote:<br>
</div>
<blockquote type="cite"
cite="mid:32a6289956534c89b8b9de045108eb31@BN3PR01MB1969.prod.exchangelabs.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Follow up,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
For problem 6-16, do we need to devise the algorithm for the
basic sine function (y=sin(x)), or the general sine curve (y =
a(sin(b(x-c))+d?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
I ask because the basic sine function barely enters the next
highest y pixel. Thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="divRplyFwdMsg" dir="ltr">
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
Dr. Pounds,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
For problem 6-13, do you want us to draft up the algorithm
that would equitably divide the arc of the circle, and assume
that those segments would just be passed to the midpoint
circle algorithm preexisting? Thanks,<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)"><br>
</div>
</div>
</blockquote>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Andrew J. Pounds, Ph.D. (<a class="moz-txt-link-abbreviated" href="mailto:pounds_aj@mercer.edu">pounds_aj@mercer.edu</a>)
Professor of Chemistry and Computer Science
Director of the Computational Science Program
Mercer University, Macon, GA 31207 (478) 301-5627
</pre>
</body>
</html>