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
Program to find N-th term of series 2, 12, 28, 50, 77, 112, 152, 198, ...in C++
In this problem, we are given a number N. Our task is to create a program to find N-th term of series 2, 12, 28, 50, 77, 112, 152, 198, …in C++.Problem Description − To find the N-th term of the series.2, 12, 28, 50, 77, 112, 152, 198, ...N termsWe will find a general for the series.Let’s take an example to understand the problem, Input − N = 6Output − 112Solution Approach:Here, the series is increasing in parabolic form, so the general term will be a quadratic equation.So, the general formula for the series isTN = 3*(N*N) + N ...
Read MoreProgram to find N-th term of series 1 4 15 24 45 60 92... in C++
In this problem, we are given a number N. Our task is to create a program to find N-th term of series 1 4 15 24 45 60 92... in C++.Problem description − To find the nth term of the series −1, 4, 15, 24, 45, 60, 92, 112 … N termsWe will find the general formula for the series.Let’s take an example to understand the problem, Input − N = 6Output − 60Solution Approach, The general term of the series is based on whether the value of N is even or odd. This type of series is a bit ...
Read MoreProgram to find N-th term of series 2, 4, 3, 4, 15... in C++
In this problem, we are given a number N. Our task is to create a program to find N-th term of series 2, 4, 3, 4, 15… in C++.Problem Description − To find the sum of the given series, 2, 4, 3, 4, 15, 0, 14, 16 .... N termsWe will find the formula for the general term of the series.Let’s take an example to understand the problem, Input − N = 9Output − 9Solution Approach:The increase of the values in the series is linear i.e. no square values are in the series. Also, it’s value depends on other factors ...
Read MoreProgram to find number of solutions in Quadratic Equation in C++
In this problem, we are given a quadratic equation of type ax2 + bx + c, where a, b and c are constants. Our task is to create a program to find number of solutions in Quadratic Equation in C++.Problem Description − Here, we need to find the numbers of solutions for a quadratic equation that can have at max 2 solutions.Let’s take a few examples to understand the problem, Example 1:Input − 3x2 + 7x + 4Output − 2Explanation − the two solutions of the equation are 1 and 4/3.Example 2:Input − x2 - 4x + 4Output − 1Explanation ...
Read MoreProgram to find number of squares in a chessboard in C++
In this problem, we are given the size of a chessboard. Our task is to create a program to find number of squares in a chessboard in C++.Problem Description − To find the number of squares in a chessboard. We will have to calculate all the combinations of the square that are inside the chessboard i.e. we will consider squares of side 1x1, 2x2, 3x3 … nxn.Let’s take an example to understand the problem, Input: n = 4.Output: 30Squares of size 1x1 -> 16 Squares of size 2x2 -> 9 Squares of size 3x3 -> 4 Squares of size 4x4 ...
Read MoreProgram to find Perimeter / Circumference of Square and Rectangle in C++
In this problem, we are given the side of a square (A) and the length and breadth of a rectangle (L and B). Our task is to create a Program to find Perimeter / Circumference of Square and Rectangle in C++.Problem Description:To find the circumference of a square, we need the side of the square (a). For that, we will use the formula for the perimeter of the square which is 4a.To find the circumference of a rectangle, we need the Length (L) and breadth (B) of the rectangle. For that, we will use the formula for the perimeter of ...
Read MoreExplain operation cycle method in estimation of working capital.
Operation cycle method considers total cycle of operations, from raw materials to finished goods, from accounts payable to net cash.The times taken to complete these operations are called operating cycle time.If the operating cycle is long then, requirement of working capital is less, if the operating cycle is less then, requirement of working capital is less.FormulasWorking capital = CGS(E)* D/365 + CBHere, CGS (E) = estimated cost of goods sold, D = days in operating cycle, CB = Cash/Bank balanceRM Stock = PU(E) * Cu * (Hp/365)Here, PU(E) = production units estimated, Cu = cost per unit, HP = holding ...
Read MoreExplain Regression analysis method in estimation of working capital.
In regression analysis method, statistical tool is used to calculate working capital.CalculationsWorking capital = Int + m*R Int = intercept, m = slope, R = RevenueΣy = na + bΣxΣxy = aΣx + bΣ2 Where x = sales, y = working capital, n = yearsAdvantages of this method include −Accurate method for bigger volume of data.It is a proven method.Disadvantages of this method include −Not east to understand.Calculations are complicated as compared to percentage sales method.ExampleBy using following table, calculate the data using regression analysis method, forecasted sales = 500YearSales ...
Read MoreExplain percentage of sales method in estimation of working capital.
Percentage of sales method is the traditional method to find out working capital. This method is based on historical relationship between sales and working capital. Each of historical value is converted to percentage of net sales and those values are used to forecast.Steps involved in this method are −Determine historical relationship between sales and working capital.Forecast sales for future date.Apply percentage sales of method to get forecasted value.FormulaPercentage of sales method = WCc*100/S Here WCc = components of working capital, S = yearly salesAdvantages of this method are −Easy to understand.Calculations are simple.Disadvantages of this method are −Relationship between sales ...
Read MoreWhat are the traditional methods of appraisal in accounting?
Appraisal methods are categorised into two types. Each method has its own merits and de-merits. One of the methods used by companies are traditional methods, which are divided into following types −Ranking method − It is the oldest method used in performance appraisal. In this method, employees are ranked according to their order of worth. It is difficult to rank individually if the employee number is large.Paired comparison − In this method, employees are compared according to one trait. Score of employee is based on their consideration on that particular trait. Better employee is ticked among others. The more the ...
Read More