MOS device design equation