Monday, 30 March 2015
How to find out table of any number in C++
To Find Table Of Any Number:
#include<iostream.h>#include<conio.h>void main(){int num,n;cout<<"enter number to find its multiplication table ";cin>>num;
for(n=1;n<=10;n++){cout<<num<<"*"<<n<<"="<<num*n<<endl;}getch();}
how to find of the factorial of any number in C++
TO
Find The Factorial Of Any Number;
#include<iostream.h>#include<conio.h>void
main(){int
n,num,factorial=1;cout<<"enter
number to find its factorial";cin>>num;for(n=1;n<=num;n++){factorial=factorial*n;}cout<<”factorial
of given number” “="<<factorial<<endl;getch();}
C++ code for Finding out The Greatest Number
To
Find The Greatest Number:
#include<iostream.h>
#include<conio.h>
void
main()
{
int
num1,num2,num3,num4,num5;
cout<<"
Enter value for first number";
cin>>num1;
cout<<"
Enter value for second number";
cin>>num2;
cout<<"
Enter value for third number";
cin>>num3;
cout<<"
Enter value for fourth number";
cin>>num4;
cout<<"
Enter value for fifth number";
cin>>num5;
if(num1>num2&&num1>num3&&num1>num4&&num1>num5)
{
cout<<"
First number is greatest"<<endl<<"which is=
"<<num1;
}
if
(num1<num2&&num1<num3&&num1<num4&&num1<num5)
{
cout<<"
First number is smallest"<<endl<<"which is=
"<<num1;
}
else
if(num2>num1&&num2>num3&&num2>num4&&num2>num5)
{
cout<<"
Second number is greatest"<<endl<<"which is=
"<<num2;
}
if(num2<num1&&num2<num3&&num2<num4&&num2<num5)
{
cout<<"
Second number is smallest"<<endl<<"which is=
"<<num2;
}
else
if (num3>num1&&num3>num2&&num3>num4&&num3>num5)
{
cout<<"
Third number is greatest"<<endl<<"which is=
"<<num3;
}
if
(num3<num1&&num3<num2&&num3<num4&&num3<num5)
{
cout<<"
Third number is smallest"<<endl<<"which is=
"<<num3;
}
else
if (num4>num1&&num4>num2&&num4>num3&&num4>num5)
{
cout<<" Fourth number is greatest"<<endl<<"which
is= "<<num4;
}
if
(num4<num1&&num4<num2&&num4<num3&&num4<num5)
{
cout<<"
Fourth number is smallest"<<endl<<"which is=
"<<num4;
}
else
if (num5>num1&&num5>num2&&num5>num3&&num5>num4)
{
cout<<"
Fifth number is grestest"<<endl<<"which is=
"<<num5;
}
else
if (num5<num1&&num5<num2&&num5<num3&&num5<num4)
{
cout<<"
Fifth number is smallest"<<endl<<"which is=
"<<num5;
}
getch();
}
Sunday, 29 March 2015
Calculating factorial of any number in C++
Calculating
factorial of any number
#include
<iostream>
#include
<conio.h>
using
namespace std;
int
main ()
{
int
num;
int
factorial=1;
cout<<"enter
num";
cin>>num;
(int
a=1;a<=num;a++)
{
factorial=factorial*a;
}
cout<<"factorial="<<factorial;
getch();
return
0;}
output
enter
integer 4
factorial=24
EQUIPMENT FOR SCREENING
EQUIPMENT FOR SCREENING
SCREENING:
Screening
is a method of separating particles according to size alone.
Under
size: fines pass through the screen openings
Oversize:
tails do not pass
A
single screen can make but a single separation into two fractions.
These are called unsized fractions, because although either the upper
or lower limit of the particle sizes they contain is known, the other
limit is unknown. Material passed through a series of screens of
different sizes is separated into sized fractions, i.e. fractions in
which both the maximum and minimum particle sizes are known.
SCREENING
EQUIPMENT:
- Stationary & rotary screens
- Gyrating screens or Vibrating screens
- Centrifugal sitter.
- Sieves
- Industrial Strainer
- Sieve Shakers
Cutting
diameter Dpc:
It
marks the point of separation; usually Dpc is
chosen to be the mesh opening of the screen.
Actual
screens do not give a perfect separation about the cutting diameter.
The under size can contain certain amount of material coarser
than Dpc,
and the oversize can contain certain amount of material that is
smaller than Dpc.[1]
INDUSTRIAL
STRAINERS:
Some
of industrial strainers available are simplex basket strainer, duplex
basket strainer, and Y strainer. Simple basket strainer is used to
protect valuable or sensitive equipment in a system that is meant to
be shut down temporarily. Some commonly used strainers are bell mouth
strainers, foot valve strainers, basket strainers etc.
Fig. 1: Industrial Basket strainers
SIEVES:
A sieve,
or sifter,
is a device for separating wanted elements from unwanted material or
for characterizing the particle size distribution of a sample,
typically using a woven screen such as a mesh or net. The word "sift"
derives from 'sieve'. In cooking, a sifter is used to separate and
break up clumps in dry ingredients such as flour, as well as to
aerate and combine them. A strainer is
a form of sieve used to separate solids from liquid.
Fig.2: sieves or sifters
ANALYTICAL SIEVE SHAKERS:
Fig.2: sieves or sifters
ANALYTICAL SIEVE SHAKERS:
A device used to shake a stacked column of standard sieve-test trays to cause solids to sift progressively from the top
(large openings) to the bottom (small openings and a final pan), according to particle size.
Fig.3 Analytical Sieve
Shaker
STATIONARY AND ROTARY SCREENS:
STATIONARY AND ROTARY SCREENS:
Rotating
and stationary screens for automatic and efficient removal of coarse
solids process streams and waste water effluent. Screens can be used
anywhere in your plant, but are most often used as a pre-screen to
further waste water treatment.
Screens Provide Great Value:
Screens
provide great value in their ability to handle a wide range of
flow-rates and solids loading. They work well on granular, fibrous,
greasy or sticky solids. We also provide equipment for further de
watering of the screened solids.
The
right screen can reduce water usage, improve the efficiency of final
waste water treatment, reduce maintenance, recover products, reduce
hauling costs and improve processes. Contact us for assistance with
your screening application.
Fig.4: Rotary Screen
Fig.4: Rotary Screen
Screen Applications:
- Process water
- Waste water
- Pulp and paper mill effluent
- Wood room effluent
- Stock thickening
- Broke thickening
- Rejects thickening Save all
- Poultry plant wash water
- Primary feather and offal waste water
- Peeler effluent
- Solids recovery
- Coolants
Fig. 5: Stationary Screen
GYRATORY or VIBRATORY SCREEN:
Boxlike machine with a series of horizontal screens nested in a vertical stack with downward-decreasing mesh-opening
sizes; near-circular motion causes undersized material to sift down through
each screen in succession.
Or
Gyratory Screens, used in mechanical screening and sieving is based on a circular motion of the machine. Unlike other methods, gyratory screen operates in a gentler manner and is more suited to handle fragile products, enabling it to produce finer products. This method is applicable for both wet and dry screening.
each screen in succession.
Or
Gyratory Screens, used in mechanical screening and sieving is based on a circular motion of the machine. Unlike other methods, gyratory screen operates in a gentler manner and is more suited to handle fragile products, enabling it to produce finer products. This method is applicable for both wet and dry screening.
A
distinct difference to other techniques is that the gyratory motion
applied here depends on eccentric weights instead of vibrations,
which can be varied based on individual process
requirement.
Gyratory equipment contains decks of screens on top of each other with the coarsest screen on top and the finest below. The feed is inserted from the top and gyratory motion triggers the penetration of particles into the next deck through screen openings.
Gyratory equipment contains decks of screens on top of each other with the coarsest screen on top and the finest below. The feed is inserted from the top and gyratory motion triggers the penetration of particles into the next deck through screen openings.
Casings
are inclined at relatively low angles (< 15°) to the
horizontal plane, with gyrations occurring in the vertical plane. The
eccentric masses can be varied in such as the increase of top
eccentric mass leads to an increase in horizontal throw, promoting
the discharge of oversize materials. Increment in bottom eccentric
mass boosts the material turn over on the screen surface, maximizing
the quantity of under-size-material penetration. Over size
materials are discharged via tangential outlet.
Fig.5:
Gyratory Screens-Schematic diagram
CENTRIFUGAL SITTERS or SCREEN SCROLL CENTRIFUGE:
CENTRIFUGAL SITTERS or SCREEN SCROLL CENTRIFUGE:
Screen
scroll centrifuge is a filtering or screen centrifuge which
is also known as worm screen or conveyor discharge centrifuge. This
centrifuge was first introduced in the midst of 19th century. After
developing new technologies over the decades, it is now one of the
widely used processes in many industries for the separation of
crystalline, granular or fibrous materials from a solid-liquid
mixture. Also, this process is considered to dry the solid material.
This process has been some of the most frequently seen within,
especially, coal
preparation industry.
Moreover, it can be found in other industries such as chemical,
environmental, food and other mining fields.
Fig.6:
Screen Scroll Centrifuge
References:
[1] http://lorien.ncl.ac.uk/ming/particle/cpe124p4.html[2] http://en.wikipedia.org/wiki/Sieve[3] http://www.papsco.com/Category.asp?CategoryID=15[4] http://en.wikipedia.org/wiki/Gyratory_equipment
[1] http://lorien.ncl.ac.uk/ming/particle/cpe124p4.html[2] http://en.wikipedia.org/wiki/Sieve[3] http://www.papsco.com/Category.asp?CategoryID=15[4] http://en.wikipedia.org/wiki/Gyratory_equipment
[4]
http://en.wikipedia.org/wiki/Screen_scroll_centrifuge
Shell and tube heat exchanger
Shell and tube heat exchanger
A
shell and tube heat exchanger
is a class of heat exchanger designs. It is the most common type of
heat exchanger in oil refineries and other large chemical processes,
and is suited for higher-pressure applications. As its name implies,
this type of heat exchanger consists of a shell (a large pressure
vessel) with a bundle of tubes inside it. One fluid runs through the
tubes, and another fluid flows over the tubes (through the shell) to
transfer heat between the two fluids. The set of tubes is called a
tube bundle, and may be composed of several types of tubes: plain,
longitudinally finned, etc.
Heat
is transferred from one fluid to the other through the tube walls,
either from tube side to shell side or vice versa. The fluids can be
either liquids or gases on either the shell or the tube side. In
order to transfer heat efficiently, a large heat transfer area should
be used, leading to the use of many tubes. In this way, waste heat
can be put to use. This is an efficient way to conserve energy.
Heat
exchangers with only one phase (liquid or gas) on each side can be
called one-phase or single-phase heat exchangers. Two-phase heat
exchangers can be used to heat a liquid to boil it into a gas
(vapor), sometimes called boilers, or cool a vapor to condense it
into a liquid (called condensers), with the phase change usually
occurring on the shell side. Boilers in steam engine locomotives are
typically large, usually cylindrically-shaped shell-and-tube heat
exchangers. In large power plants with steam-driven turbines,
shell-and-tube surface condensers are used to condense the exhaust
steam exiting the turbine into condensate water which is recycled
back to be turned into steam in the steam generator.
Different types of shell and tube heat exchangers and their applications
The
simple design of a shell and tube heat exchanger makes it an ideal
cooling solution for a wide variety of applications. One of the most
common applications is the cooling of hydraulic fluid and oil in
engines, transmissions and hydraulic power packs. With the right
choice of materials they can also be used to cool or heat other
mediums, such as swimming pool water or charge air. One of the big
advantages of using a shell and tube heat exchanger is that they are
often easy to service, particularly with models where a floating tube
bundle (where the tube plates are not welded to the outer shell) is
available.
TDW
Design feature:
|
-Application:
Especially
suited for cooling of lube oil and hydraulic oil in engines,
transmission. Also used in the plastic machinery industry.
BCF/ CCF
Design feature:
-Optional:
|
-Application:
Cooling,
heating and condensing of different media either by fluids or steam.
Typically used in process engineering as well as in mechanical and
plant engineering. Decades of proven reliability in cooling of lube
oil and hydraulic oil, in the tool, plastic and compressor industry.
SSCF
Design feature:
- The standardised and pre-engineered counterpart of the BCF line, but made of stainless steel 1.4571(V4A).
-Application:
Ideally
suited for the chemical, refining, pharmaceutical, and process
industries where aggressive fluids are to be heated or cooled.
CCFA
Design feature:
- Non-removable tube bundle, 1-pass design
- Very high compressive strength
- Best price performance ratio
-Application:
Especially
suited to cool air and gas, especially very high pressures. To be
used as intercooler or after cooler.
Univex-compact series
Design feature:
|
-Application:
Cooling
of: hydraulic oils and lube oils, converter oils, cutting oils,
cooling oils, hydraulic liquids, water/glycol. Low-cost coolants that
can be used are: service water and seawater.
References
- www.wikipedia.org
Subscribe to:
Posts (Atom)