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 roof of an apartment building is rectangular and its length is 3 times longer than its width . if the area of the roof is 675 feet squared , what is the difference between the length and the width of the roof ?
|
import math
n0 = 3.0
n1 = 675.0
t0 = n1 / n0
t1 = math.sqrt(max(0, t0))
t2 = t1 * n0
answer = t2 - t1
print(answer)
|
30
|
train
|
mathqa_geometry.json
|
in measuring the sides of a rectangle , one side is taken 5 % in excess , and the other 4 % in deficit . find the error percent in the area calculated from these measurements .
|
n0 = 5.0
n1 = 4.0
t0 = n0 * n1
t1 = n0 - n1
t2 = t0 / 100.0
answer = t1 - t2
print(answer)
|
0.8
|
train
|
mathqa_geometry.json
|
what is the total surface area in square meters of a rectangular solid whose length is 5 meters , width is 4 meters , and depth is 1 meters ?
|
n0 = 5.0
n1 = 4.0
n2 = 1.0
answer = 2 * (n0 * n1 + n0 * n2 + n1 * n2) # surface of a rectangular prism
print(answer)
|
58
|
train
|
mathqa_geometry.json
|
a cube is painted red on all faces . it is then cut into 27 equal smaller cubes . how many v 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
|
the perimeter of a triangle is 28 cm and the inradius of the triangle is 2.0 cm . what is the area of the triangle ?
|
n0 = 28.0
n1 = 2.0
answer = n0 * n1 / 2
print(answer)
|
28
|
train
|
mathqa_geometry.json
|
the area of a triangle will be when a = 1 m , b = 2 m , c = 7 m , a , b , c being lengths of respective sides ?
|
n0 = 1.0
n1 = 2.0
n2 = 7.0
t0 = n0 + n1
t1 = n2 + t0
answer = t1 / n1
print(answer)
|
5
|
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 . 11 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 = 11.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)
|
1320
|
train
|
mathqa_geometry.json
|
a rectangular cube has sides measuring 3 inches long by 2 inches wide by 0.5 inches high . if the surface area of the rectangle is the same as a cube , what do the sides / walls of the cube measure ? round to the nearest whole number .
|
import math
n0 = 3.0
n1 = 2.0
n2 = 0.5
t0 = 2.0 * 3.0
t1 = 2 * (n0 * n1 + n0 * n2 + n1 * n2) # surface of a rectangular prism
t2 = t1 / t0
answer = math.floor(t2)
print(answer)
|
2
|
train
|
mathqa_geometry.json
|
if the sides of a triangle are 30 cm , 26 cm and 10 cm , what is its area ?
|
n0 = 30.0
n1 = 26.0
n2 = 10.0
t0 = n1 * n2
answer = t0 / 2.0
print(answer)
|
130
|
train
|
mathqa_geometry.json
|
the base of a triangular field is three times its altitude . if the cost of cultivating the field at rs . 24.68 per hectare be rs . 333.18 , find its base and height .
|
n0 = 24.68
n1 = 333.18
t0 = n1 / n0
t1 = 3.0 / 2.0
t2 = t0 * 1000.0
t3 = t2 / 3.0
t4 = t3 / 10.0
answer = t4 / t1
print(answer)
|
300
|
train
|
mathqa_geometry.json
|
the perimeter of a triangle is 39 cm and the inradius of the triangle is 1.5 cm . what is the area of the triangle ?
|
n0 = 39.0
n1 = 1.5
answer = n0 * n1 / 2
print(answer)
|
29.25
|
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 . 15 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 = 15.0
n1 = 1200.0
n2 = 2.0
n3 = 30.0
t0 = n1 / n3
t1 = n3**min(2.0, 5)
t2 = n3 + t0
t3 = t0**min(2.0, 5)
t4 = t1 + t3
t5 = math.sqrt(max(0, t4))
t6 = t2 + t5
answer = n0 * t6
print(answer)
|
1800
|
train
|
mathqa_geometry.json
|
the diagonals of a rhombus are 12 cm and 15 cm . find its area ?
|
n0 = 12.0
n1 = 15.0
answer = n0 * n1 / 2
print(answer)
|
90
|
train
|
mathqa_geometry.json
|
in a circle with a radius of 6 , what is the area of the biggest rectangle that can be cut out of this circle ?
|
import math
n0 = 6.0
t0 = n0 * 2.0
t1 = t0**min(2.0, 5)
t2 = t1 / 2.0
t3 = math.sqrt(max(0, t2))
answer = t3**min(2.0, 5)
print(answer)
|
71.99999999999999
|
train
|
mathqa_geometry.json
|
what is the % change in the area of a rectangle when its length increases by 10 % and its width decreases by 10 % ?
|
n0 = 10.0
n1 = 10.0
t0 = n0 + 100.0
t1 = 100.0 - n0
t2 = t0 * t1
t3 = t2 / 100.0
answer = 100.0 - t3
print(answer)
|
1
|
train
|
mathqa_geometry.json
|
the area of a circular field is 17.56 hectares . find the cost of fencing it at the rate of rs . 3 per metre approximately
|
import math
n0 = 17.56
n1 = 3.0
t0 = n0 / 3.141592653589793
t1 = math.sqrt(max(0, t0))
t2 = t1 * 100.0
t3 = 2 * math.pi * t2
answer = t3 * 3.0
print(answer)
|
4456.443887106987
|
train
|
mathqa_geometry.json
|
the area of an isosceles trapezoid with sides of length 5 and bases of length 8 and 14 is ?
|
n0 = 5.0
n1 = 8.0
n2 = 14.0
answer = 4.0 * (n2 + n1) / 2 # quadrilateral area
print(answer)
|
44
|
train
|
mathqa_geometry.json
|
the radius of a circle is increased by 1 % . find how much % does its area increases ?
|
n0 = 1.0
t0 = 100.0 * 2.0
t1 = n0 + t0
answer = t1 / 100.0
print(answer)
|
2.01
|
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 . 1950 . the perimeter of the plot is ?
|
n0 = 10.0
n1 = 6.5
n2 = 1950.0
t0 = n2 / n1
t1 = t0 / 2.0
t2 = t1 - 10.0
t3 = t2 / 2.0
t4 = t3 + 10.0
t5 = t4 + t3
answer = t5 * 2.0
print(answer)
|
300
|
train
|
mathqa_geometry.json
|
a circular ground whose diameter is 34 metres , has a 2 metre - broad garden around it . what is the area of the garden in square metres ?
|
import math
n0 = 34.0
n1 = 2.0
t0 = n0 / 2.0
t1 = n1 + t0
t2 = math.pi * t0**2
t3 = math.pi * t1**2
answer = t3 - t2
print(answer)
|
226.19467105846502
|
train
|
mathqa_geometry.json
|
the sides of a square region , measured to the nearest centimeter , are 7 centimeters long . the least possible value of the actual area of the square region is
|
n0 = 7.0
t0 = n0 - 0.25
t1 = t0 - 0.25
answer = t1**min(2.0, 5)
print(answer)
|
42.25
|
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 480 square feet . how many feet offence does frank use ?
|
n0 = 40.0
n1 = 480.0
t0 = n1 / n0
t1 = t0 + t0
answer = n0 + t1
print(answer)
|
64
|
train
|
mathqa_geometry.json
|
if the height of a right cone c is 3 and the diameter of the base of c is 8 , what is the distance from the apex of c to any point on the circumference of the base of c ?
|
import math
n0 = 3.0
n1 = 8.0
t0 = n1 / 2.0
t1 = n0**min(2.0, 5)
t2 = t0**min(2.0, 5)
t3 = t2 + t1
answer = math.sqrt(max(0, t3))
print(answer)
|
5
|
train
|
mathqa_geometry.json
|
if the difference between the length and breadth of a rectangle is 23 m and its perimeter is 246 m , what is its area ?
|
n0 = 23.0
n1 = 246.0
t0 = n0 * 2.0
t1 = n1 - t0
t2 = t1 / 4.0
t3 = n0 + t2
answer = t3 * t2 # area of rectangle
print(answer)
|
3650
|
train
|
mathqa_geometry.json
|
perimeter of an equilateral and isosceles is 45 and 40 respectively . at least one of the sides of isosceles is equal to the equilateral . what ' s the base of isosceles triangle ?
|
n0 = 45.0
n1 = 40.0
t0 = n0 / 3.0
t1 = t0 * 2.0
answer = n1 - t1
print(answer)
|
10
|
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
|
two isosceles triangles have equal vertical angles and their areas are in the ratio 4 : 9 . find the ratio of their corresponding heights .
|
import math
n0 = 4.0
n1 = 9.0
t0 = math.sqrt(max(0, 4.0))
t1 = math.sqrt(max(0, n1))
answer = t0 / t1
print(answer)
|
0.6666666666666666
|
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 8 m , the volume of the box ( in m 3 ) is :
|
n0 = 48.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)
|
5120
|
train
|
mathqa_geometry.json
|
the diagonals of a rhombus are 12 cm and 20 cm . find its area ?
|
n0 = 12.0
n1 = 20.0
answer = n0 * n1 / 2
print(answer)
|
120
|
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 80 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 = 80.0
t0 = n5 + n5 + n5 # perimeter of a triangle
answer = t0 + t0
print(answer)
|
480
|
train
|
mathqa_geometry.json
|
a small , rectangular park has a perimeter of 560 feet and a diagonal measurement of 300 feet . what is its area , in square feet ?
|
n0 = 560.0
n1 = 300.0
t0 = 2.0 + 3.0
t1 = n1 / t0
t2 = t1 * 3.0
t3 = t1 * 4.0
answer = t2 * t3
print(answer)
|
43200
|
train
|
mathqa_geometry.json
|
the area of the largest circle that can be drawn inside a square of side 70 cm in length is :
|
import math
n0 = 70.0
t0 = n0 / 2.0
answer = math.pi * t0**2
print(answer)
|
3848.4510006474966
|
train
|
mathqa_geometry.json
|
what is the ratio e of the surface area of a cube to the surface area of a rectangular solid identical to the cube in all ways except that its length has been doubled ?
|
t0 = 1.0 * 1.0
t1 = 2.0 * 3.0
t2 = 1.0 * 2.0
t3 = t0 * t1
t4 = t0 * 2.0
t5 = t2 * 4.0
t6 = t4 + t5
answer = t3 / t6
print(answer)
|
0.6
|
train
|
mathqa_geometry.json
|
the roof of an apartment building is rectangular and its length is 7 times longer than its width . if the area of the roof is 847 feet squared , what is the difference between the length and the width of the roof ?
|
import math
n0 = 7.0
n1 = 847.0
t0 = n1 / n0
t1 = math.sqrt(max(0, t0))
t2 = t1 * n0
answer = t2 - t1
print(answer)
|
66
|
train
|
mathqa_geometry.json
|
the circumferences of two circles are 660 meters and 704 meters . find the difference between the areas of the larger and the smaller circles ?
|
import math
n0 = 660.0
n1 = 704.0
t0 = 2.0 * 3.141592653589793
t1 = n1 / t0
t2 = n0 / t0
t3 = math.pi * t1**2
t4 = math.pi * t2**2
answer = t3 - t4
print(answer)
|
4775.921532301596
|
train
|
mathqa_geometry.json
|
if a rectangular billboard has an area of 91 square feet and a perimeter of 40 feet , what is the length of each of the shorter sides ?
|
import math
n0 = 91.0
n1 = 40.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)
|
7
|
train
|
mathqa_geometry.json
|
find the area of the quadrilateral of one of its diagonals is 20 cm and its off sets 5 cm and 4 cm ?
|
n0 = 20.0
n1 = 5.0
n2 = 4.0
t0 = n1 + n2
t1 = 1.0 / 2.0
t2 = t0 * t1
answer = n0 * t2
print(answer)
|
90
|
train
|
mathqa_geometry.json
|
a certain rectangular crate measures 20 feet by 20 feet by 20 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 = 20.0
n1 = 20.0
n2 = 20.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)
|
10
|
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
|
the area of sector of a circle whose radius is 12 metro and whose angle at the center is 40 ° is ?
|
n0 = 12.0
n1 = 40.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)
|
50.28571428571428
|
train
|
mathqa_geometry.json
|
the diagonals of a rhombus are 16 cm and 20 cm . find its area ?
|
n0 = 16.0
n1 = 20.0
answer = n0 * n1 / 2
print(answer)
|
160
|
train
|
mathqa_geometry.json
|
in a rectangular coordinate system , what is the area of a rhombus whose vertices have the coordinates ( 0 , 5.5 ) , ( 8 , 0 ) , ( 0 , - 5.5 ) , ( - 8 , 0 ) ?
|
n0 = 0.0
n1 = 5.5
n2 = 8.0
n3 = 0.0
n4 = 0.0
n5 = 5.5
n6 = 8.0
n7 = 0.0
t0 = n2 * 2.0
t1 = n1 * 2.0
answer = t0 * t1 / 2
print(answer)
|
88
|
train
|
mathqa_geometry.json
|
the base of a right triangle is 8 and hypotenuse is 10 . its area is ?
|
import math
n0 = 8.0
n1 = 10.0
t0 = n1 * n1
t1 = n0 * n0
t2 = t0 - t1
t3 = math.sqrt(max(0, t2))
t4 = n0 * t3
answer = t4 / 2.0
print(answer)
|
24
|
train
|
mathqa_geometry.json
|
square a has an area of 81 square centimeters . square b has a perimeter of 32 centimeters . if square b is placed within square a and a random point is chosen within square a , what is the probability the point is not within square b ?
|
n0 = 81.0
n1 = 32.0
t0 = n1 / 4.0
t1 = t0**min(2.0, 5)
t2 = n0 - t1
answer = t2 / n0
print(answer)
|
0.20987654320987653
|
train
|
mathqa_geometry.json
|
the area of a rectangular plot is 24 times its breadth . if the difference between the length and the breadth is 10 metres , what is its breadth ?
|
n0 = 24.0
n1 = 10.0
answer = n0 - n1
print(answer)
|
14
|
train
|
mathqa_geometry.json
|
a rectangular grass field is 75 m * 40 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 = 75.0
n1 = 40.0
n2 = 2.5
n3 = 2.0
t0 = n2 * 2.0
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)
|
1200
|
train
|
mathqa_geometry.json
|
the mass of 1 cubic meter of a substance is 100 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 = 100.0
n2 = 1.0
n3 = 1.0
n4 = 1000.0
n5 = 1.0
n6 = 1.0
n7 = 0.0
t0 = n4 * n4
t1 = n1 * n4
answer = t0 / t1
print(answer)
|
10
|
train
|
mathqa_geometry.json
|
a cubical block of metal weighs 3 pounds . how much will another cube of the same metal weigh if its sides are twice as long ?
|
n0 = 3.0
t0 = 2.0 * 4.0
answer = n0 * t0
print(answer)
|
24
|
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 p measure 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 regular 10 sided area is inscribed in a circle . if a and b are adjacent vertices of the pentagon and o is the center of the circle , what is the value of ∠ oab ?
|
n0 = 10.0
t0 = 360.0 / n0
t1 = 180.0 - t0
answer = t1 / 2.0
print(answer)
|
72
|
train
|
mathqa_geometry.json
|
the monthly rent of a shop of dimension 20 feet × 15 feet is rs . 3600 . what is the annual rent per square foot of the shop ?
|
n0 = 20.0
n1 = 15.0
n2 = 3600.0
t0 = 10.0 + 2.0
t1 = n0 * n1 # area of rectangle
t2 = n2 / t1
answer = t0 * t2
print(answer)
|
144
|
train
|
mathqa_geometry.json
|
a circular well with a diameter of 2 metres , is dug to a depth of 14 metres . what is the volume of the earth dug out ?
|
import math
n0 = 2.0
n1 = 14.0
t0 = n0 / n0
answer = math.pi * t0**2 * n1
print(answer)
|
43.982297150257104
|
train
|
mathqa_geometry.json
|
a rectangle having length 140 cm and width 40 cm . if the length of the rectangle is increased by thirty percent then how much percent the breadth should be decreased so as to maintain the same area .
|
n0 = 140.0
n1 = 40.0
t0 = n0 * n1
t1 = 10.0 * 3.0
t2 = n0 * t1
t3 = t2 / 100.0
t4 = n0 + t3
t5 = t0 / t4
t6 = t5 / n1
t7 = t6 + 1.0
answer = t7 * 10.0
print(answer)
|
17.692307692307693
|
train
|
mathqa_geometry.json
|
the cost of painting the whole surface area of a cube at the rate of 13 paise per sq . cm is rs . 343.98 . then the volume of the cube is
|
import math
n0 = 13.0
n1 = 343.98
t0 = n0 / 100.0
t1 = 2.0 * 3.0
t2 = n1 / t0
t3 = t2 / t1
t4 = math.sqrt(max(0, t3))
answer = t4**3
print(answer)
|
9261
|
train
|
mathqa_geometry.json
|
a circular grass lawn of 35 metres in radius has a path 7 metres wide running around it on the outside . find the area of path .
|
import math
n0 = 35.0
n1 = 7.0
t0 = n0 + n1
t1 = math.pi * n0**2
t2 = math.pi * t0**2
answer = t2 - t1
print(answer)
|
1693.3184402848983
|
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 3 m , the volume of the box ( in m 3 ) is :
|
n0 = 48.0
n1 = 36.0
n2 = 3.0
n3 = 3.0
t0 = n2 * 2.0
t1 = n0 - t0
t2 = n1 - t0
answer = n2 * t1 * t2
print(answer)
|
3780
|
train
|
mathqa_geometry.json
|
susan made a block with small cubes of 8 cubic cm volume to make a block , 3 small cubes long , 9 small cubes wide and 5 small cubes deep . she realizes that she has used more small cubes than she really needed . she realized that she could have glued a fewer number of cubes together to lock like a block with same dimensions , if it were made hollow . what is the minimum number of cubes that she needs to make the block ?
|
n0 = 8.0
n1 = 3.0
n2 = 9.0
n3 = 5.0
t0 = 3.0 + 4.0
t1 = n2 * 1.0
t2 = n3 * t1
t3 = t0 * 3.0
t4 = t2 - t3
t5 = t2 + t4
answer = t5 + t2
print(answer)
|
114
|
train
|
mathqa_geometry.json
|
which is the smallest no which divides 2880 and gives a perfect square ?
|
n0 = 2880.0
t0 = n0 / 4.0
t1 = t0 / 3.0
t2 = t1 / 4.0
t3 = t2 / 3.0
t4 = t3 / 2.0
answer = t4 / 2.0
print(answer)
|
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 . 25 small cubes are found with no paints on them . how many of unit cubes have at least one face that is painted red ?
|
n0 = 25.0
t0 = 1.0 + 3.0
t1 = t0 + 1.0
t2 = t1**min(3.0, 5)
answer = t2 - n0
print(answer)
|
100
|
train
|
mathqa_geometry.json
|
a rectangle a has an area of 30 square centimeters . square b has a perimeter of 16 centimeters . if square b is placed within square a and a random point is chosen within square a , what is the probability the point is not within square b ?
|
n0 = 30.0
n1 = 16.0
t0 = n1 / 4. # square edge given perimeter
t1 = t0**2
t2 = n0 - t1
answer = t2 / n0
print(answer)
|
0.4666666666666667
|
train
|
mathqa_geometry.json
|
how many diagonals does a polygon with 19 sides have , if one of its vertices does not connect to any diagonal ?
|
n0 = 19.0
t0 = n0 - 1.0
t1 = t0 - 3.0
t2 = t0 * t1
answer = t2 / 2.0
print(answer)
|
135
|
train
|
mathqa_geometry.json
|
the diagonal of a square is 40 m . the area of the square is :
|
n0 = 40.0
t0 = n0**min(2.0, 5)
answer = t0 / 2.0
print(answer)
|
800
|
train
|
mathqa_geometry.json
|
the length of a rectangle is five times of the radius of a circle . the radius of the circle is equal to the side of the square , whose area is 16 sq . units . what is the area ( in sq . units ) of the rectangle if the rectangle if the breadth is 11 units ?
|
import math
n0 = 16.0
n1 = 11.0
t0 = 2.0 + 3.0
t1 = math.sqrt(max(0, n0))
t2 = t0 * t1
answer = n1 * t2
print(answer)
|
220
|
train
|
mathqa_geometry.json
|
a wire can be bent in the form of a circle of radius 56 cm . if it is bent in the form of a square , then its area will be ?
|
import math
n0 = 56.0
t0 = 2 * math.pi * n0
t1 = t0 / 4.0
answer = t1**min(2.0, 5)
print(answer)
|
7737.769850454057
|
train
|
mathqa_geometry.json
|
a rectangular courtyard , the sides of which are in the ratio of 4 : 3 , cost rs . 600 for paving at 50 p per m 2 ; find the length of the diagonal of the courtyard ?
|
import math
n0 = 4.0
n1 = 3.0
n2 = 600.0
n3 = 50.0
n4 = 2.0
t0 = 2.0 + 3.0
t1 = n3 / 100.0
t2 = n0 * n1
t3 = n2 / t1
t4 = t3 / t2
t5 = math.sqrt(max(0, t4))
t6 = n0 * t5
t7 = n1 * t5
t8 = t6**min(n4, 5)
t9 = t7**min(n4, 5)
t10 = t8 + t9
t11 = math.sqrt(max(0, t10))
answer = t11 - t0
print(answer)
|
45
|
train
|
mathqa_geometry.json
|
if the area of a circle decreases by 42 % , then the radius of a circle decreases by
|
import math
n0 = 42.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)
|
23.84226894136092
|
train
|
mathqa_geometry.json
|
a rectangular parking space is marked out by painting three of its sides . if the length of the unpainted side is 9 feet , and the sum of the lengths of the painted sides is 37 feet , find out the area of the parking space in square feet ?
|
n0 = 9.0
n1 = 37.0
t0 = n1 + n1
t1 = n1 + t0
t2 = t1 + 10.0
answer = t2 + 4.0
print(answer)
|
125
|
train
|
mathqa_geometry.json
|
in measuring the sides of a rectangle , one side is taken 5 % in excess , and the other 4 % in deficit . find the error percent in the error percent in the area calculated from these measurements .
|
n0 = 5.0
n1 = 4.0
t0 = n0 * n1
t1 = n0 - n1
t2 = t0 / 100.0
answer = t1 - t2
print(answer)
|
0.8
|
train
|
mathqa_geometry.json
|
a rectangular field is to be fenced on three sides leaving a side of 80 feet uncovered . if the area of the field is 680 sq . ft , how many feet of fencing will be required ?
|
n0 = 80.0
n1 = 680.0
t0 = n1 / n0
t1 = t0 * 2.0
answer = n0 + t1
print(answer)
|
97
|
train
|
mathqa_geometry.json
|
a rope can make 70 rounds of the circumference of a cylinder whose radius of the base is 14 cm . how many times can it go round a cylinder having radius 20 cm ?
|
import math
n0 = 70.0
n1 = 14.0
n2 = 20.0
t0 = 2 * math.pi * n1
t1 = 2 * math.pi * n2
t2 = n0 * t0
answer = t2 / t1
print(answer)
|
49
|
train
|
mathqa_geometry.json
|
the circumferences of two circles are 264 meters and 352 meters . find the difference between the areas of the larger and the smaller circles ?
|
import math
n0 = 264.0
n1 = 352.0
t0 = 2.0 * 3.141592653589793
t1 = n1 / t0
t2 = n0 / t0
t3 = math.pi * t1**2
t4 = math.pi * t2**2
answer = t3 - t4
print(answer)
|
4313.735577562732
|
train
|
mathqa_geometry.json
|
the rhombus ( afce ) is inscribed in rectangle ( abcd ) . the length of bf = de . if the rectangle has a width of 20 yards and a length of 25 yards , what would be the total length ( the perimeter ) of a fence along the sides defined by afce ?
|
n0 = 20.0
n1 = 25.0
t0 = n1 * 2.0
t1 = n1**min(2.0, 5)
t2 = n0**min(2.0, 5)
t3 = t1 - t2
t4 = t3 / t0
t5 = n1 - t4
answer = t5 * 4.0
print(answer)
|
82
|
train
|
mathqa_geometry.json
|
a rectangular lawn of dimensions 110 m * 60 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 = 110.0
n1 = 60.0
n2 = 10.0
n3 = 3.0
t0 = n0 + n1
t1 = t0 - n2
t2 = n2 * t1
answer = n3 * t2
print(answer)
|
4800
|
train
|
mathqa_geometry.json
|
a cube of edge 5 cm is immersed completely in a rectangular vessel containing water . if the dimensions of the base of vessel are 10 cm * 5 cm , find the rise in water level ?
|
n0 = 5.0
n1 = 10.0
n2 = 5.0
t0 = n1 * n2
t1 = n0**3
answer = t1 / t0
print(answer)
|
2.5
|
train
|
mathqa_geometry.json
|
question : a sporting good store sells one type of baseball bat and one type of baseball . the cost for 2 bats and 4 balls is $ 180 . the cost for 1 bat and 6 balls is $ 190 , as well . if someone were to buy an equal number of bats and balls , at most how many bats can he purchase if he has a budget of $ 195 for the purchase ? options :
|
n0 = 2.0
n1 = 4.0
n2 = 180.0
n3 = 1.0
n4 = 6.0
n5 = 190.0
n6 = 195.0
t0 = -n0
t1 = n5 * t0
t2 = n4 * t0
t3 = n2 + t1
t4 = n1 + t2
t5 = t3 / t4
t6 = n4 * t5
t7 = n5 - t6
t8 = t5 + t7
answer = n6 / t8
print(answer)
|
3
|
train
|
mathqa_geometry.json
|
the cost of the paint is rs . 36.50 per kg . if 1 kg of paint covers 16 sq . ft , how much will it cost to paint outside of a cube having 8 feet each side
|
n0 = 36.5
n1 = 1.0
n2 = 16.0
n3 = 8.0
t0 = 6 * n3**2 # surface of a cube
t1 = t0 / n2
answer = n0 * t1
print(answer)
|
876
|
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 1225 sq . units . what is the area ( in sq . units ) of the rectangle if the rectangle if the breadth is 10 units ?
|
import math
n0 = 1225.0
n1 = 10.0
t0 = 10.0 / 2.0
t1 = math.sqrt(max(0, n0))
t2 = t1 / t0
t3 = t2 * 2.0
answer = n1 * t3
print(answer)
|
140
|
train
|
mathqa_geometry.json
|
a crate measures 2 feet by 8 feet by 12 feet on the inside . a stone pillar in the shape of a right circular cylinder must fit into the crate for shipping so that it rests upright when the crate sits on at least one of its six sides . what is the radius , in feet , of the pillar with the largest volume that could still fit in the crate ?
|
n0 = 2.0
n1 = 8.0
n2 = 12.0
t0 = n1 * n2
t1 = n0 * t0
t2 = t1 / n2
answer = t2 / n1
print(answer)
|
2
|
train
|
mathqa_geometry.json
|
the dimensions of a room are 25 feet * 15 feet * 12 feet . what is the cost of white washing the 4 walls of the room at rs . 3 per square feet if there is one door of dimensions 6 feet * 3 feet and 3 windows of dimensions 4 feet * 3 feet each ?
|
n0 = 25.0
n1 = 15.0
n2 = 12.0
n3 = 4.0
n4 = 3.0
n5 = 6.0
n6 = 3.0
n7 = 3.0
n8 = 4.0
n9 = 3.0
t0 = n0 * n2
t1 = n1 * n2
t2 = n3 * n4
t3 = n4 * n5
t4 = t0 + t1
t5 = n4 * t2
t6 = t5 + t3
t7 = t4 * 2.0
t8 = t7 - t6
answer = n4 * t8
print(answer)
|
2718
|
train
|
mathqa_geometry.json
|
area of square with side x is equal to the area of a triangle with base x . the altitude of the triangle is
|
t0 = 1.0**min(2.0, 5)
answer = t0 * 2.0
print(answer)
|
2
|
train
|
mathqa_geometry.json
|
a rectangular garden is 12 m by 5 m , what is its area ?
|
n0 = 12.0
n1 = 5.0
answer = n0 * n1
print(answer)
|
60
|
train
|
mathqa_geometry.json
|
a squirrel runs up a cylindrical post , in a perfect spiral path making one circuit for each rise of 3 feet . how many feet does the squirrel travels if the post is 27 feet tall and 3 feet in circumference ?
|
n0 = 3.0
n1 = 27.0
n2 = 3.0
t0 = n1 / n0
answer = n2 * t0
print(answer)
|
27
|
train
|
mathqa_geometry.json
|
the perimeter of a square is equal to the perimeter of a rectangle of length 18 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 = 18.0
n1 = 14.0
t0 = n0 + n1
t1 = t0 * 2.0
t2 = t1 / 4.0
t3 = t2 / 2.0
t4 = 2 * math.pi * t3
t5 = t4 / 2.0
answer = math.floor(t5)
print(answer)
|
25
|
train
|
mathqa_geometry.json
|
if radius of a circle is reduced by 10 % , then how much % of its area will be reduced ?
|
n0 = 10.0
t0 = 100.0 - n0
t1 = t0 / 100.0
t2 = t1**min(2.0, 5)
t3 = 1.0 - t2
answer = t3 * 100.0
print(answer)
|
18.999999999999993
|
train
|
mathqa_geometry.json
|
the area of a square field is a square feet and the perimeter is p feet . if 6 a = 6 ( 2 p + 9 ) , what is the perimeter of the field , in feet ? ( here a = a ^ 2 )
|
n0 = 6.0
n1 = 6.0
n2 = 2.0
n3 = 9.0
n4 = 2.0
answer = n3 * 4.0
print(answer)
|
36
|
train
|
mathqa_geometry.json
|
in a company of 148 employees , 92 are females . a total of 78 employees have advanced degrees and the rest have a college degree only . if 31 employees are males with college degree only , how many employees are females with advanced degrees ?
|
n0 = 148.0
n1 = 92.0
n2 = 78.0
n3 = 31.0
t0 = n0 - n1
t1 = t0 - n3
answer = n2 - t1
print(answer)
|
53
|
train
|
mathqa_geometry.json
|
find the area of a parallelogram with base 28 cm and height 32 cm .
|
n0 = 28.0
n1 = 32.0
answer = n0 * n1
print(answer)
|
896
|
train
|
mathqa_geometry.json
|
triangle xyz is an isosceles right triangle . if side xy is longer than side yz , and the area of the triangle is 25 , what is the measure of side xy ?
|
import math
n0 = 25.0
t0 = math.sqrt(max(0, n0))
t1 = math.sqrt(max(0, 2.0))
t2 = t0 * t1
t3 = t2**min(2.0, 5)
t4 = t3 + t3
answer = math.sqrt(max(0, t4))
print(answer)
|
10
|
train
|
mathqa_geometry.json
|
the area of rhombus is 150 cm square . the length of one of the its diagonals is 10 cm . the length of the other diagonal is :
|
n0 = 150.0
n1 = 10.0
t0 = n0 * 2.0
answer = t0 / n1
print(answer)
|
30
|
train
|
mathqa_geometry.json
|
if the radius of a circle decreased by 50 % its area is decreased by :
|
n0 = 50.0
t0 = n0 / 100.0
t1 = t0**min(2.0, 5)
t2 = t1 * 100.0
answer = 100.0 - t2
print(answer)
|
75
|
train
|
mathqa_geometry.json
|
the mass of 1 cubic meter of a substance is 500 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 = 500.0
n2 = 1.0
n3 = 1.0
n4 = 1000.0
n5 = 1.0
n6 = 1.0
n7 = 0.0
t0 = n4 * n4
t1 = n1 * n4
answer = t0 / t1
print(answer)
|
2
|
train
|
mathqa_geometry.json
|
the water level in a rectangular swimming pool measuring 50 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 = 50.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)
|
4687.5
|
train
|
mathqa_geometry.json
|
an equilateral triangle and three squares are combined as shown above , forming a shape of area 48 + 4 √ 3 . what is the perimeter of the shape formed by the triangle and squares ?
|
n0 = 48.0
n1 = 4.0
n2 = 3.0
t0 = n2**min(2.0, 5)
answer = n1 * t0
print(answer)
|
36
|
train
|
mathqa_geometry.json
|
an error 2 % in excess ismade while measuring the side ofa square . the % of error in the calculated area of the square is ?
|
n0 = 2.0
t0 = n0 + 100.0
t1 = 100.0 * 100.0
t2 = t0 * t0
t3 = t2 - t1
answer = t3 / 100.0
print(answer)
|
4.04
|
train
|
mathqa_geometry.json
|
the area of a triangle is with base 3 m and height 4 m ?
|
n0 = 3.0
n1 = 4.0
answer = n0 * n1 / 2
print(answer)
|
6
|
train
|
mathqa_geometry.json
|
a cube has a volume of 64 cubic feet . if a similar cube is twice as long , twice as wide , and twice as high , then the volume , in cubic feet of such cube is ?
|
n0 = 64.0
t0 = n0**(1 / 3)
t1 = t0 * 2.0
answer = t1**3
print(answer)
|
511.99999999999983
|
train
|
mathqa_geometry.json
|
a circular well with a diameter of 6 metres , is dug to a depth of 24 metres . what is the volume of the earth dug out ?
|
import math
n0 = 6.0
n1 = 24.0
t0 = n0 / 2.0
answer = math.pi * t0**2 * n1
print(answer)
|
678.5840131753953
|
train
|
mathqa_geometry.json
|
sand is poured into a box so that the box is being filled at the rate of 3 cubic feet per hour . if the empty rectangular box is 5 feet long , 4 feet wide , and 3 feet deep , approximately how many hours does it take to fill the box ?
|
n0 = 3.0
n1 = 5.0
n2 = 4.0
n3 = 3.0
t0 = n1 * n2
t1 = n3 * t0
answer = t1 / n0
print(answer)
|
20
|
train
|
mathqa_geometry.json
|
a larger cube has 343 cubic inch as a volume and in the cube there are 343 smaller cubes such that their volume is 1 cubic inch . what is the difference between the surface areas ’ sum of the 343 smaller cubes and the surface area of the larger cube , in square inch ?
|
n0 = 343.0
n1 = 343.0
n2 = 1.0
n3 = 343.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)
|
1764
|
train
|
mathqa_geometry.json
|
a circle graph shows how the budget of a certain company was spent : 60 percent for salaries , 9 percent for research and development , 5 percent for utilities , 4 percent for equipment , 2 percent for supplies , and the remainder for transportation . if the area of each sector of the graph is proportional to the percent of the budget it represents , how many degrees of the circle are used to represent transportation ?
|
n0 = 60.0
n1 = 9.0
n2 = 5.0
n3 = 4.0
n4 = 2.0
t0 = n0 + n1
t1 = n2 + t0
t2 = n3 + t1
t3 = n4 + t2
t4 = 100.0 - t3
t5 = t4 * 360.0
answer = t5 / 100.0
print(answer)
|
72
|
train
|
mathqa_geometry.json
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.