Answer:
insert (array[] , value , currentsize , maxsize )
{
if maxsize <=currentsize
{
return -1
}
index = currentsize-1
while (i>=0 && array[index] > value)
{
array[index+1]=array[index]
i=i-1
}
array[i+1]=value
return 0
}
Explanation:
1: Check if array is already full, if it's full then no component may be inserted.
2: if array isn't full:
- Check parts of the array ranging from last position of range towards initial range and determine position of that initial range that is smaller than the worth to be inserted.
- Right shift every component of the array once ranging from last position up to the position larger than the position at that smaller range was known.
- assign new worth to the position that is next to the known position of initial smaller component.
Answer:
a) 60000 psi
b) 1.11*10^6 psi
c) 112000 psi
d) 30.5%
e) 30%
Explanation:
The yield strength is the load applied when yielding behind divided by the section.
yield strength = Fyield / A
A = π/4 * D^2
A = 0.5 in^2
ys = Fy * A
y2 = 30000 * 0.5 = 60000 psi
The modulus of elasticity (E) is a material property that is related to the object property of stiffness (k).
k = E * L0 / A
And the stiffness is related to change of length:
Δx = F / k
Then:
Δx = F * A / (E * L0)
E = F * A / (Δx * L0)
When yielding began (approximately the end of the proportional peroid) the force was of 30000 lb and the change of length was
Δx = L - L0 = 1.8075 - 1.8 = 0.0075
Then:
E = 30000 * 0.5 / (0.0075 * 1.8) = 1.11*10^6 psi
Tensile strength is the strees at which the material breaks.
The maximum load was 56050 lb, so:
ts = 56050 / 0.5 = 112000 psi
The percent elongation is calculated as:
e = 100 * (L / L0)
e = 100 * (2.35 / 1.8 - 1) = 30.5 %
If it necked with and area of 0.35 in^2 the precent reduction in area was:
100 * (1 - A / A0)
100 * (1 - 0.35 / 0.5) = 30%
Answer:
COP = 3.828
W' = 39.18 Kw
Explanation:
From the table A-11 i attached, we can find the entropy for the state 1 at -20°C.
h1 = 238.43 KJ/Kg
s1 = 0.94575 KJ/Kg.K
From table A-12 attached we can do the same for states 3 and 4 but just enthalpy at 800 KPa.
h3 = h4 = hf = 95.47 KJ/Kg
For state 2, we can calculate the enthalpy from table A-13 attached using interpolation at 800 KPa and the condition s2 = s1. We have;
h2 = 275.75 KJ/Kg
The power would be determined from the energy balance in state 1-2 where the mass flow rate will be expressed through the energy balance in state 4-1.
W' = m'(h2 - h1)
W' = Q'_L((h2 - h1)/(h1 - h4))
Where Q'_L = 150 kW
Plugging in the relevant values, we have;
W' = 150((275.75 - 238.43)/(238.43 - 95.47))
W' = 39.18 Kw
Formula foe COP is;
COP = Q'_L/W'
COP = 150/39.18
COP = 3.828
Answer:
- SNOW SQUALLS - Squalls are substantial snow showers that cause white-out conditions. A couple of squalls are conceivable at the beginning of today through mid-evening. The most elevated possibility is north of the expressway.
- COLD - Because of away from and a new cover of day off, have plunged to the youngsters and 20s. There are frigid untreated surfaces.
- WINDS – One can expect supported breezes 15-25 mph this evening, with blasts to 40 mph. Solid breezes, alongside temperatures during the 30s, will create wind chills during the 20s.
- FOG - Perceivability is improving, however parts of Lancaster, Lebanon, Schuylkill, Berks, and Dauphin Provinces have decreased perceivability. With temperatures beneath freezing, mist can stick to the streets and produce frigid conditions.
Explanation:
An effect day in Pennsylvania is a day that highlights climate that will probably upset your typical every day calendar or schedule. At the point when the News 8 Tempest Group accept climate arrives at this limit, a yellow triangle with a shout imprint will show up on the figure demonstrating the climate will cause an effect. You may likewise observe the symbol utilized during a day-part figure when the News 8 Tempest Group accepts certain times may have a greater amount of an effect than others. An effect day's climate isn't viewed as outrageous or serious, perilous climate.
Light downpour, day off, ice during a morning or night drive would be instances of effect climate. Most Pennsylvania workers can deal with driving in light downpour, day off, ice, however light downpour, day off, ice at the pinnacle of busy time can upset travel or cause mishaps because of the high volume of drivers. Thick mist over the Valley which could likewise modify a drive would be delegated an effect day.
Moderate cold throughout the fall, winter, spring months, or warmth in the mid year months that may constrain open air presentation to the components would get this assignment.
The Susquehanna Valley is a significant agrarian community for the locale. Pre-summer or late-summer ice or freezes that could harm or murder vegetation would fit into this class.
Days that component consume bans from delayed droughts combined with solid breeze blasts likewise would be considered to conceivably make an effect a day ahead.
Answer:
HTML (HyperText Markup Language) is the code that is used to structure a web page and its content.
CSS is Cascading Style Sheet.CSS allows you to create great-looking web pages
Explanation: