3.7 What is newton-raphson_en.html?
This is the file which represents the actual simulation when it hasn’t been built yet. If you take a look at the contents of the file, you’ll find that much of it doesn’t make sense because it doesn’t really have the usual HTML
code.
It is fairly common to be overwhelmed by something like this, however, all you need to understand is that all of development for the simulation takes place in the view
and model
folders. (For more information, See What is the view folder? and What is the model folder)
That being said, if you are using external .js
files of your own or some library like math.js
then those need to be included in the .html
file. It is done the same way as with any .html
file, which is using the <script></script>
tags.
For example, if you want to include math.js
and a couple of backend .js
files with functions to help with your simulations, you would do something like this: