Consider a binary file, items.dat, containing records stored in the given format:
Write a function, Copy\_new(), that copies all records whose amount is greater than 1000 from items.dat to new\_items.dat.
import pickle
def Copy_new():
# Open source file for reading
with open("items.dat", "rb") as source_file:
# Open destination file for writing
with open("new_items.dat", "wb") as dest_file:
try:
while True:
# Load record from source file
record = pickle.load(source_file)
# Check if amount>1000
if record["amount"] > 1000:
# Write to destination file
pickle.dump(record, dest_file)
except EOFError:
pass # End of file reached
The source file items.dat is opened in binary read mode ('rb'), and the destination file new_items.dat is opened in binary write mode ('wb').
Each record is read using pickle.load() and checked if the amount is greater than 1000.
Records satisfying the condition are written to the destination file using pickle.dump().
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\).