Use matlab to create a program that allows you to see how many spheres it will take to fill a rectangular prism.
1.) Create variables for prism length, prism width, prism height, and sphere diameter. These should be values that are input by the user using the matlab input function.
2.) Create a variable which is assigned volume of the rectangular prism.
3.) Create a variable which is assigned volume of the spheres.
4.) Using the most efficient packing possible (assume 74% of the available space is filled by the spheres), find the number of spheres which will fit inside the prism.
Assume that the volume of the prism will be much larger than the volume of the spheres.