Update calc.cpp

I have added 1 more function...
Merge pull request #1 from kirti-auti/3303

Update calc.cpp