Problem 3-This function will compute the wetted (surface) area and the volume of
ID: 3874578 • Letter: P
Question
Problem 3-This function will compute the wetted (surface) area and the volume of a square pyramid. Use the following instructions to help create your function: Open the editor window, and use the information discussed in class as a template to write your function. Name your function as described at the beginning of the lab instructions. Include a comment block describing the function. .Pass input values for side length and height. Calculate the total surface area and volume for the pyramid. You might need to look up equations for the total surface area and volume of a square pyramid. Return both the surface area and volume. Test your function in the command window to make sure it works as required. Include comments to document your function and your results. Include commented results at the conclusion of your function m-file for the case where L = 3m and h = 5m. Express your answer in both SI and customary U.S. units. Your comments should include the results and unitsExplanation / Answer
if any dificulty,please comment,otherwise upvote
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.