Question

In: Advanced Math

   Assignment ID is p1 NOTE: Algebraic expressions follow FORTRAN conventions. Use full calculator precision for...

   Assignment ID is p1

NOTE: Algebraic expressions follow FORTRAN conventions.
Use full calculator precision for intermediate values.


Use the bisection method with the function defined by:

A=(X + 1.62) / 5.39
B=(X - 3.77) / 5.39
P1=((A-1)**2)*(1+2*A)
P2=((B+1)**2)*(1-2*B)
F(X) = (P1 * (-1.24) ) + (P2 * 4.13)

Start with interval (Xleft,Xright) = (-1.62, 3.77)
The function values at these end points are
F(Xleft) = -1.24
F(Xright) = 4.13

The new approximation interval bracketing the root
after ONE bisection is (______1______,______2______).
Function values at these end points are: ______3______, and 1.445

The new approximation interval bracketing the root
after ONE MORE bisection is (______4______,______5______).
Function values at these end points are: -0.400937 and ______6______.

The new approximation interval bracketing the root
after ONE MORE bisection is (______7______,______8______).

If Xmid satisfies the convergence criterior |f(Xmid)|<=0.00001,
then the root Xmid is ______9______.

ANSWER SECTION:
SELECTIONS FOR BLANK NUMBER 1
(a) 0.73
(b) 1.075
(c) -1.62
(d) -0.21
(e) -0.68
SELECTIONS FOR BLANK NUMBER 2
(a) 1.075
(b) 3.77
(c) -0.235
(d) -0.895
(e) -1.62
SELECTIONS FOR BLANK NUMBER 3
(a) 1.445
(b) -3.23
(c) -1.24
(d) -3.89
(e) 2.07
SELECTIONS FOR BLANK NUMBER 4
(a) 1.075
(b) -0.2725
(c) -2.3525
(d) 1.3875
(e) -1.1025
SELECTIONS FOR BLANK NUMBER 5
(a) 3.525
(b) 2.4225
(c) -0.2725
(d) -0.145
(e) 1.075
SELECTIONS FOR BLANK NUMBER 6
(a) 1.445
(b) 3.29094
(c) 0.575
(d) -0.745
(e) -0.400937
SELECTIONS FOR BLANK NUMBER 7
(a) 1.075
(b) 0.40125
(c) 1.2775
(d) 0.6575
(e) -0.2725
SELECTIONS FOR BLANK NUMBER 8
(a) -1.41875
(b) 1.74875
(c) 0.40125
(d) 2.68125
(e) -0.2725
SELECTIONS FOR BLANK NUMBER 9
(a) 1.8501
(b) 1.4001
(c) 1.74875
(d) -0.829902
(e) 0.0600983

Solutions

Expert Solution

Given,

A=(X + 1.62) / 5.39
B=(X - 3.77) / 5.39
P1=((A-1)**2)*(1+2*A)
P2=((B+1)**2)*(1-2*B)
F(X) = (P1 * (-1.24) ) + (P2 * 4.13)

As, we know in FORTRAN notation ' ** ' implies exponentiation operator, Thus we can re-write the given equations
as,
A=(X + 1.62) / 5.39
B=(X - 3.77) / 5.39
P1=((A-1)^2)*(1+2*A)
P2=((B+1)^2)*(1-2*B)
F(X) = (P1 * (-1.24) ) + (P2 * 4.13)

By re-writing the equations P1 and P2 , i.e., by substituting A,B in P1 and P2 respectively, we obtain,

Now by substituting these P1 and P2 in F(X) we obtain the equation:

Thus Start with interval (Xleft,Xright) = (-1.62, 3.77)
The function values at these end points are
F(Xleft) = -1.24 (Given), which can be checked by substituting X=-1.62 in F(X), i.e, F(-1.62)= -1.24
F(Xright) = 4.13 (Given), which can be checked by substituting X=3.77 in F(X), i.e, F(3.77)= 4.13
Thus we can observe that F(X) is an increasing function, and the solution for F(X)=0 lies in the given starting interval (-1.62, 3.77) for sure.

If we bisect the given initial interval (Xleft,Xright)=(-1.62, 3.77), into two bisections, First part is (Xleft,X1)=(-1.62,1.075) and the other part is (X1,Xright)=(1.075,3.77).
If we find the F(X) value at X1=1.075, i.e., the bisecting point,
F(X1)=F(1.075)=1.445, thus making clear that solution for F(X)=0 lies in the first bisection (Xleft,X1)=(-1.62,1.075).
Thus,The new approximation interval bracketing the root after ONE bisection is (-1.62,1.075)
Function values at these end points are: -1.24 and 1.445

Now again if we bisect our new interval (Xleft,Xright)=(-1.62,1.075) into two bisections, we get First part as (Xleft,X2)=(-1.62,-0.2725) and the other part is (X2,X1)=(-0.2725,1.075).
If we find the F(X) value at X2=-0.2725, i.e., the bisecting point,
F(X2)=F(-0.2725)=-0.4009375, thus making clear that solution for F(X)=0 lies in the second bisection of this iteration (X2,X1)=(-0.2725,1.075).
Thus,The new approximation interval bracketing the root after ONE MORE bisection is (-0.2725,1.075)
Function values at these end points are: -0.4009375 and 1.445

Now again if we bisect our new interval (X2,X1)=(-0.2725,1.075) into two bisections, we get First part as (X2,X3)=(-0.2725,0.40125) and the other part is (X3,X1)=(0.40125,1.075).
If we find the F(X) value at X3=0.40125, i.e., the bisecting point,
F(X3)=F(0.40125)=0.4591015625, thus making clear that solution for F(X)=0 lies in the first bisection of this iteration (X2,X3)=(-0.2725,0.40125).
Thus,The new approximation interval bracketing the root after ONE MORE bisection is (-0.2725,0.40125)
Function values at these end points are: -0.4009375 and 0.4591015625

Thus if we go on bisecting the intervals on iterations we get as follows,
Next bisection: (-0.2725,0.064375)
Next bisection: (-0.1040625,0.064375)
Next bisection: (-0.01984375,0.064375)
Next bisection:(0.0222656225,0.064375)
Next bisection:(0.0433203125,0.064375)
Thus keeping on iterating increases the accuracy, and if we observe the last bisection we can understand that the solution for F(X)=0 lies in (0.0433203125,0.064375). Precise MATLAB code gave the answer of X=0.060102443099022 such that F(X)=0, From options for question.9 we can understand that only 0.0600983 lies in our interval and is closest to the derived answer.

SELECTIONS FOR BLANK NUMBER 1: (c) -1.62
SELECTIONS FOR BLANK NUMBER 2: (a) 1.075
SELECTIONS FOR BLANK NUMBER 3: (c) -1.24
SELECTIONS FOR BLANK NUMBER 4: (b) -0.2725
SELECTIONS FOR BLANK NUMBER 5: (e) 1.075
SELECTIONS FOR BLANK NUMBER 6: (a) 1.445
SELECTIONS FOR BLANK NUMBER 7: (e) -0.2725
SELECTIONS FOR BLANK NUMBER 8: (c) 0.40125
SELECTIONS FOR BLANK NUMBER 9: (e) 0.0600983


Related Solutions

BUSD 1013 – Introduction to Management – Assignment Template Name: Student ID: Note: see assignment description...
BUSD 1013 – Introduction to Management – Assignment Template Name: Student ID: Note: see assignment description in Moodle – sections 9,10 should be a maximum of 2 pages Section 9: Operations plan Reference course materials – Key Items to Consider How will I ensure we have efficient operations to maximize our resources and keep costs competitive? How will I ensure customers find it easy to do business with my company (from learning about us, booking orders, scheduling, using our services...
This assignment will acquaint you with the use of while loops and boolean expressions. You will...
This assignment will acquaint you with the use of while loops and boolean expressions. You will create a program that acts as a score keeper of a racquet ball game between two players. The program will continually ask the user who the winner of every point is as the game is played. It will maintain the scores and declare the match is over, using these rules: (1) A game is over when a. one of the players wins 7 points...
In this assignment, we will explore some simple expressions and evaluate them. We will use an...
In this assignment, we will explore some simple expressions and evaluate them. We will use an unconventional approach and severely limit the expressions. The focus will be on operator precedence. The only operators we support are logical or (|), logical and (&), less than (<), equal to (=), greater than (>), add (+), subtract (-), multiply (*) and divide (/). Each has a precedence level from 1 to 5 where higher precedence operators are evaluated first, from left-to-right. For example,...
Elementary statistics – Final assignment – Part two NOTE : Don’t use p-value for your decision...
Elementary statistics – Final assignment – Part two NOTE : Don’t use p-value for your decision in hypothesis testing problem Q2: a) You are interested in the average emergency room (ER) wait time at your local hospital. You take a random sample of 50 patients who visit the ER over the past week. From this sample, the mean wait time was 30 minutes and the standard deviation was 20 minutes. Find a 95% confidence interval for the average ER wait...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT