finding lengths of an ellipse
Afficher commentaires plus anciens
I have to find the lengths of an ellipse which is given by y = cost and x = 5 sint. Evaluate the length from t1=0 to the following points,
t2=[0.5,1,1.5,2,2.5,3,3.5,4,4.5,5,5.5,6]. Have to use one of the methods, trapezoidal, midpoint or simpson's to two digit accuracy. How do i write a script from 0 to 0.5, 0 to 1, 0 to 1.5 etc ( from 0 to each point) to get 12 values for the lengths.
2 commentaires
David Wilson
le 18 Avr 2019
See one of the many solutions, such as:
By the way, are you sure you have your parametric equation the right way around? It is typical to have it
, that is the sine is connected to y, and the cosine with x. Nothing wrong with your specification, just unusual.
, that is the sine is connected to y, and the cosine with x. Nothing wrong with your specification, just unusual.
PB
le 18 Avr 2019
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
