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.17% Correct | 84.83% Incorrect
Last Solution submitted on May 09, 2025

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Problem Recent Solvers79

Suggested Problems

More from this Author7

Community Treasure Hunt

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

Start Hunting!
Go to top of page