Volume of a sphere using scilab:
AIM OF THE EXPERIMENT:
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 V=vol(4) in the scilab console window.
8. Press enter to get the output.
CODING:
clc
Scilab Programming
C ++ Programming
AIM OF THE EXPERIMENT:
To find the volume of a sphere using scilab.
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 V=vol(4) in the scilab console window.
8. Press enter to get the output.
clc
function V=vol(r)
V=4/3*%pi*r^3;
endfunction
OUTPUT:
C ++ Programming
Model syllabus (+3): Downoad
List of all practicals: Download
Get all Books: Download
- How to Prepare for IIT-JAM ⇠ ⇠ Click Here
- How to prepare for JEST ⇠ ⇠ Click Here
"Imagination is more important than knowledge" Albert Einstein
Post a Comment