--> //initializations

--> H=12 //m (height of water table)
 H  = 

   12.


--> x=4 //m (reduction in height)
 x  = 

   4.


--> k=5*10^-4 //m/sec (coefficient of permeability)
 k  = 

   0.0005


--> L=100 //m (distance of the slot from both sides)
 L  = 

   100.


--> y=1 //m (length of the slot perpendicular to the plane of paper)
 y  = 

   1.


--> //calculations

--> h=H-x //(water table height after reduction)
 h  = 

   8.


--> q=k*y*((H^2-h^2)/L) //(discharge)
 q  = 

   0.0004


--> //results

--> printf('discharge=%f',q) //m^3/sec
discharge=0.000400
