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
C++ Program to find out the total cost required for a robot to make a trip in a grid
Suppose, we are given a grid of dimensions h x w. Each cell in the grid contains some positive integer number. Now there is a path-finding robot placed on a particular cell (p, q) (where p is the row number and q is the column number of a cell) and it can be moved to cell (i, j). A move operation has a particular cost, which is equal to |p - i| + |q - j|. Now there are q number of trips, which has the following properties.Each trip has two values (x, y) and there is a common value ...
Read MoreCompute the inverse of an N-dimensional array in Python
To compute the inverse of an N-dimensional array, use the numpy.linalg.tensorinv() method in Python. The result is an inverse for a relative to the tensordot operation tensordot(a, b, ind), i. e., up to floating-point accuracy, tensordot(tensorinv(a), a, ind) is the “identity” tensor for the tensordot operation.The method returns a’s tensordot inverse, shape a.shape[ind:] + a.shape[:ind]. The 1st parameter is a, the Tensor to ‘invert’. Its shape must be ‘square’, i. e., prod(a.shape[:ind]) == prod(a.shape[ind:]). The 2nd parameter is ind, the number of first indices that are involved in the inverse sum. Must be a positive integer, default is 2.StepsAt first, ...
Read MorePotential Distribution over a Suspension Insulator String
Suspension InsulatorThe suspension type insulator is the one which consists of a number of porcelain discs connected in series by metal links in the form of a string as shown in Figure-1.Potential Distribution over Suspension Insulator StringAs we know the string of suspension insulators consists of a number of porcelain discs connected in series through metal links. The porcelain portion of each disc is in between two metal links. Thus, the disc acts like a capacitor represented by C as shown in Figure-2.The capacitance C is called the mutual capacitance. If the string has only mutual capacitance, then the charging ...
Read MoreConductor Material Required in Single-Phase Overhead AC Transmission System
Single-Phase AC Transmission SystemThe electric power transmission system in which two conductors viz. phase conductor and neutral wire are used to transmit the electric power is known as single phase AC transmission system.The single phase AC transmission system can be classified into following three types viz. −Single-phase two-wire system with one conductor earthedSingle-phase two-wire system with mid-point earthedSingle-phase three-wire systemConductor Material Required in 1-Phase 2-Wire System with One Conductor EarthedThe single phase two wire AC system with one conductor earthed is shown in Figure-1.Let, $\mathrm{Power\: transmitted\mathrm{\, =\, }\mathit{P}}$$\mathrm{Maximum \: voltage \: between\: conductors\mathrm{\, =\, }\mathit{V_{m}}}$$\mathrm{RMS\: value\: of \: voltage\mathrm{\, =\, ...
Read MoreReturn the scalar dtype or NumPy equivalent of Python type of an object
To return the scalar dtype or NumPy equivalent of Python type of an object, use the numpy.obj2sctype() method. The 1st parameter is the object of which the type is returned The default parameter, if given, is returned for objects whose types cannot be determined. If not given, None is returned for those objects.StepsAt first, import the required library −import numpy as npTo return the scalar dtype or NumPy equivalent of Python type of an object, use the numpy.obj2sctype() method −print("Using the obj2sctype() method in Numpy")Checking for int −print("Result...", np.obj2sctype(np.array([45, 89]))) print("Result...", np.obj2sctype(np.array([389, 7985])))Checking for float −print("Result...", np.obj2sctype(np.float32)) print("Result...", np.obj2sctype(np.float64)) print("Result...", ...
Read MoreWhat is String Efficiency of Suspension Insulator?
String EfficiencyThe suspension insulator is the one which consists of a number of porcelain discs connected in series by metal links in the form of a string.The voltage applied across the string of the suspension insulators is not uniformly distributed across the various discs, i.e. the disc nearest to the line conductor has much higher potential than the other discs. This unequal potential distribution is undesirable and it is usually expressed in terms of string efficiency. Therefore, the string efficiency of the suspension type insulator is defined as follows −“The ratio of voltage across the whole string to the product ...
Read MoreChoice of Frequency for Electric Heating: Induction Heating vs Dielectric Heating
The choice of operating frequency for electric heating is a significant factor for heating because it greatly affects the work to be heated and the method of its heating, whether dielectric heating or induction heating.In practice, the furnaces operating on power frequency of 50 Hz can be of 1 MW capacity, those operating on medium frequencies (about 500 Hz to 1000 Hz) have a capacity of 50 kW and those operating on high frequencies (about 1 MHz to 5 MHz) have capacities ranging from 200 kW to 500 kW.Therefore, the factors which are considered while selecting the frequency for electric ...
Read MoreWhat are the different types of Transmission Line Supports?
Transmission Line SupportsThe supporting structures used for overhead transmission line conductors, such as poles and towers, are called the transmission line supports.Generally, the transmission line supports supposed to possess the following properties −The line supports should have high mechanical strength so that it can withstand the weight of conductors and wind loads, etc.It should be light in weight without the loss of its mechanical strength.It should have longer life.It should be cheap in cost and economical to maintain.Accessibility of line conductors for maintenance is to be easy.There are various types of line supports available. The choice of supporting structure for ...
Read MoreElectric Supply System | A.C. Power Supply Scheme & its Single Line Diagram
What is Electric Supply System?The carrier of electrical power from power generating station to the consumer’s premises for its utilisation is called the electrical supply system.The whole electric supply system is segmented into three principle components, viz. −Power generating stationTransmission systemDistribution systemThe electric power is produced at the power generating station which are located quite away from the consumers. Then, the power is transmitted over large distances to load centres with the help of conductors called transmission lines. Finally, it is distributed to a large number of consumers through a distribution system.Types of Electric Supply SystemDepending upon the types of ...
Read MoreWhat are the Types of Insulators Used in Transmission Lines?
The element of the transmission line by which the line conductors are insulated from supports is known as line insulator. The insulators used in the transmission lines are of various types. Some of the important types of insulators are given as follows −Pin Type InsulatorSuspension Type InsulatorStain InsulatorShackle InsulatorPin Type InsulatorsThe pin type insulator is shown in the figure. The pin type insulator is fitted to the cross-arm on the pole. The pin type insulator has a groove on the upper end of the insulator for housing the line conductor. The line conductor passes through this groove and is bounded ...
Read More