Computers and Technology
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

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 16:00, eden1017
Why should characters such as / \ " ' * ; - ? [ ] ( ) ~ ! $ { } < > # @ & | space, tab, and newline be avoided in file names?
Answers: 2
image
Computers and Technology, 22.06.2019 19:20, ChaosMind
Write a program that reads a file consisting of students’ test scores in the range 0–200. it should then determine the number of students having scores in each of the following ranges: 0–24, 25–49, 50–74, 75–99, 100–124, 125–149, 150–174, and 175–200. output the score ranges and the number of students. (run your program with the following input data: 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 149, 176, 200, 87, 35, 157, 189.)
Answers: 3
image
Computers and Technology, 22.06.2019 23:30, elizabethburkha
Which text format is this, "the text is transcribed exactly as it sounds and includes all the utterances of the speakers. "?
Answers: 2
image
Computers and Technology, 23.06.2019 17:00, osirisarellane3792
*! 20 points! *jeff wants to create a website with interactive and dynamic content. which programming language will he use? a. dhtml b. html c. css d. javascript
Answers: 1
Do you know the correct answer?
One numerical method for calculating the cubic root of a number √3 P is in iterations. The process s...

Questions in other subjects:

Konu
Mathematics, 16.10.2020 01:01
Konu
Physics, 16.10.2020 01:01
Konu
Mathematics, 16.10.2020 01:01