How to find the length of a Parabola
2 views (last 30 days)
Show older comments
Hi there, How do I find the length of the parabola given by this equation? Equation: y = 1/20x^2 -5.
Thank you for your help.
1 Comment
Accepted Answer
KSSV
on 10 Sep 2020
x = linspace(-10,+10,10^3) ;
y = 1/20*x.^2 -5 ;
dx = diff(x) ;
dy = diff(y) ;
L = sum(sqrt(dx.^2+dy.^2) );
0 Comments
More Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!