• 沒有找到結果。

• 30. 面積式子:

N/A
N/A
Protected

Academic year: 2022

Share "• 30. 面積式子:"

Copied!
10
0
0

加載中.... (立即查看全文)

全文

(1)

• 28. 面積方程式:

• A = WL+(1/2)(W/2)^2

• 可以求得 L:

• L = (A −W^2/8)/W

• 周長為:

• P = 2L +W + 2((W/2)^2 + (W/2)^2)^0.5 = 2L +W + 2 W/(2^0.5)

• 程式:

• W = 6;A = 80;

• L = (A - W^2/8)/W

• P = 2*L + W + 2*W/sqrt(2)

• 解答為 L = 12.58 meters且周圍總長 P = 39.65 meters.

(2)

• 29. 針對兩三角形使用餘弦定律

• a^2 = b1^2 + c1^2 - 2b1c1 cos A1

• a2 = b2^2 + c2^2 − 2b2c2 cos A2

• 由已知第一列方程式可求解a, 然後再求解第二列方程式c2.

第二列方程式為c2的二次多項式方程式:

• c2^2 − (2b2 cos A2)c2 + b2^2 − a2 = 0

• 程式:

• b1 = 180;b2 = 165;c1 = 115;A1 = 120*pi/180;A2 = 100*pi/180;

• a = sqrt(b1^2 + c1^2 - 2*b1*c1*cos(A1));

• roots([1,-2*b2*cos(A2),b2^2-a^2])

• 兩根c2 = −228和c2 = 171. 取正根c2 = 171 公尺。

(3)

• 30. 面積式子:

• A = 2RL + (1/2)R

2

• 由上式求解L:

• L = (A − R

2

/2)/2R

• 價格為:

• C = 30(2R + 2L) + 40R

• 程式如下,須多次猜x的範圍,以獲得最小價格值。

(4)

• clear

• A = 1600;k = 0;

• for x = 5:0.01:30

• k = k + 1;

• R(k) = x;

• L(k) = (A - 0.5*pi*x^2)/(2*x);

• C(k) = 30*(2*x + 2*L(k)) + 40*pi*x;

• end

• plot(R,C,R,20*L),xlabel(0Radius (ft)0),ylabel(0Cost ($)0),...

• [rmin,costmin] = ginput(1)

• Lmin = (A - 0.5*pi*rmin^2)/(2*rmin)

• r1 = 0.8*rmin;r2 = 1.2*rmin;

• L1 = (A - 0.5*pi*r1^2)/(2*r1);

• L2 = (A - 0.5*pi*r2^2)/(2*r2);

• cost1 = 30*(2*r1 + 2*L1) + 40*pi*r1

• cost2 = 30*(2*r2+2*L2) + 40*pi*r2

(5)

• The figure shows the plot. Using the cursor to select the minimum point on the curve, we obtain the

optimum value of the radius R to be rmin = 18.59 feet,

and the corresponding cost is costmin = $5140. The

corresponding length L is Lmin = 28.4 feet. The costs

corresponding to a ±20% change from r = 18.59 are

cost1 = $5288 (a 3% increase) and cost2 = $5243 (a

2% increase). So near the optimum radius, the cost is

rather insensitive to changes in the radius.

(6)
(7)

• 37. 程式:

• k = 0;

• for x = -2:.01:6

• k = k + 1;

• if x < -1

• y(k) = exp(x+1);

• elseif x < 5

• y(k) = 2 + cos(pi*x);

• else

• y(k) = 10*(x-5) + 1;

• end

• end

• x = [-2:.01:6];

• plot(x,y),xlabel(‘Time x (s)’),ylabel(‘Height y (km)’)

• 圖示:

(8)
(9)

• 38. 程式:

• x = 0;

• y = 0;k = 0;

• while y < 9.8

• k = k + 1;

• x = x + 0.01;

• y(k) = 10*(1-exp(-x/4));

• end

• xmax = x

• x = [0:.01:xmax];

• plot(x,y),xlabel(‘Time x (s)’),ylabel(‘Force y (N)’)

• 圖示:

(10)

參考文獻

相關文件

Each cabinet requires 250 hours of labor (this is 6 weeks of full time work) and uses 50 board feet of lumber.. Suppose that the company can sell a cabinet for $200, would it

(Correct formula but with wrong answer form: 1-point deduction for each error.) (Did not use unit vectors: 1-point deduction for each

So we check derivative of f and g, the small one would correspond to graph (b) and the other to (c)(i.e.. Moreover, f is

(18%) Determine whether the given series converges or diverges... For what values of x does the series

With the help of the pictures and the words below, write a journal entry about what happened.. Write at least

The molal-freezing-point-depression constant (Kf) for ethanol is 1.99 °C/m. The density of the resulting solution is 0.974 g/mL.. 21) Which one of the following graphs shows the

11) Carbon-11 is used in medical imaging. The half-life of this radioisotope is 20.4 min.. 31) If each of the following represents an alkane, and a carbon atom is located at each

 Promote project learning, mathematical modeling, and problem-based learning to strengthen the ability to integrate and apply knowledge and skills, and make. calculated