Previous | Next | (P-PDF) JavaScript
Topic: Re: SeyboldSF2001> Equations via JavaScript (Via Email)
Conf: (P-PDF) JavaScript, Msg: 27883
From: dpstory
Date: 10/1/2001 08:07 PM
On 1 Oct 2001, at 13:28, p-pdf-javascript Listmanager wrote:
> From: "Seybold San Francisc"
>
> Equations in Forms -- I need an Equation editor-like plug-in to input
> equations and math symbols into forms. Is it too hard to develop this kind of
> plug-in?
>
> Can JavaScript take this info and display it in a
> form and allow for editing?
>
It's not sure what your needs are. In an on-line exam, the user enters the
equations/math expressions. There is no plug-in for entering math expressions
or symbols. Expressions must be entered in "ASCII" format:
(2*x^3+cos(e^x))^2
for example.
I've developed a series of JavaScripts to interpret such "user friendly"
input and convert to proper JavaScript:
pow(2*pow(x,3)+cos(exp(x)),2)
I've also developed techniques for evaluating the correctness of such
expressions using JavaScript.
See http://www.math.uakron.edu/~dpstory/tutorial/webeq/jquiztst.pdf
Regards,
dps
Dr. D. P. Story / dpstory@uakron.edu / (330) 972-7514
http://www.math.uakron.edu/~dpstory/ Dept of Mathematics
and Computer Science / University of Akron / Akron, Ohio 44325
AcroTeX Web Site: http://www.math.uakron.edu/~dpstory/acrotex.html
Site Includes: e-Calculus, Algebra Review in Ten Lessons,
Mathematics Games, Pdfmarks:Links & Forms,
Using LaTeX to Create Quality PDF Documents for the WWW,
Web.sty and Exerquiz.sty Packages for LaTeX,
and much, much more.