answer.
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
mamaluj [8]
2 years ago
4

Declare a variable named thisTime containing a Date object for February 3, 2018 at 03:15:28 AM. Use the toLocaleString() method

to save the text of the thisTime variable in the timeStr variable. Change the inner HTML code of the page element with the ID "timeStamp" to the value of the timeStr variable.
Engineering
1 answer:
Ivahew [28]2 years ago
4 0

Answer:

test.js

  1. let thisTime = new Date(2018, 1, 3, 3, 15, 28, 0);
  2. let timeStr = thisTime.toLocaleString();
  3. document.getElementById("timeStamp").innerHTML = timeStr;

Explanation:

In test.js file, create a Date object with specified date and time. We can specify seven numbers: year, month, day, hour, minute, second and miliseconds for the Date object (Line 1) and assign it to thisTime variable.

Next, use toLocaleString method to convert the date to string and assign it to timeStr variable (Line 2).

Lastly, use document getElementById method to create a reference object and point it to HTML element with id "timeStamp" and set the timeStr to its innerHTML property (Line 3). This will display the time string to the web page. We should see 2/3/2018, 3:15:28 AM displayed on the web page.

You might be interested in
Small droplets of carbon tetrachloride at 68 °F are formed with a spray nozzle. If the average diameter of the droplets is 200 u
Licemer1 [7]

Answer:

the difference in pressure between the inside and outside of the droplets is 538 Pa

Explanation:

given data

temperature = 68 °F

average diameter = 200 µm

to find out

what is the difference in pressure between the inside and outside of the droplets

solution

we know here surface tension of carbon tetra chloride at 68 °F is get from table 1.6 physical properties of liquid that is

σ = 2.69 × 10^{-2} N/m

so average radius = \frac{diameter}{2} =  100 µm = 100 ×10^{-6} m

now here we know relation between pressure difference and surface tension

so we can derive difference pressure as

2π×σ×r = Δp×π×r²    .....................1

here r is radius and  Δp pressure difference and σ surface tension

Δp = \frac{2 \sigma }{r}    

put here value

Δp = \frac{2*2.69*10^{-2}}{100*10^{-6}}  

Δp = 538

so the difference in pressure between the inside and outside of the droplets is 538 Pa

7 0
2 years ago
A steam power plant operates on the reheat Rankine cycle. Steam enters the highpressure turbine at 12.5 MPa and 550°C at a rate
gayaneshka [121]

Answer:

A) condenser pressure = 9.73 kPa,

B) 10242 kw

C) 36.9%

Explanation:

given data

entrance pressure of steam = 12.5 MPa

temperature of steam = 550⁰c

flow rate of steam = 7.7 kg/s

outer pressure = 2 MPa

reheated steam temperature = 450⁰c

isentropic efficiency of turbine( nt ) = 85% = 0.85

isentropic efficiency of pump = 90% = 0.90

From steam tables

at 12.5 MPa and 550⁰c ; h3 = 3476.5 kJ/kg,  S3 = 6.6317 kJ/kgK

also for an Isentropic expansion

S4s = S3 .

therefore when S4s = 6.6317 kJ/kg and P4 = 2 MPa

h4s = 2948.1 kJ/kg

nt = 0.85

nt (0.85) = \frac{h3-h4}{h3-h4s} = \frac{3476.5 - h4}{3476.5 - 2948.1}

making h4 subject of the equation

h4 = 3476.5 - 0.85 (3476.5 - 2948.1)

h4 = 3027.3 kj/kg

at P5 = 2 MPa and T5 = 450⁰c

h5 = 3358.2 kj/kg,  s5 = 7.2815 kj/kgk

at P6 , x6 = 0.95  and s5 = s6

using nt = 0.85 we can calculate for h6 and h6s

from the chart attached below we can see that

p6 = 9.73 kPa, h6 = 2463.3 kj/kg

B) the net power output

solution is attached below

c) thermal efficiency

thermal efficiency = 1 - \frac{qout}{qin} = 1 - ( 2273.7/ 3603.8) = 36.9% ≈ 37%

8 0
2 years ago
If water molecules pass through a membrane with a steady state flux of 220 mole/(m2 day), how long will it take, in hours, for 0
goblinko [34]

Answer:

<em>0.0386 hr</em>

<em></em>

Explanation:

Area = 565 cm^2 = 0.0565 m^2  (1 cm^2 = 0.0001 m^2)

flux state rate = 220 mole/m^2-day

<em>There are 24 hrs in a day,</em> therefore rate in hrs will be

220/24 = 9.17 mole/m^2-hr

mass of water = 0.4 kg

molar mass of water = (1 x 2) + 16 = 18 kg/mole

therefore,

<em>mole of water = mass of water/molar mass of water</em>

mole of water = 0.4/18 = 0.02 mole

<em>mole flux = mole/area</em> = 0.02/0.0565 = 0.354 mol/m^2

<em>time that will be taken will be for water to pass = mole flux/mole flux rate</em>

time = 0.354/9.17 = <em>0.0386 hr</em>

7 0
2 years ago
All of these are true about GMA (MIG) welding EXCEPT that:
Hatshy [7]

Answer:

the welding gun liner regulates the shielding gas.

Explanation:

The purpose of the welding gun liner is to properly position the welding wire from the wire feeder till it gets to the nozzle or contact tip of the gun. <em>Regulation of the shielding gas depends on factors such as the speed, current, and type of gas being used. </em>In gas metal arc welding, an electric arc is used to generate heat which melts both the electrode and the workpiece or base metal.

The electric arc produced is shielded from contamination by the shielding gas. The heat generated by the short electric arc is low.

3 0
1 year ago
Twenty distinct cars park in the same parking lot every day. Ten of these cars are US-made, while the other ten are foreign-made
Zina [86]

Answer:

Total no. of ways to line up cars is 20! = 2.43 c 10^18

Probability that the cars alternate is 0.00001 or 0.001%

Explanation:

Since, the position of a car is random.Therefore, number ways in which cars can line up is given as:

<u>No. of ways = 20! = 2.43 x 10^18</u>

For the probability that cars alternate, two groups will be formed, one consisting of US-made 10 cars and other containing 10 foreign made. The number of favorable outcomes for this can be found out as the arrangements of 2! between these groups multiplied by the arrangements of 10! for each group, due to the arrangements among the groups themselves.

Favorable Outcomes = 2! x 10! x 10!

Thus the probability of event will be:

Probability = Favorable Outcomes/Total No. of Ways

Probability = (2! x 10! x 10!)/20!

<u>Probability = 0.00001 = 0.001%</u>

4 0
2 years ago
Other questions:
  • Compute the mass fractions of α ferrite and cementite in pearlite. Assume T=726⁢ C∘.
    15·1 answer
  • 5. A typical paper clip weighs 0.59 g and consists of BCC iron. Calculate (a) the number of
    5·1 answer
  • A square loop of wire surrounds a solenoid. The side of the square is 0.1 m, while the radius of the solenoid is 0.025 m. The sq
    6·1 answer
  • A circular ceramic plate that can be modeled as a blackbody is being heated by an electrical heater. The plate is 30 cm in diame
    15·1 answer
  • Water is the working fluid in an ideal Rankine cycle. The condenser pressure is 8 kPa, and saturated vapor enters the turbine at
    10·1 answer
  • Steam flows at steady state through a converging, insulated nozzle, 25 cm long and with an inlet diameter of 5 cm. At the nozzle
    11·1 answer
  • Sea water with a density of 1025 kg/m3 flows steadily through a pump at 0.21 m3 /s. The pump inlet is 0.25 m in diameter. At the
    8·1 answer
  • The purification of hydrogen gas is possible by diffusion through a thin palladium sheet. Calculate the number of kilograms of h
    8·1 answer
  • An air standard cycle with constant specific heats is executed in a closed pistoncylinder system and is composed of the followin
    10·1 answer
  • When encountering low visibility from rain or fog, you should use your ____.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!