Find Sum of Given Sequence in C++

Revathi Satya
Updated on 22-May-2024 11:50:23

863 Views

In this article, we are given two numbers n and k representing a series. Our task is to create a program in C++ that finds the sum of the sequence given below: The input cycle is the process of adding up all the numbers in the given sequence to get a single output. The process of recursion is frequently used in mathematics and may be implemented with sequences namely the arithmetic ones ( each term is acquired by adding a constant difference between the previous one) and the geometric sequence ( where each term is multiplied by a constant ratio with the former term ... Read More

Find Smallest Difference of Angles in a Circle using C++

Revathi Satya
Updated on 22-May-2024 11:49:53

323 Views

In this article, we will find the smallest difference in angles between two parts of a given circle using the C++ programming language. Before proceeding to the code, let’s first understand how we can calculate the angles to find the smallest difference between them. We are given the angles of all the pieces of the circle in the array. We have to join the pieces in such a way that the angle difference between the two pieces is the least. Let's go through the input and output scenario for better understanding. Here, we declare an array contianing three different angles ... Read More

Find Slope of a Line in C++

Revathi Satya
Updated on 22-May-2024 11:48:48

2K+ Views

In this article, we will learn how to find the Slope of a line using a program. But before we proceed into the program, let's first understand what the Slope of a line represents in mathematics and how to compute it using its mathematics formula in C++. In mathematics, the Slope of a line is a numerical value that measures the line’s steepness and direction. It indicates the rate at which the line ups or down as you move along it from left to right (or horizontally). Generally, it is denoted by the letter "m". In mathematics, the steepness refers to the slope or gradient of a line. In terms of mathematical, ... Read More

Difference Between Indoor and Outdoor Substations

Manish Kumar Saini
Updated on 20-May-2024 11:51:39

5K+ Views

An indoor substation is one in which the entire substation is built inside a building, whereas an outdoor substation is a substation in which the equipment are installed in an open environment. Read this article to understand all the important differences between indoor and outdoor substations. Let us start this article with a brief overview on electrical substations, indoor substations, and output substations. What is a Substation? A substation or electrical substation is an arrangement of electrical equipment for changing the voltage levels of electric supply for transmission, distribution, and utilization purposes. Basically, a substation is used for the following ... Read More

Types of Power Plants – Advantages and Disadvantages

Manish Kumar Saini
Updated on 20-May-2024 11:50:35

5K+ Views

A power plant is a systematic arrangement of electrical equipment used for producing electrical power. In other words, an industrial facility used for producing bulk amount of electric power is called a power plant. Power plant is also called generating station or power station. These power plants are connected to an electrical network, called grid or power grid. A typical power plant contains many electrical and mechanical equipment such as prime mover or turbine, alternators, transformers, circuit breakers, conductors, etc. A source of energy like steam/flowing water is used to rotate the prime mover that in turn drives the alternator ... Read More

Electrical Substation Types and Components

Manish Kumar Saini
Updated on 20-May-2024 11:46:32

5K+ Views

In electrical power systems, electric power is generated, transmitted, and distributed in the form of alternating current. The electrical power is generated at a power generating station which is located far away from the consumer's load. The generated power is then transmitted and distributed through an electrical network to the load ends. But it is also important to note that power is generated at a lower voltage, transmitted at a higher voltage, and distributed at a lower voltage again. This voltage variation is for many technical and economic reasons. For changing this voltage at many locations in the power system, ... Read More

Difference Between AIS and GIS Substation

Manish Kumar Saini
Updated on 20-May-2024 11:35:57

4K+ Views

AIS and GIS are the two most widely used switchgear technology in the field of electrical substations. AIS stands for Air Insulated Switchgear and GIS stands for Gas Insulated Switchgear. A substation in which the insulation between phases is provided by the atmospheric air is called an air insulated substation or AIS substation. On the other hand, a substation in which the insulation within phase and between phases is provided by SF6 gas is known as a gas insulated substation or GIS substation. The primary difference between AIS substation and GIS substation is that an AIS substation uses the atmospheric ... Read More

How Linux Uses Sockets

Satish Kumar
Updated on 06-May-2024 11:39:55

2K+ Views

Introduction Linux is an open-source operating system that has gained immense popularity for its stability and security. It is widely used in various fields such as web servers, embedded systems, and supercomputers. One of the key aspects of Linux is its efficient usage of sockets for interprocess communication. Sockets provide a flexible way to establish communication channels between different processes running on the same or different machines connected over a network. What are Sockets? Sockets are a fundamental concept in Linux networking, allowing communication between processes on different computers over a network. In simple terms, a socket is an endpoint ... Read More

Types of Oil Circuit Breakers (OCBs)

Manish Kumar Saini
Updated on 06-May-2024 10:40:58

2K+ Views

Oil circuit breakers (OCBs) are used for performing the following two important functions - Switching of electric supply Protection of electrical system They are called oil circuit breakers because in this type of circuit breakers, insulating/dielectric oil is used for quenching the arc. In this article, we will learn about the basics of oil circuit breakers and their different types. What is an Oil Circuit Breaker? An oil circuit breaker is an electrical switch in which an insulating or dielectric oil is used for arc quenching. As we know, when a fault occurs in the electrical system, we ... Read More

Concept of Secondary Index in DBMS

Bhanu Priya
Updated on 04-May-2024 20:26:03

4K+ Views

In secondary Index (Unique value) is created for each record in a data file which is a candidate key. Secondary index is a type of dense index and also called a non clustering index.Secondary mapping size will be small as the two levels DB indexing is used.While creating the index, generally the index table is kept in the primary memory and the main table is kept in secondary memory because of its size.A table may contain thousands of records for this reason the sparse index becomes so large which cannot be handled in primary memory.Also, if we cannot keep the ... Read More

Advertisements