Skip to main content

Gauss 3-point: sin x³ + cos x²

Short answer

Map [0,1.4] to [-1,1] with x = 0.7t+0.7, dx = 0.7 dt. At nodes t = -0.7746, 0, 0.7746, function values are 1.0036, 1.2186, 0.9684; weighted sum 2.1788. Multiply by 0.7 to get I ≈ 1.5252.

Evaluate ∫ from 0 to 1.4 of (sin x³ + cos x²) dx using Gaussian 3-point formula.

The 3-point Gauss–Legendre formula works on [−1, 1]:

∫₋₁¹ g(t) dt ≈ (5/9)·g(−√0.6) + (8/9)·g(0) + (5/9)·g(√0.6), √0.6 = 0.774597

Change of limits

For ∫ₐᵇ f(x) dx put x = (b−a)/2·t + (b+a)/2. Here a = 0, b = 1.4, so

x = 0.700000·t + 0.700000,     dx = 0.700000 dt
∫ f(x) dx = 0.700000 ∫₋₁¹ f(0.700000t + 0.700000) dt

Nodes and function values

tx = 0.7000t + 0.7000f(x)weight ww·f(x)
-0.7745970.1577821.0036185/90.557566
0.0000000.7000001.2186478/91.083242
0.7745971.2422180.9683995/90.538000
I ≈ 0.700000 × [ 2.178807 ] = 1.5252

Answer: I ≈ 1.5252

✓ Answer checked by Claude Opus 5.5 (high effort)

All Numerical Method chapter 5 questions →