# Tag Archives: Algebra

## Find n-variables from n sum equations with one missing

You are given an array a[] of n values as a, a…a[n] which are part of n-equations in n-variables where equations are as: Eqn1 =>… Read More »

## Smallest triangular number larger than p

Given n number of buckets and each bucket is numbered from 1 to n and flowers in it are equal to triangular numbers. You have… Read More »

## Program to check if matrix is singular or not

A matrix is said to be singular if the determinant of the matrix is 0 otherwise it is non-singular . Examples: Input : 0 0… Read More »

## Program to implement Simpson’s 3/8 rule

Write a program to implement Simpson’s 3/8 rule. The Simpsons’s 3/8 rule was developed by Thomas Simpson. This method is used for performing numerical integrations.… Read More »

## Program for Simpson’s 1/3 Rule

In numerical analysis, Simpson’s 1/3 rule is a method for numerical approximation of definite integrals. Specifically, it is the following approximation:     In Simpson’s… Read More »

## Euler Method for solving differential equation

Given a differential equation dy/dx = f(x, y) with initial condition y(x0) = y0. Find its approximate solution using Euler method. Euler Method : In… Read More »

## Section formula (Point that divides a line in given ratio)

Given two coordinates (x1, y1) and (x2, y2), and m and n, find the co-ordinates that divides that divides the line joining (x1, y1) and… Read More »

## Find x and y satisfying ax + by = n

Given a, b and n. Find x and y that satisfies ax + by = n. Print any of the x and y satisfying the… Read More »

## QA – Placement Quizzes | Algebra | Question 14

A total of 324 coins of 20 paise and 25 paise make a sum of Rs 71. The number of 25-paise coins is: (A) 104… Read More »

## QA – Placement Quizzes | Algebra | Question 13

A zoo has some peacocks and some horses. If the number of heads be 48 and the number of feet be 140, then the number… Read More »

## QA – Placement Quizzes | Algebra | Question 12

Find the value of (1-1/3)(1-1/4)(1-1/5)…(1-1/100). (A) 1/10 (B) 1/50 (C) 1/20 (D) 1/100 Answer: (B) Explanation: We have (1-1/3)(1-1/4)(1-1/5)…(1-1/100) = (2/3)(3/4)(4/5)…(99/100) = 2/100 = 1/50.Quiz… Read More »

## QA – Placement Quizzes | Algebra | Question 11

If 2x/(1 + 1/(1 + x/(1 – x))) = 1, then find the value of x. (A) 1/3 (B) 2/3 (C) 1/2 (D) 3/2 Answer:… Read More »

## QA – Placement Quizzes | Algebra | Question 10

4/15 of 5/7 of a number is greater than 4/9 of 2/5 of the same number by 8. What is half of that number? (A)… Read More »

## Aptitude | Algebra | Question 9

If ab+bc+ac = 0, then the value of (A) 6 (B) 2 (C) 3 (D) 0 Answer: (D) Explanation: Put -ac = ab + bc… Read More »

## Aptitude | Algebra | Question 8

then y is equal to, (A) 9/4 (B) 7/4 (C) 1/4 (D) 5/4 Answer: (A) Explanation: Now equating power on both side, or orQuiz of… Read More »