Bromine and chlorine easily react with alkenes in addition reactions. This experiment involves brominating trans-stilbene with a 10% bromine dichloromethane solution. As a result, an addition reaction occurs, and 1,2-dibromo-1,2-diphenylethane is formed.
Step-by-step explanation:
stilbene + Br2 ----> PRODUCT(dibromostilbine)
No of moles of stilbene = 0.55/180.25 = 0.00305 mole
limiting reagent = stilbene
so that,
No of moles of PRODUCT = 0.00305 mole
massof product produced = 0.00305*260.25 = 0.793 gram
Theoretical yield = 0.793 gram
dibromostilbine molarmass = 260.25 g/mol
practical yield = 0.68grams
percent yield = practical yield /Theoretical yield *100
= 0.68/0.793*100 = 85.75%
Trans-stilbene acts as a nucleophile, while bromine acts like an electrophile. As a result, the bromine reagent electrophilically adds to the nucleophilic double bond. The Br-Br bond becomes polarized, and the more positively charged Br atom is transferred to the alkene, resulting in the formation of a bromonium ion.
Bromine addition begins on one side of the double bond (either side is equally likely, but only one option is chosen) and is followed by bromide ion attack on bromonium ion (again, attack could occur by carbon because the ion is symmetric, but only one option drawn). As shown above, the end result is a trans dibromide.
To learn more about Experiment, visit: https://brainly.com/question/23095194
#SPJ4
there is a course with a certain number of students. in this course the only evaluation are certain number of quizzes, graded from 1 to 100. make a program that: 1) ask user for the number of students and the number of quizzes in the course 2) use nested loops to ask for each student quizzes' grades, 3) calculates the quiz average numerical grade of the course. 4) print the result on the screen.
There is a course with a certain number of students, make a program that
#include <iostream>
using namespace std;
int main()
{
int num_students; //Number of students in the class
int num_quizzes; //Number of quizzes for each student
int quiz_grade; //Quiz grade
int quiz_sum = 0; //Sum of quiz grades
float quiz_avg; //Average of quiz grades
//Get number of students and number of quizzes
cout << "Enter the number of students in your class: ";
cin >> num_students;
cout << "Enter the number of quizzes for each student: ";
cin >> num_quizzes;
//Get quiz grades for each student
for(int i = 0; i < num_students; i++)
{
for(int j = 0; j < num_quizzes; j++)
{
cout << "Enter grade for quiz " << j << " for student " << i <<": ";
cin >> quiz_grade;
//
What is program?
A computer program is a collection of instructions, and the term "computer program" can be used both as a verb and a noun. It is used as a verb to describe the act of writing software using a programming language. To accomplish a certain operation on the computer, an application, program, and application software is used as a noun. For instance, Microsoft PowerPoint is indeed an application that offers a way to produce presentation-related documents. In addition, a browser is a software program that enables us to view any website.
To learn more about program
https://brainly.com/question/28717367
#SPJ4
the 0.55 in. -diameter shaft is subjected to the loading shown. the journal bearing at c can exert only force components cy and cz on the shaft, and the thrust bearing at d can exert force components dx, dy, and dz on the shaft.
The journal bearing at c can exert force components cy and cz on the shaft, and the thrust bearing at d can exert force components dx, dy, and dz on the shaft.
What is component?
A functionally independent component is a portion of any system. It performs a certain function and could call for input or give off output. Classes are frequently used in software to represent a component. A component is a logical task or set of logical duties. Take an automobile, for instance. Given that it enables individuals to sit, which is an input, it can be regarded as a component. Its purpose is to move a person from one location to another. Its qualities are shown by the amount of gasoline it needs to run and the top speed it can travel at. It is made up of an air conditioner, brake system, engine, and other small parts. Each of these supporting elements performs a unique purpose.
To learn more about component
https://brainly.com/question/20049627
#SPJ4
a fault is an example of a. brittle deformation b. ductile deformation c. elastic deformation d. all of the above
The correct answer is a. brittle deformation. therefore the correct option is (a) option.
Brittle deformation is when rocks fail as rigid solids. The rocks will break, rather than bend, under these conditions to produce fractures. Brittle deformation occurs along discrete planes in the rock instead of involving the rock body as a whole.Brittle materials include glass, ceramic, graphite, and some alloys with extremely low plasticity, in which cracks can initiate without plastic deformation and can soon evolve into brittle breakage.
To learn more about Brittle deformation click the link below:
brainly.com/question/15116378
#SPJ4
create a style rule for the fieldset and input elements that sets the bottom margin to 2%. create a style rule for the fieldset legend that sets the font-size to 1.25em and makes the font bold. create a style rule for the label that sets the display to block and sets padding-top to 3%. create a style rule for the btn class selector that removes the border, sets the top and bottom margin to zero and the left and right margin to auto, sets the display to a block, sets the padding to 5%, sets the background-color to 003399, sets the font-size to 1.25em, sets the border-radius to 10px, and sets the color to white (fff).
Body's background color is specified by the following style: linear-gradient(to top right, 0%, 100%) body font family: Geneva, Arial, sans-serif; no-repeat fixed center;.
/* Style for body specifies background color */ body background: linear-gradient (to top right, 0%, 100%); no-repeat fixed center; font-family: Geneva, Arial, sans-serif;
/* The container element's style/
width of #container is 90%.
margin: 0 auto; fieldset legend's font-size and weight are bold; label's display is block; padding-top is 3%; input's margin-bottom is 2%; and fieldset legend's margin-bottom is 2%.
.btn displays as a block with the following properties: background color of #003399, foreground color of #fff, font size of 1.25em, margin of 0 auto, padding of 5%, border of none, and border-radius of 10px.
/* The footer element's style /*
footer.9em font size, middle text alignment.
To know more about font click here:
https://brainly.com/question/14934409
#SPJ4
machine operations, inc. (mo), employs four hundred workers at three locations in three states. workers who lose their jobs with mo have a right to continued health-care coverage under mo's group plan unless they
Workers of machine operations, inc. (mo), who lose their jobs with mo have a right to continued health-care coverage under mo's group plan unless they have their hours decreased from full-time to part-time.
How Employee Benefits from Company-Sponsored Health Insurance Plans?
One of the most significant advantages of full-time employment these days is eligibility for the employer's group health insurance plan. And, as healthcare reform evolves and affects the lives and finances of individuals and families, group health coverage through an employer becomes an increasingly valuable perk.
It can be quite reassuring to have a significant portion of medical expenses covered by an employer's benefit package. After all, with the exception of the extremely wealthy, an individual without health insurance is literally just one major injury or illness away from financial ruin.
To learn more about Health Care in Enginerring field, visit: https://brainly.com/question/14017920
#SPJ4
REVERSE-BIAS BREAKDOWN A p + −n silicon diode has a donor doping of 2×1017 cm3 with physical width 2 µm of n region,
(A). Refer to Fig.5-22 in textbook, what’s the approximate breakdown voltage (Vbr ) of this diode?
(B). What’s the depletion width at this Vbr ?
Depending on the device geometry, doping profile, and external bias, the physical width of the depletion region in a typical Si diode can range from a few hundredths of a micrometer to tens of micrometers.
What is depletion region width?The amount of impurities supplied to the semiconductor determines how wide the depletion region is. Pentavalent and trivalent atoms are examples of impurities, which are atoms that are added to a semiconductor to increase its conductivity. An n-type semiconductor is created when pentavalent atoms are introduced to a pure or intrinsic semiconductor.In English, the word "depletion" refers to a reduction in the amount of something. Similar to this, the depletion region is the layer in semiconductors where the flow of charges slows down. The region serves as a barrier to prevent electrons from moving from the semiconductor diode's n-side to its p-side.A P-N junction diode's depletion area, also known as the depletion layer, is a space devoid of mobile charge carriers. The depletion layer functions as a barrier that prevents the flow of holes from the p-side and electrons from the n-side.To Learn more About depletion region refer to:
https://brainly.com/question/29341283
#SPJ4
_______ robots blend linear Cartesian motion with Articulated rotation to create a new motion type that are often used in the electronics field.
Scara robots blend linear Cartesian motion with Articulated rotation to create a new motion type that are often used in the electronics field.
What do you mean by electronics?
Electronics is an area of physics and electrical engineering that studies electron emission, behaviour, and consequences utilising electronic devices. Electronics varies from classical electrical engineering because it uses active devices to influence electron flow via amplification as well as rectification, whereas classical electrical engineering only uses passive effects to control electric current flow, such as resistance, capacitance, and inductance. Electronics has had a significant impact on the evolution of modern society. The discovery of the electron in 1897, followed by the invention of the vacuum tube, which could amplify and rectify minuscule electrical impulses, marked the beginning of the field of electronics and the electron age.
To learn more about electronics
https://brainly.com/question/28630529
#SPJ4
Which of the following are pre-test loops? Select one: a. for, do-while b. while, for c. while, do-while d. while, for, do-while
While, for, are pre-test loops.
What is loop?
A loop is a set of instructions that are repeatedly carried out in computer programming until a specific condition is met. Typically, a certain procedure, like getting and altering a piece of data, is carried out, and then a condition, like whether a counter has reached a specific number, is verified. If not, the subsequent command in the sequence directs the computer to go back to the first and repeat the process. If the condition has indeed been met, the subsequent instruction either branches outside of the loop or "falls through" to the following sequential instruction. A loop is a basic programming concept that is frequently utilised when creating programmes.
To learn more about loop
https://brainly.com/question/29415882
#SPJ4
a run chart is a bar graph that depicts data points and their order of occurrence.
a. true
b. false
Answer:
False
Explanation:
A run chart displays the history and pattern of variation of a process over time. It is a line chart that shows data points plotted in the order of occurrence.
Hope this helps!!! :)
in the mvc architecture the functionality of the system is organized into services, with each service delivered from a separate server..........(t/f)
It is False to state that in the MVC Architecture the functionality of the system is organized into services, with each service delivered from a separate server. The above scenario occurs within Client-Server Architecture.
What is MVC Architecture?Model-view-controller is a software architecture style for building user interfaces that divides the underlying program logic into three interrelated pieces. This is done to isolate internal information representations from how data is communicated to and accepted by the user.
The Model-View-Controller (MVC) architectural pattern, on the other hand, divides an application into three key logical components: the model, the view, and the controller. Every one of these components is designed to handle particular parts of an application's development.
Learn more about MVC Architecture:
https://brainly.com/question/28299030
#SPJ1
8. When the accessory service tool is used for system checkout, the service tool C and D
terminals are connected to:
it terminal board.
The service tool C and D terminals are connected to the IT terminal board.
What is terminal?
A terminal is the endpoint of a conductor from a component, device, or network. Terminal may also refer to an electrical connector at this endpoint that serves as a reusable interface to a conductor and provides a point for external circuits to be attached. A termination can be as simple as the end of a wire or as complex as a connection or fastener. In network analysis, a terminal is a theoretical location at which connections to a network can be created and does not necessarily refer to any real item. It is sometimes referred to as a pole in this context, particularly in older publications. Terminals for external connections are represented on circuit diagrams by empty circles.
To learn more about terminal
https://brainly.com/question/4455094
#SPJ9
explain the argumentative review
Answer:
This form examines literature selectively in order to support or refute an argument, deeply imbedded assumption, or philosophical problem already established in the literature. The purpose is to develop a body of literature that establishes a contrarian viewpoint
9.6 lab: find student with highest gpa complete the course class by implementing the find student highest gpa() instance method, which returns the student object with the highest gpa in the course. assume that no two students have the same highest gpa.
Java is a network-centric, object-oriented, and multi-platform language. One of the most popular programming languages is this one. Another platform for computers is Java.
What is Different Types of Java Platforms?1. Java Platform, Standard Edition (Java SE): The Java SE API provides the fundamental features of the Java programming language. It outlines every type and object's fundamentals for high-level classes. It is utilised for graphical user interface (GUI) development, networking, security, database access, and XML parsing.
2. Java Platform, Enterprise Edition (Java EE): The Java EE platform provides an API and runtime environment for creating and utilising massively scalable, multi-tiered, dependable, and secure network applications.
3. Java Programming Language Platform, Micro Edition (Java ME): Java ME is a platform for executing Java programmes on mobile phones and other small devices. It includes an API and a small-footprint virtual machine.
4. Java FX: Using a simple user-interface API, JavaFX provides a platform for creating sophisticated internet applications. In order to benefit from higher-performance clients, a contemporary look and feel, and high-level APIs for connecting to networked data sources, Java uses hardware-accelerated graphics and media engines.
To Learn more About Java refer to:
https://brainly.com/question/25458754
#SPJ4
When considering the security aspect of cloud-based enterprise systems, it's important to consider that cloud providers will store _____ copies of your data.
a. altered
b. improved
c. multiple
d. less secur
It's critical to keep in mind that cloud providers will store sensitive data when assessing the security of enterprise systems based on the cloud. altered copies of
What is enterprise systems?
defined as the massive, complicated computing systems that manage enormous amounts of data and allow organisations to coordinate and integrate their business activities. They ensure that information may be shared across all functional levels & management hierarchies and are typically a single system at the heart of organisations. Building Situational Applications in Virtual Enterprises has further information. Enterprise systems are pieces of software that offer services to a unified business structure. Software Implementation for Enterprise Resource Systems has further information. Information solutions that enable businesses to synchronise information across all of their operations. Integrating Enterprise Systems has more information.
To learn more about enterprise systems
https://brainly.com/question/13390630
#SPJ4
If given an array A consisting of N integers, how can I return the size of the largest possible subset of A such that its AND product is greater than 0???
I've been at this all day and still cant get the desired result.
Are you guys able to see what's wrong with my code?
I am inputting an array of N size = {13,7,2,8,3}, output should be 3, and I get 5...
Any help is appreciated. thanks!!
The answer of the array will be:
You should set the <code>maxSubsetSize</code> to <code>1</code> initially. Otherwise, the <code>maxSubsetSize</code> would be bigger than the size of the actual subset.
<code>int size = A.size();
int maxSubsetSize = 1;
int subsetSize = 1;
int andProduct = A[0];
for (int i = 1; i < size; ++i) {
if (andProduct & A[i] == 0) { // if AND product is 0, reset the subset
size
subsetSize = 1;
andProduct = A[i];
} else {
++subsetSize;
andProduct &= A[i];
if (subsetSize > maxSubsetSize) {
maxSubsetSize = subsetSize;
}
}
}
return maxSubsetSize;
</code>
What is array?
An array is a type of data structure used in computer science that contains a set of elements (values and variables), each of which is identified by an array index or key. An array is stored in a way that allows a mathematical formula to determine each element's position given its index tuple. A linear array, sometimes referred to as a one-dimensional array, is the most basic sort of data structure. For instance, ten words with memory addresses 2000, 2004, 2008,..., 2036 (or 0x7D0, 0x7D4, 0x7D8,..., 0x7F4) may be used to store an array with ten 32-bit (4-byte) integer variables with indices 0 through 9. This would give the element with index I the address 2000 + I 4). First address refers to the memory location of the array's first element.
To learn more about array
https://brainly.com/question/28087779
#SPJ4
to prevent cables from being damaged by drywall screws or nails, a _____ is installed. select one: a. wire tie b. steel plate c. mud ring d. sleeve
It is to be noted that to prevent cables from being damaged by drywall screws or nails, a sleeve is installed. (Option D)
What is a sleeve in wiring?An electrical sleeve is defined as "a braided, knitted, woven, or extruded tube used to slide over poorly insulated wires in an electric assembly."
Cable sleeving, like heat shrink tubing, is used to preserve wires and is seen in cable management systems. It protects wires against damage caused by temperature extremes and abrasion, yet it does not require the use of heat to be placed.
When a cable is torn or worn away, the wires within become exposed. This increases your chances of coming into touch with the wires, which might result in an electric shock.
Learn more about steel plate:
https://brainly.com/question/29350697
#SPJ1
this program will input an undetermined number of student names // and a number of grades for each student. the number of grades is // given by the user. the grades are stored in an array. // two functions are called for each student. // one function will give the numerical average of their grade
This program will input an undetermined
#include <iostream>
#include <string>
#include <iomanip>
using namespace std;
// function prototypes
void getData(string [], int [][5], int);
void average(int [][5], int);
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 and a collection of instructions that explain to the computer how to carry out a certain task. Specific program languages, such C++, Python, and Ruby, are used to construct programmes. 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. Although it is typically far more cryptic and challenging to grasp, assembly language is a form of low level language that really is one step beyond machine language. Technically, a human could write assembly language.
To learn more about program
https://brainly.com/question/28717367
#SPJ4
when designing roads, buildings, and bridges in a floodplain, engineers consider the statistical probability of a flood of a given size happening in a given year. a 50-year flood has a blank probability of occurring in a given year. multiple choice question.
When designing roads, buildings, and bridges in a floodplain, engineers consider the statistical probability of a flood of a given size happening in a given year. A 50-year flood has a 2 percent probability (1/50) of occurring in a given year.
What is a floodplain?A floodplain, also known as a flood plain or bottomlands, is an area of land next to a river that extends from the banks of its course to the foot of the valley walls and suffers flooding during high discharge times.
Floodplains help wildlife by providing a range of habitats for fish and other creatures. Furthermore, floodplains are crucial for water storage and conveyance, water quality preservation, and groundwater recharge.
Note that the options the above question are not available hence the general answer.
Learn mroe about floodplain:
https://brainly.com/question/17366465
#SPJ1
steam is leaving a pressure cooker whose operating pressure is 20 psia. it is observed that the amount of liquid in the cooker has decreased by 0.6 gal in 45 minutes after the steady operating conditions are established, and the cross-sectional area of the exit opening is 0.15 in2. determine:
The steady operating conditions are established, and the cross-sectional area of the exit opening is 0.15 inc then the Exit velocity is 34.04 ft/s
The amount of liquid that has
evaporated
m = V/V6
Now V = 0 6 gal
V = 0. 6 * 0 .13 3 68 ft
V = 0 080208 4 3
m =0 . 080208/0.016ft
M= 4. 765 cbm
The mass flowrate of exiting steam liquid becomes
m=m/Δt
& Δt= 45 min
At = 45 x 60 sec
m = 4 . 765/45 x 60
n = 0.00 1 765 ( lbm/s )
Now the exit velocity is
V = m v/A
& A = 0 15 in 2
A=0 .15/( 12 )²ft²
A = 0.001042 ( ft² )
" . V = 0 . 001 7 65 x 20. 093/0.00 1 042
V = 34. 04 ( ft² )
.Exit velocity is 34.04 ( ( ft²/s )
Learn more about velocity here:
https://brainly.com/question/18084516
#SPJ4
a service conductor without an overall jacket must have a clearance of not less than above a window that can be opened.
A service conductor without an overall jacket must have a clearance of not less than three feet above a window that can be opened.
The standards for the installation of service conductors, devices for controlling and safeguarding services, as well as related equipment are addressed in Article 230.
Service conductor installed as open conductors or multiconductor cables outside of an entire outer jacket should be at least three feet away from any windows that can be opened, doorways, terraces, balconies, ladders, steps, fire exits, and other similar areas.
Nevertheless, conductors that traverse over a window's top tier may also be closer to the window than 914 mm (3.0 ft).
Final spans must maintain a vertical clearance of 914 mm (3.0 ft) or so with respect to platforms, projecting, or elevations from which they'll be accessed.
Learn more about service conductor here: https://brainly.com/question/28298618
#SPJ4
Which mode specifier will open a file but not let you change the file or write to it?
A. 'e
B.'a'
C. 'r'
D. 'w'
The mode specifier that will open a file but not let you change the file or write to it is: "r" (Option C)
What is a mode specifier?A mode specifier is a one-word value that specifies the screen mode. It is dealt with as follows: It is presumed to be a mode number if it is a value between 0 and 255.
A mode specifier is a one-word value that specifies the screen mode. It is dealt with as follows: It is presumed to be a mode number if it is a value between 0 and 255. Otherwise, it is presumed to be a Sprite Mode Word if the bottom bit is set (describing a RISC OS 3.5 or RISC OS 5 format sprite).
Learn more about Mode Specifier:
https://brainly.com/question/29214254?
#SPJ1
is the language composed of all strings over the alphabet {a,b} that contain an odd number of a's a regular language? if so, show why. note, again, that you may use any line of argument from the slides on regular languages, e.g., by (a) using the properties on slide 4
Yes, {a,b},L is {w|w contains more 1s than 0s}. Idea: this is similar to the language where the ... a's and b's differ, unioned with all strings not of the form aibj.
What is the regular expression for a language that at least has two A's in it?This language requires at least two a's in a string. Given that any string of b's can be positioned in front of the first a, behind the second a, or in between the two a's, and given that the regular expression b* can be used to represent any string of b's, b*a b*a b* is a regular expression for this language.
The regular phrase (a + b)* (aa + ba + bb)b)(a + b)* (aa + ba + bb) + a + b + c)b* ab* ad)b* aa b* corresponds to the language of all strings over the alphabet "a, b."
The expression "a,b" =,L i="w|w has more 1s than 0s" Idea: Unioning any strings that are not of the form aibj, this is akin to the language where the... a's and b's differ.
To learn more about String refer to:
brainly.com/question/25324400
#SPJ4
Physical entry into the rotor hub is not typically permitted below -10°F (-23°C) for
any purpose.
Because a single movable pulley's effectiveness is not 100%, physical access to the rotor hub is normally prohibited below -10°F (-23°C).Typically, the rotor hub is the part that secures the blades and attaches them to the wind turbine's main shaft.
Describe the rotor hub.The part that typically supports the blades and links them to the main shaft of the wind turbine is called the rotor hub. It is an essential part not only because it rotates to power the generator but also because it keeps the blades in the ideal position for optimal aerodynamic efficiency.The rotor is squeezed by the pads as they are pressed against it by powerful hydraulic pressure. We can stop the car by applying pressure to the brake pads against this surface. The component known as the hub contains the wheel bearing that the axle will rest on.The main rotor blades of a helicopter are moved by means of a mechanical device called a swashplate.The rotor hub is the part that secures the blades and attaches them to the wind turbine's main shaft.To learn more about Rotor hub refer to:
https://brainly.com/question/15022835
#SPJ1
Find the exact value of cosine (startfraction 5 pi over 6 endfraction) cosine (startfraction pi over 12 endfraction) + sine (startfraction 5 pi over 6 endfraction) sine (startfraction pi over 12 endfraction) startfraction startroot 2 endroot over 2 endfraction negative startfraction startroot 2 endroot over 2 endfraction negative startfraction startroot 3 endroot over 2 endfraction startfraction startroot 3 endroot over 2 endfraction.
Exact value of given equation cos(5π/6)*cos(π/12)+sin(5π/6)*sin(π/12) is -√2/2
cos(5π/6)*cos(π/12)+sin(5π/6)*sin(π/12)
0.8660*0.9659+0.2588*0.5=-√2/2
The trigonometric functions of an angle in mathematics are sine and cosine. An acute angle's sine and cosine are defined in terms of a right triangle: for the given angle, the sine is the. We'll refer to the ratio of a right triangle's opposing side to hypotenuse as the sine and assign it the symbol sin. The cosine, denoted by the symbol cos, is the proportion of a right triangle's neighboring side to its hypotenuse. The word "sine" in trigonometry is derived from a Sanskrit word that means "chord" through the use of Latin. The AB chord, which is half a chord of the unit circle in the illustration below, has length sin. Complementary angles serve as the basis for the co-functions.
Learn more about cos here:
https://brainly.com/question/2437614
#SPJ4
Answer:
A on edge
Explanation:
m = StartFraction StartRoot 3 EndRoot Over 2 EndFraction, Theta = StartFraction Pi Over 6 EndFraction
fourier descriptors example hand calculations determine if shape are same despite variation in translation, rotation,scaling
Yes, the shapes are the same despite variation in translation, rotation, and scaling.
What is variation?
Variation is defined as a departure from the usual, such as the diversity of colours found in nature. A deviation from a recognised norm may be crucial. A doctor may be alerted to the possibility of a heart attack by a change in the pattern of the patient's heartbeat, for instance. Temperature variations from expected ranges show that global warming is causing a change in our climate. However, not all variation is unfavourable. One characteristic that makes each puppy individually appealing is the enormous variance in coloration of dogs, even between breeds.
To learn more about variation
https://brainly.com/question/14722489
#SPJ4
write a function in c++ , that would read contents of file student.dat and display the details of those students whose percentage is above 75.
A function in C++, that would read contents of file student.
#include <iostream>
#include <fstream>
using namespace std;
int main () {
// local variable declaration:
int percentage;
string name;
// open a file in read mode.
ifstream infile;
infile.open ("student.dat");
cout << "Reading from the file" << endl;
infile >> name >> percentage;
// write inputted data into the file.
while (!infile.eof()) {
if(percentage>75)
{
cout << "Name of the Student : " << name << endl;
cout << "Percentage :" << percentage << endl;
}
infile >> name >> percentage;
}
// close the opened file.
infile.close();
return 0;
}
What is C++?
The programming language C++ (sometimes known as "C-plus-plus") is used to create software. It is an object-oriented language which puts objects—data fields with distinctive attributes—instead of logic or functions as its primary concern. A user account on the a website is a typical illustration of an object. Each time a brand-new account is created, the basic components of a user account—which normally include information like first and surname names, email addresses, etc.—can be readily copied. Bjarne Stroustrup created C++ in 1979 as an extension to the procedural programming language C to provide developers more control over memory other system resources. Since its introduction, C++ has established itself as the go-to language for creating dependable and quick software.
To learn more about C++
https://brainly.com/question/14426536
#SPJ4
technician a says the leading shoe in a non-servo brake does most of the work when the brakes are applied while in reverse. technician b says the trailing shoe does most of the work when the brake are applied while moving forward. who is correct?
Neither A nor B, both technicians, are wrong here because the leading shoe in a non-servo brake does not work in most cases, and the trailing shoe does not do most of the work when the brakes are applied while moving forward.
What is a Technician?
Technicians are highly skilled individuals who primarily work with technology in a variety of industries. They are well-versed in the technical aspects of the various items with which they work. They usually deal with electricity or technological advancements.
Technicians may be tasked with building equipment or materials related to their field of study. They may also be tasked with performing diagnostics and other maintenance tasks to ensure that the equipment functions properly. In the event of a problem, technicians may be required to perform basic repairs. Technicians must possess strong analytical and decision-making abilities.
To learn more about Technician and non-servo brake, visit: https://brainly.com/question/29348584
#SPJ1
How does the Center of Gravity of a Robot Relate to the Translational, Rotational, or Oscillatory Motion Associated with it?
The center of gravity, also known as the balance point or point of rotation when an object is permitted to freely rotate, is the average location of an object's weight.
Explain about the Gravity?All objects with mass are attracted to one another by the gravitational attraction, which has a magnitude that is directly proportional to the masses of the two objects and inversely proportional to the square of their distance from one another.
By means of gravity, a planet or other body pulls items toward its core. All the planets are maintained in their orbits around the sun by the force of gravity.
Any particle of matter in the universe will gravitate toward any other with a force that varies directly as the product of the masses and inversely as the square of the distance between them, according to Newton's law of gravity.
To learn more about Gravity refer to:
https://brainly.com/question/940770
#SPJ9
technician a says recommended tire pressures for the vehicle are located on the driver's side door pillar tire placard. technician b says the maximum tire pressure is located on the tire sidewall. who is correct?
Both technician are correct tire pressures for the vehicle are located on the driver's side door pillar tire placard and the maximum tire pressure is located on the tire sidewall
The right tire pressure varies according to the vehicle's make, model, and type. Tire pressure for cars typically ranges from 30 to 35 PSI. Consult your car's manual or the driver-side door frame to determine the ideal pressure. Typically, the recommended tire pressure ranges from 30 to 35 PSI. You should consult your vehicle's owner's handbook or the placard that is often printed inside the driver's door with tyre and loading information to determine the proper tire pressure for your vehicle. The recommended tire pressure for your car can be found in the owner's manual or printed on the inside of the fuel tank flap or the sill of the driver's door of vehicle. For the front and rear tires on your car, the manufacturer might advise using different tyre pressures.
Learn more about pressure here:
https://brainly.com/question/14611102
#SPJ4
7. the hlsm below shows an alarm system that sets a single-bit output alarm to 1 when the average temperature of four consecutive samples meets or exceeds a user-defined threshold value. the system has a 32-bit unsigned input ct, which is the current temperature, and a 32-bit unsigned input wt, which is the warning threshold. a single-bit input clr when 1 disables the alarm and the sampling process. fill in the blanks with tmp0, tmp1, tmp2, tmp3 and avg for the components in the datapath. (answers are case sensitive)
Shift register components can be found in the data route as A, B, C, and D. Take tmp0, tmp1, tmp2, and tmp3 as the outputs of the flip-flops A, B, C, and D, respectively. After the initial shift, when tmp ld is set to 1, the following occurs:
tmp0 (o/p of A) = CT
similarly, tmp1 (o/p of B) = tmp0
tmp2 (o/p of C) = tmp1
tmp3 (o/p of D) = tmp2.
Now, the output of A, B, C, and D would all be zero because tmp0, tmp1, and tmp2 were all initialised to zero. Flip flop A alone has the output, which is CT. These outputs are added in two stages: first, A is added to B (i.e., CT+tmp0), then C is added to D (i.e., tmp1+tmp2), and finally, the outputs of the first stage are added in the second stage before being shifted right by two bits, or divided by four. As a result, E flipflop stores the average of all the outputs, which is (CT + tmp0 + tmp1 + tmp2) /4.
So, A= tmp0 which eventually gets CT,
B=tmp1 which eventually gets tmp0 (=0),
C=tmp2 which eventually gets tmp1 (=0),
D=tmp3 which eventually gets tmp2 (=0),
E= avg of tmp0,tmp1,tmp2,tmp3 (=CT/4).
What is tmp?
A temporary file, or tmp is one that has been created to hold data temporarily, either for a program's interim needs or for later transfer to a permanent file. Computer programmes may produce it for a variety of reasons, including as when they are unable to allot enough memory for their duties, when they are working with data that is larger than the architecture's address space, or as a crude kind of inter-process communication.
To learn more about tmp
https://brainly.com/question/2456631
#SPJ4