Reciprocal

Praveen Varghese Thomas
Updated on 06-Feb-2024 11:16:02

140 Views

Introduction The term Reciprocal means inversely related. In fraction, the term Reciprocal is taking the inverse, that is the place of numerator and denominator exchanges with each other. To check the Reciprocal value is taken the correct, invert and multiply that inverted number with the original number always equal to one. Or if a number is multiplied by another number which is equal to one is reciprocal to each other. Division of fraction is made only by taking the reciprocal or multiplicative inverse. Numbers The term number means a word which represents the count, the measure, the quantity, which is ... Read More

Remainder in Programming Languages

Praveen Varghese Thomas
Updated on 06-Feb-2024 11:12:47

140 Views

Introduction Division is the basic arithmetical operation in mathematics. It is the process of distributing things into equal parts. When the dividend is not completely divisible by the divisor it left a number or the value is known as the remainder. In mathematics, in numerous instances, the leftover part or value is known as residues. Sometimes in many calculations residues are neglected or round off to obtain the answer in the whole number. For example, in the decimal number 5.04, the number after the decimal is 4. It represents remainder or residue. Sometimes to give only a whole number answer, ... Read More

Understanding Sampling Error

Praveen Varghese Thomas
Updated on 06-Feb-2024 11:09:05

449 Views

Introduction In any business or research activity, a large number of data is produced, which becomes difficult to analyse. In this direction, a statistical process, sampling, is useful to analyse the entire population. However, in doing so, some error arises due to various reasons. For accurate data analysis, one must know about sampling and the various types of error associated with it. In this tutorial, we will discuss sampling, sampling errors, a basic formula, properties, and ways to minimize sampling error with solved examples. Sampling In statistics, sampling is defined as the process of selection of specific data from a ... Read More

Find the Sum of Series 1-2-3, 2-3-4, 3-4-5, ..., n, n+1, n+2

Disha Gupta
Updated on 05-Feb-2024 18:23:29

852 Views

The sum of the series is the value of all terms in the given series added together in a particular pattern. Here given pattern is in the form of the: ∑ (n*(n+1)*(n+2)) as (n*(n+1)*(n+2)) is the last term in the given pattern. The following article discusses 3 approaches in detail to find the given sum of the series with different time and space complexities. Problem Statement Now, let us see how to calculate the sum of series 1*2*3 + 2*3*4 + 3*4*5 + . . . + n*(n+1)*(n+2). Sample Examples Let’s try to understand this problem with the help ... Read More

Count of Substrings with At Most One Character Frequency as Odd

Disha Gupta
Updated on 05-Feb-2024 18:19:37

417 Views

Substrings are the subsets or sequences of contiguous characters of a string. Now, in this problem, we need to find the number of substrings with the frequency of at most one character as odd. Let us see how we should proceed to solve this problem. Let’s try to understand this problem with the help of some examples. Input s = “ksjssjkk” Output 21 Explanation − As the frequency of the characters in the given string is given below− k → 3 s → 3 j → 2 Now, substrings with ... Read More

Find the Next Number by Adding Natural Numbers in Order

Disha Gupta
Updated on 05-Feb-2024 18:16:08

160 Views

A numerical string is used to store a value of a number if we want to store a huge valued integer. As we know, we can not store a number greater than 32 bits in the computer with its datatype as int. So to avoid the overflowing condition, in this problem, we will take a numerical string as our input rather than an int variable so that we can work this problem on a larger scale of numbers. Problem Statement Now, in this problem, we need to find the following number by adding natural numbers in order on alternating indices ... Read More

Maximize String Value by Assigning Values to Each Character

Disha Gupta
Updated on 05-Feb-2024 18:14:07

256 Views

There are 26 total different alphabets exist in the English language. If we want to change the alphabet characters into numerical values then we need to assign the alphabet, values between 1 to 26 only. Now, in this problem, we need to Maximize the String value by assigning values in the range [1, 26] to each character. Let us see how we should proceed to solve this problem. Let’s try to understand this problem with the help of some examples. Input s = “blpsBpPtT” Output 221 Explanation Here, in this ... Read More

Maximum Length of String with Even Frequency of Each Character

Disha Gupta
Updated on 05-Feb-2024 18:11:07

144 Views

Concatenation is an operator which is used to join one or more than one string to originate a new string which would be a combination of strings that were used to generate it with the help of concatenation. In the following article, we will take the uppercase letters only in the input string. Concatenation is an operator which is used to join one or more than one string to originate a new string which would be a combination of strings that were used to generate it with the help of concatenation. In the following article, we will take the uppercase ... Read More

Complex Numbers

Praveen Varghese Thomas
Updated on 02-Feb-2024 12:10:03

576 Views

Introduction Complex numbers make it simpler to find the square root of negative values. The concept of complex numbers was first presented when Hero of Alexandria, a Greek mathematician, attempted to compute the square root of a negative number in the first century. However, he made the integers' negative values positive and got their root values. Additionally, the identity of complex numbers was established when the third- and second-order polynomials' negative roots were discovered by the Italian mathematician Gerolamo Cardano in the sixteenth century. Numerous scientific research, including those involving signal processing, electromagnetism, fluid physics, quantum mechanics, and vibration ... Read More

Conditional Statement in Programming

Praveen Varghese Thomas
Updated on 02-Feb-2024 12:07:38

558 Views

Introduction Mathematical reasoning, a crucial skill that enables pupils to examine a given hypothesis without reference to a specific context or meaning, includes conditional statements. The reasoning is not based on an individual's opinion when a scientific investigation or assertion is investigated, to put it simply. The basis for deductions and proofs must be factual and scientific. To answer issues involving mathematical reasoning, one needs to possess critical thinking and logical reasoning abilities in mathematics. We will delve into the world of conditional statements in this quick session. Along with solved examples and interactive questions, we will go over ... Read More

Advertisements