w1wscommented - %don't recognize the equations. A = 1...

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

View Full Document Right Arrow Icon
%W2WS - the starter program for ENGE 1114 Week 2 Workshop F 2010 %This is an example what NOT to do. It is difficult to %understand the program because the variable names are meaningless. It %would also be difficult to find any errors in the statements since we
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: %don't recognize the equations. A = 1 %radius of top and bottom of cylinder B = 1 %height of cylinder C = pi*A^2; %area of circle D = 2*pi*A; %circumference of circle E = C*B %volume F =D*B %area of side of cylinder...
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