Input range of integral and number of sections

Assignment Help Mechanical Engineering
Reference no: EM13714038

Input range of integral and number of sections

Show results for all of the methods we discussed in lab:

Riemann Low

Riemann High

Trapezoidal

Simpson's 1/3

Create a sub-function for calculating the equation for given x-values like we did in the lab

Create a sub-function for calculating the integral for each method for the equation and range/section.

This will result with one main function for user input and results output and then five sub-functions.

Output results to the screen

Reference no: EM13714038

Questions Cloud

Determine the surface temperature of the heated panel : A room has 1000 ft2 of surface, of which 120 ft2 is to be heated, and the balance has an average surface temperature of 60°F. The air temperature in the room is 68°F. The room is occupied by light clothed adults at rest. Determine the surface tempera..
Associated quantities to be expected on the prototype : The flow around a model of a turbine blade is investigated. The model is five times larger than the prototype. A maximum pressure of 4 psi is measured at the leading edge, a maximum velocity of fps is measured near the top of the blade, and a small d..
What is the maximum gas temperature along the duct : An ideal/calorically perfect gas enters a constant-area heater at a Mach number of 0.20, a total pressure of 700 kPa, and a total temp of 500K. A heat interaction of 1030 kJ/kg into the gas occurs. Determine the Mach number, total pressure (kPa), sta..
What will be the thermal efficiency of the cycle : In a thermodynamic cycle consisting of four processes, the heat and work are as follows: Q (kJ): 30, -10, - 20, 65 W (kJ): 3, 10, - 8, 0. What will be the thermal efficiency of the cycle?
Input range of integral and number of sections : Create a sub-function for calculating the equation for given x-values like we did in the lab. Create a sub-function for calculating the integral for each method for the equation and range/section.
Decorative water fountains consist of water reservoir : Decorative water fountains consist of a water reservoir and underground piping to and from a pump. One such system is shown schematically in the figure. The pipe material is PVC(a table is provided). The outlet line from the pump is 18 m and the inle..
Break-even point : K-Henry's Dull Diner has a contribution margin ratio of 16%. If fixed costs are $176,800, how many dollars of revenue must K-Henry's generate in order to reach the break-even point?
Normalize the following relations to 3nf : Do you always have to use the third normal form? Why or why not? What can happen if you do not use the third normal form? Normalize the following relations to 3NF, using the set of functional dependencies listed:
Both adams and wolfe are large public corporations : Both Adams and Wolfe are large public corporations with subsidiaries throughout the world.   Adams  uses a centralized approach and  makes most of the decisions for its subsidiaries.

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  The police starts accelerating from rest at 10 ftsec2 until

a speeder zooms past a parked police car at a constant speed of 70 mph. then 3 seconds later the police starts

  Determine the microstructure for eutectoid steel that has

determine the microstructure for eutectoid steel that has undergone the following heat treatment. for each heat

  Required ratio of mass flow rate of superheated steam

Superheated steam at 400°C and saturated water with a quality of 40% enter a mixing chamber at a pressure of 100 kPa. What is the required ratio of mass flow rate of superheated steam to mass flow rater of saturated water if at the exit to the mixin..

  Find the force and the velocity generated by the piston

A hydraulic cylinder has a piston diameter of 2.2 inches, a fluid pressure of 1100 psi, a flow rate of 132 cubic inches per minute, and a stroke of 10.5 inches. Find the force and the velocity generated by the piston.

  Use computational software to determine a if the ball

a ball is dropped with a velocity v0 at an angle a with the vertical onto the top step of a flight of stairs consisting

  Find the crank position corresponding to the maximum piston

a find the crank position corresponding to the maximum piston velocity for an in-line slider crank mechanism. crank

  A printing pigment solution having a viscosity of 005 n s

a printing pigment solution having a viscosity of 0.05 n s m2 and the yield stress of 0.6 nm2 flows in a three meter

  Determine the resultant internal normal force acting on

determine the resultant internal normal force acting on the cross section through point of the signpost. the post is

  Assuming an axial velocity at the eye of the impeller an

a helicopter gas turbine requires an overall compressor p.r. of 101. this is to be obtained using a two-spool layout

  A 50 kg crate resting on a flat smooth surface is acted

a 50 kg crate resting on a flat smooth surface is acted upon by a horizontal force that varies by the equation f1.5t

  During a constant-pressure process it is found that the

during a constant-pressure process it is found that the change in entropy is equal to 0.25cp. if the cp is constant and

  You are requiredto heat treat samples of al 2024 to a t6

you are requiredto heat treat samples of al 2024 to a t6 condition but you dont know what heat treating schedule to

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