quadratic.xfdl
上传用户:shuxianled
上传日期:2007-01-18
资源大小:6404k
文件大小:1k
源码类别:
xml/soap/webservice
开发平台:
Others
- <?xml version="1.0"?>
- <XFDL version="4.1.0">
- <page sid="QuadraticEquationSolver">
- <label>Quadratic Equation Form</label>
- <label sid="LABEL1">
- <value>Solve ax^2 + bx + c = 0</value>
- <fontinfo content="array">
- <ae>Times</ae> <ae>10</ae> <ae>italic</ae>
- </fontinfo>
- </label>
- <field sid="a">
- <label>Enter a: (coefficient of x^2)</label>
- <value>1</value>
- </field>
- <field sid="b">
- <label>Enter b: (coefficient of x^1)</label>
- <value>0</value>
- </field>
- <field sid="c">
- <label>Enter c: (coefficient of x^0)</label>
- <value>-1</value>
- </field>
- <field sid="x1">
- <label>Root 1</label>
- <editstate>readonly</editstate>
- <value content="compute">
- <compute>
- (-b.value
- + sqrt(b.value*b.value - "4"*a.value*c.value))
- /"2"*a.value
- </compute>
- </value>
- </field>
- <field sid="x2">
- <label>Root 2</label>
- <editstate>readonly</editstate>
- <value content="compute">
- <compute>
- (-b.value
- - sqrt(b.value*b.value - "4"*a.value*c.value))
- /"2"*a.value
- </compute>
- </value>
- </field>
- </page>
- </XFDL>