1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
777dan777 [17]
3 years ago
7

Create a document that includes a constructor function named Company in the document head area. Include four properties in the C

ompany object definition: name, products, motto, and numEmployees (for number of employees.) Initiate a new Company object in the document body , then assign values to each of the properties Print the name, products, motto, and the numEmployees properties to the screen using document.write methods. Combine each printed property with a descriptive string. For example, when you print the company name, it should read something like " The company name is MyComany."

Engineering
1 answer:
Stella [2.4K]3 years ago
3 0

I have added the answer as a pic due to difficulties pasting the text here.

You might be interested in
Please help is due tonight
Kipish [7]

Answer:

tHE answer is b

Explanation:

7 0
3 years ago
Read 2 more answers
Select the correct answer.
Ulleksa [173]
The answer is A. Immediately inform her colleague
4 0
3 years ago
Write the following decorators and apply them to a single function (applying multiple decorators to a single function): 1. The f
natita [175]

Answer:

Complete question is:

write the following decorators and apply them to a single function (applying multiple decorators to a single function):

1. The first decorator is called strong and has an inner function called wrapper. The purpose of this decorator is to add the html tags of <strong> and </strong> to the argument of the decorator. The return value of the wrapper should look like: return “<strong>” + func() + “</strong>”

2. The decorator will return the wrapper per usual.

3. The second decorator is called emphasis and has an inner function called wrapper. The purpose of this decorator is to add the html tags of <em> and </em> to the argument of the decorator similar to step 1. The return value of the wrapper should look like: return “<em>” + func() + “</em>.

4. Use the greetings() function in problem 1 as the decorated function that simply prints “Hello”.

5. Apply both decorators (by @ operator to greetings()).

6. Invoke the greetings() function and capture the result.

Code :

def strong_decorator(func):

def func_wrapper(name):

return "<strong>{0}</strong>".format(func(name))

return func_wrapper

def em_decorator(func):

def func_wrapper(name):

return "<em>{0}</em>".format(func(name))

return func_wrapper

@strong_decorator

@em_decorator

def Greetings(name):

return "{0}".format(name)

print(Greetings("Hello"))

Explanation:

5 0
3 years ago
Why does teachers grade things that are not due yet​
pav-90 [236]
I think because if you’ve already turned it in they might as well grade asap instead of waiting
4 0
3 years ago
Read 2 more answers
For a flow rate of 212 cfs find the critical depth in (a) a rectangular channel with ????=6.5 ft, (b) a triangular channel with
Fofino [41]

Answer:

A. 3.21ft

B. 3.51ft

C. 2.95ft

D. 1.5275ft

Explanation:

A) Q =212 cu.f/s

Formula for critical depth of rectangular section is: dc =[(Q^2) /(b^2(g))]^1/3

Where dc =critical depth, ft

Q= quantity of flow or discharge, ft3/s

B= width of channel, ft (m)

g = acceleration due to gravity which is 9.81m/s2 or 32.185ft/s2

Now, from the question,

Q = 212 cu.f/s and b=6.5ft

Therefore, the critical depth is: [(212^2)/(6.5^2 x32. 185)]^(1/3)

To give ; critical depth= (44,944/1359.82)^(1/3) = 3.21ft

B. Formula for critical depth of a triangular section; dc = (2Q^2/gm^2)^(1/5)

From the question, Q =212 cu.f/s and m=1.6ft while g= 32.185ft/s2

Therefore, critical depth = [(212^2) /(1.6^2 x32. 185)] ^(1/5) = (44,944/84.466)^(1/5) = 3.51ft

C. For trapezoidal channel, critical depth(y) is derived from (Q^2 /g) = (A^3/T)

Where A= (B + my)y and T=(B+2my)

Now from the question, B=6.5ft and m=5ft.

Therefore, A= (6.5 + 2y)y and T=(6. 5 + 2(5y))= 6.5 + 10y

Now, let's plug the value of A and T into the initial equation to derive the critical depth ;

(212^2 /32.185) = [((6.5 + 2y)^3)y^3]/ (6.5 + 10y)

Which gives;

1396.43 = [((6.5 + 2y)^3)y^3]/ (6.5 + 10y)

Multiply both sides by 6.5 + 10y to get;

1396.43(6.5 + 10y) = [((6.5 + 2y)^3)y^3]

Factorizing this, we get y = 2. 95ft

D) Formula for critical depth of a circular section; dc =D/2[1 - cos(Ѳ/2)]

Where D is diameter of pipe and Ѳ is angle at critical depth in radians.

Angle not given, so we assume it's perpendicular angle is 90.

Since angle is in radians, therefore Ѳ/2 = 90/2 = 45 radians ; converting to degree, = 2578. 31

Therefore, dc = (6.5/2) (1 - cos (2578.31))

dc = 3.25(1 - 0.53) = 3.25 x 0.47 = 1.5275ft

8 0
3 years ago
Other questions:
  • Estudio de caso Teorema de Bayes. Las historias de casos clínicos indican que diversas enfermedades producen sistemas similares.
    14·1 answer
  • What can happen to you if you are in a crash and not wearing a seat belt?<br> Explain.
    13·2 answers
  • Which part does NOT rotate when the engine is running and the clutch pedal is depressed?
    7·1 answer
  • MCQ : What are the main the constituents of acid rains?
    10·2 answers
  • 1)A wheel is used to turn a valve stem on a water valve. If the wheel radius is 1 foot and the stem, (axle), radius is .5 inches
    10·1 answer
  • How do people eat with there noses shut
    12·2 answers
  • Consider a 400 mm × 400 mm window in an aircraft. For a temperature difference of 90°C from the inner to the outer surface of th
    10·1 answer
  • Policeman says, "Son, you can't stay here"
    9·1 answer
  • the social dilemma and coded bias documentary compare and contrast (goods and bad) they may have on future technology developmen
    12·1 answer
  • All of the following are drum brake components mounted to the backing plate, EXCEPT:
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!