Reputation: 19213
I was just wondering what the best online scripting language is to use for "simple" mathematical calculations, like solving for roots in 2nd 3rd or 4th degree polynomials.
For example, creating a little web "applet" like the one found here which inserts the values inputed into the text boxes and inputs them as variables into the "quadratic equation" and solves for two x values.
Is plain JavaScript the best scripting language to use for this? IMO, there's really no need for this to be server side.
Upvotes: 1
Views: 257
Reputation: 413966
If you're planning to do this in a web page, pretty much your only choice is Javascript anyway. You could write a Java applet, but that's a pain and requires that people install the Java browser plugin.
Upvotes: 1