Prompt the user for the values of the equation coefficient

Assignment Help Basic Computer Science
Reference no: EM132336896

Finding integral of a function is finding the area under the curve of the function over a certain range. Create a script that will find the area of a quadratic function f(x)= Ax^2 + Bx + C. In computer, we can find the area easily by computing the area of the individual bars and add them all together (LOOP!). (The area of the individual bar can be approximated by using delta(x)*f(x) if delta(x) is small. Please use the screenshot below for example.Your script should:

1.) Prompt the user for the values of the equation coefficient A, B, and C

2.) Promt the user for the range of the integral. (a and b in the picture)

3.) Promt the user for the increment of the loop (delta(x)in the pic)

4.) Compute the size of the area.

Reference no: EM132336896

Questions Cloud

Primarily on the surface of your external barriers : Gram positive organisms live primarily on the surface of your external barriers. What if these bacteria were to get inside your body? Would they cause disease?
What characteristics of the male reproductive system : What characteristics of the male reproductive system are different from a woman's? What characteristics are the same?
Assignment outline - insecurity of food industry in campus : WCWP 100 - Academic Writing - Earl Warren College - Working Thesis about your evaluation of the GFI and You should use 6 articles that are highlighted by a yell
Describe the female reproductive cycle : A female's reproductive cycle is just that, a cycle. Describe the female reproductive cycle,
Prompt the user for the values of the equation coefficient : 1.) Prompt the user for the values of the equation coefficient A, B, and C 2.) Promt the user for the range of the integral. (a and b in the picture)
Main door of directory hierarchy : Suppose that you want to block everyone (including yourself) at the main door of your directory hierarchy. How do you do that and how do you reverse it?
Main door of your directory hierarchy : Suppose that you want to block everyone (including yourself) at the main door of your directory hierarchy. How do you do that and how do you reverse it?
Rigor of a technical security risk assessment : How could the RIIOT data-gathering method be used to specify the scope and rigor of a technical security risk assessment?
Weekly fitness program to the recommendations by acsm : Review the ACSM (American College of Sports Medicine) recommendations for physical activity. Compare your weekly fitness program to the recommendations by ACSM.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Interface for effective entry and navigation

List and describe the functional capabilities needed in an interface for effective entry and navigation.

  Calculate the equilibrium partial pressures

Calculate the equilibrium partial pressures of N2, O2, and NO at 2000 °C.

  Create a flowchart that will contain

Create a flowchart that will contain two modules, one to prompt the user to input the sales amount, and the other to calculate the amount of sales tax on that sales amount.

  Lying during negotiations, or taking credit for someone else

Lying during negotiations, or taking credit for someone else's work is plain unethical. Deception, evasiveness, or collusion are out of bounds

  What are the terms of the general public license

What are the terms of the general public license? How does this license affect the use of Linux and other open source software in a business organization?

  How does the united states benefit

How does the United States benefit by being the world currency reserve?

  State iris''s cost minimization problem

a) State Iris's cost minimization problem and use it to derive the optimal quantities of N and A given the number of tulips produced. b) Derive Iris's total cost function. c) Derive the marginal cost function of producing tulip bulbs. d) Should Iris ..

  What will you also back up onto a flash drive

Of that information, what will you also back up onto a flash drive? How often would you perform the backup process? How often do you currently back up information on your computer's hard drive

  Valuation using the pb multiple

The following table provides summary data for Cerner Corporation (CERN) and its competitors, Allscripts Healthcare Solutions (MDRX) and McKesson (MCK).

  Draw the logic diagram for a 16-to-4 encoder

Draw the logic diagram for a 16-to-4 encoder using just four 8-input NANO gates. What are the active levels of the inputs and outputs in your design?

  Which shipper service to choose for company

Your task is to choose the best shipper for company. Compare these shippers, like FedEx (www.fedex.com), UPS (www.ups.com), and the U.S. Postal Service (www.usps.gov).

  Estimate the given difference with a confidence interval

Shopping. A survey of 430 randomly chosen adults found that 21% of the 222 men and 18% of the 208 women had purchased books online.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd