1) Write a method to compute the average of an int array and return the value as a double. The int array and the number of elements in the array are both passed as parameters to the method in that order.

Answers

Answer 1

To write a method to compute the average of an int array and return the value as a double, we need to define the method with two parameters - the int array and the number of elements in the array. This method will take the array and the number of elements as input, and then compute the average of the array.

The steps for writing this method are as follows:
First, we define the method with the name "computeAverage" and two parameters - the int array and the number of elements in the array.
public static double computeAverage(int[] array, int numOfElements) {
Next, we declare a variable to store the sum of all the elements in the array.
int sum = 0;
Then, we use a loop to iterate through the array and add up all the elements.
for (int i = 0; i < numOfElements; i++) {
sum += array[i];
}
After that, we calculate the average by dividing the sum by the number of elements in the array.
double average = (double) sum / numOfElements;
Finally, we return the average.
return average;
}
This method takes an int array and the number of elements in the array as parameters, and returns the average as a double. We can call this method from another part of our code by passing in the array and the number of elements as parameters.
In summary, the method "computeAverage" takes an int array and the number of elements in the array as parameters, computes the average of the array, and returns the average as a double. The steps involved in writing this method include declaring a variable to store the sum of all the elements, using a loop to add up all the elements, calculating the average, and returning the average.

Learn more about array here

https://brainly.com/question/28565733

#SPJ11


Related Questions

A 2-8/ 6-8 door would measure:

Answers

Answer:

2-8

6-8

= -6

-2

= 3

because the minus cancels each other and then 6 divided by 2 is 3

what combustion after effects do actuators work to control

Answers

I would try but have no idea what that means

Combustion after effects actuators work to control a variety of combustion after effects, including: Exhaust emissions

How to explain the information

Actuators can be used to control the amount of fuel and air that is burned in an engine, which can help to reduce emissions of pollutants such as nitrogen oxides and carbon monoxide.

Actuators can be used to control the timing of the combustion event, which can help to reduce noise levels.

Efficiency: Actuators can be used to control the combustion process in a way that improves efficiency, which can save fuel and reduce emissions.

Actuators can be used to control the combustion process in a way that prevents knock, which is a destructive phenomenon that can damage an engine.

Learn more about combustion

https://brainly.com/question/13251946

#SPJ2

A bridge foundation has a nominal load capacity of 1700kN. If the resistance factor for this foundation is 0.65, what is the ultimate factored load this foundation can carry using the LRFD method

Answers

Answer:

The appropriate answer will be "2353.8 K". A further solution is given below.

Explanation:

The given values are:

Ultimate capacity,

= 1700kN

Resistance factor,

F.S = 0.65

According to the the LRFD, the allowable bearing pressure will be:

⇒ \(Pallo w = \phi_c\times \frac{Pn}{F.S}\)

On substituting the values, we get

⇒             \(=0.9\times \frac{1700}{0.65}\)

⇒             \(=2353.8 \ K\)

According to the the ASD, the allowable bearing pressure will be:

⇒ \(Pallow=\frac{Pn}{\Omega \times F.S}\)

On substituting the values, we get

⇒             \(=\frac{1700}{1.67\times 0.65}\)

⇒             \(= \frac{1700}{1.0855}\)

⇒             \(=1845.35 \ K\)

With the 300-lb cylindrical part P in its grip, the

robotic arm pivots about O through the range −45° ≤ ≤

45° with the angle at A locked at 120°. Determine and plot

(as a function of ) the moment at O due to the combined

effects of the 300-lb part P, the 120-lb weight of member

OA (mass center at G1), and the 50-lb weight of member AB

(mass center at G2). The end grip is included as a part of

member AB. The lengths L1 and L2 are 3 ft and 2 ft, re-

spectively. What is the maximum value of MO, and at what

value of does this maximum occur?

Answers

To determine the moment at O due to the combined effects of the equilibrium 300-lb part P, the 120-lb weight of member OA (mass center at G1), and the 50-lb weight of member AB (mass center at G2).

we first need to calculate the distances of the centers of gravity of each member from point O. Let d1 be the distance of G1 from O, and d2 be the distance of G2 from O.Using the parallel axis theorem, we can calculate d1 and d2 as follows:d1 = L1/2 * sin(120°) + L1/3 * cos(120°) = L1/6 * (-√3 + 2) = -0.2887 ftd2 = L1 * sin(120°) + L2/2 = L1/2 * √3 + L2/2 = 2.732 ftNext, we can calculate the moment due to each member about O:Moment due to P = 300 * d1 * cos()Moment due to OA = 120 * d1 * cos()Moment due to AB = 50 * d2 * cos()The angle at A is locked at 120°, so we can plot the moment as a function of the angle as follows:MO() = 300 * d1 * cos() + 120 * d1 * cos() + 50 * d2 * cos()To find the maximum value of MO, we can take the derivative of MO with respect to and set it equal to 0:d/d() [300 * d1 * cos() + 120 * d1 * cos() + 50 * d2 * cos()] = -300 * d1 * sin() - 120 * d1 * sin() + 50 * d2 * sin() = 0Simplifying and solving for , we get:sin() = (50 * d2) / (300 * d1 + 120 * d1)= 0.518Taking the inverse sine, we get:() = 31.18°Therefore, the maximum moment occurs at an angle of 31.18°, and its value can be calculated using the expression for MO() above.

To know more about equilibrium click the link below:

brainly.com/question/31818930

#SPJ11

q XOR p AND NOT p OR r OR r

Answers

Answer:The proposition p is called hypothesis or antecedent, and the proposition q is the conclusion or consequent. Note that p → q is true always except when p is true and q is false.p only if q means "if not q then not p, " or equivalently, "if p then q." Biconditional (iff): The biconditional of p and q is "p if, and only if, q" and is denoted p q. It is true if both p and q have the same truth values and is false if p and q have opposite truth values.

Explanation:

find the current in 1 the electrical circuit below

find the current in 1 the electrical circuit below

Answers

Answer:

  c.  25 μA

Explanation:

The dependent current source means that 31 times i1 will flow through the 6kΩ resistor, effectively increasing its voltage drop to 31 times that which would result from i1 alone. In effect, the 6kΩ resistor behaves in the left-side circuit loop as though it were 31×6kΩ = 186kΩ (with no dependent current source).

Then the current i1 is equivalent to that created by a 5+1 = 6V source through a 54kΩ +186kΩ = 240kΩ circuit impedance.

  (6V)/(240kΩ) = 25 μA

_____

Additional comment

The voltage across the 6kΩ resistor is (186/240)·6V = 4.65V, and the 25 μA current generates a voltage of 30·(25 μA)(1.8kΩ) = 1.35V across the 1.8kΩ resistor. This means the voltage source at the right side of the diagram needs to be at least 4.65 +1.35 = 6.0V in order to support the calculated voltage drops.

You wish to assess, approximately, the thermal conductivity λ of polyethylene (PE). To do so you block one end of a PE pipe with a wall thickness of x = 3 mm and diameter of 30 mm and fill it with boiling water while clutching the outside with your other hand. You note that the outer surface of the pipe first becomes appreciably hot at a time t ≈ 18 seconds after filling the inside with water. Use this information, plus data for specific heat C p and density rho of PE, to estimate λ for PE. How does your result compare with the listed value in the CES EduPack?

Answers

Complete Question

The complete question is shown on the first uploaded image

Answer:

The  value is \(\lambda  =  0.44 \  W/mK\)

The calculated value is greater than the value from the CES EduPack

(A picture of the listings of the CES EduPack is shown on the second uploaded image  )

Explanation:

From the question we are told that

     The distance x that the heat diffuses in the time t is approximately

      \(x =  \sqrt{2 at}\)

Where

     \(a =  \frac{lambda }{\rho *  C_p}\)

Now from the question we know that t =  18 s  and  x =  3mm  = 0.003 m,\(C_p  =  1850 \  J/kg/K\)

So  

    \(0.003 =  \sqrt{2 *  a  *  18 }\)

=>   \(a =  \frac{9*10^{-6}}{36}\)

=>    \(a =  2.5*10^{-7}\)

Generally the density of the polyethylene is  \(\rho =  950 kg/m^3\)

So

    \(2.5*10^{-7}  =  \frac{\lambda }{950 *  1850}\)

=>    \(\lambda  =  0.44 \  W/mK\)

From the CES EduPack the value  listed for thermal conductivity λ of polyethylene is

         \( 0.113 \to 0.167 \ W/mK \)

So the calculated value is greater that the value from the CES EduPack

You wish to assess, approximately, the thermal conductivity of polyethylene (PE). To do so you block
You wish to assess, approximately, the thermal conductivity of polyethylene (PE). To do so you block

What is the minimum flight visibility and distance from clouds for flight at 10,500 feet with a VFR-on-Top clearance during daylight hours (Class E airspace)?A. 5 SM, 1,000 feet above, 1,000 feet below, and 1 mile horizontal.B. The Class E airspace extending upward from 700 feet or more above the surface and terminating at the base of the overlying controlled airspace.C. the runway lengths at airports of intended use, and the aircraft's takeoff and landing data.Answers: all instrument approaches at the destination airport.D. When the weather reports or forecasts indicate the ceiling and visibility will be at least 2,000 feet and 3 miles for 1 hour before to 1 hour after your ETA at the destination airport.

Answers

The minimum flight visibility and distance from clouds for flight at 10,500 feet with a VFR-on-top clearance during daylight hours are found to be 5 SM, 1,000 feet above, 1,000 feet below, and 1 mile horizontal. Thus, the correct option for this question is A.

What is the flight visibility?

Flight visibility may be defined as the average forward horizontal distance, from the cockpit of an aircraft in flight, at which prominent unlighted objects may be seen and identified by day and prominent lighted objects may be seen and identified by night.

For VFR operations 1000 feet/3 miles is the technical legal minimum visibility requirement. Be mindful that night VFR is more challenging than day VFR, as it's more difficult to see clouds and to differentiate ground details.

Therefore, the correct option for this question is A.

To learn more about Flight visibility, refer to the link:

https://brainly.com/question/28811190

#SPJ1

Anyone got a pc that can run 240 fps? Around like 1,300 dollars that can run 240 fps on fortnite whoever answers and gives me a good pc I will give brainliest

Answers

Answer:

What do u need it for just gaming or for streaming and other things

I’ve said this several times before but it bears repeating: Gaming PCs are bottomless pits.

what is the total horsepower rating of a series of commercial ceiling fans that draw 30 a at 220 v? (1 hp

Answers

Answer:

8.85 hp

Explanation:

1. The first thing we need to do is determine our knowns.

Knowns

Current = I = 30 AmpsVoltage = V = 220 VoltsPower = 1 hp =745.7 Watts = ? (What we're looking for)

2. The equation we need to use is one that relates Current, Voltage, and Power to one another.

Power = Current × Voltage

P = IV

3. Plug in all knowns to the equation and solve for Power.

P = 30 A × 220 V = 6600 Watts (or W)

4. Finally, we need to convert Watts to Horsepower.

1 hp = 745.7 W

6600 W × (1 hp / 745.7 W) = 8.85 hp

The boom AC is supported at A by a ball and socket joint and by two cables BDC and CE. Cable BDC is continuous and passes over a pulley at D. Calculate the tension in the cables and the x,y,z components of the reaction at A if the crate has a weight of 80 lbs.

Answers

T is equal to W / (2*sin()), where W is the boom's AC weight (80 lbs. ), and is the angle made by the cables BDC and CE. Rz = W/2, Rx = T*cos(), Ry = T*sin().

How do pulleys work?

A disk on an axle or shaft known as a pulley is used to transfer power from the shaft to the cable or belt or to sustain motion and direction change of a full line or belt. The supporting shell was known as a block, and the pulley may also be referred to as a sheave or a pulleys wheel if it is sustained by a frame or shell but does not transmit power to a shaft.

What are 2 facts about pulleys?

Heavy loads may be moved much more easily with a pulley. A single pulley only shifts an object's direction. A big load can be raised with less force if two or maybe more pulleys are connected. The end of a rope must travel farther than the load when there are additional pulleys.

To know more about pulley visit :

brainly.com/question/14964376

#SPJ4

5 Systems Modeling
es / SPE(2201 / General / Business System Modelling CAT
2. Business Process Modelling is important to a business due to the following advantages except:
(2 marks)
O a. None of the above
h
O b. Enhances Customization of Business Processes
O c Enhances Competitive advantage
O d. Enhances Process Communication
age
Next pag​

Answers

Answer: None of the above

Explanation:

Business process modeling refers to the graphical representation of the business processes of a company, which is vital in the identification of potential improvements.

Business pticess modelling can be done through graphing methods, like data-flow diagram, flowchart etc. It is vital as business managers can effectively and quickly communicate their ideas.

It also enhances the customization of business processes, enhances the competitive advantage and enhances the process communication as well.

Therefore, the answer to the question will be "None of the above".

Question 2
Salt in crude oil must be removed before the oil undergoes processi
fed to a washing unit where fresh water fed to the unit mixes with t
the sal contained in the oil. The oil (containing salt but no water), be
can be removed at the top of the washer. If the "spent" wash water
oil contains 5% salt, determine the concentration of the salt in the w
crude oil (with salt) to water used is 4:1.

Answers

The concentration of the salt in the w crude oil (with salt) to water used is 4:1 is 0.0061.

What is crude oil?

Crude oil is a hydrocarbon mixture that exists in liquid form in natural subterranean reservoirs and stays liquid at atmospheric pressure after passing through surface separation facilities.

The salt content of "spent" wash water is 15%.

5% of crude oil is salt.

The crude oil (with salt) to water ratio utilised is 4: 1.

Crude oil fraction:

95% of crude oil = 0.95

0.95F1 = x1E1

0.95(100) = x1E1

95= x1E1

E1 = 95/X1

wash water fraction:

15% of wash water = 100% -15% = 85%

= F2 = 0.85E2

salts fraction:

0.05F1 = (1-X1)E1 + 0.15E2

0.05F1 = (1-X)95/X1 + 0.15(F2/0.85)

0.05F1 = 95/X1 - 95 + 0.15(F2/0.85) (SINCE = 95.588 = 95/X1 = 99.38)

0.05(100) = 95/X1 - 95 + 17.61(1/4F1)

5 = 95/X1 - 95 + 4.41

Fraction of salts = 1- X1 = 0.0061

To learn more about crude oil

https://brainly.com/question/14260176

#SPJ13

A level rural two-lane highway has a 10-degree curve section as it passes by a large building. The obstruction corner of the building is 24.5 ft. away from the center line of the highway. PRT: 2.5 s, f= 0.5.
A. If the lanes of the highway are 11 ft wide, what is the required SSD on this section and speed?
B. What is the safe operating speed on the section and required SSD in case the corner is only 17 ft away from the centerline of the highway?

Answers

Answer:

A. 336.3 ft.

B. 279.83 ft.

Explanation:

 The formula for Stopping Site Distance SSD is given s follows;

\(SSD=\dfrac{2 \times R \times \theta \times \pi}{180}\)

\(R = \dfrac{M}{1 - cos\theta}\)

R = 5730/D = 5730/10 = 573 ft

\(\theta = \dfrac{SSD \times D}{200}\)

D = Degree of curvature

θ = (SSD×D)/20 = (28.65×SSD)/573

Where:

\(\dfrac{M}{R} = 1 - cos \left(\dfrac{28.65 \cdot SSD}{R} \right)\)

D = 10°

M is the distance of the obstruction from the highway = 24.5 ft

\(\dfrac{24.5}{573} = 1 - cos \left(\dfrac{28.65 \cdot SSD}{573} \right)\)

\(cos \left(\dfrac{28.65 \cdot SSD}{573} \right) = 1 - \dfrac{24.5}{573} =\dfrac{1097}{1146}\)

\(cos^{-1} \left(\dfrac{1097}{1146}\right) = \dfrac{28.65 \cdot S}{573} =16.815\)

573×16.815= 28.65×SSD

SSD = 9635.13/28.65 = 336.3 ft

B. When M = 17, we have

\(\dfrac{17}{573} = 1 - cos \left(\dfrac{28.65 \cdot SSD}{573} \right)\)

\(cos \left(\dfrac{28.65 \cdot SSD}{573} \right) = 1 - \dfrac{17}{573} = \dfrac{556}{573}\)

\(cos^{-1} \left( \dfrac{556}{573}\right) = \dfrac{28.65 \cdot SSD}{573} = 13.99 \approx 14\)

SSD = 573×14/28.65 = 279.83 ft.

There is an AC series circuit that is constructed of a 150.0-ohm resistor along with 300.0 ohm inductive reactance and 200.0 ohm capacitive reactance. What is the difference in phase between the current and resistor voltage of the circuit

Answers

Answer:

  0°

Explanation:

The resistor voltage has the same phase as the circuit current. There is no phase difference.

Answer:

0° (zero degree)

Explanation:

the difference in pjase between the current and resistor voltage of the given 150.0 ohm, 300.0 ohm and 200.0 ohm

what was the first roblox player A.bob B.roblox C.builderman

Answers

Answer:

actually, it was John Doe and Jane Doe, as they were created as testers on the exact same say when Roblox was created.

Explanation:

The first  player was builderman. Option C

Who was the first player?

The first player was one whose user handle was builderman.

However, the account was terminated. It was replaced with

‘Builderman’ is the account that belonged to the CEO and Co-Founder of , David Baszucki. He manages all of the admins.

When you make a new account, he's automatically your friend.

Note that ‘John Doe’ and ‘Jane Doe’ were two test accounts that were created by David.

The accounts were later rumored to hack others’

Learn about username at: https://brainly.com/question/28344005

#SPJ6

vital role of maritime english among seaferers

Answers

Answer:

uehgeg7djw7heidiisosowiuisiejei2k

What is the major cause of overflowing drains?

Answers

Answer:Overflowing drains are often caused by sanitary products, paper towels or other hard to flush materials which can clog pipes and obstruct drains. Wipes, tissues, and even hair can also be the culprits

Explanation:

what precasst concrete component is typically used for the exterior walls of a two to four story warehouse

Answers

Tilt walls is typically used for the exterior walls of a two to four-story warehouse.

What do you mean by warehouse?

A warehouse is a facility that stores goods. Manufacturers, importers, exporters, wholesalers, transportation companies, customs, and others use warehouses. They are often enormous plain buildings located on the edges of cities, towns, or villages. Loading docks are commonly used in warehouses to load and unload items from lorries. Warehouses are sometimes designed to load and unload goods directly from railways, airports, or seaports. Cranes and forklifts are frequently used to move items, which are typically placed on ISO standard pallets and then loaded into pallet racks.

To learn more about warehouse
https://brainly.com/question/28995095

#SPJ4

What is the first step necessary for initiating the visual transduction cascade in rods?.

Answers

'Capturing a photon by isomerization and rhodopsin of retinal' is the first step necessary for initiating the visual transduction cascade in rods.

Visual transduction refers to the process in the eye where absorption of light in the 'retina' is translated into electrical signals that then reach the brain. It is correct to state that visual transduction is the photochemical reaction that takes place when light or photon is converted to an electric signal in the retina. The visual pigment in the rods, called rhodopsin, is a membrane protein placed in the outer segments of the rods.

When initiating the visual transduction cascade in rods the first vital step is to capture a photon by isomerization and rhodopsin of retinal'.

You can leran more about visual transduction at

https://brainly.com/question/13798113

#SPJ4

a device that transforms electrical energy to mechanical energy is a a) transformer. b) magnet. c) generator. d) motor. e) none of these 7) which formula makes your answer possible?

Answers

A device that transforms electrical energy into mechanical energy is called a (d) motor.

A motor is a device that utilizes electrical energy to get mechanical energy or movements. There is a coil on the magnetic field in a motor device. Since the electrical energy or voltage is applied to the motor, The coil in the motor will rotate and generate mechanical energy.

Usually, the motor device has efficiency on its device. The efficiency of the motor is defined as

η = Eo / Ei

where η is efficiency, Eo is output energy (mechanical energy) and Ei is input energy (electrical energy).

Find more on the motor device at: https://brainly.com/question/20137708

#SPJ4

1 kg of saturated steam at 1000 kPa is in a piston-cylinder and the massless cylinder is held in place by pins. The pins are removed and the system suddenly and adiabatically expands to 5x its original volume before the piston hits a pair of upper pins. The expansion takes place against an atmosphere is 60 kPa. What is the final specific internal energy of the system

Answers

Answer:

The final specific internal energy of the system is 1509.91 kJ/kg

Explanation:

The parameters given are;

Mass of steam = 1 kg

Initial pressure of saturated steam p₁ = 1000 kPa

Initial volume of steam, = V₁

Final volume of steam = 5 × V₁

Where condition of steam = saturated at 1000 kPa

Initial temperature, T₁  = 179.866 °C = 453.016 K

External pressure = Atmospheric = 60 kPa

Thermodynamic process = Adiabatic expansion

The specific heat ratio for steam = 1.33

Therefore, we have;

\(\dfrac{p_1}{p_2} = \left (\dfrac{V_2}{V_1} \right )^k = \left [\dfrac{T_1}{T_2} \right ]^{\dfrac{k}{k-1}}\)

Adding the effect of the atmospheric pressure, we have;

p = 1000 + 60 = 1060

We therefore have;

\(\dfrac{1060}{p_2} = \left (\dfrac{5\cdot V_1}{V_1} \right )^{1.33}\)

\(P_2= \dfrac{1060}{5^{1.33}} = 124.65 \ kPa\)

\(\left [\dfrac{V_2}{V_1} \right ]^k = \left [\dfrac{T_1}{T_2} \right ]^{\dfrac{k}{k-1}}\)

\(\left [\dfrac{V_2}{V_1} \right ]^{k-1} = \left \dfrac{T_1}{T_2} \right\)

\(5^{0.33} = \left \dfrac{T_1}{T_2} \right\)

T₁/T₂ = 1.70083

T₁ = 1.70083·T₂

T₂ - T₁ = T₂ - 1.70083·T₂

Whereby the temperature of saturation T₁ = 179.866 °C = 453.016 K, we have;

T₂ = 453.016/1.70083 = 266.35 K

ΔU = 3×\(c_v\)×(T₂ - T₁)

\(c_v\) = cv for steam at 453.016 K = 1.926 + (453.016 -450)/(500-450)*(1.954-1.926) = 1.93 kJ/(kg·K)

cv for steam at 266.35 K = 1.86  kJ/(kg·K)

We use cv given by  (1.93 + 1.86)/2 = 1.895 kJ/(kg·K)

ΔU = 3×\(c_v\)×(T₂ - T₁) = 3*1.895 *(266.35 -453.016) = -1061.2 kJ/kg

The internal energy for steam = \(U_g = h_g -pV_g\)

\(h_g\) = 2777.12 kJ/kg

\(V_g\) = 0.194349 m³/kg

p = 1000 kPa

\(U_{g1}\) = 2777.12 - 0.194349 * 1060 = 2571.11 kJ/kg

The final specific internal energy of the system is therefore, \(U_{g1}\) + ΔU = 2571.11 - 1061.2 = 1509.91 kJ/kg.

1. Name three current problems in your life that could be solved through an algorithmic process. Explain why each of these problems is algorithmic in nature.

Answers

As a supervised learning algorithm for problem classification, the Decision Tree algorithm is one of the most widely utilized in machine learning today.

Which problems can be solved by algorithmic processes?

Whether a problem is logical, mathematical, or complex in nature, algorithms can be created to solve it. As an illustration, consider sorting algorithms, depth-first search, and traveling salespeople. The algorithm, however, would arrive at a finite solution after a certain number of steps before coming to an end. Algorithms can be used to describe typical daily tasks. An algorithm for preparing a specific cuisine, for instance, might be thought of as a recipe.

Steps 1-3 outline the algorithm. The amounts of each component that are mentioned, together with the type of pan and desired topping, are our inputs. A series of procedures known as an algorithm are used to solve issues or carry out tasks. A typical illustration of an algorithm is a recipe, which is a set of detailed directions for making a dish or meal.

To learn more about algorithm refer to :

https://brainly.com/question/15217393

#SPJ1

Problem 2 Six years ago, an 80-kW diesel-electric set cost $145,000. The cost index for this class of equipment six years ago was 187 and is now 194. The plant engineering staff was considering a 120−kW unit of the same general design to power a small isolated plant that would have cost $200,145. Based on the information above the plant engineering staff is considering a 100−kW unit of the same general design to power a small isolated plant. Assume we want to add a pre-compressor, which (when isolated and estimated separately) currently costs $10,000. Determine the total cost of the 100−kW unit.

Answers

The total cost of the 100−kW unit= Cost of 100−kW unit + Additional cost of the pre-compressor= $166,786 + $10,000= $176,786.

Given: Cost of 80-kW diesel-electric set six years ago = $145,000Cost index for this class of equipment six years ago = 187Cost index for this class of equipment now = 194Cost of 120−kW unit of the same general design to power a small isolated plant = $200,145

The plant engineering staff is considering a 100−kW unit of the same general design to power a small isolated plant.Cost of adding pre-compressor = $10,000

To determine the total cost of the 100−kW unit, we need to find the cost of the 80-kW diesel-electric set at present, the cost of the 100−kW unit, and the additional cost of the pre-compressor.Cost of 80-kW diesel-electric set at present= Cost of 80-kW diesel-electric set six years ago × (Cost index for this class of equipment now / Cost index for this class of equipment six years ago)= $145,000 × (194 / 187)= $150,816.34Cost per kW of the 80-kW diesel-electric set= Cost of 80-kW diesel-electric set at present / 80= $150,816.34 / 80= $1,885.20

Cost per kW of the 120−kW unit= Cost of 120−kW unit / 120= $200,145 / 120= $1,667.87The cost of the 100−kW unit of the same general design= 100 × Cost per kW of the 120−kW unit= 100 × $1,667.87= $166,786

Additional cost of the pre-compressor= $10,000. Hence, the total cost of the 100−kW unit is $176,786.

To know more about diesel electric set visit :

https://brainly.com/question/13175083

#SPJ11

Divide. Give the exact answer, written as a decimal. 5) 3.6​

Answers

Answer:

I believe the answer is 0.138

Kroeger supermarket sells its own brand of canned peas as well as several national brands. The store makes a profit of $0.28 per can for its own peas and a profit of $0.19 for any of the national brands. The store has 6 square feet of shelf space available for canned peas, and each can of peas takes up 9 square inches of that space. Point-of-sale records show that each week the store never sells more than half as many cans of its own brand as it does of the national brands. The store wants to know how many cans of its own brand of peas of peas and how many cans of the national brands to stock each week on the allocated shelf space in order to maximize profit.
A) Formulate a linear programming model for this problem.
B) Solve the model by using graphical analysis

Answers

Create a linear programming model for the issue, specify the decision variables, and Make a linear programming model to solve this issue. TheOptimal function value = 21.12

What are Decision variables?

An unknown in an optimal solution is a choice variable. It has a domains, which is a condensed representation of the entire set of the variable's potential values.

x=number of store brand canned peas

y=number of national brand canned peas

Maximize: P

P = 0.28x+0.19y

Constraints:

-2x+y>=0

x+y<=144*6/9 or 96

x>=0

y>=0

Identify the ideal vertex and list all the vertices in the viable zone.

A(32,64)

B(0,0)

C(0,96)

Vertex       Value of objective

(32,64)      21.12

(0,0)          0

(0,96)       18.24

Optimal vertex = (32,64)

Optimal function value = 21.12

To know more about linear programming, visit:

https://brainly.com/question/14309521

#SPJ4

What is the approximate value of the voltage drop across each of the following when their contacts are open? (1) Pressure switch (2) Temperature switch (3) Manual pushbutton

Answers

The approximate value of the voltage drop across each of the following when their contacts are open are as follows:

The voltage drop across the Pressure Switch = 120V.The Voltage drop across Temperature Switch = 120V.The voltage drop across Manual Pushbutton= 120V.

What is Voltage drop?

Voltage drop may be defined as the process of decrease of electric potential along the path of a current flowing in a circuit. It normally occurs when a current passes through the cable.

It is related to the resistance or impedance to current flow with passive elements in the circuits including cables, contacts, and connectors affecting the level of voltage drop.

It generally specifies how the supplied energy from a voltage source is reduced as electric current flows through the elements that do not supply voltage.

Therefore, the approximate value of the voltage drop across each of the following when their contacts are well described above.

To learn more about Voltage drop, refer to the link:

https://brainly.com/question/28164474

#SPJ1

What is the approximate value of the voltage drop across each of the following when their contacts are

during the blank (110ma-85ma), the tempo of seafloor spreading is thought to have increased causing oceans to spill over onto continents and flood some of north america.

Answers

During the mid-Cretaceous period (110Ma-85Ma), the tempo of seafloor spreading is thought to have increased, causing oceans to spill over onto continents and flood some of North America.

What are the three Cretaceous Period?A geological time period known as the Cretaceous lasted from 145 to 66 million years ago (MYA). It is the longest and third-longest epoch of the Mesozoic Era. It is the longest geological period in the entire Phanerozoic, lasting roughly 79 million years. The name comes from the Latin word creta, meaning "chalk," which is common in the second half of the time period. It is frequently shortened to K for its Kreide counterpart in German.Lower and Upper Cretaceous series, or Early and Late Cretaceous epochs, are the two divisions of the Cretaceous. Older literature occasionally divides the Cretaceous into the Neocomian (lower/early), Gallic (middle), and Senonian (upper/late) groups.

To learn more about mid-Cretaceous period, refer to

https://brainly.com/question/11390551

#SPJ4

2-design a set of simple test programs to determine the type compatibility rules of a c compiler to which you have access. Write a report of your findings

Answers

When designing a set of simple test programs to determine the type compatibility rules of a C compiler to which you have access, it is important to consider the different data types that are used in C programming. An example of a set of test programs that can be used to determine the type compatibility rules of a C compiler:

Integer Test the compatibility of the C compiler with integer data types. It declares two variables of type int, initializes them with values, and then adds them together. The result is printed to the screen. If the program compiles and runs without any errors, then the C compiler is compatible with integer data types.

Floating-Point Test  the compatibility of the C compiler with floating-point data types. It declares two variables of type float, initializes them with values, and then adds them together. The result is printed to the screen. If the program compiles and runs without any errors, then the C compiler is compatible with floating-point data types.

By running the set of simple test programs described above, you can determine the type compatibility rules of a C compiler to which you have access. If any of the programs do not compile or run without errors, then you can determine which data types are not compatible with the C compiler and adjust your code accordingly.

To know more about compiler visit:-

https://brainly.com/question/28232020

#SPJ11

PLEASE HELP give an example of how scientists, technologists, engineers, and mathematicians may work together when inventing or innovating a new product. Include the role of each profession.

Answers

An example of them working together would be something like building a robot. Technologists would work on this project bc they would code the robot. Engineers would work on this bc they would design the interior. A mathematician would work in this bc a mathematician would calculate the angels of when a robot picks something up or when it turns. A scientist would work on this bc the scientist know about physics. You need physics so u know how much force to apply, how much energy to use, how much mass u need, and how much charge u need.

Explanation:

Other Questions
why did the Fugitive Slave laws made escape difficult. Please hurry I need please PLEASE HELP FAST DONT EXPLAIN JUST ANSWER Wrangell-St, Elias National Park and Preserve in southern Alaska is the largest national park in the Unites States. Its area is 53,321 square kilometers. Determine the park's area in square miles Compute the charitable contribution deduction (ignoring the percentage limitation) for each of the following C corporations. a. Amber Corporation donated inventory of clothing (basis of $138,500, fair market value of $173,125) to a qualified charitable organization that operates homeless shelters. b. Brass Corporation donated stock held as an investment to Western College (a qualified organization). Brass acquired the stock three years ago for $70,800, and the fair market value on the date of the contribution is $113,280. Western College plans on selling the stock. c. Ruby Corporation donates a sculpture held as an investment and worth $200,800 to a local museum (a qualified organization), which exhibits the sculpture. Ruby acquired the sculpture four years ago for $80,320. Las atletas __________ deportes. The full extent of the cost of cybercrime is hard to determine, in part, because some government and law enforcement officials tend to underreport or underestimate these costs in order to manage public perceptions and potential fears about the problem.true/false A pendulum with a 1.0-kg weight is set in motion from a position 0.04 m above the lowest point on the path of the weight. What is the kinetic energy of the pendulum at the lowest point? Find the expected value for the spinner at right. Malaria produces reddened pimples, blisters, violent headache, and high fever.TrueFalse A monopolist sells two products x and y for which the demand functions arex = 25 0.5Pxy = 30 Pyand the combined total cost function is TC=x^2 +2xy+y^2 +20Find (a) the profit-maximizing level of output for each product, (b) the profit-maximizing price, and (c) the maximum profit. describe two mechanisms by which responses to stimuli are brought about and coordinated Why was there a recession in 1937-1938, and how did FDR deal with it? discuss the role that companies like standard & poor's, dun& bradstreet, and moody's play in solving the problem ofadverse selction. What is your opinion on the former president #45 (Trump) being indited in New York? (5-10 sentences) Which body made up of water is part of the cryosphere? Consider the piecewise function f(x) = { 2x_ if x < 0 (x-1)-1 if x 20 (a) Sketch the graph of f(r) (use a table of values if needed). (b) Based on the above graph, does f(x) appear to be continuous at x = 0? Why or why not? (c) Vefiry your answer in part (b), i.e. prove f(x) is continuous or discontinuous by checking the three conditions of continuity. Find the value of c that makes the following function continuous at x = 4. f(x) = { - if x < 4 cx+ 20 if x 4 100 points The average temperature of the earth's stratosphere is -70 degrees. The average temperature on the earth's surface is 57 degree. How much warmer is the average surface of the earth than the stratosphere? What will be the new position of the given point (7, 4) after translation of 4 units up?a (7, 8)b (11, 8)c (7, 4)d (11 ,4)second question: What will be the new position of the given point after being translated up 1 unit. EMERGENCY! PLEASE ANSWER ASAP!