This code initially states that n=10 and f=n. Once the code enters the while loop, it stays in the while loop until the condition n>1 is not true. n is subtracted by 1 every iteration. This means that f = 10*9*8*7*6*4*3*2*1. With 9,8,7,6,5,4,3,2, and 1 being repeated n values. The disp (f) command displays the value of f after the while loop, which is equal to (n!).

Answers

Answer 1

Answer:

n = 10; f = n; while(n > 1)    n = n - 1;    f = f * n; end disp(f);

Explanation:

The solution code is written in Matlab.

Firstly, we initialize n to 10 and set n to f variable (Line 1-2).

Next, create a while loop that will continue to loop until n is equal or smaller than one. In the loop, decrement n by one and multiply n with current f_variable.

At last display value of f. The output is  3628800.


Related Questions

A certain process requires 3.0 cfs of water to be delivered at a pressure of 30 psi. This water comes from a large-diameter supply main in which the pressure remains at 60 psi. If the galvanized iron pipe connecting the two locations is 200 ft long and contains six threaded 90o elbows, determine the pipe diameter. Elevation differences are negligible.

Answers

Answer:

diameter of the pipe = 0.4932ft.

Explanation:

assuming d = 0.4932

Re = 3.16 x 10∧5/0.4932

= 6.4 x 10 ∧5

E/d = 0.0005/0.4932

= 0.0010 from moody chat t = 0.02

if 0.02 is beign substituted in equation 2 we will get the same required diameter of the pipe which is 0.4932ft.

check the attachment  for better explanation.thanks

This is a multi-part question. Once an answer is submitted, you will be unable to return to this part As steam is slowly injected into a turbine, the angular acceleration of the rotor is observed to increase linearly with the time t Know that the rotor starts from rest at t = 0 and that after 10 s the rotor has completed 20 revolutions.


Determine the angular velocity at t20 s. (You must provide an answer before moving on to the next part)


The angular velocity is [ ] rpm.

Answers

Answer:

60 rpm

Explanation:

At t = 0,

Angular speed = 0

At t = 10 sec

Angular speed = 20/10 = 2 rev/s

Average speed = (2 - 0)/2 = 1 rev/s

= 1 x 60 = 60 rpm

Using a set of values from 0 to 5, perform the following unions using union-by-size. Show the result of each union. When sizes are the same, make the second tree a child of the first tree. Notice the finds return roots, and the union will union the roots. union(find(0),find(1)) union(find(3),find(4)) union(find(5),find(1)) union(find(2),find(5)) union(find(3),find(2)) 10 points

Answers

Answer:

Explanation:

Please kindly go through the attached file for a step by step approach to the solution of this problem

5. A straight round shaft is subjected to a torque of 5000 lb - in. Determine the required diameter, using steel with a tensile yield strength of 60 ksi and a safety factor of 2 based on initial yielding: (a) According to the maximum-normal-stress theory. (b) According to the maximum-shear-stress theory. (c) According to the maximum-distortion-energy theory. Discuss briefly the relative validity of the three predictions.

Answers

Answer:

a. 0.95 in

b. 1.19 in

c. 1.137 in

Explanation:

Express the factor of safety equation for maximum-normal-stress theory as:  

S SF = Eau  

Here, the factor of safety is SF, the yield strength is S„ and the maximum stress :I  

Modify the above equation for shear stress acting on the solid rod as:  

S. SF = To  

Here, the combined shear stress on solid rod s  

Calculate the combined shear stress for solid rod.  

16T r2:1 =  trd3  

(1)  

Here, the torque is T, and the diameter of the solid rod is d.  

Substitute 5,000 'bin. for T.  

— 16(5,000 lb • in ) v  ird 80 000lb - in. _  

rd3  

60ksi 2 —  80,000lb -in. trd  

Solve the above equation for d.  

60 x 1031bAn?  80,00016 -in. ird3 —  2(80, 000 lb in.) d3  rrt60x103Ibfln?)  

v3 d —[  2(80,000lb-in.) rz-(60 x103112,An?) = 0.8488 in.3r3 =0.95 in.  

check the attached files for clear cut details

Water flows inside a smooth circular thin-walled tube of diameter D = 25 mm at a mass flow rate of 50 g/s. Outside of the tube, air moves in cross flow over the tube at a velocity of V = 20 m/s and a temperature of T[infinity] = 10°C. If the mean temperature of the water is Tm = 50°C, determine (a) The Darcy friction factor for the water flow inside the tube

Answers

Answer:

See explaination

Explanation:

We can say that that the The Darcy Friction factor or Equation is a theoretical equation that predicts the frictional energy loss in a pipe based on the velocity of the fluid and the resistance due to friction. It is used almost exclusively to calculate head loss due to friction in turbulent flow.

Please kindly check attachment for the step by step solution of the given problem.

A technician connects a voltmeter in parallel across two points in a circuit. Technician A says this will provide a reading of the potential difference in volts. Technician B says that this will also show the amperage flowing in the circuit. Who is correct?

Answers

A voltmeter is a device that measures the difference in electric potential between two locations in an electric circuit. Technician A is correct while Technician B is wrong.

What is a voltmeter?

A voltmeter is a device that measures the difference in electric potential between two locations in an electric circuit. It is linked in parallel. It generally has a high resistance and draws very little current from the circuit.

Given the technician connects the voltmeter in parallel across two points in a circuit. Therefore, the technician A is correct the meter will provide a reading of the potential difference in volts.

Hence, Technician A is correct while Technician B is wrong.

Learn more about Voltmeter:

https://brainly.com/question/8505839

#SPJ2

Calculate the length of a metal cylinder while it is subjected to a tensile stress of 10,000 psi. You are given the following data: Original length = 1 in Original cross-sectional area = 0.1 in2 Yield strength, σy = 9 ksi Young’s modulus, E = 1000 ksi

Answers

Answer:

length of cylinder can not calculated

Explanation:

given data

tensile stress = 10,000 psi

Original length = 1

Original cross-sectional area = 0.1 in²

Yield strength, σy = 9 ksi

Young’s modulus, E = 1000 ksi

solution

we can see that here that applied stress is greater than yield stress of material  that is express

1000 ksi  >  9 ksi

so here hooks law and strain relation is not working

so length of cylinder can not calculated

as stress applied 10000 psi

Under 10,000 psi tensile stress, the metal cylinder elongates by 0.01 inches, resulting in a final length of 1.01 inches.

To calculate the elongation (change in length) of the metal cylinder under tensile stress, we can use Hooke's Law, which states that the elongation [tex](\( \Delta L \))[/tex] is directly proportional to the applied tensile stress [tex](\( \sigma \))[/tex] and the original length [tex](\( L_0 \))[/tex], and inversely proportional to the Young's modulus [tex](\( E \))[/tex]:

[tex]\[ \Delta L = \frac{\sigma \cdot L_0}{E} \][/tex]

Given:

- Original length [tex](\( L_0 \))[/tex] = 1 in

- Applied tensile stress [tex](\( \sigma \))[/tex] = 10,000 psi

- Young's modulus [tex](\( E \))[/tex] = 1000 ksi = 1,000,000 psi

Substitute the values into the formula:

[tex]\[ \Delta L = \frac{10,000 \times 1}{1,000,000} \][/tex]

[tex]\[ \Delta L = \frac{10,000}{1,000,000} \][/tex]

[tex]\[ \Delta L = 0.01 \, \text{in} \][/tex]

So, the elongation of the metal cylinder under the given tensile stress is 0.01 inches.

To find the final length, we add the elongation to the original length:

[tex]\[ \text{Final length} = \text{Original length} + \Delta L \][/tex]

[tex]\[ \text{Final length} = 1 + 0.01 \][/tex]

[tex]\[ \text{Final length} = 1.01 \, \text{in} \][/tex]

Therefore, the final length of the metal cylinder under the given tensile stress is 1.01 inches.

A system consists of N very weakly interacting particles at a temperature T sufficiently high so that classical statistical mechanics is applicable. Each particle has a mass m and is free to perform one-dimensional oscillations about its equilibrium position. Calculate the heat capacity of this system of particles at this temperature in each of the following cases:

Answers

Answer:

the restoring force is = 3/4NKT

Explanation:

check the attached files for answer.

The purification of hydrogen gas by diffusion through a palladium sheet. Compute the number of kilograms of hydrogen that pass per hour through a 5-mm-thick sheet of palladium having an area of 0.20 m2 at 500°C. Assume a diffusion coefficient of 1.0 × 10-8 m2/s and that the concentrations at the high and low pressure sides of the plate are 2.4 and 0.6 kg of hydrogen per m3 of palladium. Assume steady state conditions.

Answers

Answer:

The mass of the hydrogen for one hour would be 0.0039168 kg/hr

Explanation:

The concentration and the distance at concentration point is calculated before calculating the mass of hydrogen. The attached images show a clear explanation;

The mass of the hydrogen for one hour would be 0.0039168 kg/hr. The derivation of the diffusion coefficient has been attached in the image below:

According to Fick's law, the mass of a substance dM is proportional to the concentration gradient grad c of this substance as it diffuses in time dt over a surface dF normal to the diffusion direction: dM = D grad c dF dt.

Physically, the diffusion coefficient, therefore, suggests that for a concentration gradient of unity, the mass of the substance diffuses through a unit surface in a unit of time. A square meter per second corresponds to D in the SI system. Physical constants such as temperature, pressure, and the size of the dispersing substance's molecules all affect the diffusion coefficient.

Learn more about diffusion coefficient here:

https://brainly.com/question/31430680

#SPJ6

Estimate the theoretical fracture strength of a brittle material if it is known that fracture occurs by the propagation of an elliptically shaped surface crack of length 0.28 mm and that has a tip radius of curvature of 0.002 mm when a stress of 1430 MPa is applied.

Answers

Answer:

theoretical fracture strength  = 16919.98 MPa

Explanation:

given data

Length (L) = 0.28 mm = 0.28 × 10⁻³ m

radius of curvature (r) = 0.002 mm = 0.002 × 10⁻³ m

Stress (s₀) = 1430 MPa = 1430 × 10⁶ Pa

solution

we get here theoretical fracture strength s that is express as

theoretical fracture strength  =   [tex]s_{0} \times \sqrt{\frac{L}{r} }[/tex]   .............................1

put here value and we get

theoretical fracture strength  =    [tex]1430 \times 10^6\times \sqrt{\frac{0.28\times 10^{-3}}{0.002\times 10^{-3}} }[/tex]  

theoretical fracture strength  =  [tex]16919.98 \times 10^6[/tex]  

theoretical fracture strength  = 16919.98 MPa

A specimen of copper having a rectangular cross section 15.2 mm × 19.1 mm (0.60 in. × 0.75 in.) is pulled in tension with 44,500 N (10,000 lbf) force, producing only elastic deformation. Calculate the resulting strain. Assume elastic modulus of Cu to be 110GPa. (Points: 5).

Answers

Answer:

The resulting strain is [tex]1.39\times 10^{-3}[/tex].

Explanation:

A specimen of copper having a rectangular cross section 15.2 mm × 19.1 mm

Force, F = 44,500 N

Th elastic modulus of Cu to be 110 GPa

The resulting strain is given by the formula as follows :

[tex]\epsilon=\dfrac{F}{AE}[/tex]

E is elastic modulus of Cu is are of cross section

[tex]\epsilon=\dfrac{44500}{15.2\times 19.1\times 10^{-6}\times 110\times 10^9}\\\\\epsilon=1.39\times 10^{-3}[/tex]

So, the resulting strain is [tex]1.39\times 10^{-3}[/tex].

Determine the average power, complex power and power factor (including whether it is leading or lagging) for a load circuit whose voltage and current at its input terminals are given by: v(t) = 100cos(377t-30)v, i(t) = 2.5cos(377t-60)A

Answers

Answer:

Average power = 108.25W

Complex power = 125W

PF = 0.866

Explanation:

Check attachment for step by step instructions.

Answer:

Average power: 108.25 W

Complex power: 125 VA

Power factor: 0.866

Refer below for the explanation.

Explanation:

Refer to the picture for brief explanation.

Given that the size of Elmer's property is 180 acres, and given that there are 20 volunteers, what would be a reasonable approach to surveying the land for houndstongue?

Answers

Answer:

Weed Mapping  Application is the most reasonable approach for surveying.

Answer:

The most reasonable approach to survey the property would be a GPS survey using a dual-frequency GPS system.

Explanation:

Surveying makes use of coordinates to determine positions of objects, it is the first step towards developing a property. There are different types of survey which are specific to various needs and sizes of a property.

GPS SURVEY

GPS survey makes use of the global positioning system to determine positions of a property or object. It is quite accurate and also an efficient type of survey based on its flexibility.

In the illustration, the property size is 180 acres and 20 volunteers are expected to work on it. To carry out this survey, a station whose coordinate is known normally referred to the master station is used to get the coordinates of the remote stations. The volunteers are stationed at 20 remote stations and the surveyor at the master station makes use of dual-frequency GPS system to pick the coordinates of the remote stations. The dual-frequency GPS system would be used because it covers more distance and for a survey as massive as 180 acres this is reasonable.

For the survey to be carried out seamlessly by the 20 volunteers, a dual-frequency GPS system would be used for the GPS survey.

Write a program named CheckZips that is used by a package delivery service to check delivery areas. The program contains an array that holds the 10 zip codes of areas to which the company makes deliveries. Prompt a user to enter a zip code, and display a message indicating whether the zip code is in the company’s delivery area.

Answers

Answer:

# list of 10 zip codes assigned to zip

zips = ["12789", "54012", "54481", "54982", "60007", "60103", "60187", "60188", "71244", "90210"]

# user is prompt to enter zip code and assigned to user_zip

user_zip = input("Enter your zip code: ")

# if else statement to check if user input is available for delivery

# if statement check if user zip is in zip, if it is, it display

# delivery is okay to specified zip

if user_zip in zips:

   print("Delivery to {} ok.".format(user_zip))

# else it display no delivery to such zip code

else:

   print("Sorry - no delivery to {}.".format(user_zip))

Explanation:

The question doesn't specify programming language to use. Since no programming language was stated, the problem was solved using Python3. List structure is the equivalent of array in Python.

Assumption was also made on the array holding 10 zip codes of areas to which the company make deliveries.

The program first initialized a list of 10 zip codes and assigned it to zips. Then it prompt the user to enter a zip code which is assigned to user_zip.

Then if-else statement is used to check if user inputted zip is available with the zips variable.

If it is available, "Delivery ok" is displayed to the user else "no delivery" is displayed to the user.

A square power screw has a mean diameter of 30 mm and a pitch of 4 mm with single thread. The collar diameter can be assumed to be 35 mm. The screw is to be used to lift and lower a load of 7 kN. A coefficient of friction of 0.05 is to be used for friction at the thread and at the collar. Determine the following: (i) Torque required to raise the load, TR, (Equation 8.1) (ii) Torque required to lower the load, TL, (Equation 8.2) (iii) A conservative estimate of self locking condition is to set TL in equation 8.2 to zero and calculate the minimum coefficient of friction to ensure self locking. What is the minimum coefficient of friction to ensure self locking

Answers

Answer:

i) The torque required to raise the load is 15.85 N*m

ii) The torque required to lower the load is 6.91 N*m

iii) The minimum coefficient of friction is -0.016

Explanation:

Given:

dm = mean diameter = 0.03 m

p = pitch = 0.004 m

n = number of starts = 1

The lead is:

L = n * p = 1 * 0.004 = 0.004 m

F = load = 7000 N

dc = collar diameter = 0.035 m

u = 0.05

i) The helix angle is:

[tex]tan\alpha =\frac{L}{\pi *d_{m} } =\frac{0.004}{\pi *0.03} \\\alpha =2.43[/tex]

The torque is:

[tex]T=F\frac{d_{m} }{2} (\frac{\pi *u*d_{m}+L }{\pi *d_{m}-uL } )+(u_{c} F+\frac{d_{2} }{2} )=7000*\frac{0.03}{2} (\frac{\pi *0.05*0.03+0.004}{\pi *0.03-0.05*0.004} )+(0.05*7000*\frac{0.035}{2} )=15.85Nm[/tex]

ii) The torque to lowering the load is:

[tex]T=7000*\frac{0.03}{2} (\frac{\pi *0.05*0.03-0.004}{\pi *0.03+0.05*0.004} )+(0.05*7000*\frac{0.035}{2} )=6.91Nm[/tex]

iii)

[tex]T=F\frac{d_{m} }{2} (\frac{u*\pi *d_{m}-L}{\pi *d_{m}+uL} )+u_{c} *F*\frac{d_{c}}{2}\\ 0=F\frac{d_{m} }{2} (\frac{u*\pi *d_{m}-L}{\pi *d_{m}+uL} )+u_{c} *F*\frac{d_{c}}{2}\\F\frac{d_{m} }{2} (\frac{u*\pi *d_{m}-L}{\pi *d_{m}+uL} )=-u_{c} *F*\frac{d_{c}}{2}\\\frac{d_{m} }{2} (\frac{u*\pi *d_{m}-L}{\pi *d_{m}+uL} )=-u_{c} *\frac{d_{c}}{2}\\\\\frac{0.03}{2} (\frac{u*\pi *0.03-0.004}{\pi *0.03+u*0.004} )=-0.05*\frac{0.035}{2}[/tex]

Clearing u:

u = -0.016

Calculate the headloss through a filter bed consisting of 30.0 in. of stratified sand with the gradation given below. Assume a filtration rate of 5.0 gpm/ft2, a clean bed porosity of 0.42 and a temperature of 40i F.

U.S. Sieve Number 50

40 30 20 18 16

Sieve Opening (mm) 0.297

0.420 0.590 0.840 1.000 1.190

Percent Passing (by wt.) 0.10

6.50 22.00 76.00 90.00 98.00

Answers

Answer:

1.5258m

Explanation:

Please see attachment

2. Similar to problem 1, assume your computer system has a 32-bit byte-addressable architecture where addresses and data are each 32 bits. It has a 16K-byte (16,384 bytes) direct-mapped cache, but now the block size is 32 bytes. Answer the following question to observe how the design change impacts the cache size. [10pts]

Answers

Question:

The question is not complete. The question to answer was not added. See below the possible question and the answer.

a. How many blocks are in the cache with this new arrangement?

b. Calculate the number of bits in each of the Tag, Index, and Offset fields of the memory address.

C. Using the values calculated in part b, what is the actual total size of the cache including data, tags, and valid bits?

Answer:

(a) Number of blocks =  512 blocks

(b) Tag is 18

(c)  Total size of the cache = 8388608 bytes

Explanation:

a .

block size = 32 bytes

cache size = 16384 bytes

No.of blocks = 16384 / 32

No.pf blocks = 512 blocks

b.

Total address size = 32 bits

Address bits = Tag + Line index +block offset

Block Size = 32 bytes.

So block size = 25 bytes.

Hence Offset is 5

No . of Cache blocks = 512 blocks = 29 blocks

Hence line offset is 9

We know that Address bits = Tag + Line index +block offset

So , 32 =tag+9+5

tag = 32-(9+5)

So Tag is 18

c.

Data bits = 32 bits

Tag=18 bits

Valid bit is 1 bit

so Total cache size = 25+218+20

                                  = 223

                                  =8388608 bytes

A 500 turn coil is wound on an iron core. When a 120Vrms 60Hz voltage is applied to the coil, the current is 1A rms. Neglect the resistance of the coil. Determine the reluctance of the core. Given that the cross-sectional area of the core is 5cm2 and the length is 20cm, determine the relative permeability of the core material.

Answers

Answer:

R = 7.854 x 10⁵ anpert turns / Wb

Relative permeability = 405.3

Explanation:

Detailed explanation is given in the attached document.

Answer: 85398.16, 405.28473.

Explanation:

We are given that the number of turns on the core is 500 2 , the cross sectional area is :

A=5cm^{2}({1meter}/{100cm})^{2} =0.0005meters^{2}

and the length of the core is l=20cm ({1meter}/{100cm})= 0.2meters .

In this solution, we are meant to neglect the resistance of the coil , and the current through the coil is I=1amPrms when the voltage applied across it is:

V=120voltsrms at f=60Hz. From this, We can calculate the inductance(L) whiof the coil (a coil have an inductance value of one Henry when an electromotive force of one volt is induced in the coil were the current flowing through the said coil changes at a rate of one ampere/second).

The natural frequency of the applied voltage is:

ω =2π f=2π(60)=120π{radians}/{second} .

The inductive reactance of the coil is equal to X=ω L=120π L . We then know that current is :

I=V/X

=I =20/120πL

L=120/120π

=1/π henries .

For reluctance (R) (which is a unit measuring the opposition to the flow of magnetic flux within magnetic materials and is analogous to resistance in electrical circuits). Looking at the relationship between inductance and reluctance . You will note that it is :

L=n^2/R .

We can use this relationship to find reluctance for our closed iron core coil :

L=1/π = 500^2/R

R=500^2π =785398.16{amps}/{volt-seconds}}

We can therefore use the other equation for reluctance.

R=1/μ A= 1/μA or μRA

To calculate the relative permeability of the core :

R=500^2π

=0.2/(4π ×10^-7)/ μR(0.0005)

μR=0.2/(4π ×10^-7)/ 500^2π(0.0005)

= 405.28473

A four‐lane freeway (two lanes in each direction) operates at flow rate of 1700 during the peak hour. It has 11‐ft lanes, 4‐ft shoulders, and there are three ramps within three miles upstream of the segment midpoint and four ramps within three miles downstream of the segment midpoint. The freeway has only regular users. There are 8% heavy trucks, and it is on rolling terrain with a peak‐hour factor of 0.85. It is known that 12% of the AADT occurs in the peak hour and that the directional factor is 0.6.


What is the freeway’s AADT?

Answers

Answer:

Please see the attached file for the complete answer.

Explanation:

Select all of the true statements.


A. Diodes are used in voltage regulators and limiters.

B. Different diode models are used to replace the real diode with a simpler version that approximates the i-v characteristics of the real diode.

C. In the ideal diode plus voltage source model, the forward bias region is characterized by VD

Answers

Answer:

Diodes consists of two-terminal electronic parts which conducts current mainly in one direction. It has low resistance in one direction and high resistance in the other direction. These are correct statements about a Diode.

A. Diodes are used in voltage regulators and limiters.

C. In the ideal diode plus voltage source model, the forward bias region is characterized by VD

Explanation:

Diodes

Steam enters an insulated pipe at 200 kPa and 200°C and leaves at 150 kPa and 150°C. The inlet-to-outlet diameter ratio for the pipe is D1/D2 = 1.80. Determine the inlet and exit velocities of the steam.

Answers

Answer:

Inlet and exit velocities are 143.71 m/sec and 465.697 m/sec

Explanation:

At inlet of the pipe

[tex]P_1=150kPa[/tex] and [tex]T_1=150^{\circ}C[/tex]

At this pressure and temperature from steam table.

[tex]h_1=2870kj/kg[/tex] and [tex]s_1=7.508kj/kgK[/tex]

At pressure [tex]P_2=200kPa[/tex] and [tex]T_2=200^{\circ}C[/tex]

By steam table from interpolation method.

[tex]h_2=2776.38+(2768.80-2776.38)(\frac{150-100}{200-100})[/tex]

[tex]h_2=2772.59kj/kg[/tex]

[tex]Q=A_1V_1=A_2V_2[/tex]

[tex]D_1^2V_1=D_2^2V_2[/tex]

We have given [tex]\frac{D_1}{D_2}=1.80[/tex]

[tex]\frac{V_1}{V_2}=\frac{D_2^2}{D_1^2}[/tex]

[tex]\frac{V_1}{V_2}=(\frac{1}{1.80})^2[/tex]

[tex]V_1=0.3086V_2[/tex]

Now energy equation in the pipe

[tex]h_1+\frac{V_1^2}{2}=h_2+\frac{V_2^2}{2}[/tex]

[tex]2870.7\times 10^3+\frac{0.3086V_2^2}{2}=2772.59\times 10^3+\frac{V^2}{2}[/tex]

[tex]V_2=465.697m/sec[/tex]

[tex]V_1=0.3086\times 465.697=143.714m/sec[/tex]

As a project manager of Permagam Construction you want to plan renting a fleet of 25 cu yd tractor-scrapers and have them hauling between the pit and a road construction job. The haul road is a rutted dirt road that deflects slightly under the load of the scraper. There is a slight grade of 5% from the pit at the fill location. The return road is level. The haul distance to the dump location is 0.90 miles and the return distance is 0.75 miles. The scrapers are push loaded in the pit. The cycle time for the pusher is 1.5 minutes and the cycle time for the scrapers is 8 minutes. Assume that the weight on the wheels is 75 tons (full) and 50 tons

(empty). (Use Tables 14.1 and 14.2)

What are the rolling resistances and grade resistance?

What are the effective grades?

How many scrapers you recommend to be rented? Explain.

What is the production of the system in case 4 scrapers would be rented?

Answers

Answer:

See explaination

Explanation:

Rolling resistance which in some occassions can be called rolling friction or rolling drag, is the force resisting the motion when a body rolls on a surface.

In order to calculate our rolling resistance, there should be a force.

Please kindly check attachment for the step by step solution of the given problem.

A cylinder fitted with a movable piston contains water at 3 MPa with 50% quality, at which point the volume is 20 L. The water now expands to 1.2 MPa as a result of receiving 600 kJ of heat from a large source at 300◦C. It is claimed that the water does 124 kJ of work during this process. Is this possible?

Answers

Answer:

The process is possible:

Explanation:

We are going to find out if the entropy generated is greater than 0, if it is greater than 0, then the process is feasible. If it is not, the process is not feasible.

[tex]P_{1} = 3 MPa[/tex]

[tex]x_{1} = 50 % = 0.5[/tex]

[tex]V_{1} = 20 L = 0.02 m^{3}[/tex]

[tex]P_{2} = 1.2 MPa[/tex]

[tex]T_{H} = 300^{0} C = 573 K[/tex]

Received heat energy, [tex]Q_{12} = 600 kJ[/tex]

Work done, [tex]W_{12} = 124 kJ[/tex]

At state 1, using the steam table:

[tex]T_{1} = T_{s} = 233.9^{0} C\\v_{f1} = 0.001216 m^{3} /kg\\v_{fg1} = 0.06546m^{3} /kg\\u_{f1} = 1004.76 kJ/kg\\u_{fg1} = 1599.34 kJ/kg\\s_{f1} = 2.6456 kJ/kg-K\\s_{fg1} = 3.5412kJ/kg-K[/tex]

[tex]v_{1} = v_{f1} + x_{1} * v_{fg1}[/tex]

[tex]v_{1} = 0.001216 + 0.5*(0.06546)\\v_{1} = 0.03395 m^{3} /kg[/tex]

[tex]M = \frac{V_{1} }{v_{1} } \\M = 0.02/0.03395\\M = 0.5892 kg[/tex]

[tex]u_{1} = u_{f1} + x_{1} * u_{fg1}\\u_{1} = 1004.76 + 0.5*1599.34\\u_{1} = 1804.43 kJ/kg[/tex]

[tex]s_{1} = s_{f1} + x_{1} * s_{fg1}\\s_{1} = 2.6456 + 0.5*3.5412\\s_{1} = 4.4162 kJ/kg[/tex]

[tex]Q_{12} = m(u_{2} - u_{1} ) + W_{12} \\600 = 0.5892(u_{2} -1804.43) + 124\\[/tex]

Solving for u₂

[tex]u_{2} = 2612.3 kJ/kg[/tex]

Since P₂ = 1.2 MPa, u₂ = 2612.2 kJ/kg,

then from steam table, T₂ = 200°C, S₂ = 6.5898 kJ/kg-K

The entropy generated will be:

[tex]\triangle S = m(S_{2} -S_{1} ) - \frac{Q_{12} }{T_{H} }\\ \triangle S= 0.5892(6.5898 - 4.4162) - \frac{600 }{573 }\\ \triangle S =0.233 kJ/K[/tex]

Since ΔS > 0, this process is possible

Answer:

Yes it is possible

Explanation:

Attached is the solution

When will stemuless checks come I was told not to file my taxes because I get a pension check every month direct deposit money into my bank account is this true I don't have to do my taxes because of this

Answers

The IRS and the U.S Department of the treasury declared that social security recipients are not required to file a simple tax return to receive stimulus payments under the CARES Act.

Explanation:

Due to the impact of corona virus problem, the CARES Act calls for stimulus payment to be sent to Americans based on their gross income.

The Social security recipients are not required to file a tax return and do not take action and they will receive the payments directly to their bank accounts.

The Automatic payments will begin by next week. The eligible taxpayers who filed tax returns for 2019  or 2018 and chose direct deposit for their refund will automatically receive a stimulus payment of  $1,200 for individuals or $2,400 for married couples and $500 for each qualifying child.

Air flows through a 0.25-m-diameter duct. At the inlet the velocity is 300 m/s, and the stagnation temperature is 90°C. If the Mach number at the exit is 0.3, determine the direction and the rate of heat transfer. For the same conditions at the inlet, determine the amount of heat that must be transferred to the system if the flow is to be sonic at the exit of the duct.

Answers

Answer:

a. 318.2k

b. 45.2kj

Explanation:

Heat transfer rate to an object is equal to the thermal conductivity of the material the object is made from, multiplied by the surface area in contact, multiplied by the difference in temperature between the two objects, divided by the thickness of the material.

See attachment for detailed analysis

An activated sludge plant receive 5.0 MGD of wastewater with a BOD of 220 mg/L. The primary clarifier removes 35% of the BOD. The sludge is aerated for 6 hr. The food-to-microorganism ratio is 0.30. The recirculation ratio is 0.2. The surface loading rate of the secondary clarifier is 800 gal/day-ft2. The final effluent has a BOD of 15 mg/L. What are the (a) BOD removal efficiency of the activated sludge treatment processes (secondary BOD removal), (b) aeration tank volume, (c) MLSS, and (d) secondary clarifier surface area? If 0.5 pound of oxygen is required for each pound of BOD entering the aeration tank and the density of air is approximately 0.075 lb/ft3, and the air is 20.9% oxygen by volume, calculate air requirements per day.

Answers

Answer:

(a) BOD removal efficiency = 89.51%

(b) Aeration tank volume = 4732m³

(c) MLSS = 1706.669 mg/L

(d) Secondary clarifier surface area 6250ft²

(e) Air requirement =  12930.284 lb

Explanation:

See the attached file for explanation.  This is continuation from page 3 of the attached file.

Air required = 172403.792 ft3

since, density of air = 0.075lb/ft3

air required = 0.075*172403.792 lb

                    = 12930.284 lb

Your program this week will have the same output as lab 10, except that instead of redirecting the filename for the input file, you will get the filename from the command-line, and use a file pointer to open the file. You will also dynamically allocate space in memory after reading in the first value from the file indicating the number of lean proteins that are in the file.

Answers

Answer:

Check the explanation

Explanation:

defs.h

#ifndef DEFS_H

#define DEFS_H

#include <stdio.h>

#include <stdlib.h>

typedef struct

{

   char item[20];

   char quantity[10];

   int calories;

   float protein;

   float carbs;

   float fats;

} food;

int size;

void printArray(int size, food arr1[]);

#endif

arrayProcessing.c

#include "defs.h"

void printArray(int size, food arr1[])

{

   int i = 0;

   printf("\nFOOD ITEM\t\tQUANTITY\tCALS\tPRO\tCARBS\tFAT");

   for (i = 0; i < size; i++)

   {

       printf("\n%i.%s", i + 1, arr1[i].item);

       printf("\t\t%s", arr1[i].quantity);

       printf("\t\t%i", arr1[i].calories);

       printf("\t%.2f", arr1[i].protein);

       printf("\t%.2f", arr1[i].carbs);

       printf("\t%.2f\n", arr1[i].fats);

   }

}

lab12.c

#include "defs.h"

int main(int argc, char *argv[])

{

   int i = 0;

   FILE *inFile;

   inFile = fopen(argv[1], "r");

   if(inFile==NULL){

       fprintf(stderr, "File open error. Exiting program\n");

       exit(1);

   }

   fscanf(inFile, "%i", &size);

   food *arr = (food *)malloc(sizeof(food)*size);

   for (i = 0; i < size; i++)

   {

       fscanf(inFile, "\n%[^\n]s", arr[i].item);

       fscanf(inFile, "%s", arr[i].quantity);

       fscanf(inFile, "%i", &arr[i].calories);

       fscanf(inFile, "%f", &arr[i].protein);

       fscanf(inFile, "%f", &arr[i].carbs);

       fscanf(inFile, "%f", &arr[i].fats);

   }

   printArray(size, arr);

   return 0;

}

Kindly check the Output below,

4. A 25 km2 watershed has a time of concentration of 1.6 hr. Calculate the NRCS triangular UH for a 10-minute rainfall event and plot it. Determine the runoff hydrograph for a 30-minute storm where there is 4 cm of runoff in the first 10 min, 2.5 cm of runoff in the second 10 min, and 2 cm of runoff in the third 10 min. Plot the runoff hydrograph for each 10-minute rainfall excess along with the aggregated (total) runoff hydrograph on the same axes. Also report the peak flow of the aggregated runoff hydrograph. Also report the total volume of runoff. You do not need to report any tables of data.

Answers

Answer:

The NRCS triangular UH for a 10-minute rainfall is Qp = 49.84 m³/s

Peak flow of the aggregated runoff hydrograph is 420.58 m³/s

The total volume of runoff is 2125000 m³/s

Explanation:

We have

A = 25 km²

tr = 10 min = 1/6 hr

tc = 1.6 hr

lag time = 0.6 tc = 0.96 hr

Tp = tr/2 + 0.6 tc = 1/12 + 0.96 = 1.043 hr

Qp = 2.08×25/1.043 = 49.84 m³/s

Tb = 8/3×Tp = 8/3×1.043 = 2.782 hr

 

Since the area is  

Time (min)           Runoff (cm)       Volume of runoff m³

0                   0                                     0

10                  4                                     1000000 m³

20                 2.5                                  625000 m³

30                 2                                      500000 m³

Total volume of runoff = 1000000 + 625000 + 500000 =  2125000 m³/s

For the 1st  10 minutes, we have

A = 25 km²

tr = 30 min = 1/2 hr

tc = 1.6 hr

lag time = 0.6 tc = 0.96 hr

Tp = tr/2 + 0.6 tc = 1/4 + 0.96 = 1.21 hr

Qp = 2.08×25×4/1.043 = 197.92 m³/s

Tb = 8/3×Tp = 8/3×1.21 = 3.227  hr

 

For the 2nd 10 minutes, we have

A = 25 km²

tr = 30 min = 1/2 hr

tc = 1.6 hr

lag time = 0.6 tc = 0.96 hr

Tp = tr/2 + 0.6 tc = 1/4 + 0.96 = 1.21 hr

Qp = 2.08×25×2.5/1.043 = 123.7 m³/s

Tb = 8/3×Tp = 8/3×1.21 = 3.227  hr

For the 3rd 10 minutes, we have

A = 25 km²

tr = 30 min = 1/2 hr

tc = 1.6 hr

lag time = 0.6 tc = 0.96 hr

Tp = tr/2 + 0.6 tc = 1/4 + 0.96 = 1.21 hr

Qp = 2.08×25×2.5/1.043 = 98.96 m³/s

Tb = 8/3×Tp = 8/3×1.21 = 3.227  hr

 

Peak flow of aggregate runoff is given by

Qp (total) = 98.96 + 123.7 +197.92 = 420.58 m³/s

Total volume of runoff is given by

Total volume of runoff = 1000000 + 625000 + 500000 =  2125000 m³/s

3) A mixture of nitrogen and oxygen (xN2=0.7) behaves as an ideal gas mixture. 50 moles of this mixture at 1 bar and 25 °C are fed into an initially-empty, rigid, diathermal vessel causing the pressure in the vessel to reach 1 bar. Assuming the surroundings are also at 25 °C, calculate the heat transfer needed for the gas mixture in the vessel to be at 25 °C. At this temperature, Cp for nitrogen = 1.040 J/(g K) and Cp for oxygen = 0.918 J/(g K).

Answers

Answer:

435.032 kj

Explanation:

We can describe Heat transfer as a discipline of thermal engineering that concerns the generation, use, conversion, and exchange of thermal energy between physical systems.

Please refer to the attached file for the detailed step by step solution of the given problem

// global variables int a = 5, b = 6, c = 7, d = 8; void sub2() { int a = 0, b = 3; //local variables { int b = 5; //local variable System.out.println("a=" + a); System.out.println("b=" + b); System.out.println("c=" + c); System.out.println("d=" + d); } } void sub1() { int a = 2, b = 4, c = 1; //local variables sub2(); } void main() { int a = 1, b = 2, c = 3, d = 4; //local variables sub1(); }\

Answers

Answer:

1)

Static scoping

A=0

B=5

C=3

D=4

2) For dynamic scoping

A=2

B=5

C=1

D=8

Other Questions
What< and > this stand for?? You can solve the equation 3x + 3 = x + 5 by graphing y = 3x + 3 and y = x + 5 and finding their point of intersection. Use the drop-down menu to complete the statement below.The solution of 3x + 3 = x + 5 is:A. 6B.1C.(1,6)D. (6,1) PLZ HELP ASAP GEOMETRY Person a pushes a box on wheeled to the left with a force of 10,000 Newton's .Person b and friction from the floor exerts a net force of 9,990n force to the right how does the box move and why Why is it important that Orpheus was the greatestmusician who ever lived?His gift for music is the reason Eurydice fell in love withhim.His music convinces Hades that Eurydice must remain inthe Underworld.His beautiful music allows him to travel to the Underworldunharmed.His music is powerful enough to free Eurydice from theUnderworld. The leaders of the united states the use and Great bear and said they wanted to cooperate so why were negotiations at the awesome Potsdam conference so difficult Select the correct text in the passage. In this excerpt from Charles Dickenss A Christmas Carol, which part of the dialogue shows a characters surprise at the change in Scrooges attitude?He had not gone far, when coming on towards him he beheld the portly gentleman, who had walked into his counting-house the day before, and said, Scrooge and Marleys, I believe?" It sent a pang across his heart to think how this old gentleman would look upon him when they met; but he knew what path lay straight before him, and he took it.My dear sir, said Scrooge, quickening his pace, and taking the old gentleman by both his hands. How do you do? I hope you succeeded yesterday. It was very kind of you. A merry Christmas to you, sir!Mr. Scrooge?Yes, said Scrooge. That is my name, and I fear it may not be pleasant to you. Allow me to ask your pardon. And will you have the goodnesshere Scrooge whispered in his ear.Lord bless me! cried the gentleman, as if his breath were taken away. "My dear Mr. Scrooge, are you serious?"If you please, said Scrooge. Not a farthing less. A great many back-payments are included in it, I assure you. Will you do me that favour?My dear sir, said the other, shaking hands with him. I dont know what to say to such munifiDont say anything, please, retorted Scrooge. Come and see me. Will you come and see me?I will! cried the old gentleman. And it was clear he meant to do it.Thankee, said Scrooge. I am much obliged to you. I thank you fifty times. Bless you!A. "Scrooge and Marley's, I believe?"B. "My dear Mr. Scrooge, are you serious?"C. "I am much obliged to you. I thank you fifty times. Bless you!" Ecoge la letra de la frase que completa lgicamente cada oracin.1. Los chicos van a pescar en _____.A. el lagoB. la piscinaC. la oficina2. Lorenzo se compr una maleta porque se va _____.A. a sentarseB. de viajeC. a pescar3. El hotel no est a la derecha; est _____.A. a la izquierdaB. en el lagoC. con llave4. A las diez de la noche, debes _____ tocar la guitarra.A. despedirte deB. acostumbrarte aC. dejar de5. Clarisa se quiere ir porque no se est _____.A. olvidandoB. sentandoC. divirtiendo6. Con este fro vamos a pescar _____.A. pecesB. un resfriadoC. la gripe If the smaller pyramid has a surface area of 25.49 ft2, what is the surface area of the larger pyramid? Round to the nearest hundredth.height 6 small pyramidheight 15 large pyramid Show that (4i)/(-1+i)^18 is real and find its value. Do you think the Supreme Court was right to halt the recount inFlorida? Why or why not? You invest $2,800 in an account that pays an interest rate of 6.5% compounded continuously calculate the balance of your account after 19 years. Round your answer to the nearest hundredth Find the zeros of the function f(x)=6(x+2)(x-8.6) Nasim is making hot sauce. She puts in chile peppers and tomatoes in a ratio of 1 to 3. If she puts in 9 tomatoes, how many chile peppers should she put in? Which of the following probabilities is the greatest for a standard normal distribution? Marys restaurant bill comes out to $46.86 before tax. If the tax is 6.25% and she tips the waiter 20% what is the total cost of the meal? Hint: Find the tax first then add it to the cost, then find the tip then add to cost/tax When electrons move through a series of electron acceptor molecules in cellular respiration ________. When electrons move through a series of electron acceptor molecules in cellular respiration ________. the electrons gain energy as they move from one electron acceptor to another glucose is eventually reduced by the electrons in the formation of water the electrons release large amounts of energy each time they are transferred from one electron acceptor to another oxygen is eventually reduced by the electrons in the formation of water A set of diagrams. The bottom is labeled Age in years. A log underground with many arrows representing movement from the log to aboveground, at 100 percent; Age is 0 years. A log underground with fewer arrows representing movement from the log to aboveground, at 50 percent; Age is 5,730 years. A log underground with four arrows representing movement from the log to aboveground, at 25 percent; Age is 11,460 years. A log underground with two arrows representing movement from the log to aboveground, at 12.5percent; Age is 17,190 years. Which statements describe the image? Check all that apply. A) The wood is releasing argon gas.B) This information is useful for dating ancient rock. C) The process works only with organic matter. D) The element has a half-life of 5,730 years. E) This shows the half-life of carbon-19. These two artist always insisted their pieces are about(20 Points)A) Saving the environment though wrapping It in plasticB) Fighting against the government through wrapping their buildings and monuments in colorful plasticC) Experiencing the artwork in the moment, in the context of its environment.D) Nothing they just like wrapping things in plastic Which statement describes electromagnetic waves withwavelengths greater than 700 nanometers?O They take the form of heat.They can cause skin cancer and sunburn.They are some of the shortest waves.O They can be seen by human eyes as visible light.