blob: ca32073343052fb3a861d799ce9386dd0ada2ef6 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 1_4
clc();
clear;
//To calculate the Volume
r=3*10^-5 //units in meters
L=0.20 //units in meters
V=%pi*r^2*L //Units in meter^3
printf("Volume V=")
disp(V)
printf("Meter^3")
|