Areacirc function, MATLAB in Statistics

Areacirc function:

The areacirc function can be called from the Command Window as shown here, or from a script. Here is a script which will prompt the user for the radius of one circle, call the areacirc function, to compute and return the area and circumference of the circle, and print the answer:

2363_Areacirc function.png

>> calcareacirc

Please enter the radius of the circle: 5.2

For a circle with a radius of 5.2,

the area is 84.9 and the circumference is 32.7

Posted Date: 10/19/2012 6:25:15 AM | Location : United States







Related Discussions:- Areacirc function, Assignment Help, Ask Question on Areacirc function, Get Answer, Expert's Help, Areacirc function Discussions

Write discussion on Areacirc function
Your posts are moderated
Related Questions
Advanced File Input and Output: In that section, we saw how to read the values entered by user using the input as well as the output functions disp and fprintf, that shows inf

Types of errors: There are some various kinds of errors which can occur in a program, that fall into the categories of run-time errors, syntax errors, and logical errors. T

bjjh

Polynomials: Simple curves are polynomials of various degrees, or orders. The degree is the integer of the highest exponent in the expression. The illustrations are as follows

Illustration of Indexing into vectors of structures: For illustration, the function to print the information from packages has been modified therefore in addition to the vecto

Determine sequence weights for the sequences ACTA, ACTT, CGTT, and AGAT in problem 1 by using Thompson, Higgins, and Gibson method a) compute pairwise distances between sequences

Properties of the text box - graphics objects: By using get will show properties of the text box, the illustration is as shown below: >> get(thand)   BackgroundColor

Roots function - Polynomials: The roots function in MATLAB is used to find the roots of an equation represented by a polynomial. For illustration, for the mathematical functio

Function polyval - interpolation: The function polyval can then be used to compute the polynomial at particular values. For illustration, we could compute at every value in th

Debugging Techniques: Any error in the computer program is called a bug. This word is thought to date back to the 1940s, whenever a problem with an early computer was found to