The code given below accepts five numbers and displays whether they are even or odd:
Observe the following code carefully and rewrite it after removing all syntax and logical errors.
Underline all the corrections made.
def EvenOdd()
for i in range(5):
num=int(input("Enter a number")
if num/2==0:
print("Even")
else:
print("Odd")
EvenOdd()
Corrected Code:
def EvenOdd(): # Added colon at the function definition
for i in range(5): # No change
num = int(input("Enter a number: ")) # Added a colon and closed the parenthesis
if num % 2 == 0: # Changed division '/' to modulus '%' for even check
print("Even") # No change
else:
print("Odd") # No change
EvenOdd() # No change
Corrections Made:
: after the function definition def EvenOdd().input("Enter a number: ")./ with the modulus operator % in the condition: if num % 2 == 0.A racing track is built around an elliptical ground whose equation is given by \[ 9x^2 + 16y^2 = 144 \] The width of the track is \(3\) m as shown. Based on the given information answer the following: 
(i) Express \(y\) as a function of \(x\) from the given equation of ellipse.
(ii) Integrate the function obtained in (i) with respect to \(x\).
(iii)(a) Find the area of the region enclosed within the elliptical ground excluding the track using integration.
OR
(iii)(b) Write the coordinates of the points \(P\) and \(Q\) where the outer edge of the track cuts \(x\)-axis and \(y\)-axis in first quadrant and find the area of triangle formed by points \(P,O,Q\).