Annotation of loncom/homework/templates/functionplottwo.problem, revision 1.1

1.1     ! www         1: <problem>
        !             2: <script type="loncapa/perl">$x=&random(5,10,1);</script>
        !             3: <startouttext />
        !             4: Make a sketch of the electrostatic potential (zero at infinity) of a negative point charge located at x=$x m.
        !             5: <endouttext />
        !             6: <functionplotresponse xaxisvisible="yes" xlabel="x [m]" gridvisible="yes" ylabel="V(x) [V]" id="11" xmax="30" yaxisvisible="yes" xmin="-4" ymin="-10" ymax="10">
        !             7: <spline initx="-2" inity="0" index="A" order="2" scalex="4" />
        !             8: <spline index="B" order="2" initx="12" inity="0" scalex="4" />
        !             9: <functionplotrule relationship="eq" value="undef" derivative="0" xinitial="$x" />
        !            10: <functionplotrule relationship="lt" value="0" derivativeorder="0" xinitiallabel="start" xfinallabel="chargeleft" />
        !            11: <functionplotrule relationship="lt" value="0" derivativeorder="1" xinitiallabel="start" xfinallabel="chargeleft" />
        !            12: <functionplotrule relationship="le" value="0" derivativeorder="2" xinitiallabel="start" xfinallabel="chargeleft" />
        !            13: <functionplotrule relationship="eq" xinitiallabel="chargeleft" xfinallabel="chargeright" value="undef" derivativeorder="0" />
        !            14: <functionplotrule relationship="lt" value="0" derivativeorder="0" xinitiallabel="chargeright" xfinallabel="end" />
        !            15: <functionplotrule relationship="gt" value="0" derivativeorder="1" xinitiallabel="chargeright" xfinallabel="end" />
        !            16: <functionplotrule relationship="le" value="0" derivativeorder="2" xinitiallabel="chargeright" xfinallabel="end" />
        !            17: </functionplotresponse>
        !            18: </problem>

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