An electron gun produces particles with specified rates and random velocities and direction, some of them collide with upper plate that its position and size are defined. This program simulate this process and shows what percent of particles collide with the plate and also show the distribution of particles on plate.
Another 3rd-world homework with an obligatory 'clear all'. I hope that the author got an 'A', but he should have put in way more work - including spell-checking 'Montcarllo' - before submitting this to FEX.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.