create a variable with internal linkage. name the variable y and give it the value 1.75. memory.cpp i #include 2 using namespace std; 3 void memory() 5}

Answers

Answer 1

The code creates a variable with internal linkage named "y" and initializes it to 1.75, and prints its value to the console when the program is run.

What is an API and how does it work?

The code provided creates a variable named "y" with internal linkage and assigns it the value of 1.75.

The "static" keyword used before the declaration of the variable signifies that the variable will have internal linkage, meaning it will only be accessible within the same file it is declared in.

The function "memory()" is defined but is not used or called within the code, so it has no effect on the program execution.

When the program is run, it will print the value of "y" to the console using the "cout" statement. The output of the program will be:

```

The value of y is 1.75

```

Overall, the code demonstrates how to create a variable with internal linkage and use it in a program.

Learn more about internal linkage

brainly.com/question/31562435

#SPJ11


Related Questions

What is the output of: scramble("xy", )? Determine your answer by manually tracing the code, not by running the program. Check Show answer 2) You wish to generate all possible 3-letter subsets from the letters in an N-letter word (N>3). Which of the above recursive functions is the closest (just enter the function's name)? Check Show answer Feedback?

Answers

The output of scramble("xy", ) would be an empty list, since there is no second argument passed to the function.

1) The output of scramble("xy", ) would be an empty list, since there is no second argument passed to the function. The base case of the recursive function is when the input string is empty, which is not the case here. Therefore, the function will make recursive calls until it reaches the base case, but since there are no possible permutations with an empty string, the final output will be an empty list.
2) The closest recursive function for generating all possible 3-letter subsets from an N-letter word would be subsets3, since it generates all possible combinations of three letters from a given string. However, it should be noted that this function does not account for duplicates or permutations of the same letters, so some additional filtering or sorting may be necessary depending on the specific use case.

Learn more about string :

https://brainly.com/question/30099412

#SPJ11

The SkateRamp class accepts a Function object (actually a Function subclass object because a plain Function doesn't do anything!) as its ramp. It also takes: • lower_bound : the 1-coordinate where the ramp starts • upper_bound: the 2-coordinate where the ramp ends percent_diff: the percentage difference between estimates for which we can say "close enough!" (defaults to 0.01 or 1%-that means if our last estimate was 120 square units and our latest estimate with one more rectangle is 121 square units, then we can stop because the difference between estimates is less than 1%) The plot_rects method has been given to you so that you can visualize the rectangles that have been computed.

Answers

The SkateRamp class is designed to accept a Function object as its ramp. This function object is actually a Function subclass object, as a plain Function object doesn't do anything. In addition to the ramp, the SkateRamp class takes three parameters: lower_bound, upper_bound, and percent_diff. The lower_bound parameter specifies the 1-coordinate where the ramp starts, while the upper_bound parameter specifies the 2-coordinate where the ramp ends.

The percent_diff parameter is the percentage difference between estimates for which we can say "close enough!". By default, this parameter is set to 0.01 or 1%. This means that if the difference between the last estimate and the latest estimate with one more rectangle is less than 1%, the program will stop.To help visualize the rectangles that have been computed, the SkateRamp class provides a plot_rects method. This method allows you to see the rectangles that have been computed and how they fit within the ramp. Overall, the SkateRamp class is a powerful tool for analyzing the properties of a ramp and estimating the area under its curve. By accepting a Function object and providing a variety of parameters for customization, this class provides a flexible and powerful way to analyze and visualize ramps.

For such more question on parameter

https://brainly.com/question/29673432

#SPJ11

The SkateRamp class provides a flexible and powerful way to model and analyze various types of skate ramps and other structures.

The SkateRamp class is designed to accept a Function subclass object as its ramp, which specifies the shape of the ramp. In addition to the ramp, the class also takes several parameters including lower_bound and upper_bound, which define the start and end coordinates of the ramp, respectively. Another important parameter is percent_diff, which determines the percentage difference between estimates that is considered "close enough" for the purpose of computation. The default value for percent_diff is 0.01 or 1%.
To visualize the rectangles that have been computed, the class provides the plot_rects method. This method can be used to generate a plot that shows the rectangles that have been calculated based on the ramp and other parameters specified. By using this method, it is possible to gain a better understanding of the underlying computations and to check whether the estimates are accurate enough based on the specified percent_diff value.

To learn more about Structures Here:

https://brainly.com/question/24267807

#SPJ11

Given a 5 stage pipeline with stages taking 1,2, 3, 1, 1 units of time, the clock period of the pipeline is
a)8
b)1/8
c)1/3
d)3

Answers

The clock period of a pipeline is determined by the slowest stage. In this case, the second stage takes 2 units of time, which is the slowest. Therefore, the clock period of the pipeline is 2 units of time.


If we assume that each unit of time is 1 nanosecond (ns), then the clock period is 2 ns.
If we had to choose the closest answer, it would be option A, which is 8. However, this is not the correct answer as it is not equivalent to 2 ns, the actual clock period of the pipeline.

In summary, the clock period of the 5 stage pipeline with stages taking 1, 2, 3, 1, 1 units of time is 2 units of time, or 2 ns if we assume each unit is 1 ns.

To know more about clock period visit:

https://brainly.com/question/28592956

#SPJ11

a set of sql statements stored in an application written in a standard programming language is called ________.

Answers

Answer:

A set of SQL statements stored in an application written in a standard programming language is commonly referred to as **embedded SQL**.

Embedded SQL allows developers to include SQL statements within their application code to interact with databases. The SQL statements are typically written within the programming language's syntax and are used to query, update, or manipulate data stored in the connected database.

By embedding SQL statements directly in the application code, developers can seamlessly integrate database operations with the application's logic and functionality. This approach enables efficient and direct communication between the application and the database, facilitating data retrieval and manipulation as needed.

Embedded SQL provides a powerful means to leverage the capabilities of SQL within a broader programming context, making it a valuable tool for developing database-driven applications.

Learn more about embedded SQL and its usage in programming languages for database interactions.

https://brainly.com/question/30065294?referrer=searchResults

#SPJ11

what type of elements do we typically use to model laminated composite materials? what are the characteristics of the element (normal stress components and shear stress components)?

Answers

To model laminated composite materials, we typically use shell elements, such as the first-order shear deformation theory (FSDT) or the classical laminate theory (CLT) elements.

1. First-Order Shear Deformation Theory (FSDT) elements: These elements account for the effects of shear deformation in the laminates. They are suitable for modeling moderately thick composites and provide a more accurate representation of the stress distribution. FSDT elements have both normal stress components (σx, σy, and σz) and shear stress components (τxy, τyz, and τxz).

2. Classical Laminate Theory (CLT) elements: These elements are based on the assumption that the laminate is thin and that the strains are constant through the thickness. CLT elements consider only normal stress components (σx, σy, and σz) and disregard the shear stress components (τxy, τyz, and τxz).

To model laminated composite materials, we generally use shell elements like FSDT or CLT. FSDT elements account for both normal and shear stress components, while CLT elements only consider normal stress components.

To know more about elements , visit;

https://brainly.in/question/24485528

#SPJ11

briefly describe management, operational, and technical controls, and explain when each would be applied as part of a security framework.

Answers

Management, operational, and technical controls are three types of security measures used in a security framework to protect information and systems.

1. Management controls involve risk assessment, policy creation, and strategic planning. They are applied at the decision-making level, where security policies and guidelines are established by the organization's leaders. These controls help ensure that the security framework is aligned with the organization's goals and objectives.

2. Operational controls are focused on day-to-day security measures and involve the implementation of management policies. They include personnel training, access control, incident response, and physical security. Operational controls are applied when executing security procedures, monitoring systems, and managing daily operations to maintain the integrity and confidentiality of the system.

3. Technical controls involve the use of technology to secure systems and data. These controls include firewalls, encryption, intrusion detection systems, and antivirus software. Technical controls are applied when designing, configuring, and maintaining the IT infrastructure to protect the organization's data and resources from unauthorized access and potential threats.

In summary, management controls set the foundation for security planning, operational controls manage daily procedures, and technical controls leverage technology to protect information systems. Each type of control is essential for a comprehensive security framework.

To know more about security framework visit:-

https://brainly.com/question/30159802

#SPJ11

answer the following questions regarding the criterion used to decide on the line that best fits a set of data points. a. what is that criterion called? b. specifically, what is the criterion?

Answers

The criterion used to decide on the line that best fits a set of data points is called the least-squares regression method. This method aims to minimize the sum of the squared differences between the actual data points and the predicted values on the line.

The criterion involves finding the line that best represents the linear relationship between two variables by minimizing the residual sum of squares (RSS), which is the sum of the squared differences between the observed values and the predicted values. This is achieved by calculating the slope and intercept of the line that minimizes the RSS, which is also known as the line of best fit.

The least-squares regression method is widely used in various fields, such as finance, economics, engineering, and social sciences, to model the relationship between two variables and make predictions based on the observed data. It is a powerful tool for understanding the patterns and trends in data and for making informed decisions based on the results of the analysis.

You can learn more about the regression method at: brainly.com/question/30881307

#SPJ11

PartA: A series RLC circuit contains a resistor R = 2 ohms and a capacitor C = 1/2 F. Select the value of the inductor so that the circuit is critically damped.
Part B:The parameters for a parallel RLC circuit are R= 1 Ohm, L= 1/2 H , and C = 1/2 F. Determine the type of damping exhibited by the circuit.

Answers

In order for a series RLC circuit to be critically damped, the damping coefficient must be equal to the square root of the product of the capacitance and inductance. Therefore, we can use the formula for the damping coefficient, which is given as 1/(2RC), to solve for the value of the inductor. Substituting the given values, we get:

1/(2(2)(1/2)) = 1

So the damping coefficient is equal to 1, and the square root of the product of capacitance and inductance must also be equal to 1. Therefore, we can solve for the inductance as:

sqrt(1/2 * L) = 1

1/2 * L = 1^2

L = 2 ohms

Therefore, the value of the inductor that will make the circuit critically damped is 2 ohms.

Part B: To determine the type of damping exhibited by a parallel RLC circuit, we can use the value of the damping coefficient, which is given as 1/(2RC). If the damping coefficient is less than the square root of the product of capacitance and inductance, the circuit is underdamped, meaning it will oscillate with a gradually decreasing amplitude. If the damping coefficient is greater than the square root of the product of capacitance and inductance, the circuit is overdamped, meaning it will not oscillate and will return to equilibrium without any oscillation. If the damping coefficient is equal to the square root of the product of capacitance and inductance, the circuit is critically damped, meaning it will return to equilibrium as quickly as possible without oscillating.

Substituting the given values for the parallel RLC circuit, we get:

1/(2(1)(1/2)) = 1

Since the damping coefficient is equal to 1, and the square root of the product of capacitance and inductance is also equal to 1, the circuit is critically damped. Therefore, it will return to equilibrium as quickly as possible without oscillating.

For such more question on underdamped

https://brainly.com/question/31289058

#SPJ11

1. Given the following functions F(s), find the inverse Laplace transform [f(0) J of each function rse Laplace transform |() ] of each function 10s s2 + 7s Case a.)) F(s) = 10s/s2 +7s+6 Case 1

Answers

Therefore, the inverse Laplace transform of F(s) = 10s / (s^2 + 7s + 6) is: f(t) = 12 * e^(-6t) - 2 * e^(-t).

To find the inverse Laplace transform of a given function F(s), we need to use techniques such as partial fraction decomposition and the table of Laplace transforms. Let's calculate the inverse Laplace transform for the given function F(s) = 10s / (s^2 + 7s + 6).

Case a:

F(s) = 10s / (s^2 + 7s + 6)

First, we need to factorize the denominator:

s^2 + 7s + 6 = (s + 6)(s + 1)

Now we can perform partial fraction decomposition:

F(s) = A / (s + 6) + B / (s + 1)

To find A and B, we can multiply both sides of the equation by the denominator:

10s = A(s + 1) + B(s + 6)

Expanding the equation:

10s = As + A + Bs + 6B

Matching the coefficients of s on both sides:

10 = A + B

Matching the constant terms on both sides:

0 = A + 6B

From the first equation, we get A = 10 - B. Substituting this value in the second equation:

0 = (10 - B) + 6B

0 = 10 + 5B

B = -2

Substituting the value of B back into A = 10 - B:

A = 10 - (-2) = 12

Now we have the partial fraction decomposition:

F(s) = 12 / (s + 6) - 2 / (s + 1)

Using the table of Laplace transforms, the inverse Laplace transform of each term is as follows:

Inverse Laplace transform of 12 / (s + 6) = 12 * e^(-6t)

Inverse Laplace transform of -2 / (s + 1) = -2 * e^(-t)

To know more about inverse Laplace transform,

https://brainly.com/question/31396300

#SPJ11

For a normally consolidated clay specimen, the results of a drained triaxial test are as follows: Chamber-confining pressure =125kN/m2 Deviator stress at failure =175kN/m2 Determine the soil friction angle ϕ′.

Answers

In a drained triaxial test, the soil specimen is subjected to a confining pressure while being sheared. For a normally consolidated clay specimen, the results of the test can be used to determine the soil friction angle.

First, we need to calculate the mean effective stress, σ'm, using the equation:

σ'm = (3/2)Pc

where Pc is the chamber-confining pressure.

σ'm = (3/2)(125kN/m2)
σ'm = 187.5kN/m2

Next, we can calculate the deviator stress, σ'd, using the equation:

σ'd = σ'1 - σ'm/3

where σ'1 is the major principal stress.

σ'd = 175kN/m2 - 187.5kN/m2/3
σ'd = 175kN/m2 - 62.5kN/m2
σ'd = 112.5kN/m2

Finally, we can calculate the soil friction angle, ϕ', using the equation:

tan ϕ' = σ'd/σ'm

tan ϕ' = 112.5kN/m2 / 187.5kN/m2
ϕ' = tan-1 (0.6)
ϕ' = 31.6°

Therefore, the soil friction angle for the given normally consolidated clay specimen is approximately 31.6°.

Hello! I'm happy to help you with your question. In order to determine the soil friction angle (ϕ') for a normally consolidated clay specimen, we'll use the results of a drained triaxial test. Here are the given values:

Chamber-confining pressure (σ3) = 125 kN/m²
Deviator stress at failure (Δσ) = 175 kN/m²

Step 1: Calculate the major principal stress (σ1) at failure
σ1 = σ3 + Δσ
σ1 = 125 kN/m² + 175 kN/m²
σ1 = 300 kN/m²

Step 2: Determine the stress ratio (R) at failure
R = (σ1 - σ3) / (σ1 + σ3)
R = (300 kN/m² - 125 kN/m²) / (300 kN/m² + 125 kN/m²)
R = 175 kN/m² / 425 kN/m²
R ≈ 0.4118

Step 3: Calculate the soil friction angle (ϕ')
ϕ' = sin^(-1)(R)
ϕ' = sin^(-1)(0.4118)
ϕ' ≈ 24.5°

So, for the normally consolidated clay specimen, the soil friction angle (ϕ') is approximately 24.5° based on the results of the drained triaxial test.

To know more about drained triaxial test visit:

https://brainly.com/question/13024604

#SPJ11

Give unambiguous CFGs for the following languages. a. {w in every prefix of w the number of a's is at least the number of bs) b. {w the number of a's and the number of b's in w are equal) c. (w the number of a's is at least the number of b's in w)

Answers

a. To give an unambiguous CFG for the language {w in every prefix of w the number of a's is at least the number of bs), we can use the following rules: S → aSb | A, A → aA | ε. Here, S is the start symbol, aSb generates words where the number of a's is greater than or equal to the number of b's, and.

A generates words where the number of a's is equal to the number of b's. The rule A → ε is necessary to ensure that words in which a and b occur in equal numbers are also generated.

b. For the language {w the number of a's and the number of b's in w are equal), we can use the rule S → AB, A → aA | ε, and B → bB | ε. Here, S is the start symbol, A generates words with an equal number of a's and b's, and B generates words with an equal number of b's and a's. Using these rules, we can generate any word in which the number of a's is equal to the number of b's.

c. To give an unambiguous CFG for the language {w the number of a's is at least the number of b's in w), we can use the following rules: S → aSbS | aS | ε. Here, S is the start symbol, and aSbS generates words in which the number of a's is greater than the number of b's, aS generates words in which the number of a's is equal to the number of b's, and ε generates the empty string. Using these rules, we can generate any word in which the number of a's is at least the number of b's.

For such more question on prefix

https://brainly.com/question/21514027

#SPJ11

The unambiguous context-free grammars (CFGs) for the given languages:

a. {w in every prefix of w the number of a's is at least the number of b's}

S -> aSb | A

A -> ε | SaA

The start symbol S generates strings where each prefix has at least as many a's as b's. The production S -> aSb generates a string with one more a and b than its right-hand side. The production A -> ε generates the empty string, and A -> SaA generates a string with an equal number of a's and b's.

b. {w the number of a's and the number of b's in w are equal}

rust

Copy code

S -> aSb | bSa | ε

The start symbol S generates strings where the number of a's and b's are equal. The production S -> aSb adds an a and b in each step, and S -> bSa adds a b and a in each step. The production S -> ε generates the empty string.

c. {w the number of a's is at least the number of b's in w}

rust

Copy code

S -> aSb | aA | ε

A -> aA | bA | ε

The start symbol S generates strings where the number of a's is at least the number of b's. The production S -> aSb adds an a and a b to the string in each step, and S -> aA adds an a to the string. The non-terminal A generates a string with any number of a's followed by any number of b's. The production A -> aA adds an a to the string, A -> bA adds a b to the string, and A -> ε generates the empty string.

Learn more about context-free grammars here:

https://brainly.com/question/30764581

#SPJ11

A system is given as an input/output difference equation y[n]=0.3y[n−1]+2x[n]. Is this an IIR or an FIR system? a) IIR b) FIR

Answers

This system is an IIR (infinite impulse response) system. The reason is that the output y[n] depends not only on the current input sample x[n], but also on past output samples y[n-1].

The presence of the y[n-1] term in the equation indicates that the system has feedback, which allows the output to depend on past inputs as well as past outputs. In contrast, an FIR (finite impulse response) system only depends on past input samples and has no feedback.

FIR systems have a finite impulse response because the output eventually becomes zero as the input signal dies out, whereas IIR systems can have a non-zero output after the input signal has ceased. Therefore, the given system is an IIR system.

To know more about impulse response visit:

https://brainly.com/question/30733081

#SPJ11

draw schematic for any current source using mosfet and explain its operation. you might back up your discussion with questions or some example calculations.

Answers

A schematic for a basic current source using a MOSFET:

          +----------------------+

          |                      |

          |                      |

          |                      |

    R1    |         Q1           |

    +-----|----+---/\/\/\--+----+

          |    |           |

          |    |           |

          |    |           |

          |    +-----------+

          |

          |

          |

          Vdd

In this circuit, Q1 is a MOSFET that is configured to act as a variable resistor, with its resistance controlled by the gate voltage. The resistor R1 is used to set the current that will flow through Q1.

To understand how this circuit works, consider what happens when a voltage is applied to the gate of Q1. If the gate voltage is low, Q1 will have a high resistance, which will limit the current flow through R1. As the gate voltage is increased, Q1's resistance will decrease, allowing more current to flow through R1.

The key to making this circuit work as a current source is to ensure that the voltage drop across R1 is constant, regardless of the value of the current flowing through it. This can be achieved by selecting an appropriate value for R1 based on the desired current output.

For example, if we want to generate a current of 1 mA, and we have a supply voltage of 5 V, we can use Ohm's Law to calculate the value of R1:

V = I * R

5 V = 1 mA * R

R = 5 kohm

So we would select a resistor value of 5 kohm for R1 to generate a current of 1 mA. Note that this assumes that the MOSFET has a sufficiently low resistance to allow the desired current to flow through it.

One potential issue with this circuit is that the current output may be sensitive to changes in the supply voltage or temperature. To address this, additional components can be added to the circuit to stabilize the output, such as a voltage reference or a feedback loop.

Learn more about schematic here:

https://brainly.com/question/29727948

#SPJ11

Other Questions
use the binomial distribution to find the probability that five rolls of a fair die will show exactly two threes. express your answer as a decimal rounded to 1 decimal place. Capital allocation is how an investor diversifies a portfolio:between riskless and risky assets.None of the explanations is correct.among investments in each asset class.among asset classes and markets.1 pointsQUESTION 10A U.S. Treasury bond is yielding !% and a corporate bond is yielding 35 basis points above the Treasury. What is the yield on the corporate bond?36%0.65%None of the answers is correct.1.25%1.35% Two tetrahedral dice with faces marked 1,2,3 and 4 are thrown. The score obtained is the sum of the numbers on the bottom face. Tabulate the probability distribution for the score obtained,how? Write a recursive algorithm that counts the nodes in a binary tree. how long does it take for an edible arrangement to hit You may need to use the appropriate appendix table or technology to answer this question. The following results are for independent random samples taken from two populations. Sample 1 Sample 2n1 = 20 n2 = 30x1 = 22. 8 x2 = 20. 1s1 = 2. 2 s2 = 4. 6(a) What is the point estimate of the difference between the two population means? (Use x1 x2. )2. 7(b) What is the degrees of freedom for the t distribution? (Round your answer down to the nearest integer. )(c) At 95% confidence, what is the margin of error? (Round your answer to one decimal place. )(d) What is the 95% confidence interval for the difference between the two population means? (Use x1 x2. Round your answers to one decimal place. ) suppose a is a 13 13 and the rank of a is 13. how many of the columns of a are linearly independent? , The SkateRamp class accepts a Function object (actually a Function subclass object because a plain Function doesn't do anything!) as its ramp. It also takes: lower_bound : the 1-coordinate where the ramp starts upper_bound: the 2-coordinate where the ramp ends percent_diff: the percentage difference between estimates for which we can say "close enough!" (defaults to 0.01 or 1%-that means if our last estimate was 120 square units and our latest estimate with one more rectangle is 121 square units, then we can stop because the difference between estimates is less than 1%) The plot_rects method has been given to you so that you can visualize the rectangles that have been computed. Find the power series expansion anX' for f(x) + g(x) , given the expansions for f(x) and g(x): n=0 flx) = x" ,g(x) = C 5-nxn-1 n+2 n=0 n = The power series expansion for f(x) + g(x) is an increase in aggregate demand along the keynesian (flat) portion of aggregate supply results in increased gdp and a higher average price level. You are earning 5.2% on a certificate of deposit. Inflation is running 3.5%. What is the real rate of return on your investment? Carry all interim calculations to 5 decimal places and then round your final answer to 2 decimal place. The tolerance is +-0.05. Give unambiguous CFGs for the following languages. a. {w in every prefix of w the number of a's is at least the number of bs) b. {w the number of a's and the number of b's in w are equal) c. (w the number of a's is at least the number of b's in w) Naoby invests 6000 for 5 years. The investment gets compound interest of 2% per annum. At the end of 5 years the investment is worth 8029. 35. Work out the value of x. (3 marks)%Submit Answer What is the output of: scramble("xy", )? Determine your answer by manually tracing the code, not by running the program. Check Show answer 2) You wish to generate all possible 3-letter subsets from the letters in an N-letter word (N>3). Which of the above recursive functions is the closest (just enter the function's name)? Check Show answer Feedback? ) sae 10w30 oil at 20c flows from a tank into a 2 cm-diameter tube 40 cm long. the flow rate is 1.1 m3 /hr. is the entrance length region a significant part of this tube flow? Show that the characteristic equation for the complement output of a JK flip-flop is: Q(t+1) = JQ+KQ = which set of capacitors becomes effectively fully charged first A helicopter gas turbine requires an overall compressor pressure ratio of 10:1. This is to be obtained using a two-spool layout consisting of a four-stage Z02 Gas Turbine Theory 93093. Indd 578 27/04/2017 07:21 APPENDIX B PROBLEMS 579 axial compressor followed by a single-stage centrifugal compressor. The polytropic efficiency of the axial compressor is 92 per cent and that of the centrifugal is 83 per cent. The axial compressor has a stage temperature rise of 30 K, using a 50 per cent reaction design with a stator outlet angle of 208. If the mean diameter of each stage is 25. 0 cm and each stage is identical, calculate the required rotational speed. Assume a work-done factor of 0. 86 and a constant axial velocity of 150 m/s. Assuming an axial velocity at the eye of the impeller, an impeller tip diameter of 33. 0 cm, a slip factor of 0. 90 and a power input factor of 1. 04, calculate the rotational speed required for the centrifugal compressor. Ambient conditions are 1. 01 bar and 288 K. [Axial compressor 318 rev/s, centrifugal compressor 454 rev/s] Given the values of delta H degree_rxn delta S degree_rxn and T below, determine delta S_univ and predict whether or not each reaction will be spontaneous delta H degree_rxn=-95 kJ; delta S degree_rxn=.157 J/k; T=298 k delta H degree_rxn=.95 kJ; delta S degree_rxn=.157 J/k; T=855 K The dimensions of a rectangle are given below. Evaluate P=2l+2w l=9 w=3