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
Mark all the correct operation/s that first, rotate x with p. Then, rotate x with g
p - parent
g - grandparent
x - node
let p and g be respectively the parent and grand parent of x. p is the root. Make x the new root by rotating edge(x,p).The Zig_Zig case p is the left child of g and X is the right child of p,making g the new parent of x rotating edge(x,g).
What exactly is zig-zig rotation?Every node in zig rotation shifts one position to the right of where it currently is. When the item to be searched is either a root node or a left child of a root node, Zig rotation is used.Zig does not allow null or 0 as a value for normal pointers. Where T is the child type, they use the syntax *T. Dereferencing is accomplished using variable, and referencing is accomplished using &variable.A particular kind of binary search tree is the splay tree. The splay tree is not necessarily balanced, unlike other versions like the AVL tree, the red-black tree, or the scapegoat tree.To learn more about zig rotation refer to:
https://brainly.com/question/24522433
#SPJ4
Which of the following is an example of an advantage that a modern inventory management system provides? More than one answer may be selected. Check All That Apply A. Automatic reordering occurs when inventory levels dip below a pre-established threshold. B. Production is scaled up or scaled down depending on the pace of orders received and the amount of inventory currently available. C. Competing products are quickly developed based on products that have shown initial success. D. RFID tags that are part of a GIS system are included with manufactured goods once assembly is
Automatic reordering occurs when inventory levels dip below a pre-established threshold.
What is modern inventory management?The process of tracking and managing your company's inventory as it is purchased, produced, stored, and used is known as inventory management.It controls the complete flow of goods, from procurement to sale, ensuring that you always have the appropriate numbers of the appropriate item at the appropriate location at the appropriate time. When the amount of stock on hand hits a pre-set reorder point, an automatic reordering system places an order for the product.A computer can provide an automatic reorder based on calculations for the reorder point and a perpetual inventory system. An order that is manually entered by a member organization signifies that it was not entered into an electronic order-routing or execution system.To learn more about inventory management refer
https://brainly.com/question/13439318
#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.
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
if the mercury in a manometer raises 13.5 millimeters due to a change in pressure, what is the corresponding change in pressure in atm?
The mercury in a manometer raises 13.5 millimeters due to a change in pressure the corresponding pressure is 0.0178 atm.
What is manometer?Manometer is defined as an instrument for measuring the pressure acting on a column of fluid that consists of a U-shaped liquid tube in which the liquid rises to various heights in the two arms due to different pressures acting in the two arms of the tube.
We know that
1 atm = 760 mmHg
So, X atm = 13.5 mmHg
X x 760 = 13.5 x 1
X = 13.5 / 760
X = 0.178 atm
Thus, the mercury in a manometer raises 13.5 millimeters due to a change in pressure the corresponding pressure is 0.0178 atm.
To learn more about manometer, refer to the link below:
https://brainly.com/question/15009345
#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?
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
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
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
(pattern recognition: consecutive four equal numbers) rewrite the isconsecutivefour function in programming exercise 8.21 using a vector as follows: bool isconsecutivefour(const vector>
Using the knowledge in computational language in C++ it is possible to write a code that isconsecutivefour function in programming
Writting the code:
#include <iostream>
using namespace std;
#include<vector>
bool isconsecutivefour( const vector<vector<int>> &values)
{
int res=0;
//checking if the vector has consecutive fours row-wise
for(int i=0;i<values.size();i++)
{
for(int j=0;j<values[i].size()-3;j++)
{
//if a consecutive four is obtained
if(values[i][j]==values[i][j+1] and values[i][j+1]==values[i][j+2] and values[i][j+2]==values[i][j+3])
{
res=1;
break;
}
}// we break the outer loop if a consecutive four is found
if(res==1){
break;}
}
//if a consecutive four is obtained 1 is returned
if(res==1)
return 1;
for(int i=0;i<values[0].size();i++)
{
int j;
for( j=0;j<values.size()-3;j++)
{
//if a consecutive four is obtained
if(values[j][i]==values[j+1][i] and values[j+1][i]==values[j+2][i] and values[j+2][i]==values[j+3][i])
{
res=1;
break;
}
}// we break the outer loop if a consecutive four is found
if(res==1){
break;}
}
if(res==1)
return 1; //if a consecutive four is obtained 1 is returned
else
return 0; //if a consecutive four is not obtained 0 is returned
}
int main() {
int r,c;
//input number of row
cout<<"Enter row size : " ;
cin>>r;
cout<<endl;
//input number of columns
cout<<"Enter column size : ";
cin>>c;
cout<<endl;
vector<vector<int>> values(r,vector<int>(c,0));
cout<<"Enter the values :"<<endl;
int x;
for(int i=0;i<r;i++)
{
for(int j=0;j<c;j++)
{
cin>>x;
values[i][j]=x;
}
}
bool res;
res=isconsecutivefour(values);
if(res==1) // if a consecutive four is found
cout<<"The array has consectutive fours"<<endl;
else //consecutive four is not found if 0 is returned
cout<<"The array does not have consectutive fours"<<endl;
See more about C++ at brainly.com/question/12975450
#SPJ1
You want to make interface fa0/2 a memeber of VLAN2 on a Catalyst 2950XL switch. Which commands must you enter?
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
Suppose that a digitized colour TV picture is to be transmitted from a source that uses a matrix of 800 X 600 picture elements (pixels), where each pixel can take on one of 256 intensity values. Assume that 28 frames are sent per second? Compute the source rate R (bps)? (Hint: Check the basic colour combination in a colour picture)
Answer:
Example problem
Explanation:
(a) The source rate can be calculated as the product of the picture sample size and number of pixel per sample size.
Given:
Picture sample size = 480 * 500. The number of pictures sent per second = 30.
Hence sample size = 480 * 500 * 30 = 7.2e6.
Since each pixel (sample) can take one of 32 values (voltage levels), hence it needs
l
o
g
2
32
=
l
o
g
2
2
5
=
5
∗
l
o
g
2
2
=
5
∗
1
=
5
bits/pixel (bits/sample).
The source rate R is (bps) = 7.26 * 5 = 36e6 bps.
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
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
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.
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
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?
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
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
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
QUESTION 3 Explain the earthing systems relevant to SANS 10142-1.
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
2. (50 points) understanding mips add comments to each line of the following mips code and describe in a sentence or two what it computes. assume that $a0 is used for the input and initially contains n, a positive integer. assume that $v0 is used for returning the output value. begin: addi $t0, $zero, 0 // addi $t1, $zero, 1 // loop: slt $t2, $a0, $t1 // bne $t2, $zero, finish // add $t0, $t0, $t1 // addi $t1, $t1, 2 // j loop // finish: add $v0, $t0, $zero //
Comments are added to each line of the following mips code and describe in a sentence.
#t0=sum=0 commont for first code
#t1=i=1
# (n<i)? or (i>n)?
# exit loop if (i>n)
# sum = sum + 1
# i = i + 2
# repeat loop
# result = sum
Result $v0 is the sum of the odd positive integers 1 + 3 + 5 + … which are less than or equal to n.
A comment in computer program is an explanation or annotation that can be read by programmers and is included in the source code of a computer program. They are added to the source code to make it simpler for humans to understand it, and compilers and interpreters typically ignore them.
Learn more about code here:
https://brainly.com/question/14461424
#SPJ4
BAND SAW SAFETY TEST PART 2,
The completed sentences with respect to carpentry tools are given as follows:
Use only a sharp blade with a proper set.When the blade is properly installed the teeth should point down.The blade should be adjusted so it runs 1/32 of an inch from the blade support wheel;Keep your hand at least two inches from the blade.Use a band saw when sawing small stock/pieces.Adjust the upper guide about 1/8 to 1/4 inches above the material being cut.Properly adjust the band saw blade so it will run on the center of the wheels.Move the upper guide only while the saw is stopped.The smallest radius that can be safely cut with a 1/2 inch wide blade is 1, 1/4 inchesA dull or improperly set blade will cause the blade to lean to one side on the workpiece.The name of the add-on tool we use to rip wood on the band saw is called a table saw.When you cross or cut angles on the band saw you use a Crosscut sled or cross-cut saw.What is the benefit of knowing the right carpentry tool to use?Because each instrument is precisely built for a specific function, selecting the appropriate tool will also reduce the amount of effort necessary to do a job correctly without causing harm to either the machinery or the material being worked on.
Many construction mishaps can be avoided by planning ahead of time.
Learn more about table saw:
https://brainly.com/question/28896152
#SPJ1
Consider the following Point2D class.
public class Point2D
{
private double xCoord;
private double yCoord;
public Point2D(double x, double y)
{
xCoord = x;
yCoord = y;
}
}
Which of the following code segments, appearing in a class other than Point2D, will correctly create an instance of a Point2D object?
A Point2D p = (3.0, 4.0);
B Point2D p = Point2D(3.0, 4.0);
C new p = Point2D(3.0, 4.0);
D new Point2D = p(3.0, 4.0);
E Point2D p = new Point2D(3.0, 4.0);
Appearing in a class other than Point2D, will correctly create an instance of a Point2D object is:
E Point2D p = new Point2D(3.0, 4.0);
What is Point2D?
The Point2D class is part of JavaFX. This class represents a two-dimensional point in space. The Point2D class represents a 2D point by its x and y coordinates. We can construct three Point2D objects named point2d 1, point2d 2, and point2d 3 by supplying their x and y coordinates as inputs. We use the getX() and getY() functions to obtain the x and y values, which we then display. We are also computing and displaying the distance of each point from the origin. We also show if two points are equal or not using the equals() method and the distance between two points using the distance() function.
To learn more about Point2D
https://brainly.com/question/3405843
#SPJ4
a data flow diagram (dfd) shows _____.
A data flow diagram (DFD) shows how a system transforms input data into useful information.
What is data?In Computer technology, data simply refers to any representation of factual instructions or information in a formalized and structured manner, especially as a series of binary digits (bits), symbols, characters, quantities, or strings that are used on computer systems in a company.
What is a data flow diagram (DFD)?A data flow diagram (DFD) can be defined as a type of chart that is designed and developed to illustrate how information is moved and transformed in a computer system or process.
This ultimately implies that, a data flow diagram (DFD) can be used to show data inputs, data outputs, storage locations, and all of the routes that are required.
Read more on data here: brainly.com/question/26207955
#SPJ1
D
Question 7
Commercial photographers attempt to produce images that will blend in and make little impact on
the public.
O True
False
1 pts
A
False. Commercial photographers attempt to produce images that will stand out and make a big impact on the public.
What is photographers?
A photographer often works as a freelancer, getting hired by different customers for specialised tasks. A client who hires a part-time or freelance photographer is expected to adhere to their every demand, as well as to put up a business strategy that makes options and price readily visible and understandable.
Photographers are in charge of the digital and physical development of their photos, as well as any or all editing that may be necessary. Simple cropping, adding/changing colours and shading, modifying sharpness and lighting, or deleting things to tidy up the image are all examples of editing techniques.
To learn more about photographers
https://brainly.com/question/28081565
#SPJ1
Assuming a 1-KB page size, what are the page numbers and offsets for the following address references (provided as decimal numbers)? a. 21205 b. 164250
The page numbers and offsets of the following address reference are 1663 and 6595 respectively.
Given,
Page size= 1 (*KB) = 2n = 1024 = 210
So, the value of bits of offest part is n = 10
a. 21205
Binary Format = 101001011010101
This binary address is split into 2 parts, first is page no. and other part is page offset
Page no. : 01010010 = 82 (in decimal)
Page offset : 11010101 = 213 (in decimal)
b. 164250
Binary Format = 00101000000110011010
Page no. : 0010100000 = 160 (in decimal)
Page offset : 0110011010 = 410 (in decimal)
c. 121357
Binary Format = 00011101101000001101
Page no. : 0001110110 = 118 (in decimal)
Page offset : 1000001101 = 525 (in decimal)
d. 16479315
Binary Format = 111110110111010001010011
Page no. : 111110110111 = 4023( in decimal)
Page offset : 010001010011 = 1107 (in decimal)
e. 27253187
Binary Format = 0001100111111101100111000011
Page no. : 00011001111111 = 1663(in decimal)
Page offset : 01100111000011 = 6595 ( in decimal)
To learn more about Binary, visit: https://brainly.com/question/14914277
#SPJ4
what are the reasons why fine grained of alkali igneous rocks can not be used in cement
Fine grained of alkali igneous rocks cannot be used in cement because of the volume expansion caused by the Alkali-silica reaction, fine-grained igneous rocks cannot be used as aggregates in cement.
What does fine grained mean in an igneous rock?Extrusive igneous rocks have a fine-grained or aphanitic texture, with grains that are too small to see without a magnifying glass. The fine-grained texture suggests that the rapidly cooling lava did not have enough time to form large crystals. A petrographic microscope can be used to examine these tiny crystals.
The texture of an igneous rock (fine-grained vs coarse-grained) is determined by the rate at which the melt cools: slow cooling produces large crystals, while fast cooling produces small crystals.
The chemical reaction that occurs in both alkali cations and hydroxyl ions in the pore solution of hydrated cement paste and certain reactive silica phases present in concrete aggregates is known as the alkali-silica reaction (ASR).
Learn more about cement on:
https://brainly.com/question/14323034
#SPJ1
the left rear brake drum is scored, but the right rear drum looks as good as new. technician a says the left-side drum should be resurfaced and the right-side drum should be reinstalled without resurfacing. technician b says both sides should be remachined to a similar diameter. who is correct?
Technician b is correct because the left rear brake drum is scored, but the right rear drum looks as good as new then both sides should be remachined to a similar diameter.
A brake drum is a revolving cylinder-shaped component that is friction-activated by a set of shoes or pads pressing outward against it. Drum brakes are brakes where shoes are pressed against the inner surface of the drum. Drum brakes are frequently used at the rear. Compared to disc brakes, these brakes have more parts and are more difficult to maintain, but they cost less to make and are simple to add an emergency braking mechanism. The front and rear brakes are standard equipment on all automobiles. Your car may have a "disc brake" system on all four wheels, a "drum brake" system on all four wheels, or a combination of the two. Typically, the front brakes of your car have a disc system, and the rear brakes have a drum system.
Learn more about brake drum here:
https://brainly.com/question/14937026
#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?
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.
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
which microphone preamplifier input impedance would be best for a microphone that has an output impedance of 100 ohms?
A microphone preamplifier with an input impedance of 1,000 ohms would be best for a microphone that has an output impedance of 100 ohms.
What is microphone preamplifier?
The electronic circuitry found inside a microphone or a different object or circuit to which the microphone is linked can both be referred to as microphone preamplifiers. The microphone preamplifier serves the same role in either scenario. A microphone preamplifier is a piece of sound engineering gear that gets a microphone signal ready for other gear to handle. Frequently, microphone signals are too weak to be adequately conveyed to equipment like mixing consoles and recording devices. Preamplifiers boost a microphone signal to line level by offering steady gain and reducing generated noise, which would otherwise cause the signal to be distorted. See Gain stage for more discussion on signal level. Informally, a microphone preamplifier is referred to as a mic preamp, micamp, preamp, mic pre, and pre.
To learn more about microphone preamplifier
https://brainly.com/question/15735185
#SPJ4
technician a states that disc brake rotors can be of the hub-style. technician b states that disc brake rotors can be of the hubless-style. who is correct?
Both Technicians A and B are accurate when they say that disc brake rotors can be either hub-style or hubless-style.
With disc brakes, the brake pads attached to the brake callipers grip on the rotating braking rotors to stop or slow down the wheels. Friction is created by the brake pads pressing against the rotors, which turns kinetic energy into heat energy.
Although this thermal energy produces heat, it may be effectively dispersed since the primary components are exposed to the environment. This ability to dissipate heat lessens brake fade, a condition where heat affects how well a vehicle brakes. The resistance of disc brakes to water fade, which happens when water on the brakes considerably lowers braking force, is another benefit. The rotor spins rapidly as the car is moving, and this rotational motion discharges the water from the rotors themselves, resulting in stable braking force.
Learn more about Rotors here:
https://brainly.com/question/18650040
#SPJ4
stress concentration does have effects on brittle materials on their behavior even under static loads. however, the geometric stress concentration is often ignored for cast-brittle materials, such as cast iron. why? choose the best answer.
Because local yielding or deformation occurs in ductile materials and thus reduces the concentration, stress concentration in ductile materials is not as severe as it is in brittle materials.
In the part design, a stress concentration is a location where the stress is much higher than it is elsewhere. The geometry of the part's sharp corners, holes, notches, or grooves is what most frequently causes stress concentrations. In order to ensure the component functions properly and safely, it is crucial to analyze it for stress concentration. The system's balance may be further hampered and serious repercussions may result if the fabricated or produced component is not entirely functioning under stress. The term "stress concentration" refers to a location that exhibits an abrupt geometric transition or discontinuity and is characterized by high localized stress relative to the body's average stress.
Learn more about concentration here:
https://brainly.com/question/13441104
#SPJ4
determine the vertical displacements at the center and ends of the loaded shaft indicated below. use the method of conjugate-beam and assume that ei is constant (60 pts).
The vertical displacement at the center of the loaded shaft is zero. The vertical displacement at the end of the loaded shaft is equal to the length of the shaft multiplied by the slope of the shaft.
What is vertical displacement?
Vertical displacement in tectonics refers to the movement of land inside a vertical direction, which causes uplift and subsidence. Rock layer displacement can reveal information about how and why the lithosphere of Earth evolves over the course of geologic time. Vertical displacement can be caused by a variety of processes, including isostatic adjustments and tectonic activity. When crust is reorganised as a result of a seismic event, tectonic activity causes vertical displacement. Vertical displacement as a result of sinking from an increased load and isostatic rebound from a removed load is the outcome of isostatic corrections. At the margins of convergent and divergent plate boundaries, tectonic activity results in vertical displacement. As the magma begins to rise to protrude weaker lithospheric crust, the movement of the magma in the asthenosphere can cause divergent plate boundaries.
To learn more about vertical displacement
https://brainly.com/question/24004804
#SPJ4
what methods do you use to diagnose a problem with a copy machine
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
identify the variables identified by ginnett that are essential to the effective functioning of teams.
Two essential elements of effective teamwork that raise job satisfaction are open communication and mutual support.
What defines effective teamwork?Trust, open communication, and effective leadership are essential for effective teamwork, as well as a focus on shared objectives and shared accountability for success (or failure). But without respect and openness, the team Open communication and mutual support are two crucial components of successful teamwork that increase job happiness. will struggle to do tasks properly. Owning your obligations, maintaining accountability, and following through on your commitments are necessary for effective teamwork. Because team members depend on one another, if one individual falters, the entire project could be derailed. The team's members must have a good working relationship and mutual trust.To learn more about effective teamwork refer to:
https://brainly.com/question/3813692
#SPJ4