math-calc / / [-] / [@cfg-math-calc] / math-calc.cfg


  <script type="text/javascript" src="cfg/math/mathml.js"></script> 
  <script type="text/javascript">mathfontsize=".9em" 
  <div style="visibility:hidden; position:absolute; p:0px; z-index:-10; width:0; height:0" class="ASCIIMathCalculator"></div> 
  <s>
  

h4 calculator areas:<br>

</s> <br> <br> <textarea id="in1" rows="2" cols="28" onkeyup="calculate('in1','out1')"> 2sin^-1(1)</textarea> &nbsp; <span id="out1"></span> <br><br> <textarea id="in2" rows="4" cols="28" onkeyup="calculate('in2','out2');calculate('in3','out3')"> a=5; b=4; c=-1; (-b+sqrt(b^2-4a*c))/(2a) </textarea> &nbsp; <span id="out2"></span> <s><p><br> <textarea id="in3" rows="2" cols="28" onkeyup="calculate('in2','out2');calculate('in3','out3')"> (-b-sqrt(b^2-4a*c))/(2a)</textarea> &nbsp; <span id="out3"></span> </s> <s> <p><br> <b>some technical remarks:</b> This calculator works only in radians. (Multiply angles by pi/180 to convert from degrees to radians.) <br/> The syntax is loosely based on JavaScript and a subset of ASCIIMathML. <br/> The multiplication symbol * can be omitted after a digit (0-9) or a closing parenthesis. <br/> available constants and functions: <br/> &nbsp; &nbsp; +, -, *, /, ^, pi, e, sqrt(), ln(), abs(), sign(), floor(), ceil(), n!, C(n,k), ran(a,b,n) <br/> &nbsp; &nbsp; sin(), cos(), tan(), sin^-1(), cos^-1(), tan^-1(), sinh(), cosh(), tanh(), sinh^-1(), cosh^-1(), tanh^-1() <br/> &nbsp; &nbsp; sec(), csc(), cot(), sec^-1(), csc^-1(), cot^-1(), sech(), csch(), coth(), sech^-1(), csch^-1(), coth^-1() <br/> Values can be assigned to (legal JavaScript) variable names. Use ";" to separate expressions. <br/> Any number of calculator textareas can be placed anywhere on <b>your own</b> webpages. <br/>
GNU Lesser General source:<a href="http://asciimathml.sourceforge.net">asciimathml.sourceforge.net</a> > <a href="http://asciimathml.sourceforge.net">asciimathml.sourceforge.net</a> with kind regards to <a href="mailto:jipsen@chapman.edu">jipsen@chapman.edu</a>. </s>
<navigate/>