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
English,
2 months ago
English,
2 months ago
English,
5 months ago
India Languages,
5 months ago
English,
11 months ago