euclaise/mathqa_programs huggingface dataset:
Problem: vinoth can complete a painting work in 20 days . prakash can do the same work in 25 days . they start the work together but vinoth quit after 3 days of work . how many days are required to complete the remaining painting work by prakash .
Options: a ) 15.25 days , b ) 16.25 days , c ) 17.25 days , d ) 18.25 days , e ) 19.25 days
Rationale: vinoth can complete the painting work in one day is 1 / 20 prakash can complete the same work in one day is 1 / 25 both of them can complete the work in 1 / 20 + days = 9 / 100 ( 1 / 20 + 1 / 25 ) they must have completed in three days = 9 / 100 * 3 = 27 / 100 remaining work to be done is by prakash = 1 - 27 / 100 = 73 / 100 for one work , prakash can do in 25 days for 73 / 100 work , he can do in 73 / 100 * 25 = 73 / 4 days or 18.25 days answer : d
Answer: d
Python program:
a = 1 / 25
b = 3 * a
c = 1 - b
d = 1 / 20
e = c / d
Problem: the total cost of a vacation was divided among 3 people . if the total cost of the vacation had been divided equally among 5 people , the cost per person would have been $ 50 less . what was the total cost cost of the vacation ?
Options: a ) $ 200 , b ) $ 375 , c ) $ 400 , d ) $ 500 , e ) $ 600
Rationale: c for cost . p price per person . c = 3 * p c = 5 * p - 250 substituting the value of p from the first equation onto the second we get p = 125 . plugging in the value of p in the first equation , we get c = 375 . which leads us to answer choice b
Answer: b
Python program:
a = 5 * 3
b = 5 - 3
c = 50 / b
d = a * c
Problem: how many ounces of a 60 % salt solution must be added to 30 ounces of a 20 percent salt solution so that the resulting mixture is 40 % salt ?
Options: a ) 16.67 , b ) 30 , c ) 50 , d ) 60.33 , e ) 70
Rationale: "let x = ounces of 60 % salt solution to be added . 2 * 30 + . 6 x = . 4 ( 30 + x ) x = 30 answer b"
Answer: b
Python program:
a = 40 / 100
b = a * 30
c = 20 / 100
d = c * 30
e = b - d
f = 40 / 100
g = 20 / 100
h = f - g
i = e / h
Problem: if 20 % of a is the same as 30 % of b , then a : b is :
Options: a ) 5 : 4 , b ) 5 : 3 , c ) 4 : 3 , d ) 3 : 2 , e ) 1 : 3
Rationale: "expl : 20 % of a i = 30 % of b = 20 a / 100 = 30 b / 100 = 3 / 2 = 3 : 2 answer : d"
Answer: d
Python program:
a = 30 / 100
b = 20 / 100
c = a / b
Problem: d and e are two points respectively on sides ab and ac of triangle abc such that de is parallel to bc . if the ratio of area of triangle ade to that of the trapezium decb is 144 : 25 and bc = 13 cm , then find the length of de .
Options: a ) 12 , b ) 13 , c ) 14 , d ) 11 , e ) 15
Rationale: "abc and ade are similar triangles . so ( side of abc / side of ade ) ^ 2 = 25 / 169 side of abc / side of ade = 5 / 13 so the length of de = 5 answer - c"
Answer: c
Python program:
a = 25 + 144 
b = 25 / a
c = math.sqrt(b)
d = c * 13
Problem: working alone at its constant rate , machine a produces x boxes in 10 minutes and working alone at its constant rate , machine b produces 2 x boxes in 5 minutes . how many minutes does it take machines a and b , working simultaneously at their respective constant rates , to produce 10 x boxes ?
Options: a ) 13 minutes , b ) 14 minutes , c ) 15 minutes , d ) 16 minutes , e ) 20 minutes
Rationale: "rate = work / time given rate of machine a = x / 10 min machine b produces 2 x boxes in 5 min hence , machine b produces 4 x boxes in 10 min . rate of machine b = 4 x / 10 we need tofind the combined time that machines a and b , working simultaneouslytakeat their respective constant rates let ' s first find the combined rate of machine a and b rate of machine a = x / 10 min + rate of machine b = 4 x / 10 = 5 x / 10 now combine time = combine work needs to be done / combine rate = 10 x / 5 x * 10 = 6 min ans : e"
Answer: e
Python program:
a = 10 * 10
b = speed + ( 
c = 2 * 10
d = a / b
Problem: if y > 0 , ( 1 y ) / 20 + ( 3 y ) / 10 is what percent of y ?
Options: a ) 35 % , b ) 50 % , c ) 60 % , d ) 70 % , e ) 80 %
Rationale: "can be reduced to y / 20 + 3 y / 10 = 7 y / 20 = 35 % a"
Answer: a
Python program:
a = 1 / 20
b = 3 / 10
c = a + b 
d = 100 * c
Problem: how many of the positive factors of 25 , 15 and how many common factors are there in numbers ?
Options: a ) 1 , b ) 2 , c ) 3 , d ) 4 , e ) 5
Rationale: "factors of 25 - 1 , 5 , and 25 factors of 15 - 1 , 3 , 5 and 15 comparing both , we have three common factors of 45,16 - 2 answer b"
Answer: b
Python program:
a = 15 / 25
Problem: a certain college ' s enrollment at the beginning of 1992 was 20 percent greater than it was at the beginning of 1991 , and its enrollment at the beginning of 1993 was 5 percent greater than it was at the beginning of 1992 . the college ' s enrollment at the beginning of 1993 was what percent greater than its enrollment at the beginning of 1991 ?
Options: a ) 17.5 % , b ) 26 % , c ) 30 % , d ) 35 % , e ) 38 %
Rationale: "suppose enrollment in 1991 was 100 then enrollment in 1992 will be 120 and enrollment in 1993 will be 120 * 1.05 = 126 increase in 1993 from 1991 = 126 - 100 = 26 answer : b"
Answer: b
Python program:
a = 100 + 20 
b = 100 + 5 
c = b / 100
d = a * c
e = d - 100
Problem: of the 17,210 employees of the anvil factory , 2 / 7 are journeymen . if half of the journeymen were laid off , what percentage of the total remaining employees would be journeymen ?
Options: a ) 14.3 % , b ) 16.67 % , c ) 33 % , d ) 28.6 % , e ) 49.67 %
Rationale: "the exam gives us a number that is easily divisible by 7 to pique our curiosity and tempt us into calculating actual numbers ( also because otherwise the ratio would be incorrect ) . since the question is about percentages , the actual numbers will be meaningless , as only the ratio of that number versus others will be meaningful . nonetheless , for those who are curious , each 1 / 7 portion represents ( 14210 / 7 ) 2,030 employees . this in turn means that 4,060 employees are journeymen and the remaining 10,150 are full time workers . if half the journeymen were laid off , that would mean 1 / 7 of the total current workforce would be removed . this statistic is what leads many students to think that since half the journeymen are left , the remaining journeymen would represent half of what they used to be , which means 1 / 7 of the total workforce . if 1 / 7 of the workforce is journeymen , and 1 / 7 is roughly 14.3 % , then answer choice a should be the right answer . in this case , though , it is merely the tempting trap answer choice . what changed between the initial statement and the final tally ? well , you let go of 1 / 7 of the workforce , so the total number of workers went down . the remaining workers are still 1 / 7 of the initial workers , but the group has changed . the new workforce is smaller than the original group , specifically 6 / 7 of it because 1 / 7 was eliminated . the remaining workers now account for 1 / 7 out of 6 / 7 of the force , which if we multiply by 7 gives us 1 out of 6 . this number as a percentage is answer choice b , 28.6 % . using the absolute numbers we calculated before , there were 4,060 journeymen employees out of 14,210 total . if 2,030 of them are laid off , then there are 2,030 journeyman employees left , but now out of a total of ( 14,210 - 2,030 ) 12,180 employees . 2,030 / 12,180 is exactly 1 / 6 , or 16.67 % . the answer will work with either percentages or absolute numbers , but the percentage calculation will be significantly faster and applicable to any similar situation . the underlying principle of percentages ( and , on a related note , ratios ) can be summed up in the brainteaser i like to ask my students : if you ’ re running a race and you overtake the 2 nd place runner just before the end , what position do you end up in ? the correct answer is 2 nd place . percentages , like ratios and other concepts of relative math , depend entirely on the context . whether 100 % more of something is better than 50 % more of something else depends on the context much more than the percentages quoted . when it comes to percentages on the gmat , the goal is to understand them enough to instinctively not fall into the traps laid out for you . d"
Answer: d
Python program:
a = 2 / 7
b = a / 2
c = 2 / 7
d = c / 2
e = 2 / 7
f = 1 - e
g = d + f 
h = b / g
i = h * 100
j = i * 3
Problem: an electric pump can fill a tank in 10 hours . because of a leak in the tank , it took 20 hours to fill the tank . if the tank is full , how much time will the leak take to empty it ?
Options: a ) 10 hours , b ) 12 hours , c ) 20 hours , d ) 5 hours , e ) 15 hours
Rationale: "work done by the leak in 1 hour = 1 / 10 - 1 / 20 = 1 / 20 the leak will empty the tank in 20 hours answer is c"
Answer: c
Python program:
a = 20 / 1
Problem: for every even positive integer m , f ( m ) represents the product of all even integers from 2 to m , inclusive . for example , f ( 12 ) = 2 x 4 x 6 x 8 x 10 x 12 . what is the greatest prime factor of f ( 36 ) ?
Options: a ) 2 , b ) 5 , c ) 11 , d ) 17 , e ) 23
Rationale: "f ( 36 ) = 2 * 4 * 6 * 8 * 10 * 12 * 14 * 16 * 18 * 20 * 22 * 24 * 26 * 28 * 30 * 32 * 34 * 36 the greatest prime factor in this list is 17 . the answer is d ."
Answer: d
Python program:
a = 36 / 2
b = a - 1
Problem: pipe a can fill a tank in 10 hours . due to a leak at the bottom , it takes 15 hours for the pipe a to fill the tank . in what time can the leak alone empty the full tank ?
Options: a ) 76 , b ) 84 , c ) 56 , d ) 75 , e ) 30
Rationale: let the leak can empty the full tank in x hours 1 / 10 - 1 / x = 1 / 15 = > 1 / x = 1 / 10 - 1 / 15 = ( 3 - 2 ) / 30 = 1 / 30 = > x = 30 . answer : e
Answer: e
Python program:
a = 15 * 10
b = 15 - 10
c = a / b
Problem: 5 women can do a work in two days . 10 men can complete the same work in five days . what is the ratio between the capacity of a man and a woman ?
Options: a ) 1 : 2 , b ) 1 : 5 , c ) 2 : 3 , d ) 3 : 2 , e ) none of these
Rationale: "explanation : ( 5 ã — 2 ) women can complete the work in 1 day . â ˆ ´ 1 woman ' s 1 day ' s work = 1 / 10 ( 10 ã — 5 ) men can complete the work in 1 day . â ˆ ´ 1 man ' s 1 day ' s work = 1 / 50 so , required ratio = 1 / 10 : 1 / 50 = 1 : 5 answer : b"
Answer: b
Python program:
a = 5 * 10
b = 1 / a
c = 10 * 10
d = 1 / c
e = b / d
Problem: what is the positive difference between the sum of the squares of the first 8 positive integers and the sum of the prime numbers between the first square and fourth square ?
Options: a ) 161 , b ) 162 , c ) 163 , d ) 164 , e ) 165
Rationale: "forget conventional ways of solving math questions . in ps , ivy approach is the easiest and quickest way to find the answer . the sum of the squares of the first 4 positive integers = 1 ^ 2 + 2 ^ 2 + 3 ^ 2 + . . . + 8 ^ 2 = 204 the sum of the prime numbers between the first square ( = 1 ) and fourth square ( = 16 ) = 2 + 3 + 5 + 7 + 11 + 13 = 41 . so the difference between 41 and 204 is 163 . so the answer is ( c ) ."
Answer: c
Python program:
a = 2 ** 2
b = 1 + a 
c = 3 ** 2
d = b + c 
e = 4 ** 2
f = d + e 
g = 4 + 1 
h = g ** 2
i = f + h 
j = 8 ** 2
k = i + j 
l = 4 + 3 
m = l + 8 
n = 2 + 3 
o = 4 + 1 
p = n + o 
q = 4 + 3 
r = p + q 
s = 2 + 3 
t = s + 8 
u = r + t 
v = m + u 
w = k - v
Problem: the average age of 19 persons in a office is 15 years . out of these , the average age of 5 of them is 14 years and that of the other 9 persons is 16 years . the age of the 15 th person is ?
Options: a ) 9 , b ) 71 , c ) 85 , d ) 92 , e ) 90
Rationale: "age of the 15 th student = 19 * 15 - ( 14 * 5 + 16 * 9 ) = 285 - 214 = 71 years answer is b"
Answer: b
Python program:
a = 19 * 15
b = 5 * 14
c = a - b
d = 9 * 16
e = c - d
Problem: a pet store regularly sells pet food at a discount of 10 percent to 30 percent from the manufacturer ’ s suggested retail price . if during a sale , the store discounts an additional 20 percent from the discount price , what would be the lowest possible price of a container of pet food that had a manufacturer ’ s suggested retail price o f $ 40.00 ?
Options: a ) $ 10.00 , b ) $ 11.20 , c ) $ 22.40 , d ) $ 16.00 , e ) $ 18.00
Rationale: "for retail price = $ 40 first maximum discounted price = 40 - 30 % of 40 = 40 - 12 = 28 price after additional discount of 20 % = 28 - 20 % of 28 = 28 - 5.6 = 22.4 answer : option c"
Answer: c
Python program:
a = 100 - 20
b = a / 100
c = 100 - 30
d = c / 100
e = d * 40
f = b * e
Problem: the perimeter of an equilateral triangle is 60 . if one of the sides of the equilateral triangle is the side of an isosceles triangle of perimeter 45 , then how long is the base of isosceles triangle ?
Options: a ) 5 units , b ) 10 units , c ) 15 units , d ) 20 units , e ) 25 units
Rationale: "the base of the isosceles triangle is 45 - 20 - 20 = 5 units the answer is a ."
Answer: a
Python program:
a = 60 / 3
b = 45 - a
c = 60 / 3
d = b - c
Problem: a small table has a length of 12 inches and a breadth of b inches . cubes are placed on the surface of the table so as to cover the entire surface . the maximum side of such cubes is found to be 4 inches . also , a few such tables are arranged to form a square . the minimum length of side possible for such a square is 80 inches . find b .
Options: a ) 8
b ) 16
c ) 24
d ) 32
e ) 48
Rationale: from the info that the maximum sides of the cubes is 4 , we know that the gcf of 12 ( = 2 ^ 2 * 3 ) andbis 4 ( = 2 ^ 2 ) , sob = 2 ^ x , where x > = 2 . from the second premise , we know that the lcm of 12 ( 2 ^ 2 * 3 ) andbis 80 ( 2 ^ 4 * 5 ) , sob = 2 ^ 4 or 2 ^ 4 * 5 ( 16 or 80 ) . combining 2 premises shows the answer is b ( 16 ) .
Answer: b
Python program:
a = 80 / 4
b = a ** 2
c = 12 ** 2
d = b - c
e = math.sqrt(d)
Problem: calculate the ratio between x and y if 25 % of x equal to 40 % of y ?
Options: a ) 5 : 8 , b ) 5 : 9 , c ) 5 : 7 , d ) 5 : 6 , e ) 5 : 4
Rationale: "explanation : 25 x = 40 y x : y = 25 : 40 = 5 : 8 answer : a"
Answer: a
Python program:
a = 25 / 40
Problem: . 003 / ? = . 01
Options: a ) . 3 , b ) . 09 , c ) . 009 , d ) . 0009 , e ) none of them
Rationale: "let . 003 / x = . 01 ; then x = . 003 / . 01 = . 3 / 1 = . 3 answer is a"
Answer: a
Python program:
a = 3 / 1000
b = 1 / 100
c = a / b
Problem: if √ 10 = 3.16 , find the value of if √ 5 / 2
Options: a ) 1.3 , b ) 1.58 , c ) 2.03 , d ) 2.15 , e ) 3.15
Rationale: explanation : √ ( 5 / 2 ) = √ ( 5 × 2 / 2 × 2 ) = √ ( 10 ) / 2 = 3.16 / 2 = 1.58 answer : b
Answer: b
Python program:
a = 5 / 2
b = math.sqrt(a)
Problem: the length of a rectangular plot is 20 metres more than its breadth . if the cost of fencing the plot @ rs . 26.50 per metre is rs . 7420 , what is the length of the plot in metres ?
Options: a ) 20 , b ) 200 , c ) 300 , d ) 400 , e ) 80
Rationale: "let length of plot = l meters , then breadth = l - 20 meters and perimeter = 2 [ l + l - 20 ] = [ 4 l - 40 ] meters [ 4 l - 40 ] * 26.50 = 7420 [ 4 l - 40 ] = 7420 / 26.50 = 280 4 l = 320 l = 320 / 4 = 80 meters . answer : e"
Answer: e
Python program:
a = 7420 / 26
b = a / 2
c = 2 * 20
d = b - c
Problem: 30 men can do a work in 40 days . when should 12 men leave the work so that the entire work is completed in 40 days after they leave the work ?
Options: a ) 18 days , b ) 10 days , c ) 55 days , d ) 44 days , e ) 22 days
Rationale: "total work to be done = 30 * 40 = 1200 let 12 men leave the work after ' p ' days , so that the remaining work is completed in 40 days after they leave the work . 40 p + ( 12 * 40 ) = 1200 40 p = 720 = > p = 18 days answer : a"
Answer: a
Python program:
a = 30 * 40
b = 40 * 12
c = a - b
d = c / 40
Problem: carrie likes to buy t - shirts at the local clothing store . they cost $ 9.65 each . one day , she bought 12 t - shirts . how much money did she spend ?
Options: a ) $ 115.8 , b ) $ 248.75 , c ) $ 200 , d ) $ 171.6 , e ) $ 190
Rationale: $ 9.65 * 12 = $ 115.8 . answer is a .
Answer: a
Python program:
a = 12 * 9
b = math.floor(a)
Problem: a train 110 m long is running with a speed of 30 km / h . in how many seconds will the train pass a man who is running at 3 km / h in the direction opposite to that in which the train is going ?
Options: a ) 6 , b ) 8 , c ) 10 , d ) 12 , e ) 14
Rationale: "the speed of the train relative to the man = 30 + 3 = 33 km / h . 33000 m / h * 1 h / 3600 s = ( 330 / 36 ) m / s ( 110 m ) / ( 330 / 36 m / s ) = ( 110 * 36 ) / 330 = 36 / 3 = 12 seconds the answer is d ."
Answer: d
Python program:
a = 30 + 3 
b = a / const_3_6
c = 110 / b
Problem: kanul spent $ 3000 in buying raw materials , $ 1000 in buying machinery and 30 % of the total amount he had as cash with him . what was the total amount ?
Options: a ) $ 5825.16 , b ) $ 5725.26 , c ) $ 5714.28 , d ) $ 5912.52 , e ) $ 5614.46
Rationale: "let the total amount be x then , ( 100 - 30 ) % of x = 3000 + 1000 70 % of x = 4000 70 x / 100 = 4000 x = $ 40000 / 7 x = $ 5714.28 answer is c"
Answer: c
Python program:
a = 3000 + 1000 
b = 30 / 100
c = 1 - b
d = a / c
Problem: a sporting goods store sold 64 frisbees in one week , some for $ 3 and the rest for $ 4 each . if receipts from frisbee sales for the week totaled $ 204 , what is the fewest number of $ 3 frisbees that could have been sold ?
Options: a ) 24 , b ) 12 , c ) 8 , d ) 52 , e ) 2
Rationale: "in this question however , because we are told that exactly 64 frisbees have been sold and revenue was exactly $ 204 , there is only one possible solution for the number of $ 3 and $ 4 frisbees sold . to solve , we have 2 equations and 2 unknowns let x = number of $ 3 frisbees sold let y = number of $ 4 frisbees sold x + y = 64 3 x + 4 y = 204 x = 64 - y 3 ( 64 - y ) + 4 y = 204 192 - 3 y + 4 y = 204 y = 12 x = 64 - 12 = 52 d"
Answer: d
Python program:
a = 64 * 3
b = 204 - a
Problem: two trains 110 meters and 200 meters in length respectively are running in opposite directions , one at the rate of 80 km and the other at the rate of 65 kmph . in what time will they be completely clear of each other from the moment they meet ?
Options: a ) 4.85 , b ) 7.69 , c ) 6.85 , d ) 5.85 , e ) 6.15
Rationale: "t = ( 110 + 200 ) / ( 80 + 65 ) * 18 / 5 t = 7.69 answer : b"
Answer: b
Python program:
a = 110 + 200 
b = 80 + 65 
c = b * const_0_2778
d = a / c
Problem: how many 1 / 10 s are there in 37 1 / 2 ?
Options: a ) 375 , b ) 475 , c ) 500 , d ) 670 , e ) 700
Rationale: "required number = ( 75 / 2 ) / ( 1 / 10 ) = ( 75 / 2 x 10 / 1 ) = 375 . answer : a"
Answer: a
Python program:
a = 1 / 2
b = 37 + a 
c = 1 / 10
d = b / c
Problem: a circle graph shows how the megatech corporation allocates its research and development budget : 12 % microphotonics ; 24 % home electronics ; 15 % food additives ; 29 % genetically modified microorganisms ; 8 % industrial lubricants ; and the remainder for basic astrophysics . if the arc of each sector of the graph is proportional to the percentage of the budget it represents , how many degrees of the circle are used to represent basic astrophysics research ?
Options: a ) 43 ° , b ) 10 ° , c ) 18 ° , d ) 36 ° , e ) 52 °
Rationale: "here all percentage when summed we need to get 100 % . as per data 12 + 24 + 15 + 29 + 8 = 88 % . so remaining 12 % is the balance for the astrophysics . since this is a circle all percentage must be equal to 360 degrees . 100 % - - - - 360 degrees then 12 % will be 43 degrees . . imo option a ."
Answer: a
Python program:
a = 12 + 24 
b = a + 15 
c = b + 29 
d = c + 8 
e = 100 - d
f = 3600 / 10
g = e * f
h = g / 100
Problem: how much interest will $ 10,000 earn in 3 months at an annual rate of 6 % ?
Options: a ) $ 250 , b ) $ 150 , c ) $ 450 , d ) $ 550 , e ) $ 650
Rationale: "soln : - 6 months = 1 / 4 of year ; 6 % = 6 / 100 = 3 / 50 ; $ 10,000 ( principal ) * 3 / 50 ( interest rate ) * 1 / 4 ( time ) = $ 150 . answer : b"
Answer: b
Python program:
a = 100 ** 2
b = 6 / 100
c = a * b
d = 3 / 4
e = c * d
Problem: how many different values of positive integer x , for which | x + 9 | < x , are there ?
Options: a ) 0 , b ) 2 , c ) 3 , d ) 8 , e ) 16
Rationale: "answer c i opted to put the random value option . i used 0 , 9 , - 9 and the the extreme of 10 and - 10 . . i was able to solve it in 1 : 09 c"
Answer: c
Python program:
a = 9 + 9
Problem: if the average of 10 consecutive integers is 21.5 then the 10 th integer is : -
Options: a ) 15 , b ) 20 , c ) 23 , d ) 26 , e ) 25
Rationale: "the average falls between the 5 th and 6 th integers , integer 5 = 21 , integer 6 = 22 . counting up to the tenth integer we get 26 . answer : d"
Answer: d
Python program:
a = 10 * 2
b = 10 * 2
c = 21 - 5
d = c * 10
e = a + d
Problem: in a box of 8 pens , a total of 3 are defective . if a customer buys 2 pens selected at random from the box , what is the probability that neither pen will be defective ?
Options: a ) 2 / 10 , b ) 3 / 11 , c ) 4 / 13 , d ) 5 / 14 , e ) 6 / 17
Rationale: "p ( neither pen is defective ) = 5 / 8 * 4 / 7 = 5 / 14 the answer is d ."
Answer: d
Python program:
a = 8 - 3
b = a / 8
c = 8 - 3
d = c - 1
e = 8 - 1
f = d / e
g = b * f
Problem: a train passes a station platform in 30 sec and a man standing on the platform in 12 sec . if the speed of the train is 54 km / hr . what is the length of the platform ?
Options: a ) 227 , b ) 240 , c ) 200 , d ) 178 , e ) 270
Rationale: "speed = 54 * 5 / 18 = 15 m / sec . length of the train = 15 * 12 = 180 m . let the length of the platform be x m . then , ( x + 180 ) / 30 = 15 = > x = 270 m . answer : e"
Answer: e
Python program:
a = 54 * const_0_2778
b = 12 * a
Problem: a right triangle is inscribed in a circle . the legs of the triangle have lengths 6 and 8 . what is the diameter of the circle ?
Options: a ) 8
b ) 8 π
c ) 9 √ 3
d ) 10
e ) 12
Rationale: property of a right triangle inscribed in a circle is that when an angle is made from diameter of the circle , it is a right triangle . or if a right triangle is made inscribed in a circle , its its longest side is the diameter of the circle . hence diameter = ( 6 ^ 2 + 8 ^ 2 ) ^ 1 / 2 = 10 d is the answer
Answer: d
Python program:
a = 6 ** 2
b = 8 ** 2
c = a + b 
d = math.sqrt(c)
Problem: what is 15 percent of 64 ?
Options: a ) 7.2 , b ) 8.4 , c ) 9.6 , d ) 10.4 , e ) 11.8
Rationale: "( 15 / 100 ) * 64 = 9.6 the answer is c ."
Answer: c
Python program:
a = 3 + 2 
b = a * 2
c = 3 * 4
d = c * 100
e = b * d
f = 3 + 4 
g = 3 + 2 
h = f * g
i = 3 + 2 
j = i * 2
k = h * j
l = e + k 
m = 3 + 3 
n = l + m 
o = 15 * n
p = o / 100
Problem: each week a restaurant serving mexican food uses the same volume of chili paste , which comes in either 55 - ounce cans or 15 - ounce cans of chili paste . if the restaurant must order 30 more of the smaller cans than the larger cans to fulfill its weekly needs , then how many larger cans are required to fulfill its weekly needs ?
Options: a ) 15 , b ) 28 , c ) 18 , d ) 24 , e ) 21
Rationale: "let x be the number of 55 ounce cans . therefore ( x + 30 ) is the number of 15 ounce cans . total volume is same , therefore 55 x = 15 ( x + 30 ) 30 x = 450 x = 15 ans - a"
Answer: a
Python program:
a = 15 + 30
Problem: for any positive integer n , the sum of the first n positive integers equals n ( n + 1 ) / 2 . what is the sum of all the even integers between 99 and 181 ?
Options: a ) 3820 , b ) 5740 , c ) 6580 , d ) 7360 , e ) 9200
Rationale: "100 + 102 + . . . + 180 = 100 * 41 + ( 2 + 4 + . . . + 80 ) = 100 * 41 + 2 * ( 1 + 2 + . . . + 40 ) = 100 * 41 + 2 ( 40 ) ( 41 ) / 2 = 100 * 41 + 40 * 41 = 140 ( 41 ) = 5740 the answer is b ."
Answer: b
Python program:
a = 181 - 1
b = 99 + 1 
c = a - b
d = c / 2
e = d + 1
Problem: a salesman â € ™ s terms were changed from a flat commission of 5 % on all his sales to a fixed salary of rs . 1000 plus 2.5 % commission on all sales exceeding rs . 4,000 . if his remuneration as per new scheme was rs . 800 more than that by the previous schema , his sales were worth ?
Options: a ) s . 4,000 , b ) s . 12,000 , c ) s . 30,000 , d ) s . 40,000 , e ) s . 50,000
Rationale: "[ 1000 + ( x - 4000 ) * ( 2.5 / 100 ) ] - x * ( 5 / 100 ) = 800 x = 4000 answer : a"
Answer: a
Python program:
a = 5 * 4
b = a - 12
Problem: if k is an integer and 0.0010101 x 10 ^ k is greater than 10 , what is the least possible value of k ?
Options: a ) 2 , b ) 3 , c ) 4 , d ) 5 , e ) 6
Rationale: "0.0010101 * 10 ^ k > 10 we need to move the decimal point to the right 4 places to get 10.101 this is equivalent to multiplying by 10 ^ 4 . the answer is c ."
Answer: c
Python program:
a = 10 / 0
b = math.log(a)
c = math.log(10)
d = b / c