Convert the following mathematical expressions to python expressions
() (s(s-a)(s-b)(s-c))^1/2 (i) (1+r/100)^t
Answers
Answered by
0
Answer:
Operators are the symbols which tells the Python interpreter to do some mathematical or logical operation. Few basic examples of mathematical operators are given below:
>>> 2 + 3
5
>>> 23 - 3
20
>>> 22.0 / 12
1.8333333333333333
To get floating result you need to the division using any of operand as floating number. To do modulo operation use % operator
>>> 14 % 3
2
Similar questions
Math,
2 months ago
Math,
2 months ago
English,
4 months ago
India Languages,
4 months ago
English,
9 months ago