Question: 1. Create a user-defined function, called Quiz04_LastName_FirstName where LastName and FirstName are replaced by yours. Your user-defined function should generate a table of volumes of

 1. Create a user-defined function, called Quiz04_LastName_FirstName where LastName and FirstName

1. Create a user-defined function, called Quiz04_LastName_FirstName where LastName and FirstName are replaced by yours. Your user-defined function should generate a table of volumes of cylinders, V tr2h, where r and h are defined as radius and height, respectively. The table is essentially a 3x7 matrix whose entries are volumes calculated by every combination of three values of radius and seven values of height. There must be only two inputs to your user-defined function: (1) an array of radius, r, with three values, arbitrarily selected by the user and (2) an array of height, h, with seven values, arbitrarily selected by the user. The only output is the table, named volCylinders. The user-defined function must work whether the user enters row arrays of r and h or column arrays of r and h

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!