Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
How To Find The Area of a Trapezium in Golang?
In this tutorial, we are going to see the Golang program to find the Area of a Trapezium. The area is the total space covered by any closed figure. Formula Area of Trapezium - ½ * (b1 + b2) * h b1 - length of one parallel side of a Trapezium b2 - length of another parallel side of a Trapezium h - the distance between the parallel sides of a Trapezium. For example, the length of one parallel side of a Trapezium is 10 cm and the other parallel side is 8 cm, and the distance between ...
Read MoreHow To Find The Area of a Parallelogram in Golang?
In this tutorial, we are going to see the Golang program to find the Area of a Parallelogram. The area is the total space covered by any closed figure. Formula Area of the Parallelogram - base * height b - length of the base of a Parallelogram h - length of the height of a Parallelogram For example, the length of the base of a Parallelogram is 6 cm and the length of the height of the parallelogram is 4 cm so the Area of a Parallelogram is − b = 6 cm h = 4 cm Area ...
Read MoreHow to Find Area of Square in Golang?
In this tutorial, we are going to see the Golang program to find the Area of a Square. The area is the total space covered by any closed figure. Formula Area of Square - (length of a side) * (length of a side) s - length of a side of a Square For example, the length of a side of a Square is 10 cm so the Area of a Square is − Area = 10 * 10 = 100 cm^2 Finding the Area of a Square within the function Algorithm Step ...
Read MoreHow to Count the Number of Vowels and Consonants in a Sentence in Golang?
In this tutorial, we are going to see how to find the number of vowels and consonants in a sentence in Golang. If any character lies under the set {a, e, i, o , u} then that character is a vowel. Any character that does not lie in the above set is a consonant. Explanation Suppose we have a sentence “India have twenty eight states and eight union territories”. In this sentence, the characters which are bold are the vowels. So, the total vowels are 21 and consonants are 29. Finding the count of vowels and consonants within the function ...
Read MoreHow to Calculate the Sum of Natural Numbers in Golang?
In this tutorial, we are going to see how to find the sum of Natural Numbers in Golang. To do that we have two ways one using the formula itself and the other is to use a for loop we will explore both ways in this tutorial. Formula Sum = ( N * ( N + 1))/2 N = The value of the natural number till which you want to find the sum. Explanation Let's find the sum of the first 6 natural numbers using the above formula. Sum of first 6 natural numbers = 1 + 2 + ...
Read MoreDifference between Voltage Amplifier and Power Amplifier
An amplifier is an electronic circuit that is used to increase the strength of a signal in terms of voltage, current, power, etc. It accepts a weak signal at the input terminal and produces a raised signal at the output, though the output signal is identical to the input signal. The function that an amplifier performs is known as amplification. The amount of amplification performed by the amplifier is determined by a factor known as gain of the amplifier. Depending on the applied input signal and generated output signal, the amplifiers are broadly classified into two major types namely, ...
Read MoreDifference between Solid and Stranded Wire
Wires are the most fundamental components of an electrical and electronic system that convey electricity from one point to another. In practice, we use two major types of wires for power transmission namely solid wire and stranded wire. In this article, we will consider various parameters to understand the major differences between a solid wire and a stranded wire. But before that, let's start with some basics of solid wire and stranded wire so that it becomes easier to understand the differences between them. What is a Solid Wire? A solid wire is the type of conductor wire that ...
Read MoreDifference between Positive and Negative Feedback in a Control System
In a control system, the process of sampling and returning the output (or a part of output) to the input end of the system is known as feedback. The feedback is used to improve the operating performance to obtain the desired output from a control system. The feedback signal may be a voltage or a current depending on the operation of the feedback sampling system. It must remember that the feedback is a unidirectional process, i.e. the sampled feedback signal always flows from output to input side. The use of feedback in a system makes it a closed loop control ...
Read MoreDifference between PLC and DCS
Both PLC and DCS are extensively used in industrial automation to control and automate a machine or a process. Both PLC and DCS monitor the input and field signals and take the decisions based on how they are programmed. There are many differences between PLC and DCS which we will highlight in this article. Let's start with some basics of PLC and DCS so that it becomes easier to understand the differences between them. What is a PLC? PLC stands for Programmable Logic Controller. The PLC is a microcontroller device that is used to control and automate a machine ...
Read MoreDifference between Overhead Lines and Underground Cables
Electrical power is produced at the power generating plants which are located far away from the load centers. Therefore, we need to transport the electrical power generated at the power generating plant to the points of utilization or load points. For this purpose, two major systems of conductors are developed called transmission system and distribution system. Both transmission and distribution systems are further classified into two types namely, Overhead system Underground system In the overhead system of transmission and distribution, the overhead line wires supported by poles are used for power transportation; while in the underground system, insulated ...
Read More