Answer:
Flow rate is

Step-by-step explanation:
Given information
Density of oil,

kinematic viscosity,

Diameter of pipe, D= 5 mm= 0.005 m
Length of pipe, L=40 m
Height of liquid, h= 3 m
Volume flow rate for horizontal pipe will be given by
where
is dynamic viscosity and
is pressure drop
At the bottom of the tank, pressure is given by

Since at the top pressure is zero, therefore change in pressure a difference between the pressure at the bottom and the top. It implies that change in pressure is still

Dynamic viscosity,

Now the volume flow rate will be

Proof of flow being laminar
The velocity of flow is given by

Reynolds number,

Since the Reynolds number is less than 2300, the flow is laminar and the assumption is correct.