Diff for /loncom/homework/templates/functionplottwo.problem between versions 1.3 and 1.5

version 1.3, 2010/11/13 13:58:55 version 1.5, 2015/12/23 19:36:24
Line 3 Line 3
 <startouttext />  <startouttext />
 Make a sketch of the electrostatic potential (zero at infinity) of a negative point charge located at x=$x m.  Make a sketch of the electrostatic potential (zero at infinity) of a negative point charge located at x=$x m.
 <endouttext />  <endouttext />
 <functionplotresponse xaxisvisible="yes" xlabel="x [m]" gridvisible="yes" ylabel="V(x) [V]" id="11" xmax="30" yaxisvisible="yes" xmin="-4" ymin="-10" ymax="10">  <functionplotresponse xaxisvisible="yes" xlabel="x [m]" gridvisible="yes" ylabel="V(x) [V]" id="11" xmax="30" yaxisvisible="yes" xmin="-4" ymin="-10" ymax="10" answerdisplay="-4/abs(x-$x)">
 <functionplotelements>  <functionplotelements>
 <spline initx="-2" inity="0" index="A" order="2" scalex="4" />  <spline initx="-2" inity="0" index="A" order="2" scalex="4" />
 <spline index="B" order="2" initx="12" inity="0" scalex="4" />  <spline index="B" order="2" initx="12" inity="0" scalex="4" />
 </functionplotelements>  </functionplotelements>
 <functionplotruleset>  <functionplotruleset>
 <functionplotrule relationship="eq" value="undef" derivative="0" xinitial="$x" index="chargeposition" derivativeorder="0" />  <functionplotrule relationship="eq" value="undef" xinitial="$x" index="chargeposition" derivativeorder="0" />
 <functionplotrule relationship="lt" value="0" derivativeorder="0" xinitiallabel="start" xfinallabel="chargeleft" index="negleft" />  <functionplotrule relationship="lt" value="0" derivativeorder="0" xinitiallabel="start" xfinallabel="chargeleft" index="negleft" />
 <functionplotrule relationship="lt" value="0" derivativeorder="1" xinitiallabel="start" xfinallabel="chargeleft" />  <functionplotrule relationship="lt" value="0" derivativeorder="1" xinitiallabel="start" xfinallabel="chargeleft" />
 <functionplotrule relationship="le" value="0" derivativeorder="2" xinitiallabel="start" xfinallabel="chargeleft" percentageerror="20" />  <functionplotrule relationship="le" value="0" derivativeorder="2" xinitiallabel="start" xfinallabel="chargeleft" percenterror="20" />
 <functionplotrule relationship="eq" xinitiallabel="chargeleft" xfinallabel="chargeright" value="undef" derivativeorder="0" />  <functionplotrule relationship="eq" xinitiallabel="chargeleft" xfinallabel="chargeright" value="undef" derivativeorder="0" />
 <functionplotrule relationship="lt" value="0" derivativeorder="0" xinitiallabel="chargeright" xfinallabel="end" index="negright" />  <functionplotrule relationship="lt" value="0" derivativeorder="0" xinitiallabel="chargeright" xfinallabel="end" index="negright" />
 <functionplotrule relationship="gt" value="0" derivativeorder="1" xinitiallabel="chargeright" xfinallabel="end" />  <functionplotrule relationship="gt" value="0" derivativeorder="1" xinitiallabel="chargeright" xfinallabel="end" />
 <functionplotrule relationship="le" value="0" derivativeorder="2" xinitiallabel="chargeright" xfinallabel="end" percentageerror="20" />  <functionplotrule relationship="le" value="0" derivativeorder="2" xinitiallabel="chargeright" xfinallabel="end" percenterror="20" />
 </functionplotruleset>  </functionplotruleset>
   
 <hintgroup showoncorrect="no">  <hintgroup showoncorrect="no">

Removed from v.1.3  
changed lines
  Added in v.1.5


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