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

This note was uploaded on 09/19/2011 for the course ENGE 1114 taught by Professor Twknott during the Fall '06 term at Virginia Tech.

Ask a homework question - tutors are online