{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw6q1 - outputs of Surface area and volume r = d 2...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function [SA,Vol]=hw6q1(h,d) %Surface Area and volume of a cone % Using the derived equations, the inputs of diameter and height will yield
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: outputs of Surface % area and volume. r = d / 2; SA=(pi*r*sqrt(r^2 + h^2)) + (pi+r^2); Vol=(1/3)*pi*(r^2)*h; V end e...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online