circleInfo - %usage: [diameter circumference...

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

View Full Document Right Arrow Icon
function [diameter circumference area]=circleInfo(radius) %function to compute the diameter, circumference, and area of a circle %given only the radius
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: %usage: [diameter circumference area]=circleInfo(radius) diameter=2.*radius; circumference=2.*radius.*pi; area=pi.*radius.^2;...
View Full Document

This note was uploaded on 10/21/2010 for the course CS 1371 taught by Professor Stallworth during the Spring '08 term at Georgia Tech.

Ask a homework question - tutors are online