input
stringlengths 5
9.74k
| output_program
stringlengths 15
908
| output_answer
stringlengths 1
1.34k
| split
stringclasses 2
values | dataset
stringclasses 10
values |
|---|---|---|---|---|
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 ?
|
n0 = 60.0
n1 = 45.0
t0 = n0 / 3.0
t1 = n1 - t0
answer = t1 - t0
print(answer)
|
5
|
train
|
mathqa_geometry.json
|
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 .
|
import math
n0 = 12.0
n1 = 4.0
n2 = 80.0
t0 = n2 / n1
t1 = n0**min(2.0, 5)
t2 = t0**min(2.0, 5)
t3 = t2 - t1
answer = math.sqrt(max(0, t3))
print(answer)
|
16
|
train
|
mathqa_geometry.json
|
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 ?
|
import math
n0 = 6.0
n1 = 8.0
t0 = n0**min(2.0, 5)
t1 = n1**min(2.0, 5)
t2 = t0 + t1
answer = math.sqrt(max(0, t2))
print(answer)
|
10
|
train
|
mathqa_geometry.json
|
four equal circles are described about the four corners of a square so that each touches two of the others . if a side of the square is 14 cm , then the area enclosed between the circumferences of the circles is :
|
import math
n0 = 14.0
t0 = n0 / 2.0
t1 = n0**2
t2 = math.pi * t0**2
answer = t1 - t2
print(answer)
|
42.06195997410015
|
train
|
mathqa_geometry.json
|
george ' s car calls for 8 ounces of oil for each cylinder used . his car ' s engine has 6 cylinders . if 16 ounces of oil has already been put into the engine used , then how many additional ounces of oil are needed ?
|
n0 = 8.0
n1 = 6.0
n2 = 16.0
t0 = n0 * n1
answer = t0 - n2
print(answer)
|
32
|
train
|
mathqa_geometry.json
|
what is the area of square field whose side of length 13 m ?
|
n0 = 13.0
answer = n0**2
print(answer)
|
169
|
train
|
mathqa_geometry.json
|
the number 219 can be written as sum of the squares of 3 different positive integers . what is the sum of these 3 different integers ?
|
import math
n0 = 219.0
n1 = 3.0
n2 = 3.0
t0 = n0 / 2.0
t1 = math.sqrt(max(0, t0))
answer = t1 * 2.0
print(answer)
|
20.92844953645635
|
train
|
mathqa_geometry.json
|
eight cubes , each with a volume of 512 cm ^ 3 , are joined to form one large cube . what is the surface area of the large cube ?
|
n0 = 512.0
n1 = 3.0
t0 = 2.0 * 4.0
t1 = n0 * t0
t2 = t1**(1 / 3)
answer = 6 * t2**2 # surface of a cube
print(answer)
|
1535.9999999999995
|
train
|
mathqa_geometry.json
|
the length of a rectangle is twice its breadth . if its lengthis decreased by 5 cm & breadth is increased by 5 cm , the area of the rectangle is increased by 75 sq . cm . what is the length of the rectangle ?
|
n0 = 5.0
n1 = 5.0
n2 = 75.0
t0 = n0 * n0
t1 = n0 * 2.0
t2 = n2 + t0
t3 = t1 - n0
t4 = t2 / t3
answer = t4 * 2.0
print(answer)
|
40
|
train
|
mathqa_geometry.json
|
a cube of edge 12 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 = 12.0
n1 = 20.0
n2 = 15.0
t0 = n1 * n2
t1 = n0**3
answer = t1 / t0
print(answer)
|
5.76
|
train
|
mathqa_geometry.json
|
a rectangular floor that measures 24 meters by 64 meters is to be covered with carpet squares that each measure 8 meters by 8 meters . if the carpet squares cost $ 24 apiece , what is the total cost for the number of carpet squares needed to cover the floor ?
|
n0 = 24.0
n1 = 64.0
n2 = 8.0
n3 = 8.0
n4 = 24.0
answer = n0 * n0
print(answer)
|
576
|
train
|
mathqa_geometry.json
|
a rectangular lawn of dimensions 80 m * 40 m has two roads each 10 m wide running in the middle of the lawn , one parallel to the length and the other parallel to the breadth . what is the cost of traveling the two roads at rs . 3 per sq m ?
|
n0 = 80.0
n1 = 40.0
n2 = 10.0
n3 = 3.0
t0 = n0 + n1
t1 = t0 - n2
t2 = n2 * t1
answer = n3 * t2
print(answer)
|
3300
|
train
|
mathqa_geometry.json
|
can c and can в are both right circular cylinders . the radius of can c is twice the radius of can b , while the height of can c 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 c with the same brand of gasoline ?
|
n0 = 4.0
t0 = n0 * 2.0
answer = t0 * 2.0
print(answer)
|
16
|
train
|
mathqa_geometry.json
|
a cubical block of metal weighs 8 pounds . how much will another cube of the same metal weigh if its sides are twice as long ?
|
n0 = 8.0
t0 = 2.0 * 4.0
answer = n0 * t0
print(answer)
|
64
|
train
|
mathqa_geometry.json
|
the area of a rhombus is equal to the area of a square whose side length is 8 cm . if one of the diagonals is 16 cm what is the length of other diagonal ?
|
n0 = 8.0
n1 = 16.0
t0 = n0**2
t1 = t0 * 2.0
answer = t1 / n1
print(answer)
|
8
|
train
|
mathqa_geometry.json
|
cuboid volume and base area are 144 m ^ 3 and 18 m ^ 3 respectively . find the height of a cuboid ?
|
n0 = 144.0
n1 = 3.0
n2 = 18.0
n3 = 3.0
answer = n0 / n2
print(answer)
|
8
|
train
|
mathqa_geometry.json
|
a cubical block of metal weighs 4 pounds . how much will another cube of the same metal weigh if its sides are twice as long ?
|
n0 = 4.0
t0 = 2.0 * 4.0
answer = n0 * t0
print(answer)
|
32
|
train
|
mathqa_geometry.json
|
if the length of the sides of two cubes are in the ratio 4 : 1 , what is the ratio of their total surface area ?
|
n0 = 4.0
n1 = 1.0
answer = n0 * n0
print(answer)
|
16
|
train
|
mathqa_geometry.json
|
a rectangular grass field is 85 m * 55 m , it has a path of 2.5 m wide all round it on the outside . find the area of the path and the cost of constructing it at rs . 2 per sq m ?
|
n0 = 85.0
n1 = 55.0
n2 = 2.5
n3 = 2.0
t0 = n2 * n3
t1 = n0 * n1 # area of rectangle
t2 = n0 + t0
t3 = n1 + t0
t4 = t2 * t3 # area of rectangle
t5 = t4 - t1
answer = n3 * t5
print(answer)
|
1450
|
train
|
mathqa_geometry.json
|
the diagonal of a rhombus are 25 m and 50 m . its area is :
|
n0 = 25.0
n1 = 50.0
answer = n0 * n1 / 2
print(answer)
|
625
|
train
|
mathqa_geometry.json
|
the diameter of a cylindrical tin is 14 cm and height is 5 cm . find the volume of the cylinder ?
|
import math
n0 = 14.0
n1 = 5.0
t0 = n0 / 2.0
t1 = math.pi * t0**2 * n1
answer = t1 / 3.141592653589793
print(answer)
|
245
|
train
|
mathqa_geometry.json
|
the water level in a rectangular swimming pool measuring 40 feet by 25 feet is to be lowered by 6 inches . how many gallons of water must be removed ? ( 1 cu ft = 7.5 gallons )
|
n0 = 40.0
n1 = 25.0
n2 = 6.0
n3 = 1.0
n4 = 7.5
t0 = 10.0 + 2.0
t1 = n2 / t0
t2 = n0 * n1 * t1
answer = n4 * t2
print(answer)
|
3750
|
train
|
mathqa_geometry.json
|
the volume of a cube is 1728 cc . find its surface .
|
n0 = 1728.0
t0 = n0**(1 / 3)
answer = 6 * t0**2 # surface of a cube
print(answer)
|
863.9999999999997
|
train
|
mathqa_geometry.json
|
the length of rectangle is thrice its breadth and its perimeter is 40 m , find the area of the rectangle ?
|
n0 = 40.0
t0 = 2.0 * 3.0
t1 = 1.0 * 2.0
t2 = t0 + t1
t3 = n0 / t2
t4 = t3 * 3.0
answer = t3 * t4
print(answer)
|
75
|
train
|
mathqa_geometry.json
|
a 25 cm wide path is to be made around a circular garden having a diameter of 4 meters . approximate area of the path is square meters is ?
|
import math
n0 = 25.0
n1 = 4.0
t0 = n1 / 2.0
t1 = n0 / 100.0
t2 = t0 + t1
t3 = math.pi * t0**2
t4 = math.pi * t2**2
answer = t4 - t3
print(answer)
|
3.3379421944391545
|
train
|
mathqa_geometry.json
|
a circular swimming pool is surrounded by a concrete wall 4 ft wide . if the area of the concrete wall surrounding the pool is 11 / 25 that of the pool , then the radius of the pool is ?
|
import math
n0 = 4.0
n1 = 11.0
n2 = 25.0
t0 = n1 / n2
t1 = n0 * 2.0
t2 = n0**min(2.0, 5)
t3 = t0 * n0
t4 = t1**min(2.0, 5)
t5 = t3 * t2
t6 = t5 + t4
t7 = math.sqrt(max(0, t6))
t8 = t1 + t7
t9 = t8 / t0
answer = t9 / 2.0
print(answer)
|
20
|
train
|
mathqa_geometry.json
|
a certain rectangular crate measures 12 feet by 16 feet by 18 feet . a cylindrical gas tank is to be made for shipment in the crate and will stand upright when the crate is placed on one of its six faces . what should the radius of the tank be if it is to be of the largest possible volume ?
|
import math
n0 = 12.0
n1 = 16.0
n2 = 18.0
t0 = n1 / 2.0
t1 = n0 * 3.141592653589793
t2 = math.pi * t0**2 * n0
t3 = t2 / t1
answer = math.sqrt(max(0, t3))
print(answer)
|
8
|
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 . 910 . the perimeter of the plot is ?
|
n0 = 10.0
n1 = 6.5
n2 = 910.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)
|
140
|
train
|
mathqa_geometry.json
|
what will be the ratio between the area of a rectangle and the area of a triangle with one of the sides of rectangle as base and a vertex on the opposite side of rectangle .
|
t0 = 1.0 * 1.0 # area of rectangle
t1 = t0 * t0 / 2
answer = t0 / t1
print(answer)
|
2
|
train
|
mathqa_geometry.json
|
a man walking at the rate of 6 km per hour crosses a square field diagonally in 9 seconds the area of the field is
|
n0 = 6.0
n1 = 9.0
t0 = n0 * 1000.0
t1 = 10.0 * 360.0
t2 = t0 / t1
t3 = n1 * t2
t4 = t3**min(2.0, 5)
answer = t4 / 2.0
print(answer)
|
112.5
|
train
|
mathqa_geometry.json
|
the area of a triangle is with base 4 m and height 5 m ?
|
n0 = 4.0
n1 = 5.0
answer = n0 * n1 / 2
print(answer)
|
10
|
train
|
mathqa_geometry.json
|
the side of a square is increased by 25 % then how much % does its area increases ?
|
n0 = 25.0
t0 = n0 + 100.0
t1 = 100.0**2
t2 = t0**2
t3 = t2 - t1
t4 = t3 * 100.0
answer = t4 / t1
print(answer)
|
56.25
|
train
|
mathqa_geometry.json
|
hall is 15 m long and 12 m broad . if the sum of the areas of the floor and the ceiling is equal to the sum of the areas of four walls , the volume of the hall is :
|
n0 = 15.0
n1 = 12.0
t0 = n0 + n1
t1 = n0 * n1
t2 = t1 * 2.0
t3 = t0 * 2.0
t4 = t2 / t3
answer = t4 * t1
print(answer)
|
1200
|
train
|
mathqa_geometry.json
|
abcd is a square . f and e are the midpoints of sides ad and cd , respectively . the area of triangle fed is 2 square inches . what is the area of square abcd ( in square inches ) ?
|
n0 = 2.0
t0 = n0 * 2.0
answer = t0 * 4.0
print(answer)
|
16
|
train
|
mathqa_geometry.json
|
the length of a rectangular plot is thrice its breadth . if the area of the rectangular plot is 972 sq m , then what is the breadth of the rectangular plot ?
|
import math
n0 = 972.0
t0 = n0 / 3.0
answer = math.sqrt(max(0, t0))
print(answer)
|
18
|
train
|
mathqa_geometry.json
|
if the radius of a circle is increased by 12 % , then the area of the circle
|
n0 = 12.0
t0 = n0 / 100.0
t1 = t0 + 1.0
t2 = t1**min(2.0, 5)
t3 = t2 - 1.0
answer = t3 * 100.0
print(answer)
|
25.44000000000002
|
train
|
mathqa_geometry.json
|
in a rectangular coordinate system , what is the area of a rhombus whose vertices have the coordinates ( 0 , 3.5 ) , ( 7 , 0 ) , ( 0 , - 3.5 ) , ( - 7 , 0 ) ?
|
n0 = 0.0
n1 = 3.5
n2 = 7.0
n3 = 0.0
n4 = 0.0
n5 = 3.5
n6 = 7.0
n7 = 0.0
t0 = n2 * 2.0
t1 = n1 * 2.0
answer = t0 * t1 / 2
print(answer)
|
49
|
train
|
mathqa_geometry.json
|
the surface area of a sphere is same as the curved surface area of a right circular cylinder whose height and diameter are 6 cm each . the radius of the sphere is
|
import math
n0 = 6.0
t0 = n0 / 2.0
t1 = 4.0 * 3.141592653589793
t2 = n0 * t0
t3 = t2 * 3.141592653589793
t4 = t3 * 2.0
t5 = t4 / t1
answer = math.sqrt(max(0, t5))
print(answer)
|
3
|
train
|
mathqa_geometry.json
|
the area of a triangle is with base 8 m and height 4 m ?
|
n0 = 8.0
n1 = 4.0
answer = n0 * n1 / 2
print(answer)
|
16
|
train
|
mathqa_geometry.json
|
a rectangular garden is to be twice as long as it is wide . if 900 yards of fencing , including the gate , will completely enclose the garden , what will be the length of the garden , in yards ?
|
n0 = 900.0
t0 = 1.0 + 2.0
t1 = t0 * 2.0
t2 = n0 / t1
answer = t2 * 2.0
print(answer)
|
300
|
train
|
mathqa_geometry.json
|
if each edge of a cube is doubled , then its volume :
|
answer = 2.0**min(3.0, 5)
print(answer)
|
8
|
train
|
mathqa_geometry.json
|
carmen made a sculpture from small pieces of wood . the sculpture is 2 feet 10 inches tall . carmen places her sculpture on a base that is 4 inches tall . how tall are the sculpture andbase together ?
|
n0 = 2.0
n1 = 10.0
n2 = 4.0
t0 = n0 + n1
t1 = n0 * t0
t2 = t1 + 10.0
t3 = n2 + t2
answer = t3 / t0
print(answer)
|
3.1666666666666665
|
train
|
mathqa_geometry.json
|
if the space diagonal of cube c is 5 inches long , what is the length , in inches , of the diagonal of the base of cube c ?
|
n0 = 5.0
answer = n0 * 1.0
print(answer)
|
5
|
train
|
mathqa_geometry.json
|
if the height of a cone is increased by 190 % then its volume is increased by ?
|
n0 = 190.0
answer = n0 * 1.0 # area of rectangle
print(answer)
|
190
|
train
|
mathqa_geometry.json
|
the parameter of a square is equal to the perimeter of a rectangle of length 16 cm and breadth 14 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 = 16.0
n1 = 14.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)
|
23.561944901923447
|
train
|
mathqa_geometry.json
|
you buy a piece of land with an area of â ˆ š 625 , how long is one side of the land plot ?
|
import math
n0 = 625.0
answer = math.sqrt(max(0, n0))
print(answer)
|
25
|
train
|
mathqa_geometry.json
|
a rectangular box 60 m long and 40 m wide has two concrete crossroads running in the middle of the box and rest of the box has been used as a lawn . the area of the lawn is 2109 sq . m . what is the width of the road ?
|
import math
n0 = 60.0
n1 = 40.0
n2 = 2109.0
t0 = n0 * n1
t1 = 100.0**min(2.0, 5)
t2 = t0 - n2
t3 = t2 * 4.0
t4 = t1 - t3
t5 = math.sqrt(max(0, t4))
t6 = 100.0 - t5
answer = t6 / 2.0
print(answer)
|
3
|
train
|
mathqa_geometry.json
|
in the xy - plane , a triangle has vertices ( 0,0 ) , ( 4,0 ) and ( 4,10 ) . if a point ( a , b ) is selected at random from the triangular region , what is the probability that a - b > 0 ?
|
n0 = 0.0
n1 = 0.0
n2 = 4.0
n3 = 0.0
n4 = 4.0
n5 = 10.0
n6 = 0.0
t0 = n0 + 10.0
answer = 4.0 / t0
print(answer)
|
0.4
|
train
|
mathqa_geometry.json
|
right triangle pqr is the base of the prism in the figure above . if pq = pr = â ˆ š 14 and the height of the prism is 8 , what is the volume of the prism ?
|
import math
n0 = 14.0
n1 = 8.0
t0 = math.sqrt(max(0, n0))
t1 = t0 * t0 / 2
answer = n1 * t1
print(answer)
|
56
|
train
|
mathqa_geometry.json
|
three table runners have a combined area of 224 square inches . by overlapping the runners to cover 80 % of a table of area 175 square inches , the area that is covered by exactly two layers of runner is 24 square inches . what is the area of the table that is covered with three layers of runner ?
|
n0 = 224.0
n1 = 80.0
n2 = 175.0
n3 = 24.0
t0 = n1 / 100.0
t1 = n0 - n3
t2 = n2 * t0
t3 = t1 - t2
answer = t3 / 2.0
print(answer)
|
30
|
train
|
mathqa_geometry.json
|
tough and tricky questions : number properties . what is the smallest positive integer x such that 1512 x is the cube of a positive integer ?
|
n0 = 1512.0
t0 = n0 / 2.0
t1 = t0 / 2.0
t2 = t1 / 2.0
t3 = t2 / 3.0
t4 = t3 / 3.0
t5 = t4 / 3.0
answer = t5**min(2.0, 5)
print(answer)
|
49
|
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
|
the diagonal of a rectangle is 41 cm and its area is 20 sq . cm . the perimeter of the rectangle must be :
|
import math
n0 = 41.0
n1 = 20.0
t0 = n1 * 2.0
t1 = n0 + t0
t2 = math.sqrt(max(0, t1))
answer = t2 * 2.0
print(answer)
|
18
|
train
|
mathqa_geometry.json
|
the diagonals of a rhombus are 11 cm and 20 cm . find its area ?
|
n0 = 11.0
n1 = 20.0
answer = n0 * n1 / 2
print(answer)
|
110
|
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 5 m , the volume of the box ( in m 3 ) is :
|
n0 = 48.0
n1 = 36.0
n2 = 5.0
n3 = 3.0
t0 = n2 * 2.0
t1 = n0 - t0
t2 = n1 - t0
answer = n2 * t1 * t2
print(answer)
|
4940
|
train
|
mathqa_geometry.json
|
a rectangular lawn of dimensions 80 m * 60 m has two roads each 15 m wide running in the middle of the lawn , one parallel to the length and the other parallel to the breadth . what is the cost of traveling the two roads at rs . 3 per sq m ?
|
n0 = 80.0
n1 = 60.0
n2 = 15.0
n3 = 3.0
t0 = n0 + n1
t1 = t0 - n2
t2 = n2 * t1
answer = n3 * t2
print(answer)
|
5625
|
train
|
mathqa_geometry.json
|
what is the area of square field whose side of length 8 m ?
|
n0 = 8.0
answer = n0**2
print(answer)
|
64
|
train
|
mathqa_geometry.json
|
each of the 39 points is placed either inside or on the surface of a perfect sphere . if 72 % or fewer of the points touch the surface , what is the maximum number of segments which , if connected from those points to form chords , could be the diameter of the sphere ?
|
n0 = 39.0
n1 = 72.0
t0 = n1 / 100.0
t1 = n0 * t0
answer = t1 / 2.0
print(answer)
|
14.04
|
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 24 inches and the width of the wall is 42 inches , what is the length of the wall , in inches ?
|
n0 = 24.0
n1 = 42.0
t0 = n0**2
t1 = t0 * 2.0
answer = t1 / n1
print(answer)
|
27.428571428571427
|
train
|
mathqa_geometry.json
|
in a certain parallelogram the degree measure of one angle exceeds that of the other by 10 what is the degree measure of the smaller angle ?
|
n0 = 10.0
t0 = 3600.0 / 10.0
t1 = n0 * 2.0
t2 = t0 - t1
answer = t2 / 4.0
print(answer)
|
85
|
train
|
mathqa_geometry.json
|
what is the area of square field whose side of length 7 m ?
|
n0 = 7.0
answer = n0**2
print(answer)
|
49
|
train
|
mathqa_geometry.json
|
16 meters of wire is available to fence off a flower bed in the form of a circular sector . what must the radius of the circle in meters be , if we wish to have a flower bed with the greatest possible surface area ?
|
n0 = 16.0
answer = n0 / 4.0
print(answer)
|
4
|
train
|
mathqa_geometry.json
|
if each side of a rectangle is increased by 100 % , by what % the area increases ?
|
n0 = 100.0
t0 = n0 / 100.0
t1 = t0 * 2.0
t2 = t1**min(2.0, 5)
t3 = t2 - 1.0
answer = t3 * 100.0
print(answer)
|
300
|
train
|
mathqa_geometry.json
|
if the length of a certain rectangle is decreased by 4 cm and the width is increased by 3 cm , a square with the same area as the original rectangle would result . find the perimeter of the original rectangle ?
|
n0 = 4.0
n1 = 3.0
t0 = n0 + n1
t1 = n0 * n1
t2 = n1 * t0
t3 = t2 - t1
t4 = t0 + t3
t5 = t4 + t3
answer = t5 * 2.0
print(answer)
|
50
|
train
|
mathqa_geometry.json
|
a square carpet with an area 169 m 2 must have 2 metres cut - off one of its edges in order to be a perfect fit for a rectangular room . what is the area of rectangular room ?
|
import math
n0 = 169.0
n1 = 2.0
n2 = 2.0
t0 = math.sqrt(max(0, n0))
t1 = t0 - 2.0
answer = t0 * t1
print(answer)
|
143
|
train
|
mathqa_geometry.json
|
the edge of a cube is 5 a cm . find its surface ?
|
n0 = 5.0
answer = 6 * n0**2 # surface of a cube
print(answer)
|
150
|
train
|
mathqa_geometry.json
|
a ring x of diameter 16 inches is placed inside another ring y of diameter of 18 inches . how much fraction of the ring x surface is not covered by the ring y ?
|
import math
n0 = 16.0
n1 = 18.0
t0 = n1 / 2.0
t1 = n0 / 2.0
t2 = math.pi * t0**2
t3 = math.pi * t1**2
t4 = t2 - t3
answer = t4 / t2
print(answer)
|
0.2098765432098765
|
train
|
mathqa_geometry.json
|
the area of a triangle is with base 4.5 m and height 6 m ?
|
n0 = 4.5
n1 = 6.0
answer = n0 * n1 / 2
print(answer)
|
13.5
|
train
|
mathqa_geometry.json
|
cubes with each side one inch long are glued together to form a larger cube . the larger cube ' s face is painted with red color and the entire assembly is taken apart . 24 small cubes are found with no paints on them . how many of unit cubes have at least one face that is painted red ?
|
n0 = 24.0
t0 = 1.0 + 3.0
t1 = t0 + 1.0
t2 = t1**min(3.0, 5)
answer = t2 - n0
print(answer)
|
101
|
train
|
mathqa_geometry.json
|
if the sum of a number and its square is 240 , what is the number ?
|
import math
n0 = 240.0
t0 = math.sqrt(max(0, n0))
answer = math.floor(t0)
print(answer)
|
15
|
train
|
mathqa_geometry.json
|
the diagonals of a rhombus are 30 cm and 12 cm . find its area ?
|
n0 = 30.0
n1 = 12.0
answer = n0 * n1 / 2
print(answer)
|
180
|
train
|
mathqa_geometry.json
|
two equilateral triangle of side 12 cm are placed one on top another , such a 6 pionted star is formed if the six vertices lie on a circle what is the area of the circle not enclosed by the star ?
|
n0 = 6.0
n1 = 5.0
n2 = 2.0
n3 = 19.0
t0 = n0 * n1
t1 = n2 * t0
t2 = t1 / n2
answer = t2 + 3.0
print(answer)
|
33
|
train
|
mathqa_geometry.json
|
paper charge is rs . 60 per kg . how much expenditure would be there to cover a cube of edge 10 m with a paper , if one kg of paper covers 20 sq . m . area ?
|
n0 = 60.0
n1 = 10.0
n2 = 20.0
t0 = n0 / n1
t1 = n1 * n1
t2 = t0 * t1
t3 = t2 / n2
answer = n0 * t3
print(answer)
|
1800
|
train
|
mathqa_geometry.json
|
rectangle a has sides a and b , and rectangle b has sides c and d . if a / c = b / d = 2 / 5 , what is the ratio of rectangle a ’ s area to rectangle b ’ s area ?
|
n0 = 2.0
n1 = 5.0
t0 = n0**min(2.0, 5)
t1 = n1**min(2.0, 5)
answer = t0 / t1
print(answer)
|
0.16
|
train
|
mathqa_geometry.json
|
find the curved surface area , if the radius of a cone is 28 m and slant height is 30 m ?
|
n0 = 28.0
n1 = 30.0
t0 = n0 * n1
answer = t0 * 3.141592653589793
print(answer)
|
2638.9378290154264
|
train
|
mathqa_geometry.json
|
three table runners have a combined area of 220 square inches . by overlapping the runners to cover 80 % of a table of area 175 square inches , the area that is covered by exactly two layers of runner is 24 square inches . what is the area of the table that is covered with three layers of runner ?
|
n0 = 220.0
n1 = 80.0
n2 = 175.0
n3 = 24.0
t0 = n1 / 100.0
t1 = n0 - n3
t2 = n2 * t0
t3 = t1 - t2
answer = t3 / 2.0
print(answer)
|
28
|
train
|
mathqa_geometry.json
|
an isosceles triangle with sides 13 13 10 and there is a circle inscribed it . find the radius of circle ?
|
import math
n0 = 13.0
n1 = 13.0
n2 = 10.0
t0 = (lambda s, a, b, c: math.sqrt(max(0, s * (s - a) * (s - b) * (s - c))))((n0 + n0 + n2) / 2, n0, n0, n2) # Heron's formula
t1 = n0 + n0 + n2 # perimeter of a triangle
t2 = t0 * 2.0
answer = t2 / t1
print(answer)
|
3.3333333333333335
|
train
|
mathqa_geometry.json
|
the diagonals of a rhombus are 10 cm and 15 cm . find its area ?
|
n0 = 10.0
n1 = 15.0
answer = n0 * n1 / 2
print(answer)
|
75
|
train
|
mathqa_geometry.json
|
a rectangular floor is covered by a rug except for a strip 3 meters wide along each of the four edge . if the floor is 12 meters by 10 meters , what is the area of the rug in square meters ?
|
n0 = 3.0
n1 = 12.0
n2 = 10.0
t0 = n0 * 2.0
t1 = n1 - t0
t2 = n2 - t0
answer = t1 * t2 # area of rectangle
print(answer)
|
24
|
train
|
mathqa_geometry.json
|
the area of a square field is 576 km 2 . how long will it take for a horse to run around at the speed of 12 km / h ?
|
import math
n0 = 576.0
n1 = 2.0
n2 = 12.0
t0 = math.sqrt(max(0, n0))
t1 = t0 * 4.0
answer = t1 / n2
print(answer)
|
8
|
train
|
mathqa_geometry.json
|
find the area of a rhombus whose side is 25 cm and one of the diagonals is 30 cm ?
|
n0 = 25.0
n1 = 30.0
t0 = 10.0 * 2.0
t1 = t0 * 2.0
answer = n1 * t1 / 2
print(answer)
|
600
|
train
|
mathqa_geometry.json
|
in a parallelogram , the length of one diagonal and the perpendicular dropped on that diagonal are 30 and 20 metres respectively . find its area
|
n0 = 30.0
n1 = 20.0
answer = n0 * n1
print(answer)
|
600
|
train
|
mathqa_geometry.json
|
find the area of the quadrilateral of one of its diagonals is 24 cm and its off sets 9 cm and 6 cm ?
|
n0 = 24.0
n1 = 9.0
n2 = 6.0
t0 = n1 + n2
t1 = 1.0 / 2.0
t2 = t0 * t1
answer = n0 * t2
print(answer)
|
180
|
train
|
mathqa_geometry.json
|
what is the measure of the angle e made by the diagonals of the any adjacent sides of a cube .
|
answer = 180.0 / 3.0
print(answer)
|
60
|
train
|
mathqa_geometry.json
|
a rectangular photograph is surrounded by a border that is 2 inch wide on each side . the total area of the photograph and the border is m square inches . if the border had been 4 inches wide on each side , the total area would have been ( m + 94 ) square inches . what is the perimeter of the photograph , in inches ?
|
n0 = 2.0
n1 = 4.0
n2 = 94.0
t0 = n1 * 2.0
t1 = n0 * 2.0
t2 = t0**min(2.0, 5)
t3 = t1**min(2.0, 5)
t4 = t2 - t3
t5 = n2 - t4
answer = t5 / 2.0
print(answer)
|
23
|
train
|
mathqa_geometry.json
|
the area of a rectangular field is equal to 300 square meters . its perimeter is equal to 70 meters . find the width of this rectangle .
|
import math
n0 = 300.0
n1 = 70.0
t0 = n1 / 2.0
t1 = n0 * 4.0
t2 = t0 * t0
t3 = t2 - t1
t4 = math.sqrt(max(0, t3))
t5 = t0 - t4
answer = t5 / 2.0
print(answer)
|
15
|
train
|
mathqa_geometry.json
|
in a rectangular coordinate system , what is the area of a rectangle whose vertices have the coordinates ( - 7 , 1 ) , ( 1 , 1 ) , ( 1 , - 6 ) and ( - 7 , - 6 ) ?
|
n0 = 7.0
n1 = 1.0
n2 = 1.0
n3 = 1.0
n4 = 1.0
n5 = 6.0
n6 = 7.0
n7 = 6.0
t0 = n0 + n1
t1 = n1 + n5
answer = t0 * t1
print(answer)
|
56
|
train
|
mathqa_geometry.json
|
a lady grows cauliflower in her garden that is in the shape of a square . each cauliflower takes 1 square foot of area in her garden . this year , she has increased her output by 223 cauliflower when compared to last year . the shape of the area used for growing the cauliflower has remained a square in both these years . how many cauliflowers did she produce this year ?
|
n0 = 1.0
n1 = 223.0
t0 = n1 - n0
t1 = t0 / 2.0
t2 = t1**min(2.0, 5)
answer = n1 + t2
print(answer)
|
12544
|
train
|
mathqa_geometry.json
|
if ( 20 ) ² is subtracted from the square of a number , the answer so obtained is 4321 . what is the number ?
|
import math
n0 = 20.0
n1 = 4321.0
t0 = 10.0 * 2.0
t1 = t0**min(2.0, 5)
t2 = n1 + t1
answer = math.sqrt(max(0, t2))
print(answer)
|
68.70953354520753
|
train
|
mathqa_geometry.json
|
the content of several smaller cylinders ( 3 meter diameter and 6 meter height ) were to be emptied into a larger cylinder ( 20 meter diameter and 10 meter height ) , how many smaller cylinders will fill up the larger cylinder ?
|
import math
n0 = 3.0
n1 = 6.0
n2 = 20.0
n3 = 10.0
t0 = n2 / 2.0
t1 = n0 / 2.0
t2 = math.pi * t0**2 * n3
t3 = math.pi * t1**2 * n1
answer = t2 / t3
print(answer)
|
74.07407407407408
|
train
|
mathqa_geometry.json
|
a semicircle has a radius of 9 . what is the approximate perimeter of the semicircle ?
|
import math
n0 = 9.0
t0 = 2 * math.pi * n0
t1 = n0 * 2.0
t2 = t0 / 2.0
answer = t2 + t1
print(answer)
|
46.27433388230814
|
train
|
mathqa_geometry.json
|
the length of a rectangle is 4 times its width . if the width of the rectangle is 5 inches , what is the rectangle ' s area , in square inches ?
|
n0 = 4.0
n1 = 5.0
t0 = n0 * n1
answer = n1 * t0 # area of rectangle
print(answer)
|
100
|
train
|
mathqa_geometry.json
|
in a rectangular coordinate system , what is the area of a rectangle whose vertices have the coordinates ( - 5 , 1 ) , ( 1 , 1 ) , ( 1 , - 4 ) and ( - 5 , - 4 ) ?
|
n0 = 5.0
n1 = 1.0
n2 = 1.0
n3 = 1.0
n4 = 1.0
n5 = 4.0
n6 = 5.0
n7 = 4.0
t0 = n0 + n1
t1 = n1 + n5
answer = t0 * t1
print(answer)
|
30
|
train
|
mathqa_geometry.json
|
what is the perimeter , in meters , of a rectangular garden 8 meters wide that has the same area as a rectangular playground 16 meters long and 12 meters wide ?
|
n0 = 8.0
n1 = 16.0
n2 = 12.0
t0 = n1 * n2 # area of rectangle
t1 = t0 / n0
answer = 2 * (n0 + t1) # perimetere of rectangle
print(answer)
|
64
|
train
|
mathqa_geometry.json
|
let the sides of a rectangular prism are consecutive multiples of 5 . which among the following could be the base area
|
n0 = 5.0
t0 = n0 * 3.0
t1 = t0 * 2.0
answer = t1 * t0
print(answer)
|
450
|
train
|
mathqa_geometry.json
|
a rectangular tiled patio is composed of 30 square tiles . the rectangular patio will be rearranged so that there will be 2 fewer columns of tiles and 4 more rows of tiles . after the change in layout , the patio will still have 30 tiles , and it will still be rectangular . how many rows are in the tile patio before the change in layout ?
|
import math
n0 = 30.0
n1 = 2.0
n2 = 4.0
n3 = 30.0
t0 = n0 * n1
t1 = -n2
t2 = n2**min(n1, 5)
t3 = n2 * t0
t4 = t3 + t2
t5 = math.sqrt(max(0, t4))
t6 = t1 + t5
t7 = t6 / n1
answer = n0 / t7
print(answer)
|
5
|
train
|
mathqa_geometry.json
|
the dimensions of a rectangular solid are 6 inches , 5 inches , and 8 inches . if a cube , a side of which is equal to one of the dimensions of the rectangular solid , is placed entirely within thespherejust large enough to hold the cube , what the ratio of the volume of the cube to the volume within thespherethat is not occupied by the cube ?
|
n0 = 1.0
n1 = 2.0
n2 = 2.0
n3 = 1.0
n4 = 10.0
n5 = 35.0
n6 = 4.0
n7 = 3.0
n8 = 5.0
n9 = 3.0
t0 = n4 + n8
t1 = n4 * n6
t2 = t1 / n1
answer = t0 + t2
print(answer)
|
35
|
train
|
mathqa_geometry.json
|
if the length of a rectangle is increased by 20 % and the breadth is reduced by 20 % , what will be the effect on its area ?
|
n0 = 20.0
n1 = 20.0
t0 = n0 / 100.0
t1 = t0 + 1.0
t2 = 1.0 - t0
t3 = t1 * t2
t4 = 1.0 - t3
answer = t4 * 100.0
print(answer)
|
4.0000000000000036
|
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 50 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 = 50.0
t0 = n5 + n5 + n5 # perimeter of a triangle
answer = t0 + t0
print(answer)
|
300
|
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 40 square meters . what is the area that is covered with three layers of wallpaper ?
|
n0 = 300.0
n1 = 180.0
n2 = 40.0
t0 = n0 - n1
t1 = t0 - n2
answer = t1 / 2.0
print(answer)
|
40
|
train
|
mathqa_geometry.json
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.