<html>
<head>
<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>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have a couple of polar area problems. Here's one:</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);">
<span><problem><br>
</span>
<div>    <script type="loncapa/perl"><br>
</div>
<div>$a=&random(5,10,1); $a1=&random(1,3,1);  $b=$a-1; <br>
</div>
<div>for ($x = 0; $x<=2*3.141592654; $x+= 0.01) {<br>
</div>
<div>     push @X1, ($a+$b*sin($x))*cos($x);<br>
</div>
<div>     push @Y1, ($a+$b*sin($x))*sin($x);<br>
</div>
<div>     push @X2, ($a+$b*sin($x))*cos($x);     push @Y2, 0; <br>
</div>
<div>     push @X3, 0; push @Y3, ($a+$b*sin($x))*sin($x); }<br>
</div>
<div>$area=$a**2/2+$b**2/4;<br>
</div>
<div>$area1="$area*$pi";<br>
</div>
<div> </script><br>
</div>
<div> <startouttext /> <br>
</div>
<div><br /><br>
</div>
<div>Determine the area of the right half of the cardioid formed by <m eval="on">\[  r = $a + $b \sin{\theta} \, \] </m> <p /><br>
</div>
<div> <br>
</div>
<div><endouttext /><br>
</div>
<div><gnuplot width="400" grid="off" align="center" font="medium" height="300" border="on" alttag="dynamically generated plot" bgcolor="xffffff" fgcolor="x000000" transparent="off"><br>
</div>
<div>     <curve linestyle="lines" name="" color="x8B0000" pointtype="1" pointsize="1"><br>
</div>
<div>         <data>@X1</data><br>
</div>
<div>         <data>@Y1</data><br>
</div>
<div>     </curve><br>
</div>
<div>    <curve linestyle="lines" name="" color="x000000" pointtype="1" pointsize="2"><br>
</div>
<div>         <data>@X2</data><br>
</div>
<div>         <data>@Y2</data><br>
</div>
<div>     </curve><br>
</div>
<div>    <curve linestyle="lines" name="" color="x000000" pointtype="1" pointsize="2"><br>
</div>
<div>         <data>@X3</data><br>
</div>
<div>         <data>@Y3</data><br>
</div>
<div>     </curve><br>
</div>
<div>  </gnuplot>           <br>
</div>
<div><p /><br>
</div>
<div><startouttext />Area of cardioid right half is <endouttext /><br>
</div>
<div><formularesponse answer="$area1" samples="x,pi@3,$pi:9,$pi#4" id="11"><br>
</div>
<div><responseparam name="tol" default="0.001" description="Numerical Tolerance" type="tolerance" /><br>
</div>
<div>        <textline size="35" readonly="no" />    <br>
</div>
<div>    </formularesponse><br>
</div>
<div></problem><br>
</div>
<div><br>
</div>
<span></span><br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> LON-CAPA-users <lon-capa-users-bounces@mail.lon-capa.org> on behalf of Harding, Gene L <glhardin@purdue.edu><br>
<b>Sent:</b> Friday, May 1, 2020 6:03 PM<br>
<b>To:</b> Discussion list for LON-CAPA users <lon-capa-users@mail.lon-capa.org><br>
<b>Subject:</b> [LON-CAPA-users] Polar Format gnuplots</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.x_MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
span.x_EmailStyle17
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal">Hi,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Has anyone done polar-format gnuplots in LON-CAPA? Would you be willing to share an example? This is my first foray into polar gnuplots. I am having trouble getting the angle to display around the perimeter. It’s rendering x- and y-axis
 values instead of angle and radius values.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Best regards,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Gene L. Harding, PE</p>
<p class="x_MsoNormal">Associate Professor of ECET</p>
<p class="x_MsoNormal">Purdue University</p>
<p class="x_MsoNormal">574-520-4190</p>
<p class="x_MsoNormal"><a href="https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpolytechnic.purdue.edu%2Fsouth-bend%2F&data=02%7C01%7Cathanas%40pitt.edu%7Cfad47791d6c841b74f7908d7ee1bafef%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1%7C0%7C637239675012270173&sdata=BxFc6JckzEaHORzCXuu3bO3AgOEJyqxsirfeqygrBg0%3D&reserved=0" originalsrc="https://polytechnic.purdue.edu/south-bend/" shash="bNfiZgrCScCi+aR0nqaNV6N4rnf/mtQoYpRa3JUtsbepTh1Q+LiZoBWt4rs21JcMpxf2yc34aR0c+ScW/nut6sKYxWEaUUmlXkklYSyoSB+95bTE55SqhR4/c/K44s7DYdacSy+aw9oSpMUPxd9nIaaljpJ8DOWuXICazAkY5ZM="><font color="red"><b>MailScanner has detected a possible fraud attempt from "nam05.safelinks.protection.outlook.com" claiming to be</b></font> https://polytechnic.purdue.edu/south-bend/</a></p>
<p class="x_MsoNormal"> </p>
</div>
</div>
</body>
</html>