A fence is required around a field is shaped as shown below. It consists of a rectangle of length L and width W and a right triangle that is symmetrical about the central horizontal axis of the rectangle. Suppose the width is known (in metres), and the enclosed area A is known (in square metres). L D W 1. Use pen and paper to determine the equations for the total area and perimeter in terms of the width W, and length L. 2. Use MATLAB to plot the perimeter against the width as a black solid line, assuming the width to be between 7 to 20 metres and the area to be 111 m2. 3. Use the min() function to determine the minimum perimeter required to fence off the 111 m2 area. Print the corresponding length and width required, and mark the minimum point on the previous plot with a blue diamond. 5.1) Referring to Task 5 Part 3, what is the minimum perimeter required to fence the area of 111 m^2? Round up your answer to two decimal. A. 41.23 metres O B. 50.87 metres C. 46.30 metres O D. 54.06 metres 5.2) Determine the index of the matrices which result in the minimum perimeter in Question 5.1. * O A. 174 O B.260 O C. 378 O D. 107 5.3) What is the corresponding length for the minimum perimeter? Round up your answer to two decimal places. * O A. 6.78 metre O B. 7.61 metre O C. 10.53 metre O D. 13.27 metre 5.4) Next, what is the corresponding width for the minimum perimeter?* A. 8.06 metre OB. 8.73 metre O C. 9.59 metre O D. 10.77 metre 5.5) Which of the following code can be used for solving Task 5? O A. [min_perimeter, ID] = min(perimeter) B. length = (A - (0.25*(w.^2)*sind(45))). *w O C. perimeter = (A - (0.25*(W.^2) *cosd(45)))./w O D. All of the above
Trending nowThis is a popular solution!
Step by stepSolved in 2 steps with 4 images
- = = 2×2 and 6 = (a) A composite number is a positive integer that has at least one divisor other than 1 and itself. For example, 2 1×2 is not a composite number but 4 2 × 3 are composite numbers. A logic circuit has four binary input variables, A, B, C and D. The output Z of the logic circuit is 1 if the unsigned integer represented by the binary number ABCD is a composite number. Using variables A and B for the select inputs S1 and S0 of a 4-to-1 multiplexer, implement the logic function Z(A, B, C, D) using this multiplexor and other logic gates.arrow_forwardAssignment: Create a surface and contour plot of function z=f(x,y) [-5,5] by [-5,51. Take a pick to plot from any of the choices below. (01) f(x,y) = x*y**3-y*x**3 (02) f(x,y) = (x**2+3*y**2) *exp(-x**2-y**2) (03) f(x, y) = -1/(x**2+y**2) (04) f(x, y) = cos(abs(x)+abs(y)) - Use at least 500 points in each direction to discretize domain and create the grid. - Make the surface plot red and without grid lines. - For contour plot, specify contour levels to go from minimum and maximum Z values on the entire domain and include at least 15 contour levels. - Pick a colormap you like I ## Create data import numpy as np import pyvista as pvarrow_forward(4) 4. Let P(x,y) = "x sent a text message to y." The u.d. for both x and y is all people. Translate into symbols: a. Everyone has sent a text message to someone. b. Everyone has been sent a text message by someone.arrow_forward
- You are the chief commander of US Army; you have been deployed in an ongoing war training of defusing the mine. Mines are placed on the ground which can be considered as a gird of size N*M. Each block (i, j) has a mine in it if and only if the summation of the block coordinates is divisible by 2. Your task is to move from the first row to the last row. The mines will not blow if the given rules are followed: • If you are on even row you can move to any cell that is in the neighborhood • If you are on odd row, you can only go the odd row that has mine on that and same with the unmined row. You have to develop a python program to calculate the number of ways to reach row number N starting from row number 1. Test Cases: 4 8 Output: 10arrow_forwardCODE IN R STUDIO USING R LANGUAGE. all the parts 1. A machine that fills 2-liter soda bottles is supposed to fill them to the labeled amount, 2000 mL. In practice, the machine fills to a mean of 1995 mL with a standard deviation of 9 mL. Assume that the machine’s fills are normally distributed. (a) What percent of bottles will have less soda than the labeled amount? (b) What percent of bottles will have between 1990 and 2000 mL of soda? (c) The bottles are only large enough to hold 2020 mL of soda at most. What percent of bottles will overflow when filled by this machine? (d) What is the maximum amount a bottle can be filled while still being among the 20% of least filled bottles?arrow_forwardMine is incorrect, please write it correctly.arrow_forward
- Which option is the correct one?Please helparrow_forwardDue to children's inmmature organ system, smaller size and larger body surface are children's fluid requirements differ greatly from adults. To calculate an infant of child's maintanance fluid requirements we use the formula below: Always convert weight from pounds to kilograms for pediatric fluids as well as medications! 100 ml/ kg for the first 10 kg of body weight 50 ml/kg for the next 10 kg of body weight 20 ml/kg for every kg over 20 kg We use this formula to calculate the hourly rate of IV fluid the child should receive in order to prevent fluid volume imbalances. 1) Calculate the daily fluid volume for a 6 kg child : 2) Calculate the daily fluid volume for a 14kg child: 3) Calculate the daily fluid volume for a 16kg child:arrow_forward6. X is (a,b,c,d), Y is {1,2,3,4). {(a,1), (b,2), (c,2), (d,4)) is a function from X to Y.arrow_forward
- Four chairs are arranged in a circle as shown here... They are designated A, B, C, D. Each chair may have an occupant (logic 1), or may be empty (logic 0). Create both the |M...) and Em(...) (Maxterm and Minterm) expressions for the following functions... a) F(D, C, B, A) = 1 iff there are no adjacent empty chairs b) G(D, C, B, A) =1 iff there are at least 3 adjacent empty chairs c) H(D, C, B, A) = 1 iff there are more people sitting in chairs A, D than in chairs B, C. Hint: create a truth table of all possibilities and fill it in with the logic from your understanding of the problem sentence. Then create the minterm and maxterms expressions for each.arrow_forwardSuppose that a company has decided to offer an annual raise based on the number of years a worker has been with the company. Let the raise be 2% if the time with the company is less than 2 years, 3% if it is between 2 and less than 4 years, and 4% if it is 4 years or more. Consider a particular worker with the current wage of $16.52 per hour who has been with the company for 2 years. Set up code using if function that would determine the raise and print out the current and new wage rate. The printed result should “Between 1 and 65 there are 5 numbers divisible by 13.”arrow_forwardchoose: a) F(A,B,C,D)=∑(2,3,9,10,11,12,15) b) F(A,B,C,D)=∑(1,2,3,7,10,11) c) F(A,B,C,D)=∑(2,3,7,10,11,12,15) d) F(A,B,C,D)=π(2,3,7,10,11,12,15) e) Other:arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education