According to the HOMEWORKLIB POLICY allowed to only one question solution
So I help with 3 Question
For A)
We have two
pieces of fencing of length x, one piece of length y
and one
piece of length √(x²+y²) (the diagonal)
Total
fencing = 200
2x + y +
√(x²+y²) = 200
Solve for
y:
√(x²+y²) =
200 − 2x − y
Square both
sides:
x² + y² =
4x² + 4xy − 800x + y² − 400y + 40000
x² = 4x² +
4xy − 800x − 400y + 40000
400y − 4xy
= 3x² − 800x + 40000
(400−4x) y
= 3x² − 800x + 40000
y = (3x² −
800x + 40000) / (400−4x)
Area = x *
y
We can
express area as a function of x only, by using value of y found
above:
A = x (3x²
− 800x + 40000) / (400−4x)
A = (3x³ −
800x² + 40000x) / (400−4x)
A' = (−3x³
+ 850x² − 80000x + 2000000) / (2(100−x)²) = 0
−3x³ +
850x² − 80000x + 2000000 = 0
x ≈
38.8142
y = (3x² −
800x + 40000) / (400−4x) ≈ 55.0302
√(x²+y²)≈
67.341406532
Area of pen
is maximized when
two ends =
38.8142 m
end
opposite barn = 55.0302 m
diagonal =
67.3414 m
Maximum
area = x * y = 2135.95 m²
Two triangular pens are built against a barn. Two hundred meters of fencing are to be...
a. A rectangular pen is built with one side against a barn. If 2100 m of fencing are used for the other three sides of the pen, what dimensions maximize the area of the pen? b. A rancher plans to make four identical and adjacent rectangular pens against a barn, each with an area of 100 m squared (see figure). What are the dimensions of each pen that minimize the amount of fence that must be used? A rectangle is...
in matlab -Consider the equation f(x) = x-2-sin x = 0 on the interval x E [0.1,4 π] Use a plot to approximately locate the roots of f. To which roots do the fol- owing initial guesses converge when using Function 4.3.1? Is the root obtained the one that is closest to that guess? )xo = 1.5, (b) x0 = 2, (c) x.-3.2, (d) xo = 4, (e) xo = 5, (f) xo = 27. Function 4.3.1 (newton) Newton's method...
Newton's Method in MATLAB During this module, we are going to use Newton's method to compute the root(s) of the function f(x) = x° + 3x² – 2x – 4 Since we need an initial approximation ('guess') of each root to use in Newton's method, let's plot the function f(x) to see many roots there are, and approximately where they lie. Exercise 1 Use MATLAB to create a plot of the function f(x) that clearly shows the locations of its...
This is Matlab Problem and I'll attach problem1 and its answer for reference. We were unable to transcribe this imageNewton's Method We have already seen the bisection method, which is an iterative root-finding method. The Newton Rhapson method (Newton's method) is another iterative root-finding method. The method is geometrically motivated and uses the derivative to find roots. It has the advantage that it is very fast (generally faster than bisection) and works on problems with double (repeated) roots, where the...
I'm working on the newton's method on matlab, could someone help me and show what two lines are needed to be added in the codes in order to make this function work? function sample_newton(f, xc, tol, max_iter) % sample_newton(f, xc, tol, max_iter) % finds a root of the given function f over the interval [a, b] using Newton-Raphson method % IN: % f - the target function to find a root of % function handle with two outputs, f(x), f'(x)...