Write a program to find minimum and maximum values

Assignment Help Programming Languages
Reference no: EM13712131

Program- Write a program to find minimum and maximum values for third-degree polynomials of the form:

f(x) = C3 x3 + C2 x2 + C1 x  + Co

Use a step size of 0.1 .  The user should input the range of the independent variable x.

- You must fill an array with values for f(x), and then find the largest and smallest values in the array.

- Your output should include the largest and smallest values of f(x), along with the associated values of x.

Check your values by using the subsequent polynomial:

f(x) = 0.2 x3 -3 x2 + 4 x  +  9   ;  -2  < x  < 2

How to find the minimum and maximum values for third-degree polynomials?

 

Reference no: EM13712131

Questions Cloud

Plot two different voltage vs. time graphs : Plot two different Voltage vs. time graphs depicting input voltages that would cause DC to flow through in a circuit. Plot two different Voltage vs. time graphs depicting input voltages that would cause AC to flow through in a circuit
Write an iterative version and a recursive version : Write a main program that illustrates the work of your functions. E.g., if a[ ]={1,2,3,3,4,5} then 3 occurs 2 times and 7 occurs 0 times.
Prepare sql queries to find the customers : Prepare SQL queries to find the customers who have reserved only 4-door cars.
Calculate the acceleration of the bucket : Calculate the acceleration of the bucket. Calculate how fast the bucket is moving after it has fallen 2.50 m assuming it has not reached the edge of the building.
Write a program to find minimum and maximum values : Write a program to find minimum and maximum values for third-degree polynomials of the form:
Determine order of operations for seq search algorithm : Determine the order of operations for this Seq Search algorithm. Best case and worse case and why - Find the order of operations for this Search algorithm. Prepare a proper algorithm for this problem and how to complete it.
What is the y-component of the electric field : What is the x-component of the electric field at the point. What is the y-component of the electric field at the point. What is the total magnitude of the electric field at the point.
Different types of program documentation : List at least three different types of program documentation and the pros and cons of each. When should you use each and can you use only one of them?
Calculate the age of a person given the birthdate : Assemble a program to calculate the age of a person given the birthdate. The output should print the line "In 2014 you will be ''the age of the person" years old." Code needs to be in assembly language using motorola 68000.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write pseudocode to accept candy name

Write a pseudocode for the following: A programm to accept a candy name (for exmple, "chocolate-covered blueberries'), price per pound, and number of pounds sold.

  Write the program to sustain person-s savings

Write down the program to sustain the person's Savings and Checking accounts. Program must keep track of and show balances in both accounts, and sustain a list of transactions.

  Specific changes made for different countries-sites directed

Why were these specific changes made for different countries at whom the sites were directed? Is there anything else you would consider changing.

  Function to compute the average of numbers

Function will then compute the average of numbers, total of all of the numbers added together, and new array of numbers.

  Use one-dimensional array to read in twenty numbers

Use the one-dimensional array to solve problem: Read in 20 numbers, each of which is between 10 and 100. As each number is read, print it only if it is not duplicate of number which has already been read.

  Program to report page number and offset of virtual address

Your program will report page number and offset of given virtual address with specified page size. Page sizes should be specified as power of 2 in the range 1024-16384 (inclusive).

  Payroll program for a company

Write complete PAYROLL program for a company in which each employee falls into one of 3 categories - Administrative, Factory Employee or Salesperson.

  Define function that takes year as it-s input argument

Define and call a function fast_food_billions that takes the year as it's input argument and returns the prediction as it's result. Tell the user that entry of a year before 2005 will cause the program to stop.

  Write program which instantiates objects of classes

Private data of Quadrilateral must be the x-y coordinate pairs for four end-points of the Quadrilateral. Write a program which instantiates objects of your classes and outputs each objects area (except Quadrilateral.

  Write program using array of seven long integers

Write down the program which uses the following arrays: empId: array of seven long integers to hold employee identification numbers. Array must be initialized with following numbers.

  Design electronic submission of assignments from students

This system must manage electronic submission of assignments from students to instructors. It must keep track of which students have submitted assignments and must allow instructors to manage the grading.

  Create security code program-display digit-ascii character

You have been hired to create the security code program. Program must permit user to enter message, one character at a time.

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