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
Illustration of Indexing: Though, rather than of creating the index vector manually as shown here, the process to initialize the index vector is use to a sort function. The al

Graphics objects: The objects involve graphics primitives like lines and text, and also the axes used to orient the objects. These objects are organized hierarchically, and the

Example of Function stubs: The three functions have not so far been written, though, therefore the function stubs are put in place so that the script can be executed and teste

Generic code for Reading from Files: The generic code to complete this is as shown below:   fid = fopen('filename'); if fid == -1    disp('File open not suc

Logical Built-In Functions: There are built-in functions in the MATLAB which are useful in conjunction with vectors or matrices of all logical true or false values; two of the

Introduction and Purpose In the lectures and tutorials you have been introduced to a number of probability distributions. You have also learned that modelling any system (such

Functions which return Values versus printing: Also, the function which computes and returns values (throughout the output arguments) does not generally print them; that is le

Need of a nested loop: How would we sum each individual column, rather than getting an overall sum? Answer: The programming technique would need a nested loop in whi

MENU Function: The MATLAB also has a built-in function known as menu which will display a figure Window with push buttons for the choices. The very first string passed to the

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