subject
Computers and Technology, 30.03.2020 23:32 syed13

One numerical method for calculating the cubic root of a number √3 P is in iterations. The process starts by choosing a value x1 as a first estimate of the solution. Using this value, a second more accurate value x2 can be calculated with x2 = (P/x 2 1 + 2x1) /3 , which is then used for calcuating a third, still more accurate value x3, and so on. The general equation for calcuating the value of xi+1 from the value of xi is the xi+1 = P/x2 i + 2xi /3. Write a MATLAB program that calculates the cubic root of a number. In the program use x1 = P for the first estimate of the solution. Then, by using the general equation in a loop, calculate new, more accurate values. Stop the looping when the estimated relative error E defined by E = xi+1βˆ’xi xi is smaller than 0.00001. Use the program to calculate: (a) √3 100 (b) √3 53701 (c) √3 19.35

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:50
Click on this link toopens a new window. bring up a flowchart in a new browser window. based on this flowchart, would a d-link 3347 gateway with an xbox 360 multiplayer problem be in scope or out of scope
Answers: 2
question
Computers and Technology, 22.06.2019 04:40
Amain idea is supported, explained, or expanded on with a numbers b. a concluding statement c. details d. a topic sentence. im e paragraphs reset nex next
Answers: 2
question
Computers and Technology, 22.06.2019 07:20
Write a pseudocode solution for each of these problems. 1. design a while loop that lets that user enter a number. the number should be multiplied by 10, and the result stored in a variable named product. the loop should iterate as long as product contains a value less than 100. 2. design a do-while loop that asks the user to enter two numbers. the numbers should be added and the sum displayed. the loop should ask the user whether he or she wishes to perform the operation again. if so, the loop should repeat; otherwise it should terminate. 3. design a for loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 100. 4. design a nested loop that displays 10 rows of # characters. there should be 15 # characters in each row. 5. convert this for loop to a while loop. declare integer count for count = 1 to 50 display count end for 6. find the error in the following pseudocode. declare boolean finished = false declare integer value, cube while not finished display β€œenter a value to be cubed.” input value; set cube = value ^ 3 display value, β€œ cubed is β€œ, cube end while
Answers: 2
question
Computers and Technology, 22.06.2019 14:40
You begin your first day of responsibilities by examining the recent is security breach at gearup to get ideas for safeguards you will take. at gearup, criminals accessed the company's improperly-secured wireless system and stole customers' credit card information as well as employee social security numbers. what kind of computer crime did gearup face?
Answers: 3
You know the right answer?
One numerical method for calculating the cubic root of a number √3 P is in iterations. The process s...
Questions
question
Mathematics, 30.01.2021 03:10
question
Mathematics, 30.01.2021 03:10
question
Mathematics, 30.01.2021 03:10
question
Mathematics, 30.01.2021 03:10
question
Mathematics, 30.01.2021 03:10
question
Mathematics, 30.01.2021 03:10
question
Mathematics, 30.01.2021 03:10
Questions on the website: 13722362