Solving Integral for Cam Follower Friction | MATLAB Help for Simpson's 3/8 Rule

  • Context: MATLAB 
  • Thread starter Thread starter arslan894
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on solving the integral f(x) = ∫e^(1-(x^2)/(b^2))dx with limits from -b to b, specifically for b = 3, using MATLAB. The user encountered an issue with the MATLAB int function indicating that an explicit answer does not exist. They seek guidance on implementing Simpson's 3/8 Rule in MATLAB to approximate the integral, noting that the result can be expressed in terms of the error function, erf(x/b), and specifically erf(1) for the given limits. The user questions the accuracy of MATLAB's erf function compared to numerical integration methods.

PREREQUISITES
  • Understanding of integral calculus, specifically definite integrals.
  • Familiarity with MATLAB programming and its symbolic math toolbox.
  • Knowledge of numerical integration techniques, particularly Simpson's 3/8 Rule.
  • Basic understanding of the error function (erf) and its applications in probability and statistics.
NEXT STEPS
  • Implement Simpson's 3/8 Rule in MATLAB for numerical integration.
  • Explore MATLAB's erf function documentation for accuracy and usage.
  • Learn about numerical integration methods in MATLAB, focusing on quad and integral functions.
  • Study the properties and applications of the error function in mathematical modeling.
USEFUL FOR

Mathematicians, engineers, and MATLAB users involved in modeling friction in mechanical systems, particularly those working with cam follower dynamics and numerical integration techniques.

arslan894
Messages
9
Reaction score
0
i am making a MATLAB model of cam follower interaction for measureing friction but need help with this integral
f(x) = ∫e^(1-(x^2)/(b^2))dx the limits are -b to b , take the value of b = 3
when i used the ( int )function in MATLAB it tells that the explicit answer doesn't exist ,so how to solve this in MATLAB ?
i used simpsons 3 8 rule to find the answer on paper but how to find it in MATLAB ?
 
Physics news on Phys.org

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
18K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K