You are on page 1of 3

--> //LUMBRE, REGINA P.

--> //TCIE 3-1

--> //Solve these problems using Scilab. Write your name and section in scilab and
include also theproblems.

--> //1. What is the area of circle with 12 meter radius?

--> // Formula: Area of Circle(A)=pi*r^2--> r=12; //Given

--> A=%pi*r^2 A =

452.38934

--> //Final Answer: 452.38934 sq. meters

--> //2. What is the perimeter of circle in item No.1?--> // Formula: Perimeter of

Circle(P)=2*pi*r

--> P=2*%pi*r //r=12. Solve. P =

75.398224

--> //Final Answer: 75.398224 meters

--> //3. Compute the volume of item No.1 if it has 20 meters height.

--> // Formula: (Use volume of cylinder since height is given) Volume of Cylinder(V)

=pi*r^2*h--> h=20; //Given

--> V=%pi*r^2*h //r=12 V =

9047.7868

--> //Final Answer: 9047.7868 cu. meter

--> //4. If a car is moving 100km/hr, how long will it take to reach 330km?

--> // Formula: Speed(S)=Distance(d)/Time(t). Look for Time(t), thus, Time(t)

=Distance(d)/Speed(S)--> //Convert 100km/hr to m/s and 300km to m, since the

unit of speed is m/s. cS=S*m/s; cd=d*m--> S=100; d=330; //Given

--> cS=S*(1/3600)*(1000/1) cS =

27.777778
--> cd=d*(1000/1)
cd =

330000.

--> // Converted Speed=27.777778 m/s; Converted Distance=330000 m

--> t=cd/cS
t =

11880.000

--> //Final Answer: t=11880 sec. or 3.30 hr.

--> ot=d/S // To check for unit of time in hours


ot =

3.3

--> //5. If a=4-1,b=6+3,c=3+3, what is a^3+b^2+c^4?

--> a=4-1; b=6+3; c=3+3; //Given

--> a^3+b^2+c^4
ans =

1404.

--> //Final Answer: 1404

--> //6. Using Item no.5, what is square root if (a^2+b^2+c^2)?

--> // Formula: Squareroot=sqrt(a^2+b^2+c^2)

--> sqrt(a^2+b^2+c^2)
ans =

11.224972

--> //Final Answer: 11.224972

--> //7. A reservoir of glycerin has a mass of 1200kg and a volume of 0.952 cu.m. Find its a.Weight;
b.Unit Weight; c. Density; d. Specific Gravity

--> // Formulas: Weight(W)=mg; Density(p)=m/v; Specific Weight(Y)=W/v; Specific


Gravity(s.g.)=Yglyc/Yh2O

--> m=1200; v=0.952; //Given

--> g=9.81; YH2O=9.807; //Constant

--> W=m*g //Solve for Weight


W =

11772.

--> //Final Answer: W=11772 N or 11.772 kN


--> p=m/v //Solve for Density
p =

1260.5042

--> //Final Answer: p=1260.5042 kg/cu. meter

--> Y=W/v //Solve for Specific Weight


Y =

12365.546

--> //Final Answer: Yglyc/Y=12365.546 N/cu. meter

--> sg=Y/YH2O //Solve for Specific Gravity


sg =

1260.8898

--> //Final Answer: sg=1260.8898

--> //Cut.

You might also like