write a program in python to calculate x^y
Share
write a program in python to calculate x^y
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
Distance can be calculated using the two points (x1, y1) and (x2, y2), the distance d between these points is given by the formula:
for e.g : let x1 , y1=10,9 and x2 , y2=4,1 then (x2-x1)2=(10-4)2 = 62 = 36 and (y2-y1)2= (9-1)2 = 82 = 64 now 64 + 36 =100 and 100 is square root of 10 sp distance between (10,9) and (4,1) is 10 .