tech a says that with simultaneous injection, the electronic injectors cycle twice for each camshaft revolution. tech b says that the actual injector operating time largely depends upon battery voltage. who is correct?

Answers

Answer 1

Both technicians, i.e., technician A and technician B are correct as per the given situation. The correct option is C.

What is electronic injector?

The use of electronic fuel injection eliminates the need for a carburetor, which mixes air and fuel. EFI does exactly what it says. It uses electronic controls to inject fuel directly into an engine's manifold or cylinder.

The fuel pump in your car supplies it with pressurized fuel, and it can open and close many times per second.

When the injector is turned on, an electromagnet moves a plunger, allowing pressurized fuel to squirt out through a tiny nozzle.

The electronic injectors cycle twice for each camshaft revolution in simultaneous injection. The actual injector operating time is heavily influenced by battery voltage.

Thus, the correct option is C.

For more details regarding injector, visit:

https://brainly.com/question/14278715

#SPJ1


Related Questions

Which additional load balancing method is supported in equal cost multipath (ecmp) load balancing when sd-wan is enabled?.

Answers

When SD-WAN is enabled, the volume load balancing approach is provided by equal cost multipath (ECMP) load balancing.

How does load balancing work?Load balancing techniques are thought of as a type of algorithm or approach used to fairly distribute incoming server requests or traffic among servers that are part of the server pool.It should be noted that when SD-WAN is enabled because that is its function, the volume load balancing approach is supported in equal cost multipath (ECMP) load balancing.When SD-WAN is enabled, the equal cost multipath (ECMP) load balancing technique supports the volume load balancing method.By adding entries for several best paths to the switch's forwarding layer and using a load balancing algorithm to recognize flows and distribute them to various paths, ECMP load balancing refers to spreading traffic more equitably.

Learn more about equal cost multipath (ECMP) refer to:

https://brainly.com/question/28044760

#SPJ4

QUESTION 3 Explain the earthing systems relevant to SANS 10142-1.​

Answers

Circuitry known as an earthing system links various electrical circuit components to the ground. It influences how strong and evenly short circuit currents are distributed throughout the system, as well as the consequences they have on the surrounding machinery and people.

What is an electrical circuit?

An electrical circuit is a system that connects electrical components or a model of such a system made out of electrical components. A network of closed loops that provides a path for the current to return is an electrical circuit.

A lamp, an electric motor, a computer, and connecting wires or transmission lines are examples of electrical circuit-using equipment. An electric circuit also contains a device that provides energy to the charged particles that make up the current, such as a battery or a generator.

To learn more about an electrical circuit, use the link given
https://brainly.com/question/2969220
#SPJ9

From the perspective of the stakeholder matrix, what category of stakeholders could pose a risk or create obstacles for a project?.

Answers

Power-Interest Matrix are the stakeholders that could pose a risk or create obstacles for a project.

Power-Interest Matrix:

In a stakeholder analysis, two variables have the greatest impact on the project: power and interest.

Power is the stakeholder's ability to halt or change the project. A government regulatory approval authority, for example, wields enormous power.The size of the overlap between the stakeholder's and the project's goals is defined as interest. A landowner, for example, whose house must be demolished to make way for a project, has a strong interest.

What is Stakeholder matrix?

A stakeholder matrix is a visual representation of a stakeholder analysis. Stakeholder mapping, also known as stakeholder matrix creation, entails plotting stakeholders on an X- and Y-axis using two intersecting variables. The grid categorizes each variable as high or low, resulting in four quadrants of categories.

To learn more about Stakeholder, visit: https://brainly.com/question/20929113

#SPJ1

you are designing a beam with a span of 20 ft. assuming: you are to use a992 steel a wide flange w10x22 was picked the maximum moment of the beam is 52 kip-ft. what is the max allowable unbraced length to prevent lateral-torsional buckling?

Answers

The max allowable  unbraced length to prevent lateral-torsional bucklingis 575 inc

span =20 ft

useing a992 steel

250*b²/a

250*5.75²/10.17=812.74

so unsupported length to prevent latral torsion is 575 inc

The term "lateral torsional buckling" (LTB) refers to the twisting and lateral displacement caused by applied stresses that are directed away from the longitudinal axis of an unconstrained beam. Unrestrained steel beams are those that have a compression flange that can rotate and move (or displace) freely. Two stiffnesses added to any plate simulate lateral-torsional restraint: In the local coordinate system of the plate, lateral (shear) S [N] was applied in the direction of the y axis. Local plate coordinates with torsional C [Nm/m] applied around the x axis. An uncontrolled beam may experience lateral torsional buckling. When a compression flange on a beam can move laterally and rotate, it is said to be unrestrained.

Learn more about torsional here:

https://brainly.com/question/14893980

#SPJ4

1) why do local variables lose their values between calls to the function in which they are defined.

Answers

Because they are created in memory when the function begins execution and destroyed when the function ends, thus local variables will lose their values between calls in the function in which they are already defined.

What is a Variable in the programming?

Variables are names given to locations in the computer memory, where data can be stored in a program. Based on the values assigned to the variables, this data can be known or unknown.

Variables can also be thought of as 'containers,' as they can hold more than one value. Their sole purpose is to store data and label it in memory, which can then be accessed throughout the program as needed.

In C programming, creating variables is also known as declaring variables. Variables are created in a variety of ways depending on the programming language.

To know more about Variable, visit: https://brainly.com/question/15706493

#SPJ4

in the main method, ask how many rooms and the wire price per foot. write a loop to call the room estimate method to get info for each room. then call the display results method to print the results.

Answers

Answer:

Explanation:

how

what methods do you use to diagnose a problem with a copy machine​

Answers

The methods to use diagnose a problem with a copy machine​ are :

Check the cartridge or Toner Issues Check for Wrinkled Pages Check for Paper JamsCheck for the copies are Too Light or Too Dark.

What is copier maintenance?An agreement for continuing maintenance and repairs is known as a copier maintenance contract, and it is made with a firm like CEI to keep the copier in good working order for your business.The maintenance agreement serves as your copier's health insurance. It includes "check-ups" like toner and maintenance to keep it operating smoothly, as well as diagnostics and repairs in the event that it malfunctions or ceases functioning properly.Clean all of the device's surfaces that a user could touch with isopropyl alcohol (at least 70% concentration).Generally speaking, your printer maintenance kit should be updated every one to two years. The absolute least is once a year or once every other year.

Learn more about copier maintenance refer to :

https://brainly.com/question/22547583

#SPJ9

Hong Kong currently dicard approximately 10,000 tonne per day (tpd) of MSW. The HKSAR Government decided to build a modern wate-to-energy incinerator for MSW treatment. The incinerator ha a capacity of 4,000 tpd. Given that the LHV of the MSW in Hong Kong i about 13,000 kJ/kg and the efficiency of the incinerator for electricity generation i 16%. Etimate the electricity production from the incinerator per day at it full capacity

Answers

The electricity production from the incinerator per day at it full capacity is 1950 MWh / day

Q = 10, 000 tonnes / day

Capacity of incinerator = 3000 tonnes / day

I tonne = looo kg

Low Heating Value of MSW = LHV = 13, 600 K J / kg

Efficiency of incinerator for electricity generation = 0 .18

Electricity production from incinerator per day at full capacity

LHV x full capacity x efficiency

= 13, 000 KJ/kg x /3000 x 1000 kg* 0 . 18 *1 MWh/3.6 * 106 KJ

1MWh = 3600000 KJ=> IKJ =1 MWh/3. 6 * 10⁶

electricity production = 1950 MWh / day

Electricity generation is the process of producing electricity from main energy sources. Prior to delivery to end consumers or storage, it is the phase for utilities in the electric power sector. Electricity must be "made" because it is not naturally occurring.

Learn more about electricity here:

https://brainly.com/question/14864572

#SPJ4

A troubleshooting activity where there is a current state of events X, a future desired state of events Y, and the troubleshooter's objective is to move from X to Y is called ____.

Answers

Problem solving is a troubleshooting action where the goal is to go from the current state of affairs (X) to the intended future state of affairs (Y).

What is troubleshooting?
Troubleshooting
is a type of problem resolution that is frequently used to fix broken components or operations on a machine or a system. In order to address an issue and get the product or process back in operation, a logical, methodical search for the problem's source is required. It takes troubleshooting to find the symptoms. Eliminating potential sources of a problem allows you to determine the most likely cause. Troubleshooting also involves verification that the fix really returns the process or product to functioning order. Troubleshooting is, generally speaking, the detection or diagnosis of "trouble" in the management flow of the a system brought on by some sort of breakdown. Troubleshooting is the act of identifying and resolving the sources of these symptoms, which are initially stated as signs of malfunction.

To learn more about troubleshooting
https://brainly.com/question/14394407
#SPJ4

while evaluating a gas valve that failed to open, the technician determined that; the gas valve knob was in the proper position - the thermostat was calling for heat - the valve is an electric ignition type - continuity of the main gas valve coil was good - and proper voltage was present at the main gas valve coil terminal(s). what action should the technician take next?

Answers

Replace the gas valve is the step that must be taken by the technician

What are the steps a technician needs to follow while evaluating gas valve?

Always inspect your valve to ensure that no damage occurred during shipping.Clean both the valve and the pipeline.Install the valve in the proper orientation. Many control valves can be installed vertically or horizontally depending on the flow direction.Ensure that the piping is properly supported and aligned with the valve.Allow enough headroom for normal operation and maintenance access to the valve.

Changing a valve is usually a simple task. It takes longer as access to the furnace becomes more difficult. Most gas valve replacements take up to an hour. 1 to 2.5 hours | Valve replacements in attics, crawlspaces, and similar areas.

Hence to conclude the above steps must be taken while evaluating a gas valve

To know more on gas valve follow this link:

https://brainly.com/question/28196131

#SPJ4

Three processes share four resource units that can be reserved and released only one at a time. Each process needs a maximum of two units. Show that a deadlock cannot occur.

Answers

A deadlock cannot occur because each process only needs a maximum of two resource units, and there are four resource units that can be reserved and released one at a time.

What is deadlock?
Any circumstance in which no member of a group of entities can move forward because each one is waiting for another member, including itself, to act, such as sending a message or, more frequently, releasing a lock, is referred to as a deadlock in concurrent computing. Due to the frequent usage of hardware or software locks in multiprocessing, parallel computing, or distributed systems to manage shared resources to implement process synchronisation, deadlocks are a typical issue in these environments. When a process or thread enters a waiting state due to a system resource being held by some other process that also is waiting for another resource which is being held by some other waiting process, a deadlock occurs in the operating system.

To learn more about deadlock
https://brainly.com/question/15125658
#SPJ4

Solar energy is incident on a black parking lot with an intensity of 1000W∕m2 and 90% of it is absorbed.What is this in Btu/hr per square meter?

Answers

The solar energy in Btu/hr per square meter is 3069 Btu/hr per square meter.

How to calculate the value?

From the information, the solar energy is incident on a black parking lot with an intensity of 1000W∕m2 and 90% of it is absorbed.

It should be noted that the efficiency is illustrated as:.= Useful energy / Total energy × 100

90% = Useful energy / Total energy × 100

90% = Useful energy / 100 × 100

Useful energy = 900 watts

It should be noted that 1 watt = 3.41 BTU/hr

Therefore, 900 watts will be:

= 900 × 3.41

= 3069 btu/h

Learn more about energy on:

brainly.com/question/13881533

#SPJ1

If a program needs to display, for example, some initial data in a Label component when the application starts running, this can be done by including an Init module. True or False

Answers

True, By integrating an Init module, a programme can display, for instance, some basic data inside a Label component whenever the application first launches.

What is application?
An application programme, often known as a software application or app for short, is a type of computer programme that is used by end users and is created to do a particular task that is unrelated to the operation of the computer. Examples include word processors, media players, and accounting software. All applications are referred to collectively by the word "application software." System software, which has to do with how computers work, and utility software are the other two main categories of software ("utilities"). Applications can be created as private, open-source, or project-based software, and they can be published independently or combined with the computer as well as its operating system software. Apps are typically referred to as being for mobile devices like phones.

To learn more about application
https://brainly.com/question/7145033
#SPJ4

now let's imagine we need to access just the name of the first student in the list. enter the line of code that would access to just the first student's name:

Answers

The line of code that would access to just the first student's name will be students[0].name

What is code?
For the purposes of communication and information processing, a code is a set of principles that transforms information—such as a letter, word, sound, picture, and gesture—into another form, sometimes shorter or secret, for storage on a storage device or for transmission over a communication channel. An early example is the development of language, which allowed people to express verbally what they were thinking, seeing, hearing, or feeling to others. However, speaking restricts the audience to those present at the time the speech is delivered and limits the range of communication to a distance a voice may travel. The ability to communicate across time and space was greatly expanded by the discovery of writing, which transformed spoken words into pictorial symbols. Encoding is the process of transforming data from a source to symbols for transmission or storage.

To learn more about code
https://brainly.com/question/28818771
#SPJ4

in a family of four, what is the probability that no two people have birthdays in the same month? (please assume that all months have equal probability.)

Answers

First of all, you should mention that the 4 persons respective dob's are not known to you because if their dob's are known before hand, then there is no probability (because the outcome is known to you).

By assuming that we don't know their dob's, we proceed to the problem.

although the mechanism of the coupling process is not well understood, it is known that it rate appears to depend on the square of the concentration of the halide. with this in mind, explain the reason for the sequence of addition of the ether solution employed at the beginning of the formation of the grignard reagent in the experimental procedure above.

Answers

The sequence of addition of the ether solution is employed to prevent the grignard reagent from decomposing. The mechanism of the coupling process is not well understood, but it is known that the rate of the coupling process appears to depend on the square of the concentration of the halide.

What is employed?
A person who is employed either has a job or is engaged in something. Some individuals think that teenagers with employment are less likely to get into trouble than those without work. You are employed if you are working. The majority of persons who are working hold traditional full-time occupations, however an increasing proportion also work as independent contractors or in part-time jobs. This adverb can also be used to denote "used," as in the sentence "The used tactics for maintaining the classroom's quiet seem a touch extreme to me." The word employ, which means to "use, apply, occupy, or hire," is whence the adjective employed originates.

To learn more about employed
https://brainly.com/question/28016559
#SPJ4

rod abc consist of two cylindrical portions ab and bc; it is made of a mild steel that is assumed to be elastoplastic with e

Answers

Two cylindrical parts, AB and BC, make up the rod ABC. It is constructed of mild steel, which is assumed to be elastoplastic with E=200GPa and Y=250 megabytes MPa.

One of the steels has a 25C starting temperature. What the two kids gave us were models of the material's flexibility. We continue to receive 200 GB. The degree of services and linear expansion coefficients are the same for all four.

The boy from extra sigma concurs. 250 megabytes of data were shot out. We must ascertain the level of stress on field road. The street road is visible. All for P. Health minus P. L. is equivalent. We can express this as having all four delta T because both of the responses were acceptable. All four of the sigma are equal to delta T. He consented to us slipping the numbers so we could calculate the temperature rise. is a temporary power of six equal to 250.

To know more about megabytes click here:

https://brainly.com/question/2575232

#SPJ4

discuss the use of the various windows in the ida pro and how they are used and then explain the use of data and code cross-references.

Answers

The various windows in IDA Pro are used for different purposes. The main window is used for displaying the disassembly of the program.

What is program?
A computer utilises a set of instructions called a program to carry out a particular task. A program is like the recipe for a computer, to use an analogy. It includes a list of components (called variables, which can stand for text, graphics, or numeric data) and a list of instructions (called statements), which instruct the computer on how to carry out a certain activity. Specific programming languages, such C++, Python, and Ruby, are used to construct program. These are high level, writable, and readable programming languages. The computer system's compilers, interpreters, or assemblers subsequently convert these languages into low level machine languages. Technically, a human could write assembly language, a kind of low level language that really is one step above machine language. The register window is used for displaying the values of the registers. The memory window is used for displaying the contents of the memory. The cross-reference window is used for displaying the data and code cross-references. The data and code cross-references are used for finding the locations of the data and code that are referenced by the program.

To learn more about program
https://brainly.com/question/28519751
#SPJ4

bookmark question for later what are the names of manufacturers of heels with a list price of $50 or more? only show manufacturer names.

Answers

There are many manufacturers of heels with a list price of $50 or more. Some of these manufacturers include:
-Jimmy Choo
-Prada
-Christian Louboutin
-Gucci
-Valentino.

What is manufacturer?
A manufacturer is a person or business that turns raw materials into finished products using a variety of tools, machinery, and procedures, and then sells those products to consumers, distributors, distributors, retailers, or other manufacturers who can use them to make more complicated products. The economy is said to be significantly influenced by manufacturers. Manufacturing has a long history dating back to antiquity. The usual manufacturer, however, was a single trained artisan with helpers for many centuries. Each craftsperson guarded the methods of production and only taught apprentices. Only manual processes might be used for production.

To learn more about manufacturer
https://brainly.com/question/13440987
#SPJ4

why does discharge in a stream usually increase downstream? group of answer choices because the volume of water in the stream increases with distance from the source because stream velocities increase with distance from the source because the stream is deeper downstream because the frictional resistance decreases downstream

Answers

Discharge in a stream usually increase downstream because the volume of water in the stream increases with distance from the source and the main reason of flowing downward is phenomena of gravity and also because stream velocities increase with distance from the source.

What is a Stream and How does it works?

A stream is a body of water that flows on the surface of the Earth. The terms stream and river are frequently used interchangeably, though rivers typically describe larger streams.

Streams require gravity and water to exist. When precipitation falls on the ground, some of it trickles into groundwater, but the majority of it runs downhill as runoff and collects in streams. A watershed, also known as a drainage basin, is the area where water is collected for a stream. Smaller streams frequently merge to form larger streams as they flow downhill. These smaller streams are referred to as tributaries.

To learn more about Stream Velocity, visit: https://brainly.com/question/17191912

#SPJ1

a(n) ? is typically installed at each end of a utp backbone cable that has a corrugated aluminum shield over the core for the purpose of grounding the cable.

Answers

The correct answer is bonding clamp is typically installed at each end of a utp backbone cable that has a corrugated aluminum shield over the core for the purpose of grounding the cable.

The bonding clamp is used to ground OPGW to the tower by attaching to the tower grounding wire. Specific requirements vary from one utility to another. The product is an aluminum extruded parallel groove clamp. The ground clamps are typically used for connecting, grounding conductor to a water pipe, copper tubing, ground rods etc.

To learn more about  bonding clamp click the link below:

brainly.com/question/28064649

#SPJ4

Scale of 2:1 if 1cm=5mm

Answers

Answer: 2 step by step

Explanation: ;) don't know if this helped or not

Which of the following correctly demonstrates the use of an array initializer list? Choose all that apply. int[] my_array = {1, 2, 3, 4, 5); int[] my_array = [1, 2, 3, 4, 5]; int my_array = (1,2,3,4,5); int my_array = new {1, 2, 3, 4, 5); none of these

Answers

int[] my_array = {1, 2, 3, 4, 5}; correctly demonstrates the use of an array initializer list.

What is an array?

An array is a data structure in computer science that consists of a collection of elements, each of which is identified by at least one array index or key. A mathematical method is used to compute the position of each element from its index tuple in an array. An array of ten 32-bit (4-byte) integer variables with indices 0 through 9 may, for example, be stored as ten words at memory addresses 2000, 2004, 2008,..., 2036, with the element with index I having the address 2000 + I 4).

To learn more about array
https://brainly.com/question/28632808

#SPJ4

Which of the following Belt Levels usually require a Six Sigma Project be completed before a Six Sigma Certification is awarded?
A . White Belt
B . Yellow Belt
C . Green Belt
D . Black Belt
E . Master Black Belt
F . None of the Above
G . All of the above

Answers

It is to be noted that "All of the above" (Option G) Belt Levels must be completed before a Six Sigma Certification is awarded.

What is a Six Sigma Certification?

Six Sigma is a certification program that teaches employees how to analyze processes and results in the objective of eliminating waste and faults. There are numerous levels of certification, ranging from main end user to master Six Sigma user.

Six Sigma is a quality control certification that teaches employees how to analyze processes and outcomes in order to eliminate waste and faults. Certification levels range from primary end user to master Six Sigma user who serves as a senior quality control member.

It is to be noted that the ASQ Six Sigma Black Belt exam is a demanding and tough exam. The disciplined study, experience, and a solid preparation and test-taking plan are required. Many students study for months and then fail.

Learn more about Six Sigma:
https://brainly.com/question/16180406
#SPJ1

You want to make interface fa0/2 a memeber of VLAN2 on a Catalyst 2950XL switch. Which commands must you enter?

Answers

The commands you must enter to make fa0/2 a member of VLAN2 on a catalyst 2950XL switch is int fastEthernet 0/2 and switchport access vlan 2

The display port-security connection fastethernet 0/2 command displays a connection in a secure manner, suggesting that it's been disabled due to security controls. In this situation, another device connected to port F0/2 is causing a violation by delivering a frame with such a destination MAC address apart from 0200.1111.1111. Rejoins connection variety design mode, allowing you can configure the very same variables on many channels at the same moment. To convert a port or a group of ports into accessible ports, just use the interface configuration entry VLAN command. A port in accessible mode has only one VLAN defined on the connection, and it is only able to carry traffic for one VLAN. On a Cisco IOS, this interface configuration accessible VLAN function creates a Layer 2 interface.

Learn more about fastethernet 0/2 and switchport access vlan 2 here: https://brainly.com/question/27874920

#SPJ4

Wherever possible, you should write automated tests. The tests are embedded in a program
that can be run every time a change is made to a system.

Answers

Software testing is a step in the software development process. To tell stakeholders about the software's quality, an investigation is conducted against the product.

What happens during the software testing process?Software testing is the procedure used to assess and confirm that a software program or application performs as intended. Bugs can be avoided, development expenses are decreased, and performance is increased.Stakeholders in testing include senior management, program and project managers, Scrum masters, developers, engineers, and architects, as well as specialists in operations, product ownership, and business analysis. Testers, however, should put the consumer first.An expert testing team carries out this kind of testing. The software development life cycle's initial stage, system testing, involves comprehensive testing of the entire application. To ensure that the application satisfies the functional and technological requirements, it is rigorously tested.    

To learn more about Stakeholders refer to:

https://brainly.com/question/15532995

#SPJ4

you need to connect your doorbell to the electricity in a battery. you should select a material that will

Answers

You need to connect your doorbell to the electricity in a battery. You should select a material that will accept the flow of electrons.

You can think of a circuit as a loop. In order for electric current to flow through the loop, the \sloop must not contain breaks. In other words, the circuit must \sbe closed. An open circuit has one or more breaks. Most \scircuits have an energy source, wires, a load, and a switch. As \smentioned, energy sources for circuits include generators and \sbatteries.

Machines that generate electricity from mechanical energy are called generators. In this lesson, we’ll focus on batteries. Inside a battery, two kinds of metals build up opposite charges. Negative charges build up on one end of the battery. Positive \scharges build up on the other end of the battery. This is why batteries are marked with \spositive sign (+) and a negative sign (–).

To know more about electricity click here:

https://brainly.com/question/12585384

#SPJ4

Discuss the implications of security breaches on technology adoption. Are people hesitant to use the Internet or wireless technology for purchases due to security concerns? Are people hesitant to use technology because of privacy concerns? Are these concerns warranted and are they influenced by age, race, or gender?

Answers

Security breaches can have a number of implications for technology adoption.

What is Security breach?
Any incident that results in unauthorised access to data, applications, services, networks, and/or devices by circumventing their underlying security mechanisms is considered a security breach. A security breach occurs when an unauthorised individual or application enters a private, confidential, or unauthorised logical IT perimeter. A security violation is another term for a security breach. A security breach is one of the first stages of a malicious intruder's security attack, such as a hacker, cracker, or malicious application. When the security policy, procedures, and/or system are violated, security breaches occur. A security breach can range from low-risk to highly critical, depending on the nature of the incident.

One of the most direct implications is that people may become hesitant to use the Internet or wireless technology for purchases due to security concerns. If people are worried that their personal information may be compromised in a security breach, they may be less likely to use online or mobile platforms for shopping or banking. Additionally, people may be hesitant to use technology because of privacy concerns. If people are worried that their data may be accessed or used without their consent, they may be less likely to use certain technologies. These concerns may be warranted, and they may be influenced by age, race, or gender.

To learn more about Security breach
https://brainly.com/question/23077661
#SPJ4

Median Finder: Write a C++ program median.cpp that (a) calls a function fillVector to fill a vector with 100 random Integer values between 1 and 100, (b) calls a function displayVector to print out the vector values in 5 rows of 20 integers in columns that are 4 characters wide, (c) calls a vector-based version of the selection sort, sortVector, and calls displayVector again to show the sorted vector (d) calls a function getMedian that returns the median (the middle value in the sorted vector and (e) displays the median of the vector. FillVector, display Vector, sortVector, and getMedian each receive the vector as the sole parameter. getMedian returns the middle value for odd-sized vectors and returns the average of the two middle values for even-sized veatoes.

Answers

A C++ program median.cpp.
#include<bits/stdc++.h>
using namespace std;

// fill vector with random values from 1 to 100
void fill Vector(vector<int> &v){
srand (0);

for(int i = 0; i < 100; i++)
v[i] = rand()%(100) + 1;
}

// display vector
void display Vector(vector<int> &v){
for(int i = 0; i < 5; i++){
for(int j = 0; j < 20; j++) {
cout << v[20*i + j] << "\t";
}
cout <<  endl;
}
}

// sort vector
void sort Vector(vector<int> &v){
sort (v. begin(), v. end());
cout <<endl << endl;
display Vector(v);
}

// get median of vector
double get Median(vector<int> &v){
int s = v. size();
if(s%2 == 1)
return v[s/2];

return double(v[s/2] + v[s/2 - 1])/2;
}
int main() {
vector<int> v(100);
fill Vector(v);
display Vector(v);
sort Vector(v);
cout << get Median(v) << endl;
}

What is C++?
Bjarne Stroustrup created the overall object-oriented programming (OOP) language known as C++. As it contained all the characteristics of the C language with addition of consumer data types known as "classes," C++ was initially referred to as "C with classes." In 1983, it was renamed C++. Given that it has both high-level and low-level language features, C++ is regarded as an intermediate-level language. Pointers in C++ enable self-memory management, which speeds up a program's execution. The reserved space must later be explicitly released, though.

To learn more about C++
https://brainly.com/question/14426536
#SPJ4

when analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. this adjustment can be done by normalizing to values between 0 and 1, or throwing away outliers. for this program, adjust the values by dividing all values by the largest value. the input begins with an integer indicating the number of floating-point values that follow. output each floating-point value with two digits after the decimal point, which can be achieved as follows: print(f'{your value:.2f}')

Answers

The java program to illustrate the data set will be;

import java.util.Scanner;

public class LabProgram {

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       int n;

       n = scan.nextInt();

       while(n<=0){

           n = scan.nextInt();

       }

       float val[] = new float[n];

       for(int i = 0;i<val.length;i++){

           val[i] = scan.nextFloat();

       }

       float max = val[0];

       for(int i = 1;i<val.length;i++){

           if(max < val[i]){

               max = val[i];

           }

       }

       for(int i = 0;i<val.length;i++){

           val[i] = val[i]/max;

       }

       for(int i = 0;i<val.length;i++){

           System.out.printf("%.2f ",val[i]);

       }

       System.out.println();

   }

}

What is a java program?

Java is a high-level, broad, object-oriented, and secure programming language created by Sun Microsystems, Inc.'s James Gosling in 1991.

Java programs are frequently asked about during interviews. These programs can be accessed via control statements, arrays, strings, oops, and so on.

Learn more about java program on:

https://brainly.com/question/26642771

#SPJ1

Other Questions
most stores offer rotating promotions that provide discounts on various products. however, at many of them, you must become a rewards member to take advantage of the deals. the price of the membership is free. you are probably familiar with this process at grocery stores, pharmacies, and even pet supply chains. a. identify each hurdle that shoppers must typically clear to obtain these promotional deals. taking time to fill out a form divulging personal information, such as one's age and e-mail address remembering to bring the discount card to the store or providing the clerk with your phone number b. rewards membership offerings benefit stores by enabling them to gain a unque competitive advantage, so that they can dominate the market. make sales they would not otherwise make. track data, such as buying habits, on their customers. A candy company sells peanut brittle and almond bark. The information for both types of candy is shown.graph labeled Peanut Brittle with x axis labeled weight in ounces and y axis labeled cost in dollars with a line from point 0 comma 0 going through 10 comma 10Almond BarkWeight (ounces) 2 6 14Cost (dollars) 3 9 21Determine how much more one candy costs per ounce than the other candy. Peanut brittle costs $0.50 more per ounce than almond bark. Almond bark costs $0.50 more per ounce than peanut brittle. Peanut brittle costs $0.33 more per ounce than almond bark. Almond bark costs $0.33 more per ounce than peanut brittle. What is the difference between left and right brained? Read the thesis statement: If it weren't for Germany's treatment in the Treaty of Versailles, World War II never would have happened.Which 2 of the following statements supports this thesis?The Great Depression would have weakened Germany whether they were punished in the Treaty of Versailles or not.Hitler was determined to rise to power and would likely have done so with or without the harsh treatment Germans felt by the Treaty of Versailles.Germany was not the only country struggling after WWI, leading to the rise of a fascist leader.Germany's anger regarding several of the elements of the Treaty of Versailles created the German desire for revenge.The Treaty of Versailles led to economic hardship in Germany which allowed for the rise of Hitler, who believed the Aryan race was destined to rule humanity. the idea behind comparative advantage reflects the possibility that one party quizlet . What should you do during a group discussion? Stop and review from time to time what has been discussed. Let one person talk more than everyone else. Take frequent breaks. Have one person write down everything that is said. I need some help with this problem please Assume that there is an annual coupon paying bond on the market priced at $850 and that the bond comes with a face value of $1,000. The coupon rate for the bond is 15% and the bond will reach maturity in 7 years. Calculate bond's YTM? Which of following doesnotdescribe a common reason people immigrate? (4 points) Drought in the area To avoid conflict or war New job opportunities More housing options What is the most important reason a cell would have translational control over the regulation of gene expression?. Eli ran 3/4 of a mile. Every 1/8 of a mile, he jumped over a hurdle. There was a final (extra) hurdle at the end of the 3/4 mile. How many hurdles did he jump over. Give one combination of two factors whose product is 0.24, if one of the factors is a whole number greater than 1. 9. The seventh-grade class is raising money tohave a class trip at the end of the year. Theybegan the year with $1,500. Now they have$1,650 in the account.a. What is the percent of increase for themoney the class has raised?b. Make Sense and Persevere The classfigured out that if the percent increase is99% from the beginning of the year, theclass will have enough money for everystudent to go on the field trip. Howmuch money will the class need to raisefor every student to go. A radioactive compound with mass 100 grams decays at a rate of 5.8% per hour. Which equation represents how many grams of the compound will remain after 2 hours? Read this excerpt from a campaign speech:My opponent in this race for the governor's office claimsthat I am corrupt. He dares to suggest that I acceptedfavors from business owners in exchange for putting themin contact with state legislators who lowered businesstaxes. This is an absurd claim. Moreover, I find it ironic thathe, of all people, wants to point fingers and talk aboutcorruption. Isn't it interesting that he accepts so manycampaign donations from the oil industry and is single-handedly responsible for sponsoring state laws that easeenvironmental regulations? Dear friends, remember onElection Day who the real honest politician is in this race.It's certainly not the man on the other side of the aisletrying to distract us from his own bad character.Which statement best describes the context of this speech? In HIJ, h = 730 cm, i = 390 cm and J=35. Find the area of HIJ, to the nearest square centimeter. What primary reason for the elgin marbles remaining in london is nullified by its own logic?. since the two strands of the dna molecule are complementary, for any given gene: select all that are correct.A) Only one strand actually carries the codons for a particular gene.B) If one strand is mutated, the cell can use the other strand to correct the change (assuming the cell can identify which of the complementary bases was recently modified). A politician who uses an event like a mass shooting to mourn the victims and celebrate their lives while avoiding advancing any changes to gun laws is using what kind of rhetoric?. Ideology that influences political activitism in nineteenth century