Scalar Operations and Order of Operations 2.3 Create MATLAB code to perform the following calculations: 5+3 5.6 V4 +68 (Hint: A square root is the same thing as a 1/2 power.) 9 + 7:53+2 2.4 Figure P2.4(a) 1 + 5.3/6 + 22-1/.1/5.5 Check your code by entering it into MATLAB and performing the all tions on your scientific calculator. (a) The area of a circle is arr. Define ras 5, then find the area of ac using MATLAB (b) The surface area of a sphere is 4r". Find the surface area of a spil with a radius of 10 ft. (e) The volume of a sphere is 4/3r. Find the volume of a sphere w radius of 2 ft. (a) The area of a nu 2.5 Array Operations 2.8 (a) The volume of a cylinder is mrh. Define ras 3 and has the matrix h = [1, 5, 12] Figure P2.8(a) Find the volume of the cylinders (see Figure P2.8(a)). (b) The area of a triangle is 1/2 the length of the base of the triangle, times the height of the triangle. Define the base as the matrix b = [2, 4, 6] Figure P2.8(b) and the height has 12, and find the area of the triangles (see Figure P2.8(b)). (c) The volume of any right prism is the area of the base of the prism, times the vertical dimension of the prism. The base of the prism can be any shape--for example, a circle, a rectangle, or a triangle. Find the volume of the prisms created from the triangles of part (b). As sume that the vertical dimension of these prisms is 6 (see Figure P2.8(c)). base is base is a rectangle base is a triangle a circle Figure P2.8(c) Array Operations 2.8 (a) The volume of a cylinder is mrh. Define ras 3 and has the matrix h = [1, 5, 12] Figure P2.8(a) Find the volume of the cylinders (see Figure P2.8(a)). (b) The area of a triangle is 1/2 the length of the base of the triangle, times the height of the triangle. Define the base as the matrix b = [2, 4, 6] Figure P2.8(b) and the height has 12, and find the area of the triangles (see Figure P2.8(b)). (c) The volume of any right prism is the area of the base of the prism, times the vertical dimension of the prism. The base of the prism can be any shape--for example, a circle, a rectangle, or a triangle. Find the volume of the prisms created from the triangles of part (b). As sume that the vertical dimension of these prisms is 6 (see Figure P2.8(c)). base is base is a rectangle base is a triangle a circle Figure P2.8(c)