Comparison Between AC and DC Welding Machines

Manish Kumar Saini
Updated on 23-Feb-2022 09:55:00

3K+ Views

There are two types of electric currents used for welding process viz. AC and DC. There are many differences between the AC welding machine and the DC welding machine.AC Welding Machine Vs DC Welding MachineThe following table compares and contrasts the different features of AC and DC welding machines −AspectAC Welding MachineDC Welding MachineCostAC welding machine is less expansive.DC welding machine is 2 to 3 times costlier than AC welding machine.Size & WeightAC welding machine is smaller in size and light in weight.DC welding machine is larger in size and heavier in weight.OperationThe AC welding machine is simple to operate.The ... Read More

Atomic Hydrogen Arc Welding: Working, Advantages, Disadvantages and Applications

Manish Kumar Saini
Updated on 23-Feb-2022 09:40:09

5K+ Views

The atomic hydrogen arc welding is an arc welding process which uses an arc between two tungsten electrodes in a shielding atmosphere of hydrogen. The atomic hydrogen arc welding was invented by Irving Langmuir.The essentials of the atomic hydrogen arc welding are as follows −The electrical energy is supplied to create an arc between two tungsten electrodes where it is transformed into heat.The source of electrical energy could be either DC or AC, but in practice, AC supply should be chosen as it is commonly available.Molecular hydrogen is blown through the arc and transformed catalytically into the atomic form which ... Read More

Maximum Cells a Cleaning Robot Can Clean in a Grid

Arnab Chakraborty
Updated on 23-Feb-2022 07:31:48

734 Views

Suppose, we are making a cleaning robot that works on a grid. The grid is of dimensions h x w. There are m dirty cells that need to be cleaned that are given in an array of integer pairs 'dirt'. The cleaning robot, if placed in a particular cell; can clean every cell in that particular row and column. So, our task is to clean the maximum number of dirty cells. We have to find out the count and display it as output.So, if the input is like h = 3, w = 3, m = 3, dirt = {{0, ... Read More

Print Pyramid Star Pattern in Java

AmitDiwan
Updated on 22-Feb-2022 13:19:45

781 Views

In this article, we will understand how to print pyramid star pattern. The pattern is formed by using multiple for-loops and print statements.Below is a demonstration of the same −InputSuppose our input is −Enter the number of rows : 8OutputThe desired output would be −The pyramid star pattern :        *       * *      * * *     * * * *    * * * * *   * * * * * *  * * * * * * * * * * * * * * *AlgorithmStep 1 - ... Read More

Return True if All Entries of Two Arrays are Equal in NumPy

AmitDiwan
Updated on 22-Feb-2022 10:13:09

663 Views

To return True if all entries of two arrays are equal, use the ma.allequal() method in Python Numpy. Returns True if the two arrays are equal within the given tolerance, False otherwise. If either array contains NaN, then False is returned.The fill_value sets whether masked values in a or b are considered equal (True) or not (False). A masked array is the combination of a standard numpy.ndarray and a mask. A mask is either nomask, indicating that no value of the associated array is invalid, or an array of booleans that determines for each element of the associated array whether ... Read More

Call One Constructor from Another in Java

AmitDiwan
Updated on 22-Feb-2022 10:00:43

494 Views

In this article, we will understand how to call one constructor from another. The keyword 'this()' is used to invoke a constructor.Below is a demonstration of the same. We will displaying sum and product of two numbers while using this() −InputSuppose our input is −The numbers are defined as 12 and 30OutputThe desired output would be −The sum is: 42 The product is: 360AlgorithmStep 1 - START Step 2 - Declare an integer value namely my_sum Step 3 - In the main class, we define a ‘this’ reference to the numbers which would be used as input. Step 4 - This ... Read More

Reverse a Sentence Using Recursion in Java

AmitDiwan
Updated on 22-Feb-2022 09:53:19

439 Views

In this article, we will understand how to reverse a sentence using recursion. A recursive function is a function that calls itself multiple times until a particular condition is satisfied.A recursive function is a function that calls itself multiple times until a particular condition is satisfied.Recursion is the process of repeating items in a self-similar way. In programming languages, if a program allows you to call a function inside the same function, then it is called a recursive call of the function.Many programming languages implement recursion by means of stacks. Generally, whenever a function (caller) calls another function (callee) or ... Read More

Clip Limit Values in an Array and Store Results in Another Array in NumPy

AmitDiwan
Updated on 22-Feb-2022 09:48:00

387 Views

To clip (limit) the values in an array, use the np.ma.clip() method in Python Numpy. The "out" parameter is where results will be placed in this array. It may be the input array for in-place clipping. out must be of the right shape to hold the output. Its type is preserved. . Given an interval, values outside the interval are clipped to the interval edges. For example, if an interval of [0, 1] is specified, values smaller than 0 become 0, and values larger than 1 become 1. Equivalent to but faster than np.minimum(a_max, np.maximum(a, a_min)).The function returns an array ... Read More

Clip Limit Values in a NumPy Array

AmitDiwan
Updated on 22-Feb-2022 09:41:01

976 Views

To clip (limit) the values in an array, use the np.ma.clip() method in Python Numpy. Given an interval, values outside the interval are clipped to the interval edges. For example, if an interval of [0, 1] is specified, values smaller than 0 become 0, and values larger than 1 become 1. Equivalent to but faster than np.minimum(a_max, np.maximum(a, a_min)).The out is where the results will be placed in this array. It may be the input array for in-place clipping. out must be of the right shape to hold the output. Its type is preserved.The function returns an array with the ... Read More

Generate Vandermonde Matrix and Set Number of Columns in NumPy

AmitDiwan
Updated on 22-Feb-2022 09:37:20

318 Views

To generate a Vandermonde matrix, use the np.ma.vander() method in Python Numpy. Set the number of columns in the output using the N parameter. If N is not specified, a square array is returned (N = len(x)).The columns of the output matrix are powers of the input vector. The order of the powers is determined by the increasing boolean argument. Specifically, when increasing is False, the i-th output column is the input vector raised element-wise to the power of N - i - 1. Such a matrix with a geometric progression in each row is named for Alexandre- Theophile Vandermonde.StepsAt ... Read More

Advertisements