This preview shows page 1. Sign up to view the full content.
Unformatted text preview: DO loop, the elements of aa along with the corresponding calculated value in the series stored in bb . So for aa=(/3,7,5,4,14,21/) we have the position of the term in the series in the left column and the corresponding value of that term in the series in the right column. Your output should be the same as below. 3 2.000000 4 3.000000 5 5.000000 7 13.00000 14 377.0000 21 10946.00 In your handout3 directory, make a new directory extra and write your code in a le called series.f90 . When you compile your code call the executable le series . Follow the instructions below to help you write your code. Note the points below. Create only two arrays aa and bb . Create two loop index variables i and j . You will need to create other variables as you need them. 1...
View Full Document
- Fall '10