Take BTech Tuition from the Best Tutors
Search in
Lesson Posted on 26/05/2021 Learn BTech 1st Year Engineering
Material Science and Metallurgy
Yogesh Dhage
I am engineer. 10 year of teaching Experience in this field. I am giving home/online/tutor home tuition...
Hello,
I would like to show very first how to visualize the subject. For this, we should have total concentration. To avoid obstacle coming in front of us, we will follow the following steps.
Close your eyes, try to identify any Object.,Whatever it may be and ask the following questions yourself.
This is a reverse engineering way of learning and teaching,
Eg.
These all things you will get from nothing from Material Science and Metallurgy subject. All that complicated things we have to step by in this subject.
I hope you will better understand the importance of this subject.
read lessLesson Posted on 27/08/2019 Learn BTech 1st Year Engineering
please click the below link in addressbar and type password ,then my demo vedio will come.
Madavadv
Lesson Posted on 24/07/2019 Learn BTech 1st Year Engineering
FUNDAMENTALS OF COMPUTER ALGORITHMS
Mukesh
INTRODUCTION:
The word algorithm is named after the ninth century scholar 'Abu Jafar Muhammad Ibn Musa Al-Khwarizmi'. An algorithm is a step-by-step procedure by which a computer can produce the required outputs from the available inputs. An algorithm must have a finite set of steps in reaching the solution of the problem. We can say that an algorithm is a set of rules that precisely (unambiguously) defines the sequence of operations that have to be performed to generate the required output.
An algorithm can be written in English-like language. But since the English language is not precise, most algorithms are written in a notation called pseudocode. Pseudocode looks like statements from a programming language, but it will not run on any computer. Pseudocode is simple, readable, and has no grammatical rules. The words algorithm and pseudocodes are often used interchangeably.
An algorithm is useful because it can be used to state the sequence of steps that will eventually lead to the correct output. While writing an algorithm, the programmer need not be concerned about the syntax of the programming language. Thus, an algorithm can be used to write the program in any programming language because the logical steps are given in the algorithm. An algorithm can also be used to reduce the number of steps in computation and increase the speed of computation.
The three types of algorithms we will study here are:
Examples Based on Input-Process-Output:
Example 1: Computing the total marks obtained by a student
Let us consider a simple example of calculating the total marks obtained by a student in three subjects. The following algorithm shows the steps in performing this calculation. Observe that the sequence of steps is important; we cannot change the sequence because it is in a logical order.
Example 2: Algorithm to convert an amount in US Dollars into equivalent amount in Indian rupees.
Examples based on Input-Decision-Process-Output
Example 3: An algorithm for a simple calculator:
Example 4: An algorithm to find the largest of three numbers.
Examples based on loops
Example 5: Write an algorithm to find the sum of first 10 numbers (i.e. 1+2+3+4+…+ 10)
Example 6: An algorithm for a simple ATM machine:
The following example illustrates an algorithm for a simple ATM machine.
The Efficiency of Algorithms:
An efficient algorithm must utilise effectively all the available resources of a computer system. The two most important resources in a computer system are CPU time and primary memory (RAM). An efficient algorithm must run as quickly as possible (i.e. occupy least amount of CPU time), and use as little memory as possible. The following points must be kept in mind for designing efficient algorithms:
Qualities of Good Algorithms:
REVIEW QUESTIONS
Take BTech Tuition from the Best Tutors
Answered on 13/06/2018 Learn BTech 1st Year Engineering
Nallella Ramesh
Helping Students to Reach their Potential 😊
Laplace transform is similar to the fourier transform,but it represented in s- domain i.e it takes the real variable t to complex variable s [+jW].But fourier transform is fail to represents frequency spectrm of Niether energy nor power signal,then at that moment we use the Laplace transform.
read less
Lesson Posted on 15/03/2018 Learn BTech 1st Year Engineering
A Brief Intro into Electromagnetism
Aritra Majumder
I am an experienced, qualified teacher and tutor with over five years of experience in teaching Physics,...
The topics covered in this part are given below:
• Oersted’ Experiment
• Magnetic Field
• Moving Charge & Magnetic Field
• Lorentz Force
• Magnetic force on a current-carrying conductor
• The motion of a charged particle in a Magnetic Field
• The motion of a charge in Combined Electric and Magnetic Fields
• Cyclotron
Electromagnetism is a branch of Physics, deals with the electromagnetic force that occurs between electrically charged particles. The electromagnetic force is one of the four fundamental forces and exhibits electromagnetic fields such as magnetic fields, electric fields, and light. It is the basic reason electrons bound to the nucleus and responsible for the complete structure of the nucleus.
Before the invention of electromagnetism, people or scientists used to think magnetism and electricity are two different topics. The view has changed after James Clerk Maxwell published A Treatise on Electricity and Magnetism in the year 1873. The publication states that the interaction of positive and negative charges are mediated by one force. This observation laid the foundation to Electromagnetism. Later many scientists like Michael Faraday, Oliver Heaviside, and Heinrich Hertz contributed their ideas in electromagnetism.
Electromagnetism is a process where the magnetic field is created by introducing current in the conductor. When a conductor is electrically charged it generates magnetic lines of force of conductor. For example, if current i.e., positive charges moving in a wire, it produces the magnetic field along the wire and the direction of magnetic lines, and force can be determined using Right Hand Rule.
Oersted’ Experiment
During a lecture demonstration in 1820, the Danish physicist Hans Christian Oersted noticed that a current in a straight wire caused a noticeable deflection in a nearby magnetic compass needle. He further investigated this phenomenon and confirmed the phenomenon of the magnetic field around current carrying conductor.
Magnetic Field
It is the space around a magnet or current carrying conductor around which magnetic effects can be experienced. It is a vector quantity and its SI unit is Tesla (T) or Wb/m2.
read less
Lesson Posted on 06/11/2017 Learn BTech 1st Year Engineering
Introduction To Network Theory (For EE/EEE students)
Mukesh Kumar Sahu
I can guide the students in all the possible areas of mine and can able to answer each and every topics...
Take BTech Tuition from the Best Tutors
Answered on 24/11/2017 Learn BTech 1st Year Engineering
VIJAY CHAUDHARY
Tutor
Asked on 02/08/2017 Learn BTech 1st Year Engineering
Lesson Posted on 14/07/2017 Learn BTech 1st Year Engineering
Importance Of Function Prototype In C
Sunil Yadav
I started teaching in 2011 while pursuing my computer science degree. And, now it has been a wonderful...
Function prototype tells compiler about number of parameters function takes, data-types of parameters and return type of function. By using this information, compiler cross checks function parameters and their data-type with function definition and function call. If we ignore function prototype, program may compile with warning, and may work properly. But some times, it will give strange output and it is very hard to find such programming mistakes. Let us see with examples:
#include #include int main( int argc, char *argv[]) { FILE *fp; fp = fopen (argv[1], "r" ); if (fp == NULL) { fprintf (stderr, "%s\n" , strerror ( errno )); return errno ; } printf ( "file exist\n" ); fclose (fp); return 0; } Above program checks existence of file, provided from command line, if given file is exist, then the program prints “file exist”, otherwise it prints appropriate error message. Let us provide a filename, which does not exist in file system, and check the output of program on x86_64 architecture. [narendra@/media/partition/GFG]$ ./file_existence hello.c Segmentation fault (core dumped) Why this program crashed, instead it should show appropriate error message. This program will work fine on x86 architecture, but will crash on x86_64 architecture. Let us see what was wrong with code. Carefully go through the program, deliberately I haven’t included prototype of “strerror()” function. This function returns “pointer to character”, which will print error message which depends on errno passed to this function. Note that x86 architecture is ILP-32 model, means integer, pointers and long are 32-bit wide, that’s why program will work correctly on this architecture. But x86_64 is LP-64 model, means long and pointers are 64 bit wide. In C language, when we don’t provide prototype of function, the compiler assumes that function returns an integer. In our example, we haven’t included “string.h” header file (strerror’s prototype is declared in this file), that’s why compiler assumed that function returns integer. But its return type is pointer to character. In x86_64, pointers are 64-bit wide and integers are 32-bits wide, that’s why while returning from function, the returned address gets truncated (i.e. 32-bit wide address, which is size of integer on x86_64) which is invalid and when we try to dereference this address, the result is segmentation fault. Now include the “string.h” header file and check the output, the program will work correctly. [narendra@/media/partition/GFG]$ ./file_existence hello.c No such file or directory Consider one more example:
|
Take BTech Tuition from the Best Tutors
Answered on 31/01/2017 Learn BTech 1st Year Engineering
Prashanth Kannadaguli
BEST Technical Trainer & Freelancer
UrbanPro.com helps you to connect with the best BTech Tuition in India. Post Your Requirement today and get connected.
Ask a Question
The best tutors for BTech Tuition Classes are on UrbanPro
The best Tutors for BTech Tuition Classes are on UrbanPro