The circuit Automatic Time Indicator for Telephone presented here provides an audible warning 2.5 minutes after dialing the telephone. The circuit does not make use of telephone line for its operation. Circuit Description of Automatic Time Indicator for Telephone The circuit consists of three 555 ICs. It can be divided into three parts- touch switch using IC1, timer using IC2 and oscillator using IC3. The on touch plate is in the form of a wire, the insulation of which is attached to the stopper on the telephone dial. The off touch…
Read MoreElectronic Ballast Circuit
The fluorescent tube-light requires additional gear such as the copper ballast and starter for normal operation. These two are required to provide the initial high voltage for ionization and thereafter to limit the current through the tube to safe values. It has been observed that the illumination efficiency of the tube-light when excited by high frequency power source is higher than that when excited at the 50Hz line frequency. Moreover, the power factor and the efficiency of the bulky copper ballasts are poor. Hence, electronic ballasts circuit were developed to…
Read MoreLibrary Book Info System (LBIS)
The project ‘Library Book Info System (LBIS)’ is going to develop for College has a good library enriched with a lot of books. The prime objective of the project is to fulfill the requirements of college library. This project has been developed to replace the existing manual system for keeping books records with computerized automated books record processing system. This project will automatically reduce the human efforts, time and cost and increases efficiency and accuracy of storing books records. The library staffs can get the right information in time and…
Read MoreExpander Compressor Unit Circuit | Compander
The compression and expansion are two important techniques used by audio engineers during recording and reproduction of program material. The compression of dynamic range of program material (records, speech or musical broadcasting) permits maintaining constantly high modulating level while the expansion, when used with the reproduction of compressed material, restores the dynamic range and creates a ‘live’ music. Thus, we are created simple and basic project Expander Compressor Unit Circuit. Circuit Description of Expander Compressor Unit Circuit | Compander Creating these effects is costly and complex, and beyond the scope of amateur…
Read MoreSoil Stabilization | Soil Stabilization Method
The process of improving the engineering properties of soils is called soil stabilization. It is the simplest method of soil stabilization. By soil stabilization, the soil becomes more stable by the reduction in the permeability and compressibility and by the increase in shear strength. With the increase in soil stabilization properties the bearing capacity of soil is increased significantly. The various method of soil stabilization includes: Mechanical Stabilization Cement Stabilization Lime Stabilization Bitumen Stabilization Stabilization by Geo-textiles Mechanical Stabilization | Soil Stabilization | Soil Stabilization Method In this method changing the…
Read MoreUnderpinning | Underpinning Methods and Purpose
What is underpinning? Underpinning is a process of placing a new foundation under an existing one or strengthening an existing foundation. What are the Purpose of Underpinning? The underpinning is done to serve the following purposes. To strengthen a shallow foundation when a building with deep foundation is to be constructed adjoining it. To strengthen an existing foundation, which has suffered from cracks and settlements To deepen an existing foundation. To construct a basement under an existing building. What the Underpinning Methods? There are two underpinning Methods. They are: Pit…
Read MoreDrainage by Electro – Osmotic Method
Electro-osmotic method is used when co-efficient of permeability lies between 10-7 cm/see to 10-5 cm/sec. In electro-osmotic method, two electrodes are driven into the saturated cohesive soil. The cathode is made out of steel in the form of a well point or a tube. A steel rod or a pipe or a sheet piling is made to serve as anode as shown in Fig.1. In general the surface of soil is negative charged and is surrounded by polar water and ions of other elements. When a current is passed through…
Read MoreDrainage by Vacuum Method
If the effective size of the soil to be drained is less than 0.05 mm, well points cannot be used because capillary forces prevent flow. In order to drain such soils suction head in excess of capillary head is to be applied i.e. by vacuum method. The typical soils of such nature are sands and silty sands. These soils possesses, coefficient of permeability between 1 ×10-3 to 1 ×10-5 cm/sec. Drainage in such cases can be made efficient by the use of vacuum well points as in Fig.1. Vacuum well…
Read MoreGames of Chance | Dice Game | Craps
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
/* Game of Craps */ #include <stdio.h> #include <stdlib.h> #include <conio.h> #include <time.h> /* contains prototype for function time */ /* enumeration constants represent game status */ enum Status { CONTINUE, WON, LOST}; int rollDice( void ); /* function prototype */ /* function main begins program execution */ int main( void ) { int sum; /* sum of rolled dice */ int myPoint; /* point earned */ enum Status gameStatus; /* can contain CONTINUE, WON, or LOST */ printf("\t\t\t\t\tWelcome to"); printf("\t\t\t\t\tGame of Craps"); delay(2000); clrscr(); printf("\t\t\t\t\tCoded By:"); printf("\t\t\t\t\twww.bestengineeringprojects.com"); delay(2000); clrscr(); /* randomize random number generator using current time */ srand( time( NULL ) ); sum = rollDice(); /* first roll of the dice */ /* determine game status based on sum of dice */ switch( sum ) { /* win on first roll */ case 7: case 11: gameStatus = WON; break; /* lose on first roll */ case 2: case 3: case 12: gameStatus = LOST; break; /* remember point */ default: gameStatus = CONTINUE; myPoint = sum; printf( "Point is %d\n", myPoint ); getch(); break; /* optional */ } /* end switch */ /* while game not complete */ while ( gameStatus == CONTINUE ) { sum = rollDice(); /* roll dice again */ /* determine game status */ if ( sum == myPoint ) { /* win by making point */ gameStatus = WON; /* game over, player won */ } /* end if */ else { if ( sum == 7 ) { /* lose by rolling 7 */ gameStatus = LOST; /* game over, player lost */ } /* end if */ } /* end else */ } /* end while */ /* display won or lost message */ if ( gameStatus == WON ) { /* did player win? */ printf( "Player wins\n" ); getch(); } /* end if */ else { /* player lost */ printf( "Player loses\n" ); getch(); } /* end else */ return 0; /* indicates successful termination */ } /* end main */ /* roll dice, calculate sum and display results */ int rollDice( void ) { int die1; /* first die */ int die2; /* second die */ int workSum; /* sum of dice */ die1 = 1 + ( rand() % 6 ); /* pick random die1 value */ die2 = 1 + ( rand() % 6 ); /* pick random die2 value */ workSum = die1 + die2; /* sum die1 and die2 */ /* display results of this roll */ printf( "Player rolled %d + %d = %d\n", die1, die2, workSum ); getch(); return workSum; /* return sum of dice */ } /* end function rollRice */ |
Click Here to download Compiled Software The output of the Program are shown in figure below:
Read MoreFinding the maximum of three integers | C programming
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
/* Finding the maximum of three integers */ #include <stdio.h> #include <conio.h> int maximum( int x, int y, int z); /* function prototype */ /* function main begains program execution */ int main( void ) { int number1; /* first integer */ int number2; /* second integer */ int number3; /* third integer */ printf("\t\t\t\t\tWelcome to"); printf("\t\t\t\t\tFinding Maximum of Three Integers Software"); delay(2000); clrscr(); printf("\t\t\t\t\tCoded By:"); printf("\t\t\t\t\twww.bestengineeringprojects.com"); delay(2000); clrscr(); printf( "Enter three integers\n " ); printf( "and this software tell you the maximum number: " ); scanf( "%d%d%d", &number1, &number2, &number3 ); getch(); /* number1, number2 and number3 are arguments to the maximum function call */ printf( "Maximum number is: %d\n", maximum( number1, number2, number3 ) ); getch(); return 0; /* indicates successful termination */ } /* end main */ /* Function maximum definition */ /* x, y and z are parameters */ int maximum( int x, int y, int z ) { int max = x; /* assume x is largest */ if ( y > max ) { /* if y is larger than max, assign y to max */ max = y; } /* end if */ if ( z > max ) { /* if z is larger than max, assign z to max */ max = z; } /* end if */ return max; /* max is largest value */ } /* end function maximum */ |
Click Here to Download Compiled Software The output of the Program are shown in figure below:
Read More