//Surface tension of water(in mN/m): STw=72.8*10^-3; //Surface Tension of mercury(in mN/m): STm=375*10^-3; //Contact angle for water: thetaw=0; //COntact angle for mercury: thetam=140; //Density of water(in kg/m^3): dw=1; //Density of mercury(in kg/m^3): dm=13.6; //Acceleration de to gravity(in m/sec): g=9.81;