adds

Area of a square using scilab

AIM OF THE EXPERIMENT:

To find the area of a square using scilab.

REQUISITES:
A PC/laptop.
Scilab 6.0.0 must be installed.

THEORY:
 The area of a square is given by
A=rxr  , where r=side of the square.

PROCEDURE:
1. Switch on your PC/laptop.
2. Go to all programs & open scilab 6.0.0.
3. Go to Scinotes.
4. Write the coding/program.
5. Save the file & use extension name .sci
6. Then execute & go to the scilab console window for output.
7. Write a=area(3) in the scilab console window.
8. Press enter to get the output.

CODING:

clc                     
Area of square
function a=area(r)      
    a=r*r;
endfunction











OUTPUT:

Output area of square



















Model syllabus (+3)Downoad

List of all practicals:   Download

Get all Books:  Download

Syllabus For:                                     Physics Notes
                                                                CLICK

IIT-JAM             JEST                GATE                    NET
                                                           
  • How to Prepare for IIT-JAM  ⇠ ⇠ Click Here
Get everything about your B.Sc (+3) Physics Practical⇠ ⇠Click



"Try not to become a man of success, but rather try to become a man of value."  Albert Einstein

Post a Comment

Previous Post Next Post