Anda di halaman 1dari 5

Engr. Dan Carlo C.

Mendoza Numerical Methods Roots of Equations

Solution :

For [ 0 < x < 3 ]


From the right side, take moment about x :

𝟓𝟎 𝟑
𝒇(𝒙) = 𝟐𝟔𝟓𝒙 − 𝒙
𝟗
Using Bisection Method.

xl xu f(xl) f(xu) xr f(xr) f(xl) f(xr) Error Status


0 3 0 645 1.5 378.75 0.00 100.0000% Stop Operation
f(xl) x f(xr) = 0.

For [ 3 < x < 6 ]


From the right side, take moment about x :

𝒇(𝒙) = −𝟓𝟎𝒙𝟐 + 𝟒𝟏𝟓𝒙 − 𝟏𝟓𝟎


Using Bisection Method.

xl xu f(xl) f(xu) xr f(xr) f(xl) f(xr) Error Status


3 6 645 540 4.5 705 454725.00 33.3333% Continue
4.5 6 705 540 5.25 650.625 458690.63 14.2857% Continue
5.25 6 650.625 540 5.625 602.3438 391899.90 6.6667% Continue
5.625 6 602.3438 540 5.8125 572.9297 345100.62 3.2258% Continue
5.8125 6 572.9297 540 5.90625 556.9043 319067.00 1.5873% Continue
5.90625 6 556.9043 540 5.953125 548.562 305496.54 0.7874% Continue
5.953125 6 548.562 540 5.976563 544.3085 298586.95 0.3922% Stop Operations
Engr. Dan Carlo C. Mendoza Numerical Methods Roots of Equations

 |𝛆𝐚 | < 𝛆𝐬
 |𝟎. 𝟑𝟗𝟐𝟐%| < 𝟎. 𝟓%
BUT MOMENT IS TOO LARGE !

For [ 6 < x < 10 ]


From the right side, take moment about x :

𝒇(𝒙) = 𝟏𝟔𝟓𝟎 − 𝟏𝟖𝟓 𝒙

xl xu f(xl) f(xu) xr f(xr) f(xl) f(xr) Error Status


6 10 540 -200 8 170 91800 25.0000% Continue
8 10 170 -200 9 -15 -2550 11.1111% Continue
8 9 170 -15 8.5 77.5 13175 5.8824% Continue
8.5 9 77.5 -15 8.75 31.25 2421.875 2.8571% Continue
8.75 9 31.25 -15 8.875 8.125 253.90625 1.4085% Continue
8.875 9 8.125 -15 8.9375 -3.4375 -27.9296875 0.6993% Continue
8.875 8.9375 8.125 -3.4375 8.90625 2.34375 19.04296875 0.3509% Stop Operations

 |𝛆𝐚 | < 𝛆𝐬
 |𝟎. 𝟑𝟎𝟓𝟗%| < 𝟎. 𝟓%
𝑨𝒏𝒔𝒘𝒆𝒓 ∴ 𝑷𝒐𝒔𝒊𝒕𝒊𝒐𝒏 𝑿𝒓 = 𝟖. 𝟗𝟎𝟔𝟐𝟓 m from the left of the beam.

𝒈𝒙 𝒄
𝒕
𝒇(𝒙) = 𝟏−𝒆 𝒙 − 𝟑𝟓
𝒄
𝒇(𝒙𝒖 )(𝒙𝒍 − 𝒙𝒖 )
𝒙𝒓 = 𝒙𝒖 −
𝒇(𝒙𝒍 ) − 𝒇(𝒙𝒖 )
Engr. Dan Carlo C. Mendoza Numerical Methods Roots of Equations

xl xu f(xl) f(xu) xr f(xr) f(xl) f(xr) Error Status


20.000 70.000 -21.949 4.086 62.153 0.980 -21.507 12.62% Continue
20.000 62.153 -21.949 0.980 60.352 0.219 -4.808 2.98% Continue
20.000 60.352 -21.949 0.219 59.953 0.048 -1.057 0.67% Continue
20.000 59.953 -21.949 0.048 59.866 0.011 -0.231 0.15% Continue
20.000 59.866 -21.949 0.011 59.846 0.002 -0.051 0.03% Stop Operations

 |𝛆𝐚 | < 𝛆𝐬
 |𝟎. 𝟎𝟑%| < 𝟎. 𝟏𝟎%
𝑨𝒏𝒔𝒘𝒆𝒓 ∴ 𝑴𝒂𝒔𝒔 𝑿𝒓 = 𝟓𝟗. 𝟖𝟒𝟔 𝒌𝒈

𝒈𝒎 𝒙
𝒕
𝒇(𝒙) = 𝟏−𝒆 𝒎 − 𝟑𝟔
𝒙
𝒙𝒍 + 𝒙𝒖
𝒙𝒓 =
𝟐
xl xu f(xl) f(xu) xr f(xr) f(xl) f(xr) Error Status
0.1000 0.2000 3.1022 3.0047 0.1500 3.0534 9.4720 33.33% Continue
0.1500 0.2000 3.0534 3.0047 0.1750 3.0290 9.2486 14.29% Continue
0.1750 0.2000 3.0290 3.0047 0.1875 3.0168 9.1380 6.67% Continue
0.1875 0.2000 3.0168 3.0047 0.1938 3.0107 9.0829 3.23% Continue
0.1938 0.2000 3.0107 3.0047 0.1969 3.0077 9.0554 1.59% Stop Operations

 |𝛆𝐚 | < 𝛆𝐬
 |𝟏. 𝟓𝟗%| < 𝟐. 𝟎%
𝑨𝒏𝒔𝒘𝒆𝒓 ∴ 𝑫𝒓𝒂𝒈 𝑪𝒐𝒆𝒇𝒇𝒊𝒄𝒊𝒆𝒏𝒕 𝑿𝒓 = 𝟏. 𝟏𝟗𝟔𝟗 𝒌𝒈/𝒔
Engr. Dan Carlo C. Mendoza Numerical Methods Roots of Equations

a.) Using False-Position Method


𝒇(𝒙𝒖 )(𝒙𝒍 𝒙𝒖 ) 𝝅𝒙𝟐 (𝟑𝑹 𝒙)
𝒙𝒓 = 𝒙𝒖 − 𝒇(𝒙) =
𝒇(𝒙𝒍 ) 𝒇(𝒙𝒖 ) 𝟑

xl xu f(xl) f(xu) xr f(xr) f(xl) f(xr) Error Status


0.000 3.000 -30.000 26.549 1.59155 -10.348 310.454 46.95% Continue
1.592 3.000 -10.348 26.549 1.98658 -1.015 10.507 19.88% Continue
1.987 3.000 -1.015 26.549 2.02390 -0.076 0.077 1.84% Continue
2.024 3.000 -0.076 26.549 2.02669 -0.006 0.000 0.14% Continue
2.027 3.000 -0.006 26.549 2.02689 0.000 0.000 0.01% Stop Operations

 |𝛆𝐚 | < 𝛆𝐬
 |𝟎. 𝟎𝟏%| < 𝟎. 𝟏𝟎%
𝑨𝒏𝒔𝒘𝒆𝒓 ∴ 𝑫𝒆𝒑𝒕𝒉 𝑿𝒓 = 𝟐. 𝟎𝟐𝟔𝟖𝟗 𝒎
Engr. Dan Carlo C. Mendoza Numerical Methods Roots of Equations

b.) Using Bisection Method

𝝅𝒙𝟐 (𝟑𝑹 − 𝒙)
𝒇(𝒙) =
𝟑
𝒙𝒍 + 𝒙𝒖
𝒙𝒓 =
𝟐
xl xu f(xl) f(xu) xr f(xr) f(xl) f(xr) Error Status
0.000 3.000 -30.000 26.549 1.50000 -12.329 369.856 100.00% Continue
1.500 3.000 -12.329 26.549 2.25000 5.785 -71.317 33.33% Continue
1.500 2.250 -12.329 5.785 1.87500 -3.769 46.465 20.00% Continue
1.875 2.250 -3.769 5.785 2.06250 0.904 -3.408 9.09% Continue
1.875 2.063 -3.769 0.904 1.96875 -1.461 5.506 4.76% Continue
1.969 2.063 -1.461 0.904 2.01563 -0.285 0.416 2.33% Continue
2.016 2.063 -0.285 0.904 2.03906 0.308 -0.088 1.15% Continue
2.016 2.039 -0.285 0.308 2.02734 0.011 -0.003 0.58% Continue
2.016 2.027 -0.285 0.011 2.02148 -0.137 0.039 0.29% Continue
2.021 2.027 -0.137 0.011 2.02441 -0.063 0.009 0.14% Continue
2.024 2.027 -0.063 0.011 2.02588 -0.026 0.002 0.07% Stop Operations

 |𝛆𝐚 | < 𝛆𝐬
 |𝟎. 𝟎𝟕%| < 𝟎. 𝟏𝟎%
𝑨𝒏𝒔𝒘𝒆𝒓 ∴ 𝑫𝒆𝒑𝒕𝒉 𝑿𝒓 = 𝟐. 𝟎𝟐𝟓𝟖𝟖 𝒎

Anda mungkin juga menyukai