1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Leya [2.2K]
3 years ago
13

The "divide and average" method, an old-time method for approximating the square root of any positive number a, can be formulate

d as:
x= (x +a/x)/2

Write a well-structured M-file function based on the while...break loop structure to implement this algorithm. Use proper indentation so that the structure is clear. At each step estimate the error in your approximation as:

ε= |x^new- x^old/x^new|

Repeat the loop until ε is less than or equal to a specified value. Design your program so that it returns both the result and the error. Make sure that it can evaluate the square root of numbers that are equal to and less than zero. For the latter case, display the result as an imaginary number. For example, the square root of -4 would return 2i. Test your program by evaluating a = 0,2, 10 and-4 for ε = 10^-4

Engineering
1 answer:
Shalnov [3]3 years ago
4 0

Answer:

<u>note:</u>

find the attachment:

You might be interested in
Ruler game, HELPPPPP
viktelen [127]
D! :D
Hope I helped!!
3 0
3 years ago
Read 2 more answers
What material property would still cause strain in a strain gauge that is positionedperpendicular to the direction of force if i
svetlana [45]

Answer:

oof

Explanation:

I don't know but please don't report me

I am trying to do a challenge

Thank you-

If you don't report me!

5 0
3 years ago
Technician a s ays a shorted circuit can generate excessive heat. technician b says a shorted circuit will cause the circuit pro
Lerok [7]

Based on the information provided, the technician who is correct is: C. Both Technician A and Technician B.

<h3>What is an open circuit?</h3>

An open circuit can be defined as a type of electric circuit in which the continuity between the conducting wire (paths) has been broken or cut.

This ultimately implies that, an open circuit is designed and developed to prevent the flow of electric charges (electrons or currents) from one point in an electric circuit to another.

In Electrical engineering, a short usually causes an electric circuit protection device such as a fuse, circuit breaker, etc., to open when higher than normal current flows through the electrical circuit.

Read more on short circuit here: brainly.com/question/25018411

#SPJ1

Complete Question:

Technician A says a shorted circuit can generate excessive heat. Technician B says a shorted circuit will cause the circuit protection device to open. who is correct?

A. Technician A only

B. Technician B only

C. Both Technician A and B

D. Neither Technician A nor B

5 0
1 year ago
In some states, repair shops can accept used oil from do-it-yourselfers or ____________.
MrMuchimi

Answer:

C. Homeowners

Explanation:

I just took my automotive pollution prevention certification and passed by answering homeowners for this question.

7 0
3 years ago
A precision miling machince wighing 1000lb is supported on a rubber mount. The force deflection relationship of the rubber mount
Alisiya [41]

Answer:

0.2846 in

Explanation:

The static equilibrium position of the rubber mount ( x^*), under the weight of the milling machine,  can be determined from:

1000=3500(x^*)+ 55(x^*)^3\\\\55(x^*)^3+ 3500x^*-1000=0\\\\Solving\ for\ the\ roots\ using \ a \ calculator\ or\ matlab\ gives:\\ \\x^*_1=0.28535\\x^*_2=-0.14267+7.89107i\\x^*_3=-0.14267-7.89107i\\\\We\ are\ using\ the \ real\ root\ which\ is\ x^*_1=0.28535\\

k=\frac{dF}{dx}|_{x^*}\\ \\k=\frac{d}{dx}(3500x+55x^3)|_{x^*}\\\\k=3500+165x^2|_{x^*}\\\\k=3500+165(x^*)^2\\\\k=3500+165(0.28535)^2=3513.435\ lb/in

The static equilibrium position is at:

x=\frac{F}{k}=\frac{1000}{3513.435}  =0.2846\ in

8 0
3 years ago
Other questions:
  • A well-insulated, rigid tank, having a volume of 2 m3 , contains saturated water vapor at 120 ◦C. The water is stirred until the
    13·1 answer
  • Question about transformers and generators
    5·1 answer
  • Looking at the response vehicles (pictured above), explain two options you have in order to abide by the Move
    8·1 answer
  • 1. An air standard cycle is executed within a closed piston-cylinder system and consists of three processes as follows:1-2 = con
    5·1 answer
  • A gas at 1650C and 0.96 atm enters a plug flow reactor that converts 91% of the material. What is the amount of gas (in units of
    5·1 answer
  • Q.17) A 50-acre catchment containing cropland is converted ot a Qatar mail
    13·1 answer
  • A(n)_____ is a device that provides the power and motion to manipulate the moving parts of a valve or damper used to control flu
    9·1 answer
  • Madison how do you do this
    10·2 answers
  • Would anyone be able to tell me what this is? it's for a water pump​
    13·1 answer
  • Which number of pounds of grapes and total cost of the grapes could be used as the missing values in the table
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!