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

1.1     ! albertel    1: <problem>
        !             2: <script type="loncapa/perl">
        !             3: $formula = "C2H5OH";
        !             4: $name = "ethanol";
        !             5: $answer = "C2H5OH + 3O2 -> 2CO2 + 3H2O";
        !             6: </script>
        !             7: <startouttext />
        !             8: <p>Write a balanced reaction for the complete combustion of $name
        !             9: (<chem>$formula</chem>) in oxygen, using the smallest integer
        !            10: coefficients.</p>
        !            11: <endouttext />
        !            12:   <reactionresponse answer="$answer" initial="$formula ->">
        !            13:     <textline readonly="yes" />
        !            14:     <hintgroup showoncorrect="no">
        !            15:       <stringhint answer="/\(g\)/" name="state" type="re" />
        !            16:       <hintpart on="state">
        !            17:         <startouttext />
        !            18:           Do not include symbols for state of matter in your answer.
        !            19:         <endouttext />
        !            20:       </hintpart>
        !            21:     </hintgroup>
        !            22:   </reactionresponse>
        !            23: </problem>
        !            24: 

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