[go: up one dir, main page]

0% found this document useful (0 votes)
9 views3 pages

Activity 4 Maceda

The document is an activity sheet for a Numerical Solutions course, detailing various problems related to finding roots of nonlinear equations using different methods such as incremental search, bisection, false position, and Newton-Raphson. Each problem includes specific instructions for solving and requires tabular presentations of results. The submission date is April 2, 2025, and it is assigned to a student named Josephine S. Maceda.

Uploaded by

jomaceda1008
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views3 pages

Activity 4 Maceda

The document is an activity sheet for a Numerical Solutions course, detailing various problems related to finding roots of nonlinear equations using different methods such as incremental search, bisection, false position, and Newton-Raphson. Each problem includes specific instructions for solving and requires tabular presentations of results. The submission date is April 2, 2025, and it is assigned to a student named Josephine S. Maceda.

Uploaded by

jomaceda1008
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

ACTIVITY SHEET NO.

4 Topic: Roots of Nonlinear Equations

SUBJECT: CE 323- Numerical Solutions to CE Problems DATE SUBMITTED: April 2, 2025

Name: Josephine S. Maceda Program/ Year/ Section: BSCE 3 - A

Instructor’s Name: Engr. John Rogel Ursua Score:

Solve the following problems and write your solutions on a separate sheet of paper. Each problem is worth five (5) points.

1. Find the root of the following nonlinear equation using the incremental search

method: f(x) = x3 + 4x2 – 10. Present in tabular form.

1 -5 1.3 -1.043 1.36 -0.086144


1.1 -3.829 1.31 -0.887509 1.361 -0.069707119
1.2 -2.512 1.32 -0.730432 1.362 -0.053254072
1.3 -1.043 1.33 -0.571763 1.363 -0.036784853
1.4 0.584 1.34 -0.411496 1.364 -0.020299456
1.35 -0.249625 1.365 -0.003797875
1.36 -0.086144 1.366 0.012719896
1.37 0.078953 1.367 0.029253863
1.38 0.245672 1.368 0.045804032
1.39 0.414019 1.369 0.062370409
1.4 0.584 1.37 0.078953

2. Solve the transcendental equation ex − 3x = 0.


2.1 Graph the equation and find the interval.
2.2 Find the root of ex – 3x = 0 using bisection method. Perform 15 iterations.

0 1 0.5 1 0.148721271 0.851278729


0.5 1 0.75 0.148721271 -0.132999984 0.281721254
0.5 0.75 0.625 0.148721271 -0.006754043 0.155475313
0.5 0.625 0.5625 0.148721271 0.067554657 0.081166614
0.5625 0.625 0.59375 0.067554657 0.029516072 0.038038585
0.59375 0.625 0.609375 0.029516072 0.011156488 0.018359584
0.609375 0.625 0.6171875 0.011156488 0.002144652 0.009011836
0.6171875 0.625 0.62109375 0.002144652 -0.002318893 0.004463545
0.6171875 0.62109375 0.619140625 0.002144652 -9.06634E-05 0.002235315
0.6171875 0.619140625 0.618164063 0.002144652 0.001026109 0.001118542
0.618164063 0.619140625 0.618652344 0.001026109 0.000467502 0.000558608
0.618652344 0.619140625 0.618896484 0.000467502 0.000188364 0.000279138
0.618896484 0.619140625 0.619018555 0.000188364 4.88364E-05 0.000139527
0.619018555 0.619140625 0.61907959 4.88364E-05 -2.0917E-05 6.97533E-05
0.619018555 0.61907959 0.619049072 4.88364E-05 1.39588E-05 3.48775E-05
3. Find the solution of the equation 8 – 4.5(x – sin x) = 0 by using Bisection method. Perform 10 iterations.

2 3 2.5 3.091838421 -0.556875352


2 2.5 2.25 3.091838421 1.376329386
2.25 2.5 2.375 1.376329386 0.434082644
2.375 2.5 2.4375 0.434082644 -0.055708672
2.375 2.4375 2.40625 0.434082644 0.190660883
2.40625 2.4375 2.421875 0.190660883 0.067838192
2.421875 2.4375 2.4296875 0.067838192 0.006154474
2.4296875 2.4375 2.43359375 0.006154474 -0.024754772
2.4296875 2.43359375 2.431640625 0.006154474 -0.009294555
2.4296875 2.431640625 2.430664063 0.006154474 -0.00156864

4. Find a root of an equation f(x) = x3 – x – 1 using False Position method. Perform 10 iterations.
x 0 1 2
f(x) -1 -1 5 sign change @ x = 2

1st Iteration 1(5) − 2(−1) = 1.1667 f(1.1667) = -0.5787


5 − (−1)

1.1667(5) − 2(−0.5787)
2nd Iteration = 1.2531 f(1.2531) = -0.28525
5 − (−0.5787)

1.2531(5) − 2(−0.28525)
3rd Iteration = 1.2934 f(1.2934) = -0.1296
5 − (−0.28525)

1.2934(5) −2(−0.1296)
4th Iteration = 1.31125 f(1.31125) = -0.0567
5 − (−0.1296)

1.31125(5) − 2(−0.0567)
5th Iteration = 1.31897 f(1.31897) = -0.02437
5 − (−0.0567)

1.31897(5) − 2(−0.02437)
6th Iteration = 1.32227 f(1.32227) = -0.0104
5 − (−0.02437

1.32227(5) − 2(−0.0104)
7th Iteration = 1.32367 f(1.32367) = -0.0044
5 − (−0.0104)

1.32367(5) − 2(−0.0044)
8th Iteration = 1.32426 f(1.32426) = -0.0019
5 − (−0.0044)

1.32426(5) − 2(−0.0019)
9th Iteration = 1.32452 f(1.32452) = -0.000858
5 − (−0.0019)

1.32452(5) − 2(−0.000858)
10th Iteration 5 − (−0.000858)
= 1.32464
5. Solve the equation −3x + cos x + 1 = 0 using Newton-Raphson method, starting with the initial guess x0 = 0.8, until the result is accurate to five decimal places.
Perform three iterations.
𝑓 (𝑥 )
y = x0 - 𝑓′(𝑥)

f(x) = -3x + cos x +1


f’(x) = -3 - sin x

The root lies between (0,1)

x 0 1
f(x) 2 -1

1st Iteration

−3(0.8) + 𝑐𝑜𝑠 ((0.8)(180/π)) + 1


0.8 - −3 − 𝑠𝑖𝑛 ((0.8)(180/π))
= 0.61081

2nd Iteration

−3(0.61081) + 𝑐𝑜𝑠 ((0.61081)(180/π)) + 1


0.61081 - = 0.607103
−3 − 𝑠𝑖𝑛 ((0.61081)(180/π))

3rd Iteration

−3(0.607103) + 𝑐𝑜𝑠 ((0.607103)(180/π)) + 1


0.607103 - = 0.607102 = 0.6071
−3 − 𝑠𝑖𝑛 ((0.607103)(180/π))

You might also like