naveenakchurelepati naveenakchurelepati
  • 10-08-2021
  • Computers and Technology
contestada

consider l= 5 ,r= 11. you must determine the sum of the values of the function in the range L to R . you have to calculate sum = lrf(x) in python coding

Respuesta :

onika92 onika92
  • 11-08-2021

def summation (num1, num2):

i = 0

for x in range (num1 : num2 + 1):

i += x

return i

print ( summation(l, r))

Answer Link

Otras preguntas

Read the following excerpt from The Great Gatsby. He looked at me sideways-and I knew why Jordan Baker had believed he was lying. He hurried the phrase "educate
Broad symmetrical ridges that cross ocean basins are called:.
50 POINTS!!! Use the square root property to solve for x in the following equation. Be sure to include both solutions. Show your work!(x-3)^2-10=15
In the world’s broad field of battle, in the bivouac of life, what does the poet suggest about human life with the images in these lines? life is an eternal str
What key ingredient in ice cream is missing from most italian gelatos?.
The price of a chocolate rose by 25%. By what% will it be reduced in order for the goods to be sold at the initial price?​
Determine the discriminant for the quadratic equation 0=-2x2+3. Based on the discriminant value, how many real number solutions does the equation have?
Global ecosystem the global distribution of tropical rainforests
Your bus is traveling 80 km/hr on a class trip to a museum that is 240 kilometers from your school. How long will it take to get there?
what celebration do we celebrate today that is similar to the ‘Night of Beggars and Thieves’?