Be Original-

Score better

CY407 Mons.'13 Assignment 1 - due on 30-8-13.

General Instructions:

Summissions must be handwritten on A4 size papers stapled together with only your name and roll number on the first page. Do not bind and do not submit in folders.

Programs should conform to FORTRAN-77 standard.

Write neatly (capital letters for statements) using a coding sheet similar to the one here -you may print this or make one yourself!



1. Write a program to find the sum of all integers in the range N1 to N2 which are divisible by 4.
Input will be N1 and N2.
Output should be N1, N2 and SUM.
Include one sample input and output with your program.

2. Write a program to calculate the function, f(x) = 1/(a2 + x2)
for values of x in the range -2 to +2, in steps of 0.5.
Input will be a.
Output should be a table showing x and f(x).
Include sample output for one value of a.