Posts

Operational Amplifier

Introduction   Op amps have been used for a long time, their initial applications being primarily in the area of analogue computation. In mid 1960s the first integrated circuit op amp was produced. The structure of Operational amplifier  An op amp contains 5 terminals in maximum.  2 for input  2 for connect with a positive and negative voltage  1 for output Function of the ideal Op Amp The ideal Op Amp is designed to sense the difference between two input terminals. The two input terminals are of two type. Positive input terminal is called non-inverting input terminal and in the other hand negative input terminal is called inverting input terminal. 1. If positive terminal is active and negative is grounded then Vout=A*V(+) 2. If negative terminal is active and positive is grounded then Vout=-A*V(-) For this negative symbol this terminal is called ‘Inverting input terminal’

Library Management System : C programming

Image
Here is the code for LIBRARY MANAGEMENT SYSTEM #include<stdio.h> #include<conio.h> #include<string.h> #include<ctype.h> #include<stdlib.h> #include<windows.h> #include<time.h> int mainmenu(); char books[100000];int dd,mm; int login() {     //for login;     char user_n[10],pw[6],p[6]; a:  printf("\n\n\t\tUser Name:\t");scanf(" %[^\n]",&user_n);     printf("\t\tPassword:\t");scanf(" %[^\n]",&pw);     printf("\n%s\t%s\n",user_n,pw);     if((strcmp(user_n,"admin")==0)&& (strcmp(pw,"admin")==0))     {         printf("Login Successful\nPress Any Key to Continue...");getch();system("cls");         do{printf("Give Date Only(dd):\t");scanf("%i",&dd);}while(dd>31);         do{printf("Give Month Only(dd):\t");scanf("%i",&mm);}while(mm>12);printf("\nP...

The Rise and Fall of The Islamic Caliphate

Image
Caliphate is a glorious past of Muslims, all over the world. Muslim community always needs a rightly guided caliphate. So it's my simple work to remember Our glorious History of caliphate and how we lose that. The rise and fall of the Islamic CALIPHATE FROM THE BEGINNING TO THE END What is CALIPHATE ?   Islamic caliphate is a government system based on Islamic sharia law. First caliphate was formed after the death of prophet Muhammad (‫.)ﷺ‬  The successors of Prophet Muhammad, who was the head of the Islamic state, were called "caliphs," a term translated as "successor“ in English. Starting from the 11th century, various states were established on the lands the Muslims ruled, from the Atlantic Ocean to deep inside China and the authority of the caliph became symbolic in these countries.   All Islamic Caliphate in a list   The Rashidun Caliphate (632–661)  The Umayyad Caliphate (661–750)  The Abbasid Caliphate (750–1258, 1261–1517)  The O...

Code for builders

Image
Babylon’s Building Code (1758 BC) Also Known as Code for builders by Hammurabi This code was set by Hammurabi , king of Babylon. He made a strict law for the builders. It aimed at the builders of his time wherein, they were forced to follow the code by law. He ordered them, “If a builder has built a house for a man and has not made his work sound, and the house which he has built was fallen down and so caused the death of the householder, that builder shall be put to death. If it causes the death of the house holder’s son, they shall put that builder’s son to death. If it causes the death of the house holder’s slave, he shall give slave to the householder. If it destroys property, he shall replace anything it has destroyed; and because he has not made the house sound which he has built and it has fallen down, he shall rebuild the house which has fallen down from his own property. If a builder has built a house for a man and does not make his work perfect and the wall bulges, ...

About this blog

About this blog... This blog is a multi-purposes blog. Inshaallah I'll share Education materials as well as some Game-play. So stay with us. And our Youtube channel is: https://www.youtube.com/channel/UCt78-wLWQ-tVnmlD7wVxmhA