I need help with my assignment, I did half of it from 1 to 5, and need the solution with clear comments for 6-9, and 10 if possible!
Attachment 1
Attachment 2
%9%Module 4: Use the histogram function to display the distribution of intensitiesin the entire figure%Request that the function create 50 bins.function Histogram(rawimage)figure…