hi i need to plot a circle and plot another inside it.particles are randomly distributed in space of the axis.the radius of the inside circle is 'r'.the gap between the outside and inside circle is 'ϵ' and the area of the gap is 's'.now i need to find out the percentage of particles in 'ϵ' and calculate the value of 'π' using the formula ϵ/s=2πr using hit and miss monte carlo method.pls help.

 채택된 답변

KSSV
KSSV 2016년 10월 10일

1 개 추천

YOu may refer the link:
doing the above in concentric circles is straight forward.

댓글 수: 1

ins
ins 2016년 10월 11일
hi, thank you very much for taking time to reply for my question.very much useful for me in understanding the coding.have a nice day!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

질문:

ins
2016년 10월 10일

댓글:

ins
2016년 10월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by