Hi everyone,
I’m not very well versed in javascript, but I’ve written an .html file that takes some user inputs and calculates an output from those inputs. The calculation involved is quite complex and uses some lengthy for loops. For example, part of the computation requires Bessel functions, and to approximate those bessel functions, I’m doing a numerical approximation up to the first 100 terms or so.
When I run the program in Google Chrome, it works just fine, although it does take a couple of seconds for the answer to be computed. Yet when I try to run it in Internet Explorer, I keep getting a message that the script is taking too long, and it asks me if I want to let it run. If I keep telling it to continue running, it will indeed finally complete.
Anybody know why this could be? If you’re interested in looking at the code, you can see it here:
[url]https://docs.google.com/leaf?id=0B-dyJuH_q8ukNjcxNjZlYTAtNjY1Zi00ZWVjLTg0YWYtMjIzNzYzZDVlZDUy&sort=name&layout=list&num=50