input
stringlengths
5
9.74k
output_program
stringlengths
15
908
output_answer
stringlengths
1
1.34k
split
stringclasses
2 values
dataset
stringclasses
10 values
a lady builds 12 cm length , 16 cm width , and 6 cm height box using 3 cubic cm cubes . what is the minimum number of cubes required to build the box ?
n0 = 12.0 n1 = 16.0 n2 = 6.0 n3 = 3.0 t0 = n0 * n1 t1 = n2 * t0 answer = t1 / n3 print(answer)
384
train
mathqa_geometry.json
the area of a parallelogram is 162 sq m and its altitude is twice the corresponding base . then the length of the base is ?
import math n0 = 162.0 t0 = n0 / 2.0 answer = math.sqrt(max(0, t0)) print(answer)
9
train
mathqa_geometry.json
if n is the smallest integer such that 432 times n is the square of an integer , what is the value of n ?
n0 = 432.0 t0 = n0 / 2.0 t1 = t0 / 2.0 t2 = t1 / 2.0 t3 = t2 / 2.0 t4 = t3 / 3.0 answer = t4 / 3.0 print(answer)
3
train
mathqa_geometry.json
the cube root of what integer power of 2 is closest to 50 ?
n0 = 2.0 n1 = 50.0 t0 = 4.0 + 4.0 t1 = n1 / n0 answer = t1 - t0 print(answer)
17
train
mathqa_geometry.json
in triangle pqr , the angle q = 90 degree , pq = 2 cm , qr = 8 cm . x is a variable point on pq . the line through x parallel to qr , intersects pr at y and the line through y , parallel to pq , intersects qr at z . find the least possible length of xz
n0 = 90.0 n1 = 2.0 n2 = 8.0 t0 = n1 * n2 answer = t0 / 10.0 print(answer)
1.6
train
mathqa_geometry.json
if the sides of a triangle are 28 cm , 24 cm and 15 cm , what is its area ?
n0 = 28.0 n1 = 24.0 n2 = 15.0 t0 = n1 * n2 answer = t0 / 2.0 print(answer)
180
train
mathqa_geometry.json
carol and jordan draw rectangles of equal area . if carol ' s rectangle measures 8 inches by 15 inches and jordan ' s rectangle is 4 inches long , how wide is jordan ' s rectangle , in inches ?
n0 = 8.0 n1 = 15.0 n2 = 4.0 t0 = n0 * n1 # area of rectangle answer = t0 / n2 print(answer)
30
train
mathqa_geometry.json
the perimeter of a triangle is 32 cm and the inradius of the triangle is 2.5 cm . what is the area of the triangle ?
n0 = 32.0 n1 = 2.5 answer = n0 * n1 / 2 print(answer)
40
train
mathqa_geometry.json
the perimeter of a triangle is 35 cm and the inradius of the triangle is 4.5 cm . what is the area of the triangle ?
n0 = 35.0 n1 = 4.5 answer = n0 * n1 / 2 print(answer)
78.75
train
mathqa_geometry.json
a larger cube has 216 cubic inch as a volume and in the cube there are 216 smaller cubes such that their volume is 1 cubic inch . what is the difference between the surface areas ’ sum of the 216 smaller cubes and the surface area of the larger cube , in square inch ?
n0 = 216.0 n1 = 216.0 n2 = 1.0 n3 = 216.0 t0 = n2**(1 / 3) t1 = n0**(1 / 3) t2 = 6 * t0**2 # surface of a cube t3 = 6 * t1**2 # surface of a cube t4 = n0 * t2 answer = t4 - t3 print(answer)
1080
train
mathqa_geometry.json
approximately how many cubic feet of water are needed to fill a circular swimming pool that is 80 feet across and 10 feet deep ?
import math n0 = 80.0 n1 = 10.0 t0 = n0 / 2.0 answer = math.pi * t0**2 * n1 print(answer)
50265.482457436694
train
mathqa_geometry.json
if the area of a circle decreases by 36 % , then the radius of a circle decreases by
import math n0 = 36.0 t0 = 100.0 - n0 t1 = t0 / 100.0 t2 = math.sqrt(max(0, t1)) t3 = 1.0 - t2 answer = t3 * 100.0 print(answer)
19.999999999999996
train
mathqa_geometry.json
find the area of a triangle whose sides are 41 cm , 28 cm , 15 cm . also , find the length of the altitude corresponding to the largest side of the triangle .
import math n0 = 41.0 n1 = 28.0 n2 = 15.0 t0 = (lambda s, a, b, c: math.sqrt(max(0, s * (s - a) * (s - b) * (s - c))))((n0 + n1 + n2) / 2, n0, n1, n2) # Heron's formula t1 = t0 * 2.0 answer = t1 / n0 print(answer)
6.146341463414634
train
mathqa_geometry.json
36 people { a 1 , a 2 … a 36 } meet and shake hands in a circular fashion . in other words , there are totally 36 handshakes involving the pairs , { a 1 , a 2 } , { a 2 , a 3 } , … , { a 35 , a 36 } , { a 36 , a 1 } . then size of the smallest set of people such that the rest have shaken hands with at least one person in the set is
n0 = 36.0 n1 = 1.0 n2 = 2.0 n3 = 36.0 n4 = 36.0 n5 = 1.0 n6 = 2.0 n7 = 2.0 n8 = 3.0 n9 = 35.0 n10 = 36.0 n11 = 36.0 n12 = 1.0 answer = n0 / 3.0 print(answer)
12
train
mathqa_geometry.json
the diagonals of a rhombus are 25 cm and 30 cm . find its area ?
n0 = 25.0 n1 = 30.0 answer = n0 * n1 / 2 print(answer)
375
train
mathqa_geometry.json
how many internal diagonals does a hexagon ( 6 sided polygon ) have ?
n0 = 6.0 t0 = n0 - 3.0 t1 = n0 * t0 answer = t1 / 2.0 print(answer)
9
train
mathqa_geometry.json
the length of a rectangular landscape is 4 times its breadth . there is a playground in it whose area is 1200 square mtr & which is 1 / 3 rd of the total landscape . what is the length of the landscape ?
n0 = 4.0 n1 = 1200.0 n2 = 1.0 n3 = 3.0 t0 = n0 * n3 answer = t0 * 10.0 print(answer)
120
train
mathqa_geometry.json
two isosceles triangles have equal vertical angles and their areas are in the ratio 16 : 36 . find the ratio of their corresponding heights .
import math n0 = 16.0 n1 = 36.0 t0 = math.sqrt(max(0, n0)) t1 = math.sqrt(max(0, n1)) answer = t0 / t1 print(answer)
0.6666666666666666
train
mathqa_geometry.json
the size of a television screen is given as the length of the screen ' s diagonal . if the screens were flat , then the area of a square 18 - inch screen would be how many square inches greater than the area of a square 16 - inch screen ?
n0 = 18.0 n1 = 16.0 t0 = n0**min(2.0, 5) t1 = n1**min(2.0, 5) t2 = t0 - t1 answer = t2 / 2.0 print(answer)
34
train
mathqa_geometry.json
when magnified 1000 times by an electron microscope , the image of a certain circular piece of tissue has a diameter of 0.3 centimeter . the actual diameter of the tissue , in centimeters , is
n0 = 1000.0 n1 = 0.3 answer = n1 / n0 print(answer)
0.0003
train
mathqa_geometry.json
a circular garden is surrounded by a fence of negligible width along the boundary . if the length of the fence is 1 / 5 of th area of the garden . what is the radius of the circular garden ?
import math n0 = 1.0 n1 = 5.0 t0 = n1**min(2.0, 5) t1 = math.sqrt(max(0, t0)) answer = t1 * 2.0 print(answer)
10
train
mathqa_geometry.json
if the length of the longest chord of a certain circle is 22 , what is the radius of that certain circle ?
n0 = 22.0 answer = n0 / 2.0 print(answer)
11
train
mathqa_geometry.json
an isosceles triangle those sides are 13 cm , 13 cm , 10 cm long inscribed in a circle . find the radius of the circle
import math n0 = 13.0 n1 = 13.0 n2 = 10.0 t0 = n2 / 2.0 t1 = n0**min(2.0, 5) t2 = t0**min(2.0, 5) t3 = t1 - t2 t4 = t2 + t3 t5 = math.sqrt(max(0, t3)) t6 = t5 * 2.0 t7 = t4 / t6 answer = t7 + 1.0 print(answer)
8.041666666666668
train
mathqa_geometry.json
a horse is tethered to one corner of a rectangular grassy field 45 m by 25 m with a rope 22 m long . over how much area of the field can it graze ?
n0 = 45.0 n1 = 25.0 n2 = 22.0 t0 = n2**min(2.0, 5) t1 = t0 * 3.141592653589793 answer = t1 / 4.0 print(answer)
380.132711084365
train
mathqa_geometry.json
an oil cylinder was 3 / 4 th full . when 4 bottles of oil is poured into it , it is 4 / 5 th full . how many bottles of oil can the full cylinder hold ?
n0 = 3.0 n1 = 4.0 n2 = 4.0 n3 = 4.0 n4 = 5.0 t0 = n1 / n4 t1 = n0 / n1 t2 = t0 - t1 t3 = t2 / n1 answer = 1.0 / t3 print(answer)
79.99999999999993
train
mathqa_geometry.json
find the sum of divisors of 544 which are perfect squares
import math n0 = 544.0 t0 = n0 / 2.0 t1 = t0 / 2.0 t2 = t1 / 2.0 t3 = t2 / 2.0 t4 = t3 / 2.0 t5 = n0 / t4 t6 = t5 / 2.0 t7 = math.sqrt(max(0, t6)) t8 = t7 + 1.0 answer = t8 + t6 print(answer)
21
train
mathqa_geometry.json
find the surface area of a 10 cm x 4 cm x 3 cm brick
n0 = 10.0 n1 = 4.0 n2 = 3.0 answer = 2 * (n0 * n1 + n0 * n2 + n1 * n2) # surface of a rectangular prism print(answer)
164
train
mathqa_geometry.json
a box measuring 35 inches long by 20 inches wide by 10 inches deep is to be filled entirely with identical cubes . no space is to be left unfilled . what is the smallest number of cubes that can accomplish this objective ?
n0 = 35.0 n1 = 20.0 n2 = 10.0 t0 = n2 / 2.0 t1 = n0 * n1 t2 = n2 * t1 t3 = t0**3 answer = t2 / t3 print(answer)
56
train
mathqa_geometry.json
find the area of a parallelogram with base 24 cm and height 16 cm ?
n0 = 24.0 n1 = 16.0 answer = n0 * n1 print(answer)
384
train
mathqa_geometry.json
a cylindrical container of radius 6 cm and height 15 cm is filled with ice - cream . the whole icecream has to be distributed to 10 children in equal cones with hemispherical tops . if the height of the conical portion is four times the radius of its base , find the radius of the ice - cream cone .
import math n0 = 6.0 n1 = 15.0 n2 = 10.0 t0 = 1.0 / 3.0 t1 = 2.0 / 3.0 t2 = math.pi * n0**2 * n1 t3 = t2 / 10.0 t4 = t0 * 3.141592653589793 t5 = t1 * 3.141592653589793 t6 = t4 * 4.0 t7 = t6 + t5 t8 = t3 / t7 t9 = t8 / 3.0 answer = math.sqrt(max(0, t9)) print(answer)
3
train
mathqa_geometry.json
people were sitting in a circle . 7 th one is direct opposite to 18 th one . . then how many were there in that group ?
n0 = 7.0 n1 = 18.0 t0 = n1 - n0 answer = t0 * 2.0 print(answer)
22
train
mathqa_geometry.json
a certain cube floating in a bucket of water has between 80 and 90 percent of its volume below the surface of the water . if between 6 and 13 cubic centimeters of the cube ' s volume is above the surface of the water , then the length of a side of the cube is approximately
n0 = 80.0 n1 = 90.0 n2 = 6.0 n3 = 13.0 t0 = n3 * 100.0 t1 = 100.0 - n0 t2 = t0 / t1 answer = t2**(1 / 3) print(answer)
4.020725758589058
train
mathqa_geometry.json
what is the total surface area in square meters of a rectangular solid whose length is 10 meters , width is 9 meters , and depth is 6 meters ?
n0 = 10.0 n1 = 9.0 n2 = 6.0 answer = 2 * (n0 * n1 + n0 * n2 + n1 * n2) # surface of a rectangular prism print(answer)
408
train
mathqa_geometry.json
f and e are midpoints of ab and ad respectively . if the side of square abcd is 8 , what is the area of triangle cef ?
n0 = 8.0 t0 = n0 / 2.0 t1 = n0**2 t2 = n0 * t0 / 2 t3 = t0 * t0 / 2 t4 = t1 - t2 t5 = t4 - t2 answer = t5 - t3 print(answer)
24
train
mathqa_geometry.json
find the area of a parallelogram with base 60 cm and height 16 cm ?
n0 = 60.0 n1 = 16.0 answer = n0 * n1 print(answer)
960
train
mathqa_geometry.json
in front of you lies a figure made up with 20 x 10 square blocks . will you be able to find out the number of unique squares and rectangles that are being formed inside this figure by combining two or more distinct squares ?
n0 = 20.0 n1 = 10.0 t0 = n0 + 1.0 t1 = n1 + 1.0 t2 = n0 * t0 t3 = n1 * t1 t4 = t2 / 2.0 t5 = t3 / 2.0 answer = t4 * t5 print(answer)
11550
train
mathqa_geometry.json
the sides of the triangle are in the ratio 1 / 2 : 1 / 3 : 1 / 4 and its perimeter is 104 cm . the length of the longest side is ?
n0 = 1.0 n1 = 2.0 n2 = 1.0 n3 = 3.0 n4 = 1.0 n5 = 4.0 n6 = 104.0 t0 = n0 / n5 t1 = n0 / n3 t2 = n0 / n1 t3 = t0 + t1 t4 = t3 + t2 t5 = n6 / t4 answer = t5 * t2 print(answer)
48
train
mathqa_geometry.json
find the area of a parallelogram with base 32 cm and height 18 cm ?
n0 = 32.0 n1 = 18.0 answer = n0 * n1 print(answer)
576
train
mathqa_geometry.json
if the sum of a number and its square is 132 , what is the number ?
import math n0 = 132.0 t0 = math.sqrt(max(0, n0)) answer = math.floor(t0) print(answer)
11
train
mathqa_geometry.json
what should be added to 4440 so that it may become a perfect square ?
n0 = 4440.0 t0 = 10.0 + 10.0 t1 = 3.0 + 4.0 t2 = t0 + t0 t3 = t2 + t0 t4 = t3 + t1 t5 = t4 * t4 answer = t5 - n0 print(answer)
49
train
mathqa_geometry.json
a cubical block of metal weighs 5 pounds . how much will another cube of the same metal weigh if its sides are twice as long ?
n0 = 5.0 t0 = 2.0 * 4.0 answer = n0 * t0 print(answer)
40
train
mathqa_geometry.json
the area of a square garden is q square feet and the perimeter is p feet . if q = 2 p + 20 , what is the perimeter of the garden in feet ?
n0 = 2.0 n1 = 20.0 answer = n1 * 2.0 print(answer)
40
train
mathqa_geometry.json
a volume of 11780 l water is in a container of sphere . how many hemisphere of volume 4 l each will be required to transfer all the water into the small hemispheres ?
n0 = 11780.0 n1 = 4.0 answer = n0 / n1 print(answer)
2945
train
mathqa_geometry.json
when magnified 1,000 times by an electron microscope , the image of a certain circular piece of tissue has a diameter of 0.2 centimeter . the actual diameter of the tissue , in centimeters , is
n0 = 1000.0 n1 = 0.2 answer = n1 / n0 print(answer)
0.0002
train
mathqa_geometry.json
in measuring the sides of a rectangle , one side is taken 16 % in excess and other 5 % in deficit . find the error percentage in the area calculated from these measurements .
n0 = 16.0 n1 = 5.0 t0 = n0 * n1 t1 = n0 - n1 t2 = t0 / 100.0 answer = t1 - t2 print(answer)
10.2
train
mathqa_geometry.json
a making a cube with dimension 5 * 5 * 5 using 1 * 1 * 1 cubes . what is the number of cubes needed to make hollow cube looking of the same shape .
n0 = 5.0 n1 = 5.0 n2 = 5.0 n3 = 1.0 n4 = 1.0 n5 = 1.0 t0 = n0 * n0 t1 = n0 - 2.0 t2 = n0 * t0 t3 = t1 * t1 t4 = t3 * 3.0 answer = t2 - t4 print(answer)
98
train
mathqa_geometry.json
find the area of a parallelogram with base 18 cm and height 16 cm ?
n0 = 18.0 n1 = 16.0 answer = n0 * n1 print(answer)
288
train
mathqa_geometry.json
a football field is 9600 square yards . if 800 pounds of fertilizer are spread evenly across the entire field , how many pounds of fertilizer were spread over an area of the field totaling 3600 square yards ?
n0 = 9600.0 n1 = 800.0 n2 = 3600.0 t0 = n1 / n0 answer = n2 * t0 print(answer)
300
train
mathqa_geometry.json
the breath of a rectangular landscape is 8 times its length . there is a playground in it whose area is 3200 square mtr & which is 1 / 9 rd of the total landscape . what is the breath of the landscape ?
import math n0 = 8.0 n1 = 3200.0 n2 = 1.0 n3 = 9.0 t0 = n1 * n3 t1 = t0 / n0 t2 = math.sqrt(max(0, t1)) answer = n0 * t2 print(answer)
480
train
mathqa_geometry.json
the area of a square field is 1225 km 2 . how long will it take for a horse to run around at the speed of 20 km / h ?
import math n0 = 1225.0 n1 = 2.0 n2 = 20.0 t0 = math.sqrt(max(0, n0)) t1 = t0 * 4.0 answer = t1 / n2 print(answer)
7
train
mathqa_geometry.json
it has been raining at the rate of 5 centimeters per hour . if the rain filled a cylindrical drum with a depth of 15 centimeters , and area 300 square centimeters , how long did it take to fill the drum completely ?
n0 = 5.0 n1 = 15.0 n2 = 300.0 answer = n1 / n0 print(answer)
3
train
mathqa_geometry.json
the diameter of a cylindrical tin is 10 cm and height is 5 cm . find the volume of the cylinder ?
import math n0 = 10.0 n1 = 5.0 t0 = n0 / 2.0 t1 = math.pi * t0**2 * n1 answer = t1 / 3.141592653589793 print(answer)
125.00000000000001
train
mathqa_geometry.json
the diameter of a cylindrical tin is 14 cm and height is 2 cm . find the volume of the cylinder ?
import math n0 = 14.0 n1 = 2.0 t0 = n0 / 2.0 t1 = math.pi * t0**2 * n1 answer = t1 / 3.141592653589793 print(answer)
98
train
mathqa_geometry.json
what is the area of a square field whose diagonal of length 16 m ?
n0 = 16.0 t0 = n0**2 answer = t0 / 2.0 print(answer)
128
train
mathqa_geometry.json
find the circumference and area of radius 13 cm .
import math n0 = 13.0 answer = math.pi * n0**2 print(answer)
530.929158456675
train
mathqa_geometry.json
a metallic sheet is of rectangular shape with dimensions 48 m x 36 m . from each of its corners , a square is cut off so as to make an open box . if the length of the square is 7 m , the volume of the box ( in m 3 ) is :
n0 = 48.0 n1 = 36.0 n2 = 7.0 n3 = 3.0 t0 = n2 * 2.0 t1 = n0 - t0 t2 = n1 - t0 answer = n2 * t1 * t2 print(answer)
5236
train
mathqa_geometry.json
the diagonal of a rhombus are 40 m and 30 m . its area is :
n0 = 40.0 n1 = 30.0 answer = n0 * n1 / 2 print(answer)
600
train
mathqa_geometry.json
a snooker tournament charges $ 40.00 for vip seats and $ 15.00 for general admission ( “ regular ” seats ) . on a certain night , a total of 320 tickets were sold , for a total cost of $ 7,500 . how many fewer tickets were sold that night for vip seats than for general admission seats ?
n0 = 40.0 n1 = 15.0 n2 = 320.0 n3 = 7500.0 t0 = 3.0 + 4.0 t1 = 2.0 + 3.0 t2 = n1 * n2 t3 = t0 * 1000.0 t4 = t1 * 100.0 t5 = t1 * t1 t6 = t3 + t4 t7 = t6 - t2 t8 = t7 / t5 answer = n2 - t8 print(answer)
212
train
mathqa_geometry.json
the area of a rectangle is 360 sq . m . if its length is increased by 10 m and its width is decreased by 6 m , then its area does not change . find the perimeter of the original rectangle .
n0 = 360.0 n1 = 10.0 n2 = 6.0 t0 = n2 * 3.0 t1 = n0 / t0 answer = 2 * (t1 + t0) # perimetere of rectangle print(answer)
76
train
mathqa_geometry.json
in measuring the sides of a rectangle , one side is taken 7 % in excess , and the other 6 % in deficit . find the error percent in the area calculated from these measurements .
n0 = 7.0 n1 = 6.0 t0 = n0 * n1 t1 = n0 - n1 t2 = t0 / 100.0 answer = t1 - t2 print(answer)
0.5800000000000001
train
mathqa_geometry.json
how many squares are there between 2011 to 2300 ? ? ? ?
import math n0 = 2011.0 n1 = 2300.0 t0 = math.sqrt(max(0, n1)) t1 = math.sqrt(max(0, n0)) t2 = math.floor(t0) t3 = math.floor(t1) answer = t2 - t3 print(answer)
3
train
mathqa_geometry.json
the perimeter of a triangle is 20 cm and the inradius of the triangle is 3 cm . what is the area of the triangle ?
n0 = 20.0 n1 = 3.0 answer = n0 * n1 / 2 print(answer)
30
train
mathqa_geometry.json
if a cube has a volume of 125 , what is the surface area of one side ?
n0 = 125.0 t0 = n0**(1 / 3) answer = t0**2 print(answer)
24.99999999999999
train
mathqa_geometry.json
right triangle pqr is the base of the prism in the figure above . if pq = pr = â ˆ š 5 and the height of the prism is 10 , what is the volume of the prism ?
import math n0 = 5.0 n1 = 10.0 t0 = math.sqrt(max(0, n0)) t1 = t0 * t0 / 2 answer = n1 * t1 print(answer)
25.000000000000004
train
mathqa_geometry.json
what is the ratio between perimeters of two squares one having 2.5 times the diagonal then the other ?
n0 = 2.5 t0 = n0 / n0 answer = n0 / t0 print(answer)
2.5
train
mathqa_geometry.json
all the faces of a cube are painted with blue colour . then it is cut into 125 small equal cubes . how many small cubes will be formed having only one face coloured ?
n0 = 125.0 t0 = 1.0 / 3.0 t1 = n0**min(t0, 5) t2 = t1 - 2.0 t3 = t2**min(2.0, 5) t4 = t3 * 60.0 answer = t4 / 10.0 print(answer)
53.999999999999964
train
mathqa_geometry.json
a rectangular courty 3.78 metres long and 5.25 metres wide is to be paved exactly with square tiles , all of the same size . what is the largest size of the tile which could be used for the purpose ?
n0 = 3.78 n1 = 5.25 t0 = n0 * 100.0 t1 = t0 / 3.0 t2 = t1 / 3.0 t3 = t2 / 3.0 t4 = t3 / 2.0 answer = t4 * 3.0 print(answer)
21
train
mathqa_geometry.json
the diagonal of a rhombus are 80 m and 120 m . its area is :
n0 = 80.0 n1 = 120.0 answer = n0 * n1 / 2 print(answer)
4800
train
mathqa_geometry.json
an equilateral triangle t 2 is formed by joining the mid points of the sides of another equilateral triangle t 1 . a third equilateral triangle t 3 is formed by joining the mid - points of t 2 and this process is continued indefinitely . if each side of t 1 is 45 cm , find the sum of the perimeters of all the triangles .
n0 = 2.0 n1 = 1.0 n2 = 3.0 n3 = 2.0 n4 = 1.0 n5 = 45.0 t0 = n5 + n5 + n5 # perimeter of a triangle answer = t0 + t0 print(answer)
270
train
mathqa_geometry.json
find the perimeter and area of a square of side 19 cm .
n0 = 19.0 answer = n0**2 print(answer)
361
train
mathqa_geometry.json
there are 7 non - collinear points . how many triangles can be drawn by joining these points ?
n0 = 7.0 t0 = 1.0 + 4.0 answer = n0 * t0 print(answer)
35
train
mathqa_geometry.json
the area of an equilateral triangle is subtracted from its base , and the perimeter is then added to this total , the result is 4 . what is the height of the equilateral triangle if its base is 2 ?
n0 = 4.0 n1 = 2.0 t0 = n1 * 3.0 t1 = n1 - n0 answer = t0 + t1 print(answer)
4
train
mathqa_geometry.json
find the area of a parallelogram with base 34 cm and height 18 cm ?
n0 = 34.0 n1 = 18.0 answer = n0 * n1 print(answer)
612
train
mathqa_geometry.json
in the rectangular coordinate system , points ( 8 , 0 ) and ( – 8 , 0 ) both lie on circle c . what is the maximum possible value of the radius of c ?
import math n0 = 8.0 n1 = 0.0 n2 = 8.0 n3 = 0.0 t0 = n0**min(2.0, 5) answer = math.sqrt(max(0, t0)) print(answer)
8
train
mathqa_geometry.json
a lady builds 10 cm length , 18 cm width , and 4 cm height box using 12 cubic cm cubes . what is the minimum number of cubes required to build the box ?
n0 = 10.0 n1 = 18.0 n2 = 4.0 n3 = 12.0 t0 = n0 * n1 t1 = n2 * t0 answer = t1 / n3 print(answer)
60
train
mathqa_geometry.json
the diagonal of the floor of a rectangular closet is 7 feet . the shorter side of the closet is 4 feet . what is the area of the closet in square feet ?
import math n0 = 7.0 n1 = 4.0 t0 = 2.0 * 4.0 t1 = n0 * 2.0 t2 = t0 + 1.0 t3 = t1 + 1.0 t4 = t2 / 2.0 t5 = t3 / 2.0 t6 = t5**min(2.0, 5) t7 = t4**min(2.0, 5) t8 = t6 - t7 t9 = math.sqrt(max(0, t8)) answer = t4 * t9 # area of rectangle print(answer)
27
train
mathqa_geometry.json
the diagonal of a rectangle is cm and its area is 20 sq . cm . the perimeter of the rectangle must be :
import math n0 = 20.0 t0 = n0 + n0 t1 = t0 + 1.0 t2 = t0 + t1 t3 = math.sqrt(max(0, t2)) answer = t3 * 2.0 print(answer)
18
train
mathqa_geometry.json
what is the ratio between perimeters of two squares one having 4 times the diagonal then the other ?
n0 = 4.0 t0 = n0 / n0 answer = n0 / t0 print(answer)
4
train
mathqa_geometry.json
calculate the area of a triangle , if the sides are 13 cm , 12 cm and 5 cm , what is its area ?
n0 = 13.0 n1 = 12.0 n2 = 5.0 t0 = n1 / 2.0 answer = n2 * t0 print(answer)
30
train
mathqa_geometry.json
in a certain circle there are 9 points . what is the number of the triangles connecting 4 points of the 9 points ?
import math n0 = 9.0 n1 = 4.0 n2 = 9.0 t0 = 10.0 / 2.0 t1 = math.factorial(min(15, int(n0))) t2 = math.factorial(min(15, int(n1))) t3 = math.factorial(min(15, int(t0))) t4 = t3 * t2 answer = t1 / t4 print(answer)
126
train
mathqa_geometry.json
if the height of a cone is increased by 100 % then its volume is increased by ?
n0 = 100.0 answer = n0 * 1.0 # area of rectangle print(answer)
100
train
mathqa_geometry.json
34 . the side surface of a cylinder is rolled with a rectangle . if the height of a cylinder is 16 feet and the perimeter of the circular base . is 12 feet , what is the diagonal of the rectangle ?
import math n0 = 34.0 n1 = 16.0 n2 = 12.0 t0 = n1 * n1 t1 = n2 * n2 t2 = t0 + t1 answer = math.sqrt(max(0, t2)) print(answer)
20
train
mathqa_geometry.json
a rectangular pig farm has a fence along three sides and a wall along the fourth side . the fenced side opposite the wall is twice the length of each of the other two fenced sides . if the area of the rectangular region is 1250 square feet , what is the total length of the fence , in feet ?
import math n0 = 1250.0 t0 = n0 / 2.0 t1 = math.sqrt(max(0, t0)) t2 = t1 * 2.0 answer = 2 * (t2 + t1) # perimetere of rectangle print(answer)
150
train
mathqa_geometry.json
by combining number of small cubes , a larger cube is produced . the ratio between volume of larger cube and small cube is 1000 : 8 then how many small cubes are required to produce a larger cube ?
n0 = 1000.0 n1 = 8.0 answer = n0 / n1 print(answer)
125
train
mathqa_geometry.json
abcd is a square where ab = â ˆ š 6000 . let x be a point on ab and y be a point on cd such that ax = cy . compute the area of trapezoid axyd .
n0 = 6000.0 answer = n0 / 2.0 print(answer)
3000
train
mathqa_geometry.json
the length of a rectangle is one - sixth of the radius of a circle . the radius of the circle is equal to the side of the square , whose area is 1296 sq . units . what is the area ( in sq . units ) of the rectangle if the rectangle if the breadth is 10 units ?
import math n0 = 1296.0 n1 = 10.0 t0 = math.sqrt(max(0, n0)) answer = n1 * t0 print(answer)
360
train
mathqa_geometry.json
if the area of a square with sides of length 4 centimeters is equal to the area of a rectangle with a width of 4 centimeters , what is the length of the rectangle , in centimeters ?
n0 = 4.0 n1 = 4.0 t0 = n0**min(2.0, 5) answer = t0 / n1 print(answer)
4
train
mathqa_geometry.json
three walls have wallpaper covering a combined area of 300 square meters . by overlapping the wallpaper to cover a wall with an area of 180 square meters , the area that is covered by exactly two layers of wallpaper is 30 square meters . what is the area that is covered with three layers of wallpaper ?
n0 = 300.0 n1 = 180.0 n2 = 30.0 t0 = n0 - n1 t1 = t0 - n2 answer = t1 / 2.0 print(answer)
45
train
mathqa_geometry.json
the two sides of a triangle are 32 and 68 . the area is 960 sq . cm . find the third side of triangle ?
import math n0 = 32.0 n1 = 68.0 n2 = 960.0 t0 = n0 + n1 t1 = n0 * n1 t2 = n2**min(2.0, 5) t3 = t2 * 4.0 t4 = t0**min(2.0, 5) t5 = t1**min(2.0, 5) t6 = t5 - t3 t7 = math.sqrt(max(0, t6)) t8 = t1 + t7 t9 = t8 / 2.0 t10 = t9 * 4.0 t11 = t4 - t10 t12 = math.sqrt(max(0, t11)) t13 = t0 + t12 t14 = t13 / 2.0 t15 = t14 * 2.0 answer = t15 - t0 print(answer)
60
train
mathqa_geometry.json
can n and can в are both right circular cylinders . the radius of can n is twice the radius of can b , while the height of can n is half the height of can b . if it costs $ 4.00 to fill half of can b with a certain brand of gasoline , how much would it cost to completely fill can n with the same brand of gasoline ?
n0 = 4.0 t0 = n0 * 2.0 t1 = 2.0**min(2.0, 5) t2 = t1 / 2.0 answer = t2 * t0 print(answer)
16
train
mathqa_geometry.json
if the sides of a triangle are 39 cm , 36 cm and 15 cm , what is its area ?
n0 = 39.0 n1 = 36.0 n2 = 15.0 t0 = n1 * n2 answer = t0 / 2.0 print(answer)
270
train
mathqa_geometry.json
if paint costs $ 3.20 per quart , and a quart covers 1200 square feet , how much will it cost to paint the outside of a cube 10 feet on each edge ?
n0 = 3.2 n1 = 1200.0 n2 = 10.0 t0 = n0 / n1 t1 = 6 * n2**2 # surface of a cube answer = t0 * t1 print(answer)
1.6000000000000003
train
mathqa_geometry.json
the surface of a cube is 96 sq cm . find its volume ?
import math n0 = 96.0 t0 = 2.0 + 4.0 t1 = n0 / t0 t2 = math.sqrt(max(0, t1)) answer = t2**3 print(answer)
64
train
mathqa_geometry.json
the roof of an apartment building is rectangular and its length is 4 times longer than its width . if the area of the roof is 784 feet squared , what is the difference between the length and the width of the roof ?
import math n0 = 4.0 n1 = 784.0 t0 = n1 / n0 t1 = math.sqrt(max(0, t0)) t2 = t1 * n0 answer = t2 - t1 print(answer)
42
train
mathqa_geometry.json
the perimeter of a square is 48 m . find the area of the square .
n0 = 48.0 t0 = n0 / 4.0 answer = t0**2 print(answer)
144
train
mathqa_geometry.json
rectangular tile each of size 25 cm by 16 cm must be laid horizontally on a rectangular floor of size 180 cm by 120 cm , such that the tiles do not overlap and they are placed with edges jutting against each other on all edges . a tile can be placed in any orientation so long as its edges are parallel to the edges of floor . no tile should overshoot any edge of the floor . the maximum number of tiles that can be accommodated on the floor is :
n0 = 25.0 n1 = 16.0 n2 = 180.0 n3 = 120.0 t0 = n2 * n3 t1 = n0 * n1 answer = t0 / t1 print(answer)
54
train
mathqa_geometry.json
the length of a rectangular plot is thrice its breadth . if the area of the rectangular plot is 2028 sq m , then what is the breadth of the rectangular plot ?
import math n0 = 2028.0 t0 = n0 / 3.0 answer = math.sqrt(max(0, t0)) print(answer)
26
train
mathqa_geometry.json
the area of an isosceles trapezoid with sides of length 5 and bases of length 7 and 13 is ?
n0 = 5.0 n1 = 7.0 n2 = 13.0 answer = 4.0 * (n2 + n1) / 2 # quadrilateral area print(answer)
40
train
mathqa_geometry.json
in a rectangular axis system , what is the area of a parallelogram with the coordinates : ( 4,4 ) , ( 7,4 ) , ( 5,9 ) , ( 8,9 ) ?
n0 = 4.0 n1 = 4.0 n2 = 7.0 n3 = 4.0 n4 = 5.0 n5 = 9.0 n6 = 8.0 n7 = 9.0 answer = 2.0 + 3.0 print(answer)
5
train
mathqa_geometry.json
find the surface area of a 8 cm x 6 cm x 2 cm brick .
n0 = 8.0 n1 = 6.0 n2 = 2.0 answer = 2 * (n0 * n1 + n0 * n2 + n1 * n2) # surface of a rectangular prism print(answer)
152
train
mathqa_geometry.json