Q. Write Python expressions equivalent to the following arithmetic/algebraic expressions:


(a) a+b/ 2

(b) 32 + 93/ 2

(c) 3² + 93/5

(d) √a + a+2/2

(e) 8 – 6 + 6 * sum /7  - √var

(f) ut + 1/2at2 (u, a, t are variables)


Answer :-

(a) (a + b ) /2
(b) ( 3**2 + 9**3 ) / 2
(c) 3**2 +  9**3  / 5
(d) a ** (1/2) + (a+2)/2
(e) 8-6 + (6* sum)/ 7 – var ** ½
(f) u * t + (1/2)*a*t**2

3 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post