Numerical Integration - MATLAB Cody - MATLAB Central

Problem 1197. Numerical Integration

Difficulty:Rate

Input

  • x0, a real number greater than 0

Output

  • I, a numerical estimate of the integral
      x0
      /
  I = |  cosh(x) / sqrt(cosh(x0) - cosh(x)) dx
      /
      0

Example:

   x0=1.0  -->  I = 2.6405789412796

Remarks:

  • Aim at a relative precision better than 1e-10
  • The problem arises studying the frictionless movement of a mass point on a hanging wire, which follows the curve cosh(x).

Solution Stats

15.24% Correct | 84.76% Incorrect
Last Solution submitted on Jan 17, 2025

Problem Comments

Solution Comments

Show comments

Group

Randomness Image
Randomness
  • 11 Problems
  • 19 Finishers

Problem Recent Solvers75

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page