Make a program that will determine the number of terms

Assignment Help Other Engineering
Reference no: EM13308546

Write a program that will determine the number of terms in the series that are needed to approximate the function to a specified accuracy. Prompt the user to enter values for x and for an epsilon, where epsilon is the accuracy desired. Use a function that takes those values as inputs, and returns an integer, N, which is the number of terms required to achieve the desired accuracy. Use a while loop or a do-while loop to run your program for different values of epsilon. Report the effect on N for several values of epsilon that range between 10-3 and 10-15.

Attachment:- Assignment.rar

Reference no: EM13308546

Questions Cloud

You are on the board of directors of a nonprofit art museum : You are on the board of directors of a nonprofit art museum supported bydonations from wealthy members of the community
Determine whether the prosecutor has proved his case : What do vou look for to determine whether the prosecutor has proved his case? And what to determine whether the defense has proved her nice?
Create a program that prompts the user for a name : Write a program that prompts the user for a name, Social Security number, hourly pay rate, and number of hours worked. Display the information that was input by the user.
Estimate the weekly sales for the typical mcpablo : Estimate the weekly sales for the typical McPablo's outlet and what is theniffent price elasticity for tacos? What is the advertising easnaty - should McPablo's raise its taco pdce? Why or why not?
Make a program that will determine the number of terms : write a program that will determine the number of terms in the series that are needed to approximate the function to a specified accuracy. Prompt the user to enter values for x and for an epsilon, where epsilon is the accuracy desired. Use a funct..
When finding the projection of p onto q what to do with 15n : Force P is directed from point A(5,10,3) towards point B(1,-2,5) and has a magnitude of 15N. Vector Q=6i+2j-5k. When finding the projection of P onto Q what do you do with the 15N
Determine the vertical displacement of the pointer at e : Bars AB and CD are made of A-36 steel and 2014-T6 aluminum alloy,respectively. When the temperature is at 75degreeF, ACE is in the horizontal position.
Determine the magnitude and coordinate direction angles : If the coordinate direction angles for F3 are a=120degrees, b=45degrees, y=60degrees, determine the magnitude and coordinate direction angles of the resultant force acting on the eyebolt.
Design and implement a stand-a-alone application : Design and implement a stand-a-alone application that is a web-based front-end acceptable use statement/policy (disclaimer) and database. This front-end policy will provide users and/or prospective users of our clients' web site, a clear understan..

Reviews

Write a Review

Other Engineering Questions & Answers

  Environmental issue

CEE 357 Winter 2014. Independent writing assignment. Choose any current environmental issue on which a civil/environmental engineer might reasonably work.

  Determine the vehicles aerodynamic drag coefficient

Using the supplied 3D model of the commercial vehicle available on Moodle and solidworks flowsimulation conduct a CFD analysis to determine the vehicles aerodynamic drag coefficient.

  How facebook is changing our way of communication

How is Facebook changing our way of communication and how has Facebook changed our cultures

  Provide a teaching pedagogy reflective of 21st century

Provides safe Web access to students and staff. It also ensures no student or staff member is exposed to illicit web content.

  Research paper on the topic - reservoir characterisation

Give preferences that will provides students with a detailed understanding of the rock and rock-fluid properties of oil and gas reservoirs; an understanding of the Darcy equation

  Find the ultimate bod of the river water

Environmental engineering, CEE 357 Winter 2014. HW#6 Assignment: -  Find the ultimate BOD of the river water as it enters the lake. Find the value of the rate constant for BOD utilization in the river, k d,riv .

  Solve geotechnical and hydraulic engineering problems

Demonstrate knowledge and understanding of the key engineering principles that underpin current geotechnical and environmental engineering together with potential future developments

  Plot the bod remaining in the water

CEE 357 Winter 2014, HW#5, How much HOCl is needed to react with each mg/L of S in the latter reaction? Plot the BOD remaining in the water

  Describe term public relations research

Describe term Public Relations Research

  What would the partial pressure

CEE 357 Win 2014 HW#4, What is the concentration of HCN(aq) in the solution? What would the partial pressure of HCN(g) be in the gas phase, if the gas equilibrated with the solution?

  Find the economic life with interest rate

Find the economic life, with interest rate 12%, of an asset. Initial cost is $5,500. Operation cost is $1,200 per year. Salvage value decreases 15% of new value per year.

  What will the maximum concentration of pesticide

CEE 357 Win 2014 HW#2: What will the maximum concentration of pesticide be in the pond, and how long after the spill will that concentration occur?

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