Basic Perl Scripting Exercise 3 To be handed in: Monday 15th of October This exercise is about analyzing output. Below you find the output from a calculation of a molecule with 6 atoms. The forces in the x, y and z direction are given for each atom center. Write a script that for each line calculates the overall force F, which is the squareroot of the sum of squared contributions, F = squareroot[(x^2)+(y^2)+(z^2)] (see page 23 in the book to read more about arithmetic operators. Use sqrt to calculate squareroots). ------------------------------------------------------------------- Center Forces (Hartrees/Bohr) Number X Y Z ------------------------------------------------------------------- 1 -0.000097124 -0.000324337 -0.000108632 2 0.000113450 0.000563207 -0.000026374 3 -0.000051981 -0.000293137 0.000028033 4 -0.000000471 0.000011814 -0.000024240 5 0.000031094 0.000016690 0.000015664 6 0.000005032 0.000025764 0.000115549 ------------------------------------------------------------------- Hand in your solution and the output on Monday.