Annotation of doc/demo/selfteaching/plot2.problem, revision 1.1

1.1     ! albertel    1: <problem><displaytitle />
        !             2: 
        !             3: <script type="loncapa/perl">$a = &random(1,3,1);
        !             4: $b = &random(-5,5,1);
        !             5: $fx = "x**$a + $b";
        !             6: $fxDisplay = "x^$a +$b";
        !             7: $fxDisplay =~ s/\+-/- /s;
        !             8: </script><gnuplot font="large" width="300" grid="on" height="300" border="on" fgcolor="x000000" align="left" bgcolor="xffffff" transparent="off">
        !             9:     
        !            10: 
        !            11:     <axis ymax="10.0" xmin="-5.0" ymin="-10.0" xmax="5.0" color="x000000" />
        !            12: 
        !            13:     
        !            14: 
        !            15:     
        !            16: 
        !            17:     
        !            18: 
        !            19:     
        !            20: 
        !            21:     
        !            22: 
        !            23: 
        !            24:     <curve name="Plot Name" linestyle="linespoints" pointtype="0" color="x000000"><function>$fx</function>
        !            25: 
        !            26:      
        !            27:      
        !            28: </curve>
        !            29: </gnuplot>
        !            30: 
        !            31: 
        !            32: <startouttext />This function is <m eval="on">$ $fxDisplay $</m>
        !            33: <br /><br />
        !            34: The answer is "5"<endouttext />
        !            35: <numericalresponse id="11" answer="5">
        !            36: 	<responseparam description="Numerical Tolerance" name="tol" type="tolerance" default="5%" />
        !            37: 	<responseparam description="Significant Figures" name="sig" type="int_range,0-16" default="0,15" />
        !            38: 	<textline />
        !            39: 	<hintgroup>
        !            40: 		<startouttext />Enter the hint text here.
        !            41: 		<endouttext />
        !            42: 	</hintgroup>
        !            43: </numericalresponse>
        !            44: </problem>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>