Java program to calculate the percentage

Lakshmi Srinivas
Updated on 14-Jun-2024 13:37:08

28K+ Views

Percent means percent (hundreds), i.e., a ratio of the parts out of 100. The symbol of a percent is %. We generally count the percentage of marks obtained, return on investment etc. The percentage can go beyond 100% also.For Example, assuming that we have total and a part. So we say what part is what percent of total and should be calculated as −percentage = ( part / total ) × 100AlgorithmBelow is the algorithm to calculate percentage in Java:1. Collect values for part and total 2. Apply formula { percentage = ( part / total ) × 100 } ... Read More

Java program to find the GCD or HCF of two numbers

Chandu yadav
Updated on 14-Jun-2024 13:21:32

28K+ Views

An H.C.F or Highest Common Factor, is the largest common factor of two or more values.For example factors of 12 and 16 are −12 → 1, 2, 3, 4, 6, 12 16 → 1, 2, 4, 8, 16The common factors are 1, 2, 4 and the highest common factor is 4.AlgorithmDefine two variables - A, BSet loop from 1 to max of A, BCheck if both are completely divided by same loop number, if yes, store itDisplay the stored number is HCFExample: Using Java for loop import java.util.Scanner; public class GCDOfTwoNumbers {    public static void main(String args[]){   ... Read More

rtop - An Interactive Tool to Monitor Remote Linux Server Over SSH

Ayush Singh
Updated on 13-Jun-2024 14:36:52

478 Views

Rtop is a live monitoring tool for remote Linux servers connected over SSH. Users can use Rtop to actively monitor crucial server metrics including CPU, memory, network, and disc utilisation. The application gives admins a real-time overview of system performance and enables them to spot possible problems or bottlenecks. Users can browse through various metrics, organise them, and view precise process-specific information using the interactive interface of Rtop. It provides a practical and effective solution to monitor remote servers closely, making it simpler to identify and rapidly address any performance-related issues. Methods Used Command-Line Monitoring Tools Web-Based Monitoring Tools ... Read More

OTI and WTI in Transformer

Manish Kumar Saini
Updated on 10-Jun-2024 16:57:17

162 Views

OTI (Oil Temperature Indicator) and WTI (Winding Temperature Indicator) are two important components of an electrical transformer. OTI and WTI are the essential components of an electrical transformer, as they ensure the safe and reliable operation of the transformer. The primary function of both these indicators is the same i.e., monitoring and displaying the temperature. OTI (Oil Temperature Indicator) monitors and shows the temperature of transformer oil filled in the tank, while WTI (Winding Temperature Indicator) shows the temperature of windings of the transformer. Read this article to learn more about these two types of temperature indicators. What is an ... Read More

Earth Leakage Circuit Breaker (ELCB) - How It Works

Manish Kumar Saini
Updated on 10-Jun-2024 16:56:21

82 Views

Earth Leakage Circuit Breaker (ELCB) is a type of circuit breaker used in electrical circuits for providing protection against earth leakage fault. In other words, an ELCB is a protection device used to protect people from getting electric shocks in case of an earth leakage fault. The primary function of an ELCB is to detect and interrupt an electric current that leaks to the ground, which is basically the condition of earth fault. Read this article to understand the basics, working principle, types, advantages, disadvantages, and applications of Earth Leakage Circuit Breakers. What is an ELCB? Earth Leakage Circuit ... Read More

Motor Protection Circuit Breaker (MPCB) - How It Works

Manish Kumar Saini
Updated on 10-Jun-2024 16:54:28

69 Views

Motor Protection Circuit Breaker (MPCB) is a type of circuit breaker used for providing protection to electric motors. MPCBs are specially designed for protecting electric motors only. Read this article to learn the functions, working, and applications of motor protection circuit breaker (MPCB). What is an MPCB? Motor Protection Circuit Breaker is a specially designed circuit breaker used for protecting electric motors from faults or abnormal conditions. In any industry, electric motors are very important and significantly expensive devices. Therefore, they have to be protected from faults and abnormal conditions that occur in power system. For this purpose, MPCBs ... Read More

What is a Soft Starter and How it Works?

Manish Kumar Saini
Updated on 10-Jun-2024 16:52:12

37 Views

A motor starter is an important device used for starting and stopping electric motors in a smooth and controlled manner. There are several different types of motor starts available for this purpose, but there is a special type of motor starter called a soft starter, which is used for controlling the input voltage and current, and the torque developed by the motor. A soft starter performs several functions like protection and optimization of the motor. It smoothens the starting of the motor and reduces the maintenance due to wear and tear. Read this article to learn more about a ... Read More

What is a Variable Frequency Drive (VFD)?

Manish Kumar Saini
Updated on 10-Jun-2024 16:46:49

68 Views

A VFD (Variable Frequency Drive) is a power electronic device used for controlling the operation of electric motors, especially induction motors. It is a type of motor drive whose working principle is based on the variation of supply voltage and frequency. It is also known by many other names such as variable speed drive, AC drive, adjustable frequency drive, adjustable speed drive, micro-drive, etc. VFD is primarily used for controlling the speed of an induction motor by varying the frequency and voltage of the input supply. In this article, we will discuss the basics, working, advantages, disadvantages, and applications of ... Read More

What is an Electrical Isolator and why is it used?

Manish Kumar Saini
Updated on 10-Jun-2024 16:44:36

61 Views

In electrical power systems, an isolator is a type of switchgear device which is mainly used for ensuring that the circuit is completely disconnected from the source of power supply. Since its main function is to provide isolation in the circuit, hence it is termed as an isolator. However, it is also known as a disconnector. It is mainly used in substations, distribution feeders, industrial power supplies, etc. By providing a visible disconnection in the circuit, isolators ensure the safety during maintenance work. Read this article to learn more about isolators, its types, working, advantages, limitations, and applications. ... Read More

Ring Main Unit (RMU) - Components, Functions, Types and Applications

Manish Kumar Saini
Updated on 10-Jun-2024 16:40:33

282 Views

Ring Main Unit (RMU) is a switchgear device used in secondary distribution systems, i.e., between the distribution substation and the end consumer to ensure continuous power supply and isolate the faulty section from the network. The main purpose of using a ring main unit is to provide an uninterrupted power supply to consumers even in fault conditions. It is basically a small sized switchgear unit enclosed completely within a cabinet and consists of disconnectors, fuses, and circuit breakers. Read this article to learn the structure, types, advantages, and applications of a ring main unit (RMU). What is a Ring ... Read More

Advertisements