Computer Science, asked by suhaanibatra23, 11 months ago

Write following expressions in Python

Attachments:

Answers

Answered by LuckyYadav2578
71

Expressions in python

( a ) 1/3* (b**2) *h

( b ) 3.14*(r**2)*h OR 22/7*(r**2)*h

( c ) 1/3* 3.14*(r**2)*h OR 1/3* 22/7*(r**2)*h

( d ) d = ((x2-x1)**2 + ( y2 -y1) **2)**0.5

( e ) (x - h)**2 + (y - k) **2 = r**0.5

( f ) x = (-b + (b**2 - 4*a*c) **0.5)/2*a

( g ) (a**n) * (a**m) = a**(n+m)

( h ) (a**n) **m = a**(n*m)

( i ) (a**n) / (a**m) = a ** (n-m)

( j ) a**(-n) = 1 / a**n

Answered by catcalyx
15

Answer:

( a ) 1/3* (b**2) *h

( b ) 3.14*(r**2)*h OR 22/7*(r**2)*h

( c ) 1/3* 3.14*(r**2)*h OR 1/3* 22/7*(r**2)*h

( d ) d = ((x2-x1)**2 + ( y2 -y1) **2)**0.5

( e ) (x - h)**2 + (y - k) **2 = r**0.5

( f ) x = (-b + (b**2 - 4*a*c) **0.5)/2*a

( g ) (a**n) * (a**m) = a**(n+m)

( h ) (a**n) **m = a**(n*m)

( i ) (a**n) / (a**m) = a ** (n-m)

( j ) a**(-n) = 1 / a**n

Similar questions