9/28/2006

Problem #1 謝宏育

>> clear all
>> % Question 1
>> % when a farm tractor pulls a farm equipment working on the field at 20m/min.
>> % Suppose the draft force is meaured as 200kgf.
>> % Find out the power of the tractor.
>> power=200*20/0.101972/60

power =

653.7742

>> % 功率為653.7742 (w)
>> %-----------------------------------------------------------------------------
>> clear all
>> % Question 2
>> % A circuit with three resistors rated 1, 20,200 ohms in series is connected to a
>> % voltage source of 110V. Find the line current and power consumption.
>> v=110;r1=1;r2=20;r3=200;
>> i=v/(r1+r2+r3)

i =

0.4977

>> % i=0.4977 (A)
>> power=i*v

power =

54.7511

>> % 電流為0.4977,功率為54.7511 (w)
>> %-----------------------------------------------------------------------------
>> clear all
>> % Question 3
>> % Calculate the area of a trangle with three sides in 650cm, 428cm, 282cm, repectively.
>> a=650;b=428;c=282;
>> r=(a+b+c)/2;
>> area=(r*(r-a)*(r-b)*(r-c))^(1/2)

area =

4.5233e+004

>> % 三角形面積為4.5233e+004 (cm^2)
>> %-----------------------------------------------------------------------------
>> clear all
>> % Question 4
>> % A hog house was designed the way that heat dissipations from lighting &
>> % equipment 25,000BTU/hr,heat flux through wall & cellings 52,000BTU/hr,heat
>> % flux through aerations84,300BTU/hr.Suppose each hog will dissipate
>> % 600BTU/hr,how many hogs this house can raise?
>> h1=25000;% heat dissipations from lighting & equipment
>> h2=52000;% heat flux through wall & cellings
>> h3=84300;% heat flux through aerations
>> h4=600;% heat will dissipate from each hog
>> n=(h2+h3-h1)/h4 % the number of hogs

n =

185.5000

>> % 豬隻數量上限為185隻
>> %-----------------------------------------------------------------------------
>> clear all
>> % Question 5
>> % The flow rate of a rectangular water gate can be calculated from the following
>> % formula: Q=3.33x[L-0.2H]^(3/2), in which L: width of gate in ft,
>> % H:water head in ft and Q: the flow rate in cu. ft./s.
>> % Find the flow rate Q if L=4 ft and the water head is 0.9 ft.
>> l=4;h=0.9;
>> Q=3.33*[l-0.2*h]^(3/2)

Q =

24.8622

>> %流量為24.8622 ft^3/sec

沒有留言: