Write a program that generates and displays 100 random vectors that are uniformly distributed within the ellipse

Question:

Write a program that generates and displays 100 random vectors that are uniformly distributed within the ellipse

\[ 5 x^{2}+21 x y+25 y^{2}=9 \]

[Hint: Consider generating uniformly distributed samples within the circle of radius 3 and use the fact that linear transformations preserve uniformity to transform the circle to the given ellipse.]

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Data Science And Machine Learning Mathematical And Statistical Methods

ISBN: 9781118710852

1st Edition

Authors: Dirk P. Kroese, Thomas Taimre, Radislav Vaisman, Zdravko Botev

Question Posted: