Get all mensuration calculation simply by submitting two parameters
Read this post on anil7pute.blogspot.com