The Programming Language for the C++ Editor needs translation. An algorithm is an ordered set of unambiguous, executable steps defining a terminating process. An algorithm is used when preparing to write a program for a particular specification. It is then translated to Programming Language for the C++ Editor. Engineering in Kenya has more information.
An example of a Program Written in the Programming Language for the C++Editor
// p11.cpp – This program will compute the profit of selling soft drinks
Using namespace std;
Int main ( )
Int cases_per_day, bottles_pre_day;
Int bottles_per_day = 12;
Double profit_per_bottle = 40; //40 shillings per bottle profit
Double profit_per_day, profit_per_year;
Cout <<”press enter after entering each number \n”;
Cout<< “enter number of cases \n”;
Cin >> cases_per_day;
Profit_per_day = cases_per_day*bottles_per_cases*profit_per_bottle;
Profit_per_year = 365*profit_per_day;
Cout << “the shop has made:”;
Cout << profit_per_day;
Cout << “ per day. \n”;
Cout << “that means the profit for one year will be:”;
Cout << profit_per_year << end1;
Cout << “good business?! \n”;
Many groups of researches realized that there had been wide spread cheating in UCSD Physics Lab Classes mainly in the University of California in San Diego.
The study also discovered that a large percentage of students perceive more cheating than they admit to. Like, while merely about 11 percent of students acknowledge to sometimes or frequently getting unpermitted help, almost 66 percent perceive that other students are cheating.
In another survey, over 65 percent of the students said that other students made-up data in physics lab.Read More
This is an Introduction to Physics. Physics is the study of matter and its relation to energy. Matter on the other hand is a term used to describe anything that has mass and occupies space. Matter has various properties. Engineering in Kenya has more articles.
Elastic Properties of Matter in the Introduction to Physics
A perfect rigid body, for Properties of Matter in the Introduction to Physics, has constant distance between two particles (not visibly true in practice) i.e. most bodies get deformed under an applied force and the body has a tendency to regain its original size and shape when the force is withdrawn. This property of the body that tends to regain its shape or size when deforming forces are removed is called elasticity.
A perfectly elastic body for Properties of Matter in this Introduction to Physics retains its original shape or size very quickly. A body that tends to regain its shape or size very slowly is known to be perfectly plastic in nature. Solids tend to resist change of both shape and volume and hence they possess rigidity or shear elasticity as well as volume elasticity. Liquids on the other hand tend to resist change in volume and not shape and thus possess only volume elasticity for Properties of Matter in this Introduction to Physics.
Stress in Properties of Matter
When a body experiences a deforming external force, different particles in it are displaced, and they try to occupy their original positions. In the Introduction to Physics this restoring force per unit area taking place inside the body is called stress in Properties of Matter. As long as there is no permanent change in shape or volume of the body, the restoring force is always equal to the applied force. Mathematically;
Stress = Force/ cross-sectional area of the body.
Strain in Properties of MatterRead More
ü The operating system as an extended machine language, whereby its function is to present the user with equivalent of an extended machine or internal machine language. That is it provides the user with virtual machine that is more convenient to use than that of actual machine.
ü The operating system as a resource manager. The job of the operating system is to manage all the parts of the modern operating for example the peripheral devices such as the printer, disk, mice, processor, memory and many more. Engineering in Kenya has more information
The modern computer system consist of one or more processes, main memory, disk, keyboards, display, network interface and other input and output devices. To manage this devices the computer is equipped with a layer of software called operating system. The modern operating system helps to manage all these devices and provides the user with programs which have a simpler interface and understandable.Read More
The Bernoulli Principle was formulated by Bernoulli, who obtained a relation between the pressure and velocity at different parts of a moving incompressible fluid. If the viscosity is negligibly small, there are no frictional forces to overcome. Hence the work done by the pressure difference per unit volume of a fluid flowing along a pipe steadily is equal to the gain in kinetic energy per unit volume plus the gain in potential energy per unit volume according to The Bernoulli Principle. Engineering in Kenya has more information.
Mathematical Definition of The Bernoulli Principle
The work done by pressure in moving a fluid through a distance = force × distance moved = pressure × area × distance moved = pressure × volume. At the beginning of the pipe where the pressure is P1, the work done per unit volume on the fluid according to The Bernoulli Principle is P1. At the other end, if the pressure is P2, then the work done per unit volume according to The Bernoulli Principle is P2.
Hence the net work done per unit volume is the difference of P2 and P1. The kinetic energy per unit volume = ½mass per unit × velocity2 = ½ρ × velocity2 where ρ is the density of the fluid. Thus if v1 and v2 are the final and initial velocities at the end and the beginning of the pipe respectively, then the kinetic energy gained per unit volume = ½ρ(v22 – v12).
Further, if h2 and h1 are the respective heights measured from a fixed level at the end and the beginning of the pipe respectively, the potential energy gained per unit volume according to The Bernoulli Principle is = mass per unit volume × g × (h2 – h1) = ρg(h2 – h1). Thus from the conservation of energy.Read More