| category,subcategory,question,answer,reasoning,source
|
| Geometry,geometry,,3780.0, |
| |
| |
| |
| |
| |
| |
| |
| ,MathQA_Geometry
|
| Geometry,geometry,,90.0, |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| ,MathQA_Geometry
|
| Geometry,geometry,,7.0, |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| ,MathQA_Geometry
|
| Geometry,geometry,a volume of 11248 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 ?,2812.0, |
| |
| |
| |
| ,MathQA_Geometry
|
| Geometry,geometry,,1200.0, |
| |
| |
| |
| |
| |
| |
| |
| |
| ,MathQA_Geometry
|
| Geometry,geometry,the parameter of a square is equal to the perimeter of a rectangle of length 20 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 ),26.703537555513243, |
| |
| |
| |
| |
| |
| |
| |
| ,MathQA_Geometry
|
| Geometry,geometry,a lamp is put on one corner of a square plot of side 50 m . it ' s light reaches 21 m . find the area of that plot that is lit by that lamp ?,346.3605900582747,"import math |
| n0 = 50.0 |
| n1 = 21.0 |
| t0 = math.pi * n1**2 |
| answer = t0 / 4.0 |
| print(answer)",MathQA_Geometry
|
| Geometry,geometry,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 ?,8.0,"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)",MathQA_Geometry
|
| Geometry,geometry,"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 ?",30.0,"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)",MathQA_Geometry
|
| Geometry,geometry,30 square stone slabs of equal size were needed to cover a floor area of 120 sq . m . find the length of each stone slab ?,200.0,"import math |
| n0 = 30.0 |
| n1 = 120.0 |
| t0 = n1 / n0 |
| t1 = math.sqrt(max(0, t0)) |
| answer = t1 * 100.0 |
| print(answer)",MathQA_Geometry
|
| Geometry,geometry,"points a , b , and , c have xy - coordinates ( 2,0 ) , ( 8,12 ) , and ( 14,0 ) , respectively . points x , y , and z have xy - coordinates ( 6,0 ) , ( 8,4 ) , and ( 10,0 ) , respectively . what fraction w of the area of triangle abc is the area of triangle xyz ?",0.111111111111111,"n0 = 2.0 |
| n1 = 0.0 |
| n2 = 8.0 |
| n3 = 12.0 |
| n4 = 14.0 |
| n5 = 0.0 |
| n6 = 6.0 |
| n7 = 0.0 |
| n8 = 8.0 |
| n9 = 4.0 |
| n10 = 10.0 |
| n11 = 0.0 |
| t0 = 10.0 + 2.0 |
| t1 = 4.0**min(2.0, 5) |
| t2 = t1 / 2.0 |
| t3 = t0**min(2.0, 5) |
| t4 = t3 / 2.0 |
| answer = t2 / t4 |
| print(answer)",MathQA_Geometry
|
| Geometry,geometry,"the length of rectangle is thrice its breadth and its perimeter is 48 m , find the area of the rectangle ?",108.0,"n0 = 48.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)",MathQA_Geometry
|
| Geometry,geometry,the area of a rhombus is equal to the area of a rectangle whose length is 20 cm and the breadth is 10 cm . if one of the diagonals is 32 cm what is the length of other diagonal ?,12.5,"n0 = 20.0 |
| n1 = 10.0 |
| n2 = 32.0 |
| t0 = n0 * n1 # area of rectangle |
| t1 = t0 * 2.0 |
| answer = t1 / n2 |
| print(answer)",MathQA_Geometry
|
| Geometry,geometry,"2 corner most boxes of a chess board ( diagonally opposite ) haven been cut out there ' s a rectangular block = 2 sqaures of chess board , how many such blocks can be placed on the chess board ? ”n0 = 2.0 |
| n1 = 2.0 |
| t0 = n0 * n0 |
| t1 = t0 * t0 |
| t2 = n0 * t1 |
| answer = t2 - 2.0 |
| print(answer) |
| import math |
| n0 = 150.0 |
| t0 = 2.0 + 4.0 |
| t1 = n0 / t0 |
| t2 = math.sqrt(max(0, t1)) |
| answer = t2**3 |
| print(answer) |
| n0 = 60.0 |
| n1 = 30.0 |
| n2 = 30.0 |
| t0 = n0 * n1 |
| t1 = n1**min(3.0, 5) |
| answer = t1 / t0 |
| print(answer) |
| if the sides of a square are multiplied by sqrt ( 5 ) , the area of the original square is how many times as large as the area of the resultant square ?n0 = 5.0 |
|
|
| answer = 4 * n0 |
| print(answer) |
| if n is the smallest integer such that 432 times n is the square of an integer , what is the value of n ?n0 = 432.0 |
| t0 = n0 / 2.0 |
| t1 = t0 / 2.0 |
| t2 = t1 / 2.0 |
| t3 = t2 / 2.0 |
| t4 = t3 / 3.0 |
| answer = t4 / 3.0 |
| print(answer) |
| n0 = 19.0 |
| n1 = 12.0 |
| n2 = 2.0 |
| t0 = n2 * n2 |
| t1 = n0 * n1 # area of rectangle |
| t2 = n0 + t0 |
| t3 = n1 + t0 |
| t4 = t2 * t3 # area of rectangle |
| answer = t4 - t1 |
| print(answer) |
| n0 = 10.0 |
| t0 = n0**2 |
| answer = t0 / 2.0 |
| print(answer) |
| n0 = 13.0 |
|
|
| answer = n0**2 |
| print(answer) |
| 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 60 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 = 60.0 |
| t0 = n5 + n5 + n5 # perimeter of a triangle |
| answer = t0 + t0 |
| print(answer) |
| n0 = 128.0 |
|
|
| answer = n0 / 2.0 |
| print(answer) |
| n0 = 8.0 |
| n1 = 6.0 |
| n2 = 48.0 |
| n3 = 1.0 |
| n4 = 1.0 |
| t0 = n0 + n1 |
| answer = t0 - 2.0 |
| print(answer) |
| if the diameter of circle r is 60 % of the diameter of circle s , the area of circle r is what percent of the area of circle s ?import math |
| n0 = 60.0 |
| t0 = math.pi * n0**2 |
| t1 = math.pi * 100.0**2 |
| t2 = t0 * 100.0 |
| answer = t2 / t1 |
| print(answer) |
| the area of a rectangular plot is 360 square metres . if the length is 25 % less than the breadth , what is the breadth of the plot ?import math |
| n0 = 360.0 |
| n1 = 25.0 |
| t0 = n1 / 100.0 |
| t1 = 1.0 - t0 |
| t2 = n0 / t1 |
| answer = math.sqrt(max(0, t2)) |
| print(answer) |
| n0 = 11.0 |
| n1 = 13.0 |
| n2 = 6.5 |
| n3 = 11.0 |
| t0 = n0 * n1 # area of rectangle |
| t1 = n0 * n2 # area of rectangle |
| t2 = t0 * 2.0 |
| t3 = t1 * 2.0 |
| t4 = t2 - t3 |
| t5 = t4 / t0 |
| answer = t5 * 100.0 |
| print(answer) |
| if g is the smallest positive integer such that 3150 multiplied by g is the square of an integer , then g must ben0 = 3150.0 |
| t0 = 2.0 + 3.0 |
| t1 = n0 / 2.0 |
| t2 = t1 / t0 |
| t3 = t2 / t0 |
| t4 = t3 / 3.0 |
| t5 = t4 / 3.0 |
| answer = t5 * 2.0 |
| print(answer) |
| the width of a rectangular hall is ½ of its length . if the area of the hall is 288 sq . m , what is the difference between its length and breadth ?import math |
| n0 = 288.0 |
| t0 = 1.0 / 2.0 |
| t1 = n0 / t0 |
| t2 = math.sqrt(max(0, t1)) |
| answer = t2 / 2.0 |
| print(answer) |
| import math |
| n0 = 10.0 |
| n1 = 8.0 |
| t0 = n0**min(2.0, 5) |
| t1 = n1**min(2.0, 5) |
| t2 = t0 - t1 |
| t3 = math.sqrt(max(0, t2)) |
| answer = n0 * t3 |
| print(answer) |
| 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) |
| 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) |
| import math |
| n0 = 42.0 |
| n1 = 6.0 |
| n2 = 5.0 |
| t0 = n1 + n2 |
| t1 = 2 * math.pi * n0 |
| t2 = t0 * 2.0 |
| t3 = t1 / t2 |
| answer = n2 * t3 |
| print(answer) |
| import math |
| n0 = 7.0 |
| n1 = 4.0 |
| t0 = 2.0 * 4.0 |
| t1 = n0 * 2.0 |
| t2 = t0 + 1.0 |
| t3 = t1 + 1.0 |
| t4 = t2 / 2.0 |
| t5 = t3 / 2.0 |
| t6 = t5**min(2.0, 5) |
| t7 = t4**min(2.0, 5) |
| t8 = t6 - t7 |
| t9 = math.sqrt(max(0, t8)) |
| answer = t4 * t9 # area of rectangle |
| print(answer) |
| a crate measures 3 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 = 3.0 |
| n1 = 8.0 |
| n2 = 12.0 |
| t0 = n1 * n2 |
| t1 = n0 * t0 |
| t2 = t1 / n2 |
| answer = t2 / n1 |
| print(answer) |
| if each side of a right triangle is increased by 10 % and the base ( b ) is half of the height , find the percentage change in its area ?n0 = 10.0 |
| t0 = n0 + 100.0 |
| t1 = t0 / 100.0 |
| t2 = t1**min(2.0, 5) |
| t3 = t2 - 1.0 |
| answer = t3 * 100.0 |
| print(answer) |
| 32 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 = 32.0 |
|
|
| answer = n0 / 4.0 |
| print(answer) |
| 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) |
| the side of a cube is 12 m , find the lateral surface area ?n0 = 12.0 |
| t0 = 10.0 * 4.0 |
| t1 = t0 + 3.0 |
| answer = n0 * t1 # area of rectangle |
| print(answer) |
| a rectangular field is to be fenced on three sides leaving a side of 20 feet uncovered . if the area of the field is 60 sq . feet , how many feet of fencing will be required ?n0 = 20.0 |
| n1 = 60.0 |
| t0 = n1 / n0 |
| t1 = t0 * 2.0 |
| answer = n0 + t1 |
| print(answer) |
| if the volume of a cube is x ^ 3 cubic units , what is the number of square units in the surface area of the cube ?n0 = 3.0 |
| t0 = 2.0 * 3.0 |
| t1 = 1.0 * 1.0 |
| answer = t0 * t1 |
| print(answer) |
| a metallic sheet is of rectangular shape with dimensions 48 m x 38 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 = 38.0 |
| n2 = 8.0 |
| n3 = 3.0 |
| t0 = n2 * 2.0 |
| t1 = n0 - t0 |
| t2 = n1 - t0 |
| answer = n2 * t1 * t2 |
| print(answer) |
| the sides of a square region , measured to the nearest centimeter , are 10 centimeters long . the least possible value of the actual area of the square region isn0 = 10.0 |
| t0 = n0 - 0.25 |
| t1 = t0 - 0.25 |
| answer = t1**min(2.0, 5) |
| print(answer) |
| the volume of a certain substance is always directly proportional to its weight . if 48 cubic inches of the substance weigh 112 ounces , what is the volume , in cubic inches , of 84 ounces of this substance ?n0 = 48.0 |
| n1 = 112.0 |
| n2 = 84.0 |
| t0 = n0 / n1 |
| answer = n2 * t0 |
| print(answer) |
| n0 = 12.0 |
| n1 = 6.0 |
|
|
| answer = n0 * n1 # area of rectangle |
| print(answer) |
| a certain farmer pays $ 60 per acre per month to rent farmland . how much does the farmer pay per month to rent a rectangular plot of farmland that is 360 feet by 1210 feet ? ( 43,560 square feet = 1 acre )n0 = 60.0 |
| n1 = 360.0 |
| n2 = 1210.0 |
| n3 = 43560.0 |
| n4 = 1.0 |
| t0 = n1 * n2 |
| t1 = t0 / 10.0 |
| t2 = t0 / t1 |
| answer = n0 * t2 |
| print(answer) |
| n0 = 26.0 |
| n1 = 14.0 |
|
|
| answer = n0 * n1 |
| print(answer) |
| thin rectangular slab of potato was cut into two pieces for an osmosis lab . one piece is 50 mm greater than the other . if the original uncut slab is 600 mm , what is the length of the other piece of the potato after it is cut .n0 = 50.0 |
| n1 = 600.0 |
| t0 = n1 - n0 |
| answer = t0 / 2.0 |
| print(answer) |
| 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) |
| import math |
| n0 = 144.0 |
| t0 = math.sqrt(max(0, n0)) |
| answer = 4 * t0 |
| print(answer) |
| huey ' s hip pizza sells two sizes of square pizzas : a small pizza that measures 14 inches on a side and costs $ 10 , and a large pizza that measures 21 inches on a side and costs $ 20 . if two friends go to huey ' s with $ 30 apiece , how many more square inches of pizza can they buy if they pool their money than if they each purchase pizza alone ?n0 = 14.0 |
| n1 = 10.0 |
| n2 = 21.0 |
| n3 = 20.0 |
| n4 = 30.0 |
| t0 = n2**min(2.0, 5) |
| t1 = n0**min(2.0, 5) |
| t2 = t1 + t0 |
| t3 = t0 * 3.0 |
| t4 = t2 + t2 |
| answer = t3 - t4 |
| print(answer) |
| n0 = 17.0 |
|
|
| answer = n0**2 |
| print(answer) |
| n0 = 1.0 |
| n1 = 1.0 |
| n2 = 30.0 |
| n3 = 1.0 |
| n4 = 2.0 |
| t0 = n0 + n4 |
| t1 = n0 / t0 |
| t2 = n2 * t1 |
| answer = t0 * t2 |
| print(answer) |
| a rectangular grass field is 75 m * 55 m , it has a path of 2.8 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 = 55.0 |
| n2 = 2.8 |
| 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) |
| n0 = 45.0 |
| n1 = 20.0 |
| t0 = n0 + 100.0 |
| t1 = 100.0 - n1 |
| answer = t0 * t1 |
| print(answer) |
| 12 business executives and 7 chairmen meet at a conference . if each business executive shakes the hand of every other business executive and every chairman once , and each chairman shakes the hand of each of the business executives but not the other chairmen , how many handshakes would take place ?n0 = 12.0 |
| n1 = 7.0 |
| t0 = n0 * n1 |
| t1 = n0 - 1.0 |
| t2 = n0 * t1 |
| t3 = t2 / 2.0 |
| answer = t3 + t0 |
| print(answer) |
| import math |
| n0 = 30.0 |
| n1 = 67.5 |
| t0 = n1 / n0 |
| t1 = math.sqrt(max(0, t0)) |
| answer = t1 * 100.0 |
| print(answer) |
| import math |
| n0 = 8.0 |
| n1 = 8.0 |
| n2 = 2.0 |
| t0 = math.sqrt(max(0, n2)) |
| t1 = n0 * t0 |
| answer = t1 / n2 |
| print(answer) |
| if the area of a square with sides of length 12 centimeters is equal to the area of a rectangle with a width of 6 centimeters , what is the length of the rectangle , in centimeters ?n0 = 12.0 |
| n1 = 6.0 |
| t0 = n0**min(2.0, 5) |
| answer = t0 / n1 |
| print(answer) |
| 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) |
| in a rectangular coordinate system , what is the area of a rhombus whose vertices have the coordinates ( 0 , 4.5 ) , ( 8 , 0 ) , ( 0 , - 4.5 ) , ( - 8 , 0 ) ?n0 = 0.0 |
| n1 = 4.5 |
| n2 = 8.0 |
| n3 = 0.0 |
| n4 = 0.0 |
| n5 = 4.5 |
| n6 = 8.0 |
| n7 = 0.0 |
| t0 = n2 * 2.0 |
| t1 = n1 * 2.0 |
| answer = t0 * t1 / 2 |
| print(answer) |
| n0 = 14.0 |
| n1 = 18.0 |
|
|
| answer = n0 * n1 / 2 |
| print(answer) |
| 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) |
| n0 = 22.0 |
| t0 = 100.0 - n0 |
| t1 = t0 / 100.0 |
| t2 = 1.0 - t1 |
| t3 = t2 / t1 |
| answer = t3 * 100.0 |
| print(answer) |
| 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) |
| 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 r 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) |
| n0 = 25.0 |
| n1 = 30.0 |
|
|
| answer = n0 * n1 / 2 |
| print(answer) |
| n0 = 5.0 |
| n1 = 750.0 |
| n2 = 2.0 |
| t0 = n1 / n0 |
| answer = t0 / n0 |
| print(answer) |
| a lady grows cabbage in her garden that is in the shape of a square . each cabbage takes 1 square foot of area in her garden . this year , she has increased her output by 211 cabbages when compared to last year . the shape of the area used for growing the cabbage has remained a square in both these years . how many cabbages did she produce this year ?n0 = 1.0 |
| n1 = 211.0 |
| t0 = n1 - n0 |
| t1 = t0 / 2.0 |
| t2 = n0 + t1 |
| answer = t2**min(2.0, 5) |
| print(answer) |
| n0 = 15.0 |
| n1 = 17.0 |
|
|
| answer = n0 * n1 / 2 |
| print(answer) |
| a rectangular field is to be fenced on three sides leaving a side of 20 feet uncovered . if the area of the field is 440 sq . feet , how many feet of fencing will be required ?n0 = 20.0 |
| n1 = 440.0 |
| t0 = n1 / n0 |
| t1 = t0 * 2.0 |
| answer = n0 + t1 |
| print(answer) |
| import math |
| n0 = 50.0 |
| t0 = n0 / 100.0 |
| t1 = 4 * math.pi * 1.0**2 |
| t2 = t0 + 1.0 |
| t3 = 4 * math.pi * t2**2 |
| t4 = t3 - t1 |
| t5 = t4 / t1 |
| answer = t5 * 100.0 |
| print(answer) |
| a cube of edge 15 cm is imersed completely in a rectangular vessel containing water . if the dimensions of the base of vessel are 20 cm * 15 cm , find the rise in waer level .n0 = 15.0 |
| n1 = 20.0 |
| n2 = 15.0 |
| t0 = n0 * n1 |
| t1 = n0**3 |
| answer = t1 / t0 |
| print(answer) |
| in measuring the sides of a rectangle , one side is taken 9 % in excess , and the other 8 % in deficit . find the error percent in the area calculated from these measurements .n0 = 9.0 |
| n1 = 8.0 |
| t0 = n0 * n1 |
| t1 = n0 - n1 |
| t2 = t0 / 100.0 |
| answer = t1 - t2 |
| print(answer) |
| right triangle pqr is to be constructed in the xy - plane so that the right angle is at p and pr is parallel to the x - axis . the x and y coordinates of p , q and r are to be integers that satisfy the inequalitites - 4 ≤ x ≤ 5 and 6 ≤ y ≤ 16 . how many different triangles with these properties could be constructed ?n0 = 4.0 |
| n1 = 5.0 |
| n2 = 6.0 |
| n3 = 16.0 |
| t0 = n0 + n2 |
| t1 = n3 - n1 |
| t2 = 10.0 - 1.0 |
| t3 = t0 * t1 |
| t4 = t3 * t2 |
| answer = t4 * 10.0 |
| print(answer) |
| 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) |
| if the sides of a triangle are 39 cm , 32 cm and 10 cm , what is its area ?n0 = 39.0 |
| n1 = 32.0 |
| n2 = 10.0 |
| t0 = n1 * n2 |
| answer = t0 / 2.0 |
| print(answer) |
| import math |
| n0 = 12.0 |
| n1 = 12.0 |
| n2 = 2.0 |
| t0 = math.sqrt(max(0, n2)) |
| t1 = n0 * t0 |
| answer = t1 / 2.0 |
| print(answer) |
| import math |
| n0 = 5.0 |
| n1 = 2.0 |
| t0 = n0**min(2.0, 5) |
| t1 = math.sqrt(max(0, 3.0)) |
| t2 = n1**2 |
| t3 = t1 / 4.0 |
| t4 = t3 * t0 |
| t5 = t4 - t2 |
| t6 = t5 / t4 |
| answer = t6 * 100.0 |
| print(answer) |
| 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) |
| n0 = 9.0 |
|
|
| answer = n0**2 |
| print(answer) |
| 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) |
| n0 = 300.0 |
| t0 = 2.0 / 2.0 |
| answer = t0 * 100.0 |
| print(answer) |
| import math |
| n0 = 5.0 |
| n1 = 1.0 |
| n2 = 8.0 |
| t0 = 1 / 2.0 |
| t1 = n0**2 |
| t2 = n2 * t1 |
| t3 = t2 / t0 |
| answer = math.sqrt(max(0, t3)) |
| print(answer) |
| 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 20 feet between each tree . how many trees can be planted if the road is 148 feet long ?n0 = 20.0 |
| n1 = 148.0 |
| t0 = n0 + 1.0 |
| t1 = n1 - 1.0 |
| t2 = t1 / t0 |
| answer = t2 + 1.0 |
| print(answer) |
| the length of a rectangular field is 7 / 5 its width . if the perimeter of the field is 384 meters , what is the width of the field ?n0 = 7.0 |
| n1 = 5.0 |
| n2 = 384.0 |
| t0 = n0 / n1 |
| t1 = t0 + t0 |
| t2 = t1 + 2.0 |
| answer = n2 / t2 |
| print(answer) |
| import math |
| n0 = 12.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) |
| a crate measures 7 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 = 7.0 |
| n1 = 8.0 |
| n2 = 12.0 |
| t0 = n1 * n2 |
| t1 = n0 * t0 |
| t2 = t1 / n2 |
| answer = t2 / n1 |
| print(answer) |
| import math |
| n0 = 14.0 |
| t0 = 2 * math.pi * n0 |
| t1 = n0 * 2.0 |
| t2 = t0 / 2.0 |
| answer = t2 + t1 |
| print(answer) |
| four circular cardboard pieces , each of radius 7 cm are placed in such a way that each piece touches two other pieces . the area of the space encosed by the four pieces is. four circular cardboard pieces , each of radius 7 cm are placed in such a way that each piece touches two other pieces . the area of the space encosed by the four pieces isn0 = 7.0 |
| n1 = 7.0 |
| t0 = n0 * 2.0 |
| t1 = n0**min(2.0, 5) |
| t2 = t1 * 3.141592653589793 |
| t3 = t0**min(2.0, 5) |
| answer = t3 - t2 |
| print(answer) |
| the ratio of the areas of two squares , one having double its diagonal then the other is :t0 = 1 / 2.0 |
| t1 = t0 * 4.0 |
| answer = t1 / t0 |
| print(answer) |
| n0 = 1.414 |
|
|
| answer = 2.0 - n0 |
| print(answer) |
| n0 = 8.0 |
| n1 = 6.0 |
| n2 = 2.0 |
|
|
| answer = 2 * (n0 * n1 + n0 * n2 + n1 * n2) # surface of a rectangular prism |
| print(answer) |
| 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) |
| the length of rectangle is thrice its breadth and its perimeter is 120 m , find the area of the rectangle ?n0 = 120.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) |
| n0 = 40.0 |
| n1 = 30.0 |
| t0 = n0 / 100.0 |
| t1 = n1 / 100.0 |
| t2 = t0 + 1.0 |
| t3 = t1 + 1.0 |
| t4 = t2 * t3 |
| t5 = t4 - 1.0 |
| answer = t5 * 100.0 |
| print(answer) |
| while visiting a small town in the united states , i lost my overcoat in a bus . when i reported the matter to the bus company i was asked the number of the bus . though i did not remember the exact number i did remember that the bus number bad a certain peculiarity about it . the number plate showed the bus number as a perfect square and also if the plate was turned upside down . ? the number would still be a perfect square — of course it was not ? i came to know from the bus company they had only 5 100 buses numbered from 1 to 500 . from this i was able to deduce the bus number . can you tell what was the other number .n0 = 5.0 |
| n1 = 100.0 |
| n2 = 1.0 |
| n3 = 500.0 |
| t0 = n1 - 4.0 |
| answer = t0 + 100.0 |
| print(answer) |
| n0 = 45.0 |
| n1 = 25.0 |
| n2 = 22.0 |
| t0 = n2**min(2.0, 5) |
| t1 = t0 * 3.141592653589793 |
| answer = t1 / 4.0 |
| print(answer) |
| a rectangular courty 3.78 metres long and 5.25 metres wide is to be paved exactly with square tiles , all of the same size . what is the largest size of the tile which could be used for the purpose ?n0 = 3.78 |
| n1 = 5.25 |
| t0 = n0 * 100.0 |
| t1 = t0 / 3.0 |
| t2 = t1 / 3.0 |
| t3 = t2 / 3.0 |
| t4 = t3 / 2.0 |
| answer = t4 * 3.0 |
| print(answer) |
| 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) |
| |