The position of boom ABC is controlled by the hydraulic cylinder BD. For the loading shown, (a) express the force exerted by the hydraulic cylinder on pin B as a function of the length BD, (b) determine the smallest possible value of the angle if the maximum force that the cylinder can exert on pin B is 2.5 kips.

Day 5 fprintfThis function is used to format output anything written in single parentheses that becomes a string of text is a string value, or a numerical value see picture below to see the syntax). Example: >> y=input('Enter a number') Enter a number Or >> z = input('Enter Text:','s') Enter Text: Syntax:fprintf(format_string, variables) if you want to use special characters in the string, put ‘/’ In class exercises: Number 3: >> untitled5 f = @(x)(sin(x)).^2+((cos(x)).^2./(sin(x)cos(x))) Enter a number x = [] Y = [] >> untitled5 f = @(x)(sin(x)).^2+((cos(x)).^2./(sin(x)cos(x))) Enter a number[0 pi/8 pi/6 pi/4 pi/2] x = 0