380 17 Answers to Selected Exercises
ANSWER TO
EXERCISE1.3
<physical_unit name="millisecond">
<factor prefix="milli" unit="second"/>
</physical_unit>
<physical_unit name="per_millisecond">
<factor prefix="milli" unit="second" exponent="-1"/>
</physical_unit>
<physical_unit name="millivolt">
<factor prefix="milli" unit="volt"/>
</physical_unit>
<physical_unit name="microA_per_mm2">
<factor prefix="micro" unit="ampere"/>
<factor prefix="milli" unit="mitre" exponent="-2"/>
</physical_unit>
<physical_unit name="microF_per_mm2">
<factor prefix="micro" unit="farad"/>
<factor prefix="milli" unit="mitre" exponent="-2"/>
</physical_unit>
The XML DTD looks like this:
<!ELEMENT physical_unit (factor)*>
<!ATTLIST physical_unit name ID #REQUIRED>
<!ELEMENT factor EMPTY>
<!ATTLIST factor
prefix CDATA #IMPLIED
unit CDATA #REQUIRED
exponent CDATA "1">
ANSWER TO
EXERCISE1.4
<component name="membrane">
<variable name="u" interface="out"/>
<variable name="Vr" interface="out" initial="-85.0"
physical_unit="millivolt"/>
<variable name="Cm" initial="0.01"
physical_unit="microF_per_mm2"/>
<variable name="time" interface="in"
physical_unit="millisecond"/>