Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 1197. Numerical Integration

Created by Tomasz

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).

Problem Group

Solution Statistics

17 correct solutions 33 incorrect solutions
Last solution submitted on Oct 17, 2014