Vous êtes sur la page 1sur 2

1.

Write a program to evaluate approximately, by Trapezoidal rule, the integral value of


1

( 4x - 3x ) dx is 0.995 (taking up to 3 places of decimal)



2

2. Write a program to evaluate approximately, by Simpson’s 1/3 rd rule, the integral value of
p
2
sin xdx is 1.000389 (taking up to 6 places of decimal)

0
p
2
3. Write a program to evaluate approximately, by Trapezoidal rule, the integral value of

sin xdx
0

is 0.99829 (taking up to 5 places of decimal)


4. Write a program to evaluate approximately, by Simpson’s 1/3 rd rule, the integral value of
10
1

1+ x
2
dx is 1.29961 (taking up to 5 places of decimal)
10
1
5. Write a program to evaluate approximately, by Trapezoidal rule, the integral value of �
1+ x
2
dx

is 1.30775 (taking up to 5 places of decimal)


6. Write a program to evaluate approximately, by Simpson’s 1/3 rd rule, the integral value of
1


cos xdx is 0.839 (taking up to 3 places of decimal)
0
2
1
rd
7. Write a program to evaluate approximately, by Simpson’s 1/3 rule, the integral value of �
x
1
dx

is 0.69326 (taking up to 5 places of decimal)


2
1
8. Write a program to evaluate approximately, by Trapezoidal rule, the integral value of �
x
1
dx is

0.69702 (taking up to 5 places of decimal)


9. Write a program to evaluate approximately, by Simpson’s 1/3 rd rule, the integral value of
1
1

1+ x
0
dx is 0.78539 (taking up to 5 places of decimal)
2

10. Write a program to evaluate approximately, by Simpson’s 1/3 rd rule, the integral value of
3
1

1+ x
0
dx is 1.3877 (taking up to 4 places of decimal)

11. Write a program to evaluate approximately, by Simpson’s 1/3 rd rule, the integral value of
5


log
1
10 xdx is 1.7574 (taking up to 4 places of decimal)

12. Write a program to evaluate approximately, by Trapezoidal rule, the integral value of
5


log
1
10 xdx is 1.7505 (taking up to 4 places of decimal)
13. Write a program to evaluate approximately, by Simpson’s 1/3 rd rule, the integral value of
p
2

�sin xdx is 1.187 (taking up to 3 places of decimal)


0
14. Write a program to evaluate approximately, by Trapezoidal rule, the integral value of
p
2

�sin xdx is 1.170 (taking up to 3 places of decimal)


0

15. Write a program for finding a real root of non-linear equation e x - 3x = 0 by Newton Raphson
Method. Check if initial guess is 1 then root is 1.430501
16. Write a program for finding a real root of non-linear equation e x = 2x + 1 by Newton Raphson
Method correct to 4 decimal places. Check if initial guess is 1 then root is 1.259059
17. Write a program for finding the value of 12 by Newton Raphson Method. Correct to 3 decimal
places. Check the root is 3.464
18. Write a program for finding a real root of x sin x + cos x = 0 by Newton Raphson Method.
Correct to 5 decimal places. Check if the root is 2.798386
19. Write a program for finding the smallest real root of e x = 4 sin x by Bisection Method. Correct
to 4 decimal places. Check the root is 0.3706
20. Write a program for finding a real root of transcendental equation xx + 2x - 2 = 0 by Bisection
Method. Correct to 2 decimal places. Check the root is 0.63
21. Write a program for finding a real root of equation x2 + 2x - 2 = 0 by Newton Raphson Method
correct to 2 decimal places. Check if initial guess is 1 then root is 0.73
22. Write a program for finding a real root of equation x3 - 8x - 4 = 0 by Newton Raphson Method
correct to 3 decimal places. Check if initial guess is 3 then root is 3.051
23. Write a program for finding a real root of equation xx + 2x - 6 = 0 by Bolzano Method correct
to 2 decimal places. Check the root is 1.72
24. Write a program for finding a real negative root of equation 10 x + sin x + 2x = 0 by Bolzano
Method correct to 3 decimal places. Check the root is -0.207
25. Write a program for finding a root of equation x + ln x - 2 = 0 by Bolzano Method correct to 2
decimal places. Check the root is 1.56
26. Write a program for finding a real root of equation x3 - 3x + 1.06 = 0 by Bolzano Method
correct to 3 decimal places. Check the root is 0.370

Vous aimerez peut-être aussi