Calculations Interactive calculations may be inserted into websites. They allow the user to envision the past from an engineer's point of view. For this, is is necessary for the webpages to be coded in Javascript for the sections concerned, in addition to the web authoring software which prepares the layout with "forms". The users are allowed to test several hypotheses by inserting numbers of their choice in the boxes of the forms. The functions created can perform calculations on these numbers - which will become the "variable" of the function - and give the result, or they can test the values given by the users for the variable against a prescribed answer, and send the corresponding alert. |
|||