Secant method to a desired accuracy precision

Assignment Help Mechanical Engineering
Reference no: EM13705893

Write an M-file to solve an equation with the bisection method and with the secant method to a desired accuracy precision.

Request upper and lower limits for bisection (you may assign a step size or request an input value)

Request the first guess value and precision desired for the secant method.

Create a sub-function to calculate the function value.

Create a sub-function to calculate the slope/secant value.

(You may create functions for the two methods if you desire but it is not required for your grade)

Name the file (and function) using your username and submit to this assignment to WebHW under assn3.

Reference no: EM13705893

Questions Cloud

Resultant internal bending moment : The member has a square cross section and is subjected to a resultant internal bending moment of M = 850 Nm as shown. Determine the stress at each corner and sketch the stress distribution produced by M. Set theta = 30 (dimensions 250mm by 250 mm)
What wind velocity and barometric pressure : On a beautiful day your ship sights a water spout in the East Indian Ocean. You fix your position as 6000 ft from the spout and record a wind velocity of 10 ft/s. What wind velocity and barometric pressure does a fishing boat 600 ft from the spout ex..
Automobile is accelerated : 040 kg automobile is accelerated from 5 kmph to 70 kmph. What is the average power (in hp) required if this is done in 7 s?
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.
Secant method to a desired accuracy precision : Write an M-file to solve an equation with the bisection method and with the secant method to a desired accuracy precision. Request upper and lower limits for bisection (you may assign a step size or request an input value)
Pitot -static tube to measure the wind speed : A meteorologist uses a pitot -static tube to measure the wind speed in a tornado. Based on the damage caused by the storm, the tornado is rated as EF5 on the enhanced Fujita Scale. This means that the wind speed is estimated to be in the range of 261..
Four weights is to pass through the center of the raft : Three children are standing on a 5×5-m raft. The weights of the children at Points A, B, and C are 375 N, 260 N, and 400 N, respectively. If a fourth child of weight 425 N climbs onto the raft, determine where she should stand if the other children r..
Determine the reading on the pressure gauge : A 400 L rigid tank contains 5 kg of air at 25 C. Determine the reading on the pressure gauge if the atmospheric pressure is 97 kPa.
Calculate the change in free-energy : Calculate the change in free-energy associated with the formation of a critical spherical nucleus in pure liquid nickel that is 200 ºC under cooled. Properties of Nickel: Heat of Fusion 2660 J/cm3; Surface Energy 255x10-7 J/cm2 ; Freezing Temperatur..

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  The united states is currently considering standards to

the united states is currently considering standards to generate 20 of its electricity from renewable resource in the

  The water is brought to the vapor state at 300oc and

liquid water at 180oc and 1002.7 kpa has an internal energy on an arbitrary scale of 762.0 kj kg-1 and a specific

  If the maximum tension the cable can withstand is 100n and

at t0 a disk with mass 3kg is placed on a spinning platform. the disk slides and begins to accelerate. if the maximum

  Assume frictionless surfaces and let g981 ms2 determine the

a block of mass 10kg moves along a surface inclined 30acircdeg relative to the horizontal. the center of gravity of the

  When the three blocks are released from rest they

when the three blocks are released from rest they accelerate with a magnitude of 0.660 ms2. block 1 has mass m block 2

  You are blanking a square using a straight edge punch if

you are blanking a square using a straight edge punch. if the punch is angled to be at a shear angle of 10 degrees how

  A piston-cylinder containing 1 kg air at 500degc and 500

a piston-cylinder containing 1 kg air at 500degc and 500 kpa is connected to a carnot heat engine where the environment

  Assuming isentropic efficiencies of 80 percent for both the

a gas refrigeration cycle with a pressure ratio of 3 uses helium as the working fluid. the temperature of teh helium is

  Electrical heater wires are installed in a solid wall

electrical heater wires are installed in a solid wall having a thickness of 8 cm and conductivity 2.5 wmk. the right

  The load to be applied to the chain is 9000 lbs plot the

suppose because of random variations introduced during fabrication the links of a chain have a random strength whereby

  Compare the heat transfer coefficient form water to air

water droplets at 87 0c in a cooling tower have an average diameter of 0.15 cm. the airstream which moves at a velocity

  As the airplane begins its takeoff run at t 0 the normal

as the airplane begins its takeoff run at t 0. the normal forces exerted on its tires at a and b are na 4.2 kn and nb

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