input
stringlengths
5
9.74k
output_program
stringlengths
15
908
output_answer
stringlengths
1
1.34k
split
stringclasses
2 values
dataset
stringclasses
10 values
find the area of the quadrilateral of one of its diagonals is 26 cm and its off sets 9 cm and 6 cm ?
n0 = 26.0 n1 = 9.0 n2 = 6.0 t0 = n1 + n2 t1 = 1.0 / 2.0 t2 = t0 * t1 answer = n0 * t2 print(answer)
195
train
mathqa_geometry.json
a rectangular garden is to be twice as long as it is wide . if 240 yards of fencing , including the gate , will completely enclose the garden , what will be the length of the garden , in yards ?
n0 = 240.0 t0 = 1.0 + 2.0 t1 = t0 * 2.0 t2 = n0 / t1 answer = t2 * 2.0 print(answer)
80
train
mathqa_geometry.json
the diagonals of a rhombus are 14 cm and 18 cm . find its area ?
n0 = 14.0 n1 = 18.0 answer = n0 * n1 / 2 print(answer)
126
train
mathqa_geometry.json
a rectangular field is to be fenced on three sides leaving a side of 20 feet uncovered . if the area of the field is 650 sq . feet , how many feet of fencing will be required ?
n0 = 20.0 n1 = 650.0 t0 = n1 / n0 t1 = t0 * 2.0 answer = n0 + t1 print(answer)
85
train
mathqa_geometry.json
the second angle of a triangle is double the first ( 110 ) . the third angle is 40 less than the first ( 15 ) . find the first angle .
n0 = 110.0 n1 = 40.0 n2 = 15.0 answer = n1 + n2 print(answer)
55
train
mathqa_geometry.json
how many diagonals does a polygon with 17 sides have , if one of its vertices does not connect to any diagonal ?
n0 = 17.0 t0 = n0 - 1.0 t1 = t0 - 3.0 t2 = t0 * t1 answer = t2 / 2.0 print(answer)
104
train
mathqa_geometry.json
if the radius of the sphere is 14 m . then its total surface area is
import math n0 = 14.0 answer = 4 * math.pi * n0**2 print(answer)
2463.0086404143976
train
mathqa_geometry.json
a volume of 10996 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 = 10996.0 n1 = 4.0 answer = n0 / n1 print(answer)
2749
train
mathqa_geometry.json
the area of rectangular field of length 90 meters and breadth 80 meters is equal to the area of a square plot . what will be the length of the diagonal of the square plot ?
import math n0 = 90.0 n1 = 80.0 t0 = n0 * n1 # area of rectangle t1 = math.sqrt(t0) # square edge given area answer = math.sqrt(t1**2 + t1**2) print(answer)
120.00000000000001
train
mathqa_geometry.json
the parameter of a square is equal to the perimeter of a rectangle of length 22 cm and breadth 16 cm . find the circumference of a semicircle whose diameter is equal to the side of the square . ( round off your answer to two decimal places )
import math n0 = 22.0 n1 = 16.0 t0 = 2 * (n0 + n1) # perimetere of rectangle t1 = t0 / 4. # square edge given perimeter t2 = t1 / 2.0 t3 = 2 * math.pi * t2 answer = t3 / 2.0 print(answer)
29.845130209103033
train
mathqa_geometry.json
the base of a triangle is 15 cm and height is 12 cm . the height of another triangle of double the area having the base 20 cm is :
n0 = 15.0 n1 = 12.0 n2 = 20.0 t0 = n0 * n1 / 2 t1 = t0 * 2.0 t2 = t1 * 2.0 answer = t2 / n2 print(answer)
18
train
mathqa_geometry.json
rectangular tile each of size 20 cm by 30 cm must be laid horizontally on a rectangular floor of size 100 cm by 150 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 = 20.0 n1 = 30.0 n2 = 100.0 n3 = 150.0 t0 = n2 * n3 t1 = n0 * n1 answer = t0 / t1 print(answer)
25
train
mathqa_geometry.json
the length of a rectangular field is 7 / 5 its width . if the perimeter of the field is 336 meters , what is the width of the field ?
n0 = 7.0 n1 = 5.0 n2 = 336.0 t0 = n0 / n1 t1 = t0 + t0 t2 = t1 + 2.0 answer = n2 / t2 print(answer)
70
train
mathqa_geometry.json
the mass of 1 cubic meter of a substance is 200 kg under certain conditions . what is the volume in cubic centimeters of 1 gram of this substance under these conditions ? ( 1 kg = 1,000 grams and 1 cubic meter = 1 , 000,000 cubic centimeters )
n0 = 1.0 n1 = 200.0 n2 = 1.0 n3 = 1.0 n4 = 1000.0 n5 = 1.0 n6 = 1.0 n7 = 0.0 t0 = 1000.0 * 1000.0 t1 = n1 * 1000.0 answer = t0 / t1 print(answer)
5
train
mathqa_geometry.json
a rectangular field is to be fenced on three sides leaving a side of 8 feet uncovered . if the area of the field is 680 sq . ft , how many feet of fencing will be required ?
n0 = 8.0 n1 = 680.0 t0 = n1 / n0 t1 = t0 * 2.0 answer = n0 + t1 print(answer)
178
train
mathqa_geometry.json
smita was making a cube with dimensions 5 * 5 * 5 using 1 * 1 * 1 cubes . what is the number of cubes needed to make a 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**3 t1 = 3.0**3 answer = t0 - t1 print(answer)
98
train
mathqa_geometry.json
find the area of the quadrilateral of one of its diagonals is 15 cm and its off sets 6 cm and 4 cm ?
n0 = 15.0 n1 = 6.0 n2 = 4.0 t0 = n1 + n2 t1 = 1.0 / 2.0 t2 = t0 * t1 answer = n0 * t2 print(answer)
75
train
mathqa_geometry.json
a cubical block of metal weighs 6 pounds . how much will another cube of the same metal weigh if its sides are twice as long ?
n0 = 6.0 t0 = 2.0 * 4.0 answer = n0 * t0 print(answer)
48
train
mathqa_geometry.json
if the volume of two cubes are in the ratio 64 : 1 , the ratio of their edges is :
n0 = 64.0 n1 = 1.0 answer = n0**(1 / 3) print(answer)
3.9999999999999996
train
mathqa_geometry.json
four horses are tethered at four corners of a square plot of side 63 metres so that they just can not reach one another . the area left ungrazed is :
n0 = 63.0 t0 = n0 / 2.0 t1 = n0 * n0 t2 = 0.25 * 4.0 t3 = t2 * 3.141592653589793 t4 = t0 * t3 t5 = t0 * t4 answer = t1 - t5 print(answer)
851.7546894755278
train
mathqa_geometry.json
a cubic object 3 ' ' x 3 ' ' x 3 ' ' is painted blue on all the outside surfaces , including the top and bottom . if the cube is cut into 27 cubes of 1 ' ' x 1 ' ' x 1 ' ' , how many 1 ' ' cubes do have any painted surfaces ?
n0 = 3.0 n1 = 3.0 n2 = 3.0 n3 = 27.0 n4 = 1.0 n5 = 1.0 n6 = 1.0 n7 = 1.0 answer = n3 - 1.0 print(answer)
26
train
mathqa_geometry.json
rectangle a has sides a and b , and rectangle b has sides c and d . if a / c = b / d = 3 / 5 , what is the ratio of rectangle a ’ s area to rectangle b ’ s area ?
n0 = 3.0 n1 = 5.0 t0 = n0**min(2.0, 5) t1 = n1**min(2.0, 5) answer = t0 / t1 print(answer)
0.36
train
mathqa_geometry.json
the area of a square field is 4802 m ( power ) 2 the length of its diagonal is :
import math n0 = 4802.0 n1 = 2.0 t0 = math.sqrt(max(0, n0)) t1 = math.sqrt(max(0, n1)) answer = t0 * t1 print(answer)
98.00000000000001
train
mathqa_geometry.json
the area of the house of a hall is 20 m 2 that of a longer wall 10 m 2 and of the shorter wall 8 m 2 , find the edge of the new cube ?
n0 = 20.0 n1 = 2.0 n2 = 10.0 n3 = 2.0 n4 = 8.0 n5 = 2.0 t0 = n0 * n2 t1 = n1 * t0 answer = t1 / n2 print(answer)
40
train
mathqa_geometry.json
find the surface area of a 8 cm x 4 cm x 2 cm brick .
n0 = 8.0 n1 = 4.0 n2 = 2.0 answer = 2 * (n0 * n1 + n0 * n2 + n1 * n2) # surface of a rectangular prism print(answer)
112
train
mathqa_geometry.json
the length of a rectangle is reduced by 22 % . by what % would the width have to be increased to maintainthe original area ?
n0 = 22.0 t0 = 100.0 - n0 t1 = t0 / 100.0 t2 = 1.0 - t1 t3 = t2 / t1 answer = t3 * 100.0 print(answer)
28.2051282051282
train
mathqa_geometry.json
if the difference between the length and breadth of a rectangle is 23 m and its perimeter is 226 m , what is its area ?
n0 = 23.0 n1 = 226.0 t0 = n0 * 2.0 t1 = n1 - t0 t2 = t1 / 4.0 t3 = n0 + t2 answer = t3 * t2 # area of rectangle print(answer)
3060
train
mathqa_geometry.json
frank the fencemaker needs to fence in a rectangular yard . he fences in the entire yard , except for one full side of the yard , which equals 40 feet . the yard has an area of 320 square feet . how many feet offence does frank use ?
n0 = 40.0 n1 = 320.0 t0 = n1 / n0 t1 = t0 + t0 answer = n0 + t1 print(answer)
56
train
mathqa_geometry.json
the floor of a rectangular room is 15 m long and 12 m wide . the room is surrounded by a verandah of width 2 m on all its sides . the area of the verandah is :
n0 = 15.0 n1 = 12.0 n2 = 2.0 t0 = n2 * 2.0 t1 = n0 * n1 # area of rectangle t2 = n0 + t0 t3 = n1 + t0 t4 = t2 * t3 # area of rectangle answer = t4 - t1 print(answer)
124
train
mathqa_geometry.json
the side of a rhombus is 20 m and length of one of its diagonals is 16 m . the area of the rhombus is ?
import math n0 = 20.0 n1 = 16.0 t0 = n0 * 2.0 t1 = n1**min(2.0, 5) t2 = t0**min(2.0, 5) t3 = t2 - t1 t4 = math.sqrt(max(0, t3)) t5 = n1 * t4 answer = t5 / 2.0 print(answer)
293.28484447717375
train
mathqa_geometry.json
the length of a rectangle is halved , while its breadth is tripled . whatis the % change in area ?
t0 = 1.0 / 2.0 t1 = t0 * 3.0 t2 = t1 - 1.0 t3 = t2 / 1.0 answer = t3 * 100.0 print(answer)
50
train
mathqa_geometry.json
a metallic sheet is of rectangular shape with dimensions 50 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 8 m , the volume of the box ( in m 3 ) is :
n0 = 50.0 n1 = 36.0 n2 = 8.0 n3 = 3.0 t0 = n2 * 2.0 t1 = n0 - t0 t2 = n1 - t0 answer = n2 * t1 * t2 print(answer)
5440
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 21 - inch screen would be how many square inches greater than the area of a square 17 - inch screen ?
n0 = 21.0 n1 = 17.0 t0 = n0**min(2.0, 5) t1 = n1**min(2.0, 5) t2 = t0 - t1 answer = t2 / 2.0 print(answer)
76
train
mathqa_geometry.json
a rectangular field is to be fenced on three sides leaving a side of 10 feet uncovered . if the area of the field is 600 sq . ft , how many feet of fencing will be required ?
n0 = 10.0 n1 = 600.0 t0 = n1 / n0 t1 = t0 * 2.0 answer = n0 + t1 print(answer)
130
train
mathqa_geometry.json
how many cubes of edge 2 dm can be cut out of a meter cube ?
n0 = 2.0 t0 = 10.0**3 t1 = n0**3 answer = t0 / t1 print(answer)
125
train
mathqa_geometry.json
a snooker tournament charges $ 40.00 for vip seats and $ 10.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 = 10.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)
148
train
mathqa_geometry.json
the area of sector of a circle whose radius is 12 metro and whose angle at the center is 39 ° is ?
n0 = 12.0 n1 = 39.0 t0 = 3.0 + 4.0 t1 = 3600.0 / 10.0 t2 = 10.0 * 2.0 t3 = n0**min(2.0, 5) t4 = t2 + 2.0 t5 = n1 / t1 t6 = t4 / t0 t7 = t6 * t3 answer = t5 * t7 print(answer)
49.02857142857143
train
mathqa_geometry.json
30 square stone slabs of equal size were needed to cover a floor area of 67.5 sq . m . find the length of each stone slab ?
import math n0 = 30.0 n1 = 67.5 t0 = n1 / n0 t1 = math.sqrt(max(0, t0)) answer = t1 * 100.0 print(answer)
150
train
mathqa_geometry.json
a gardener changed the size of his rectangle shaped garden by increasing it ' s length by 40 % & decreasing is ' s width by 20 % . find area of new garden .
n0 = 40.0 n1 = 20.0 t0 = n0 + 100.0 t1 = 100.0 - n1 t2 = t0 / 100.0 t3 = t1 / 100.0 answer = t2 * t3 print(answer)
1.1199999999999999
train
mathqa_geometry.json
in a rectangular coordinate system , what is the area of a rhombus whose vertices have the coordinates ( 0 , 3.5 ) , ( 11 , 0 ) , ( 0 , - 3.5 ) , ( - 11 , 0 ) ?
n0 = 0.0 n1 = 3.5 n2 = 11.0 n3 = 0.0 n4 = 0.0 n5 = 3.5 n6 = 11.0 n7 = 0.0 t0 = n2 * 2.0 t1 = n1 * 2.0 answer = t0 * t1 / 2 print(answer)
77
train
mathqa_geometry.json
the area of a triangle is with base 8.4 m and height 5.8 m ?
n0 = 8.4 n1 = 5.8 answer = n0 * n1 / 2 print(answer)
24.36
train
mathqa_geometry.json
the length of the rectangular field is double its width . inside the field there is square shaped pond 8 m long . if the area of the pond is 1 / 2 of the area of the field . what is the length of the field ?
import math n0 = 8.0 n1 = 1.0 n2 = 2.0 t0 = 1 / 2.0 t1 = n0**2 t2 = n2 * t1 t3 = t2 / t0 answer = math.sqrt(max(0, t3)) print(answer)
16
train
mathqa_geometry.json
what will be the cost of building a fence around a square plot with area equal to 36 sq ft , if the price per foot of building the fence is rs . 58 ?
import math n0 = 36.0 n1 = 58.0 t0 = math.sqrt(max(0, n0)) t1 = 4 * t0 answer = n1 * t1 print(answer)
1392
train
mathqa_geometry.json
a goat is tied to one corner of a square plot of side 12 m by a rope 7 m long . find the area it can graze ?
import math n0 = 12.0 n1 = 7.0 t0 = math.pi * n1**2 answer = t0 / 4.0 print(answer)
38.48451000647496
train
mathqa_geometry.json
the cube root of . 000343 is
n0 = 343.0 t0 = n0 / 1000.0 t1 = 1.0 / 3.0 t2 = t0 / 1000.0 answer = t2**min(t1, 5) print(answer)
0.07
train
mathqa_geometry.json
how many pieces can a square pizza be cut into by making 4 linear cuts ?
n0 = 4.0 t0 = n0 * 3.0 answer = t0 - 1.0 print(answer)
11
train
mathqa_geometry.json
a rectangular swimming pool is 10 feet by 12 feet . a deck that has uniform width surrounds the pool . the total area of the pool and deck is 360 square feet . what is the width of the deck ?
import math n0 = 10.0 n1 = 12.0 n2 = 360.0 t0 = n0 * n1 # area of rectangle t1 = n1 - 1.0 t2 = t1**min(2.0, 5) t3 = n2 - t0 t4 = t2 + t3 t5 = math.sqrt(max(0, t4)) t6 = t5 - t1 answer = t6 / 2.0 print(answer)
4
train
mathqa_geometry.json
the dimensions of a room are 25 feet * 15 feet * 12 feet . what is the cost of white washing the four walls of the room at rs . 5 per square feet if there is one door of dimensions 6 feet * 3 feet and three windows of dimensions 4 feet * 3 feet each ?
n0 = 25.0 n1 = 15.0 n2 = 12.0 n3 = 5.0 n4 = 6.0 n5 = 3.0 n6 = 4.0 n7 = 3.0 t0 = n0 + n1 t1 = n2 * 2.0 t2 = n4 * n5 t3 = n5 * n6 t4 = t0 * t1 t5 = n5 * t3 t6 = t4 - t2 t7 = t6 - t5 answer = n3 * t7 print(answer)
4530
train
mathqa_geometry.json
two cylinders are of the same height . their radii are in the ratio 1 : 3 . if the volume of the first cylinder is 40 cc . find the volume of the second cylinder ?
n0 = 1.0 n1 = 3.0 n2 = 40.0 t0 = n1 * n1 answer = n2 * t0 print(answer)
360
train
mathqa_geometry.json
the volume of a cube is 3375 cc . find its surface .
n0 = 3375.0 t0 = n0**(1 / 3) answer = 6 * t0**2 # surface of a cube print(answer)
1349.9999999999995
train
mathqa_geometry.json
a rectangular farm has to be fenced one long side , one short side and the diagonal . if the cost of fencing is rs . 13 per meter . the area of farm is 1200 m 2 and the short side is 30 m long . how much would the job cost ?
import math n0 = 13.0 n1 = 1200.0 n2 = 2.0 n3 = 30.0 t0 = n1 / n3 t1 = n3**min(n2, 5) t2 = n3 + t0 t3 = t0**min(n2, 5) t4 = t1 + t3 t5 = math.sqrt(max(0, t4)) t6 = t2 + t5 answer = n0 * t6 print(answer)
1560
train
mathqa_geometry.json
a rectangular field is to be fenced on three sides leaving a side of 20 feet uncovered . if the area of the field is 50 sq . feet , how many feet of fencing will be required ?
n0 = 20.0 n1 = 50.0 t0 = n1 / n0 t1 = t0 * 2.0 answer = n0 + t1 print(answer)
25
train
mathqa_geometry.json
the diagonal of a rhombus are 65 m and 60 m . its area is :
n0 = 65.0 n1 = 60.0 answer = n0 * n1 / 2 print(answer)
1950
train
mathqa_geometry.json
find the perimeter of a triangle with sides measuring 5 centimeters , 20 centimeters and 30 centimeters .
n0 = 5.0 n1 = 20.0 n2 = 30.0 answer = n0 + n1 + n2 # perimeter of a triangle print(answer)
55
train
mathqa_geometry.json
if the height of a cone is increased by 130 % then its volume is increased by ?
n0 = 130.0 answer = n0 * 1.0 # area of rectangle print(answer)
130
train
mathqa_geometry.json
a cube of edge 17 cm is immersed completely in a rectangular vessel containing water . if the dimensions of the base of vessel are 20 cm * 15 cm , find the rise in water level ?
n0 = 17.0 n1 = 20.0 n2 = 15.0 t0 = n1 * n2 t1 = n0**3 answer = t1 / t0 print(answer)
16.376666666666665
train
mathqa_geometry.json
a box measuring 49 inches long by 42 inches wide by 14 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 = 49.0 n1 = 42.0 n2 = 14.0 t0 = n2 / 2.0 t1 = n0 * n1 t2 = n2 * t1 t3 = t0**3 answer = t2 / t3 print(answer)
84
train
mathqa_geometry.json
the height of cylinder is 14 cm and its diameter is 10 cm . the volume of the cylinder is :
import math n0 = 14.0 n1 = 10.0 t0 = n1 / 2.0 answer = math.pi * t0**2 * n0 print(answer)
1099.5574287564277
train
mathqa_geometry.json
the volume of a cube is 343 cc . find its surface .
n0 = 343.0 t0 = n0**(1 / 3) answer = 6 * t0**2 # surface of a cube print(answer)
293.9999999999999
train
mathqa_geometry.json
you buy a piece of land with an area of â ˆ š 1024 , how long is one side of the land plot ?
import math n0 = 1024.0 answer = math.sqrt(max(0, n0)) print(answer)
32
train
mathqa_geometry.json
the length of a rectangular plot is 10 mtr more than its width . the cost of fencing the plot along its perimeter at the rate of rs . 6.5 mtr is rs . 2210 . the perimeter of the plot is ?
n0 = 10.0 n1 = 6.5 n2 = 2210.0 t0 = n2 / n1 t1 = t0 / 2.0 t2 = t1 - n0 t3 = t2 / 2.0 t4 = t3 + n0 t5 = t4 + t3 answer = t5 * 2.0 print(answer)
340
train
mathqa_geometry.json
if a rectangular billboard has an area of 104 square feet and a perimeter of 42 feet , what is the length of each of the shorter sides ?
import math n0 = 104.0 n1 = 42.0 t0 = n1 / 2.0 t1 = n0 * 4.0 t2 = t0**min(2.0, 5) t3 = t2 - t1 t4 = math.sqrt(max(0, t3)) t5 = t0 - t4 answer = t5 / 2.0 print(answer)
8
train
mathqa_geometry.json
what is the sum of the squares of the first 20 natural numbers ( 1 to 20 ) ?
n0 = 20.0 n1 = 1.0 n2 = 20.0 t0 = n0 + n1 t1 = n0 * 2.0 t2 = 2.0 * 3.0 t3 = n1 + t1 t4 = n0 * t0 t5 = t3 * t4 answer = t5 / t2 print(answer)
2870
train
mathqa_geometry.json
an error 2 % in excess is made while measuring the side of asquare . the % of error in the calculated area of the square is ?
n0 = 2.0 t0 = n0 + 100.0 t1 = 100.0**2 t2 = t0**2 t3 = t2 - t1 t4 = t3 * 100.0 answer = t4 / t1 print(answer)
4.04
train
mathqa_geometry.json
the area of a triangle is with base 4 m and height 8 m ?
n0 = 4.0 n1 = 8.0 answer = n0 * n1 / 2 print(answer)
16
train
mathqa_geometry.json
a trainer is standing in one corner of a square ground of side 25 m . his voice can be heard upto 140 m . find the area of the ground in which his voice can be heard ?
import math n0 = 25.0 n1 = 140.0 t0 = math.pi * n1**2 answer = t0 / 4.0 print(answer)
15393.804002589986
train
mathqa_geometry.json
in a rectangular coordinate system , what is the area of a rectangle whose vertices have the coordinates ( - 3 , 1 ) , ( 1 , 1 ) , ( 1 , - 2 ) and ( - 3 , - 2 ) ?
n0 = 3.0 n1 = 1.0 n2 = 1.0 n3 = 1.0 n4 = 1.0 n5 = 2.0 n6 = 3.0 n7 = 2.0 t0 = n0 + n1 t1 = n1 + n5 answer = t0 * t1 print(answer)
12
train
mathqa_geometry.json
the perimeter of one face of a cube is 32 cm . its volume will be :
n0 = 32.0 t0 = n0 / 4. # square edge given perimeter answer = t0**3 print(answer)
512
train
mathqa_geometry.json
if paint costs $ 3.20 per quart , and a quart covers 10 square feet , how much will it cost to paint the outside of a cube 10 feet on each edge ?
n0 = 3.2 n1 = 10.0 n2 = 10.0 t0 = n0 / n1 t1 = 6 * n2**2 # surface of a cube answer = t0 * t1 print(answer)
192
train
mathqa_geometry.json
in a rectangular coordinate system , what is the area of a triangle whose vertices have the coordinates ( - 1 , 0 ) , ( 7 , 4 ) , and ( 7 , - 4 ) ?
n0 = 1.0 n1 = 0.0 n2 = 7.0 n3 = 4.0 n4 = 7.0 n5 = 4.0 t0 = n0 + n2 t1 = n3 * t0 / 2 answer = t1 * 2.0 print(answer)
32
train
mathqa_geometry.json
in a new housing development , trees are to be planted along the sidewalk of a certain street . each tree takes up one square foot of sidewalk space , and there are to be 10 feet between each tree . how many trees can be planted if the road is 166 feet long ?
n0 = 10.0 n1 = 166.0 t0 = n0 + 1.0 t1 = n1 - 1.0 t2 = t1 / t0 answer = t2 + 1.0 print(answer)
16
train
mathqa_geometry.json
a cube is painted red on all faces . it is then cut into 27 equal smaller cubes . how many l cubes are painted on only 2 faces ?
n0 = 27.0 n1 = 2.0 t0 = 1.0 / 3.0 t1 = n0**min(t0, 5) answer = t1 * 4.0 print(answer)
12
train
mathqa_geometry.json
if the sides of a triangle are 78 cm , 72 cm and 30 cm , what is its area ?
n0 = 78.0 n1 = 72.0 n2 = 30.0 t0 = n1 * n2 answer = t0 / 2.0 print(answer)
1080
train
mathqa_geometry.json
the slant height of a cone is 22 cm and radius of the base is 7 cm , find the curved surface of the cone ?
n0 = 22.0 n1 = 7.0 t0 = n1 * 3.141592653589793 answer = n0 * t0 print(answer)
483.80526865282815
train
mathqa_geometry.json
the length of a rectangular plot is 10 mtr more than its width . the cost of fencing the plot along its perimeter at the rate of rs . 6.5 mtr is rs . 1170 . the perimeter of the plot is ?
n0 = 10.0 n1 = 6.5 n2 = 1170.0 t0 = n2 / n1 t1 = t0 / 2.0 t2 = t1 - n0 t3 = t2 / 2.0 t4 = t3 + n0 t5 = t4 + t3 answer = t5 * 2.0 print(answer)
180
train
mathqa_geometry.json
there are two circles of different radii . the are of a square is 784 sq cm and its side is twice the radius of the larger circle . the radius of the larger circle is 7 - third that of the smaller circle . find the circumference of the smaller circle .
import math n0 = 784.0 t0 = 3.0 + 4.0 t1 = math.sqrt(n0) # square edge given area t2 = t1 / 2.0 t3 = t0 / 3.0 t4 = t2 / t3 answer = t4 + 2.0 print(answer)
8
train
mathqa_geometry.json
if the diameter of circle r is 80 % of the diameter of circle s , the area of circle r is what percent of the area of circle s ?
import math n0 = 80.0 t0 = math.pi * n0**2 t1 = math.pi * 100.0**2 t2 = t0 * 100.0 answer = t2 / t1 print(answer)
64
train
mathqa_geometry.json
find the perimeter and area of a square of side 9 cm .
n0 = 9.0 answer = n0**2 print(answer)
81
train
mathqa_geometry.json
some students are standing in a circle in which 6 th and the 16 th student are standing opposite to each other . find how many students were present there .
n0 = 6.0 n1 = 16.0 t0 = n1 - n0 answer = t0 * 2.0 print(answer)
20
train
mathqa_geometry.json
the length of a rectangle is two - fifths of the radius of a circle . the radius of the circle is equal to the side of the square , whose area is 3025 sq . units . what is the area ( in sq . units ) of the rectangle if the rectangle if the breadth is 10 units ?
import math n0 = 3025.0 n1 = 10.0 t0 = n1 / 2.0 t1 = math.sqrt(max(0, n0)) t2 = t1 / t0 t3 = t2 * 2.0 answer = n1 * t3 print(answer)
220
train
mathqa_geometry.json
how much space , in cubic units , is left vacant when maximum number of 4 x 4 x 4 cubes are fitted in a rectangular box measuring 10 x 12 x 16 ?
n0 = 4.0 n1 = 4.0 n2 = 4.0 n3 = 10.0 n4 = 12.0 n5 = 16.0 t0 = n4 * n5 t1 = n0 * 2.0 t2 = n3 - t1 answer = t0 * t2 print(answer)
384
train
mathqa_geometry.json
the length of a rectangle is two - fifths of the radius of a circle . the radius of the circle is equal to the side of the square , whose area is 1600 sq . units . what is the area ( in sq . units ) of the rectangle if the rectangle if the breadth is 10 units ?
import math n0 = 1600.0 n1 = 10.0 t0 = n1 / 2.0 t1 = math.sqrt(max(0, n0)) t2 = t1 / t0 t3 = t2 * 2.0 answer = n1 * t3 print(answer)
160
train
mathqa_geometry.json
the length of the rectangular field is double its width . inside the field there is square shaped pond 8 m long . if the area of the pond is 1 / 98 of the area of the field . what is the length of the field ?
import math n0 = 8.0 n1 = 1.0 n2 = 98.0 t0 = 1 / 2.0 t1 = n0**2 t2 = n2 * t1 t3 = t2 / t0 answer = math.sqrt(max(0, t3)) print(answer)
112
train
mathqa_geometry.json
a rectangular courtyard 3.78 meters long 5.25 meters 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 / 2.0 t2 = t1 / 3.0 t3 = t2 / 3.0 t4 = t3 / 3.0 t5 = t3 / t4 answer = t5 * t4 print(answer)
21
train
mathqa_geometry.json
a lady builds 10 cm length , 13 cm width , and 5 cm height box using 5 cubic cm cubes . what is the minimum number of cubes required to build the box ?
n0 = 10.0 n1 = 13.0 n2 = 5.0 n3 = 5.0 t0 = n0 * n1 t1 = n2 * t0 answer = t1 / n3 print(answer)
130
train
mathqa_geometry.json
if the area of a square with sides of length 8 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 = 8.0 n1 = 4.0 t0 = n0**min(2.0, 5) answer = t0 / n1 print(answer)
16
train
mathqa_geometry.json
a clockwise rotation around point z ( that is , a rotation in the direction of the arrow ) transforms the shaded quadrilateral to the unshaded quadrilateral . the angle of rotation is approximately
t0 = 3600.0 / 10.0 t1 = t0 / 4.0 answer = t0 - t1 print(answer)
270
train
mathqa_geometry.json
what is the area of square field whose side of length 14 m ?
n0 = 14.0 answer = n0**2 print(answer)
196
train
mathqa_geometry.json
of the two square fields , the area of the one is 1 hectare , while anothe one is broader by 1 % . there differences in area is :
import math n0 = 1.0 n1 = 1.0 t0 = 10.0 * 1000.0 t1 = math.sqrt(max(0, t0)) t2 = n0 + t1 t3 = t2**2 answer = t3 - t0 print(answer)
201
train
mathqa_geometry.json
there is a rectangular prism made of 1 in cubes that has been covered in tin foil . there are exactly 128 cubes that are not touching any tin foil on any of their sides . if the width of the figure created by these 128 cubes is twice the length and twice the height , what is the measure q in inches of the width of the foil covered prism ?
n0 = 1.0 n1 = 128.0 n2 = 128.0 t0 = 1 / 3.0 t1 = n0 * 2.0 t2 = n0 * t1 t3 = n1 / t2 t4 = t3**min(t0, 5) t5 = t1 * t4 answer = t5 + t1 print(answer)
10
train
mathqa_geometry.json
a spirit and water solution is sold in a market . the cost per liter of the solution is directly proportional to the part ( fraction ) of spirit ( by volume ) the solution has . a solution of 1 liter of spirit and 1 liter of water costs 60 cents . how many cents does a solution of 1 liter of spirit and 2 liters of water cost ?
n0 = 1.0 n1 = 1.0 n2 = 60.0 n3 = 1.0 n4 = 2.0 t0 = n0 + n4 t1 = n0 / t0 t2 = n2 * t1 answer = t0 * t2 print(answer)
60
train
mathqa_geometry.json
the diagonals of a rhombus are 14 cm and 20 cm . find its area ?
n0 = 14.0 n1 = 20.0 answer = n0 * n1 / 2 print(answer)
140
train
mathqa_geometry.json
the volume of a cube is 1331 cc . find its surface .
n0 = 1331.0 t0 = n0**(1 / 3) answer = 6 * t0**2 # surface of a cube print(answer)
725.9999999999998
train
mathqa_geometry.json
a football field is 9600 square yards . if 1200 pounds of fertilizer are spread evenly across the entire field , how many pounds of fertilizer were spread over an area of the field totaling 5600 square yards ?
n0 = 9600.0 n1 = 1200.0 n2 = 5600.0 t0 = n1 / n0 answer = n2 * t0 print(answer)
700
train
mathqa_geometry.json
the perimeter of one face of a cube is 20 cm . its volume will be :
n0 = 20.0 t0 = n0 / 4. # square edge given perimeter answer = t0**3 print(answer)
125
train
mathqa_geometry.json
a square mirror has exactly half the area of the rectangular wall on which it is hung . if each side of the mirror is 18 inches and the width of the wall is 32 inches , what is the length of the wall , in inches ?
n0 = 18.0 n1 = 32.0 t0 = n0**2 t1 = t0 * 2.0 answer = t1 / n1 print(answer)
20.25
train
mathqa_geometry.json
what will be the cost of building a fence around a square plot with area equal to 144 sq ft , if the price per foot of building the fence is rs . 58 ?
import math n0 = 144.0 n1 = 58.0 t0 = math.sqrt(max(0, n0)) t1 = 4 * t0 answer = n1 * t1 print(answer)
2784
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 900 feet squared , what is the difference between the length and the width of the roof ?
import math n0 = 4.0 n1 = 900.0 t0 = n1 / n0 t1 = math.sqrt(max(0, t0)) t2 = t1 * 4.0 answer = t2 - t1 print(answer)
45
train
mathqa_geometry.json
the surface area of a sphere is 4 π r 2 , where r is the radius of the sphere . if the area of the base of a hemisphere is 3 , what is the surface area q of that hemisphere ?
n0 = 4.0 n1 = 2.0 n2 = 3.0 t0 = n2 / 3.141592653589793 t1 = n0 * 3.141592653589793 t2 = t0 * t1 t3 = t0 * 3.141592653589793 t4 = t2 / n1 answer = t4 + t3 print(answer)
9
train
mathqa_geometry.json
in right triangle abc , ac is the hypotenuse . if ac is 50 and ab + bc = 70 , what is the area of the triangle abc ?
import math n0 = 50.0 n1 = 70.0 t0 = 10.0 * 3.0 t1 = 10.0 * 4.0 answer = (lambda s, a, b, c: math.sqrt(max(0, s * (s - a) * (s - b) * (s - c))))((n0 + t0 + t1) / 2, n0, t0, t1) # Heron's formula print(answer)
600
train
mathqa_geometry.json