تم الحل ✓
categoryالرياضيات
schoolبكالوريوس
event_available2026-07-14
السؤال
Transcribed Image Text:
W
Figure P11
12. A fence around a field is shaped as shown in Figure P11. It consists of a rectangle of length L and width W
and a right triangle that is symmetric about the central horizontal axis of the rectangle. Suppose the desired
enclosed area A is given. Note that the length L can be expressed as a function of A and W, so that the
perimeter P can be expressed solely as a function of A and W.
147
a. Write a MATLAB function using the min function to compute the width W required to minimize the
fence perimeter P and to calculate the corresponding values of L and P. The function should create a
vector of guessed values for W, whose minimum and maximum values are WI and W2, with spacing d.
The function inputs should be the desired area A, guesses WI and W2, and spacing d. The function
outputs should be the solution for Wand the corresponding values of L and P. Test your function for the
value A = 80 m².
b. Write a MATLAB function to use with the fminbnd function to compute the width W required to
minimize the fence perimeter P and to calculate the corresponding values of L and P. The function input
should be the desired area A. The function outputs should be the solution for Wand the corresponding
values of L and P. Test your function for the value A = 80 m².
check_circle الجواب — حل مفصل خطوة بخطوة
hourglass_top
🔒
الحل الكامل متاح للمشتركين
اشترك في أرشيف الأسئلة لعرض هذا الحل وآلاف الحلول المفصلة خطوة بخطوة من معلمين معتمدين.