The sum of three numbers is 20. The second number is 4
times the first number , and the sum of the first and third
is8. Find the numbers.
Answers were Sorted based on User's Feedback
Answer / neeraj venu
Three numbers are x , y , z ;
So ,
x + y + z = 20;
4x = y;
x+ z= 8;
therefore ,
8+y=20;
y = 12, x= 3 ,z= 5;
| Is This Answer Correct ? | 17 Yes | 3 No |
Answer / vinod
x,y,z
1: x+y+z=20
2: y=4x
3: x+z=8
so:
x+4x+8-x=20
4x=12 so x=3
y=4*3 so y=12
z=8-x so z=5
| Is This Answer Correct ? | 8 Yes | 3 No |
Answer / dheeraj shandilya
Let the three numbers be x, y, z.
Then A/Q second number is four times the first number .
It means y= 4x
so
x+4x+z =20-------(1)
also x+y =8----------(2)
solving these two equation we will get x=3, y= 4x= 12 and
z= 5.
So the three number will be 3, 12, 5
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / dheeraj shandilya
In Answer posted above there is a typing mistake. In
equation (2) y should be replaced with z so the equation
(2) became
x+z = 8
Thanks
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / j
Five more than the number is less than or equal to twice the number5x+less2
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / j
The sum of the number and 50 is less thanthree times the number
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mariaalex007
The nos are 2,8,5......
solution...
x+4y+z=20;
but.. x+z=8;
so..4y+8=20;
so..y+2=10;
so..
y=8;
| Is This Answer Correct ? | 1 Yes | 9 No |
What is the output, suppose list1 is [1, 3, 2], what is list1 * 2 ?
Write a function that takes as input a binary tree, and prints out each level of the tree on a newline. For example: a / b c / / d e f will output: a b c d e f
Write a function that takes an integer and returns the smallest number that is greater than the given number which is a palendrome. For example, if the input was 111 the next palindromic number would be 121.
Write a function that takes an array of integers and efficiently calculates and returns the Least Common Multiply in python.
Write a function that takes an array of integers and returns that array rotated by N positions. For example, if N=2, given the input array [1, 2, 3, 4, 5, 6] the function should return [5, 6, 1, 2, 3, 4]
How do you set a global variable inside a function?
Given a circular list of integers (when you reach the end of the list you come back to the beginning), what is the most efficient algorithm to find the smallest integer in the list? For example: circular_list = [22, 52, 66, 82, 5, 8, 12, 19].
Write a function that takes an unsorted integer array, and returns a three element subset whose sum is zero.
Write a python program to check if a number is a palindrome or not?
Write a python program to check if a number is an armstrong number?
Discuss an algorithm to traverse a tree, depth first.
Write a python program to check if a number is a prime number?