You can't do floating-point arithmetic in the shell, it only supports integer calculations.
The parentheses in your script are syntax errors, but given the above, taking them out doesn't help much, of course.
This looks suspiciously like something somebody else posted recently. Is this homework for a course?
How to store values into variable in perl