instruction_seed
stringlengths
31
2.65k
source
stringclasses
1 value
Consider the following optimization problem: Minimize the function f(x) = 3x^2 - 5x + 7 using the firefly algorithm. Assume that the search space is [0, 10], the population size is 20, and the maximum number of iterations is 100. Apply the firefly algorithm to find the minimum value of f(x) and the value of x that ...
tiger_lab_math
the distance between two cities a and b is 330 km . a train starts from a at 8 a . m . and travel towards b at 60 km / hr . another train starts from b at 9 a . m and travels towards a at 75 km / hr . at what time do they meet ? Please write a program to solve it
tiger_lab_math
the ratio w , by volume of soap to alcohol to water in a 76 litre solution is 2 : 50 : 100 . the solution is then altered by adding more soap , alcohol and water . after this alteration the ratio , by volume of soap to water in the solution doubles whereas the ratio , by volume of soap to water remains the same as befo...
tiger_lab_math
Solve for the sum of all possible values of $x$ when $3^{x^2+4x+4}=9^{x+2}$.
tiger_lab_math
A metal cylinder with a radius of 5 cm and a height of 10 cm needs to be completely covered with paint. If each can of paint can cover a surface area of 35 square centimeters and costs $2.50, what will be the minimum cost to fully paint the cylinder? (Assume that any uncovered area will eventually rust and damage the c...
tiger_lab_math
Find the largest integer value of $n$ such that $n^2-9n+18$ is negative.
tiger_lab_math
the h . c . f . of two numbers is 23 and the other two factors of their l . c . m . are 13 and 18 . the larger of the two numbers is : ? Let's write a Python program to solve it.
tiger_lab_math
In three-dimensional space, find the number of lattice points that have a distance of 3 from the origin. Note: A point is a lattice point if all its coordinates are integers. Let's write a Python program.
tiger_lab_math
an uneducated retailer marks all his goods at 65 % above the cost price and thinking that he will still make 25 % profit , offers a discount of 25 % on the marked price . what is his actual profit on the sales ? Let's program in Python in the response.
tiger_lab_math
For all positive integers $n$, the $n$th triangular number $T_n$ is defined as $T_n = 1+2+3+ \cdots + n$. What is the greatest possible value of the greatest common divisor of $4T_n$ and $n-1$?
tiger_lab_math
Sarah's bowling score was 40 points more than Greg's, and the average of their two scores was 102. What was Sarah's score? (Recall that the average of two numbers is their sum divided by 2.)
tiger_lab_math
mathew is planning a vacation trip to london next year from today for 5 days , he has calculated he would need about $ 3000 for expenses , including a round - trip plane ticket from l . a to london . he nets around $ 1500 monthly in gross income , after all bills are paid , he is left with about $ 350 each month free f...
tiger_lab_math
jolene entered an 18 - month investment contract that guarantees to pay 2 percent interest at the end of 6 months , another 3 percent interest at the end of 10 months , and 4 percent interest at the end of the 18 month contract . if each interest payment is reinvested in the contract , and jolene invested $ 10,000 init...
tiger_lab_math
Prove that the sum of two even numbers is always even.
tiger_lab_math
two isosceles triangles have equal vertical angles and their areas are in the ratio 16 : 36 . find the ratio of their corresponding heights . Please respond by writing a program in Python.
tiger_lab_math
mr . kramer , the losing candidate in a two - candidate election , received 942,568 votes , which was exactly 35 percent of all votes cast . approximately what percent of the remaining votes would he need to have received in order to have won at least 50 percent of all the votes cast ? Please respond by writing a progr...
tiger_lab_math
A court is investigating the possible occurrence of an unlikely event T. The reliability of two independent witnesses called Alf and Bob is known to the court: Alf tells the truth with probability \alpha and Bob with probability \beta, and there is no collusion between the two of them. Let A and B be the events that Al...
tiger_lab_math
a began business with rs . 36000 and was joined afterwards by b with rs . 54000 . when did b join if the profits at the end of the year were divided in the ratio of 2 : 1 ? Let's program in Python in the response.
tiger_lab_math
Find the last two digits of the following sum: $$5! + 10! + 15! + \cdots + 100!$$
tiger_lab_math
What is the smallest positive integer greater than 1 that satisfies the condition of Wilson's theorem? Hint: Wilson's theorem states that for a prime number p, (p-1)!+1 is divisible by p.
tiger_lab_math
A tiger shark has 180 teeth. A hammerhead shark has 1/6 the number of teeth that a tiger shark has. A great white shark has double the sum of teeth of a tiger shark and a hammerhead shark. How many teeth does a great white shark have?
tiger_lab_math
The coefficients of the polynomial \[x^4 + bx^3 + cx^2 + dx + e = 0\]are all integers. Let $n$ be the exact number of integer roots of the polynomial, counting multiplicity. For example, the polynomial $(x + 3)^2 (x^2 + 4x + 11) = 0$ has two integer roots counting multiplicity, because the root $-3$ is counted twice....
tiger_lab_math
monica planned her birthday party . she prepared 5 muffins for each of her guests and kept aside two additional muffins in case someone will want extra . after the party , it turned out that one of the guests did n ' t come but every one of the guests that did come ate 6 muffins and 6 muffins remained . how many guests...
tiger_lab_math
in a school of 400 boys , 44 % of muslims , 28 % hindus , 10 % sikhs and the remaining of other communities . how many belonged to the other communities ? Let's write a Python program.
tiger_lab_math
what amount does an investor receive if the investor invests $ 7000 at 10 % p . a . compound interest for two years , compounding done annually ? Let's write a Python program to solve it.
tiger_lab_math
The repeating decimals $0.abab\overline{ab}$ and $0.abcabc\overline{abc}$ satisfy \[0.abab\overline{ab}+0.abcabc\overline{abc}=\frac{33}{37},\] where $a$, $b$, and $c$ are (not necessarily distinct) digits. Find the three digit number $abc$.
tiger_lab_math
There are 120 cards in a box. If 2/5 of the cards are red, exactly 5/9 of the remainder are black, and the rest are green, calculate the number of green cards in the box?
tiger_lab_math
Consider the equation of the ellipse given by x²/9 + y²/4 = 1. Find the equation of the tangent line at the point (3,0).
tiger_lab_math
Prove that if a group has exactly 8 elements, then it is isomorphic to either the cyclic group C8, quaternion group Q8, or dihedral group D4?
tiger_lab_math
A Koch snowflake is created by starting with an equilateral triangle with a side length of 10 cm. Each straight line section of the triangle is replaced by four straight lines, each a third of the length of the original section. How long is the perimeter of the Koch snowflake after three iterations?
tiger_lab_math
a man sitting in a train which is travelling at 60 kmph observes that a goods train , travelling in opposite direction , takes 9 seconds to pass him . if the goods train is 280 m long , find its speed ? Let's write a program.
tiger_lab_math
amithab ' s average expenditure for the january to june is rs . 4200 and he spends rs . 1200 in january and rs . 1500 in july . the average expenditure for the months of febraury to july is : ? Let's write a Python program to solve it.
tiger_lab_math
a , b and c started a partnership business by investing rs . 30000 , rs . 45000 , rs . 50000 respectively . at the end of the year , the profit were distributed among them . if c ' s share of profit is 36000 , what is the total profit ? Let's write a program.
tiger_lab_math
A fair, twenty-faced die has $19$ of its faces numbered from $1$ through $19$ and has one blank face. Another fair, twenty-faced die has $19$ of its faces numbered from $1$ through $8$ and $10$ through $20$ and has one blank face. When the two dice are rolled, what is the probability that the sum of the two numbers fac...
tiger_lab_math
if the sum of two positive integers is 18 and the difference of their squares is 36 , what is the product of the two integers ? Let's program in Python in the response.
tiger_lab_math
A student wants to count the number of possible 4-digit passwords that can be created. Suppose that the first digit cannot be zero, and subsequent digits can be any digit from 0 to 9, and no digit can be repeated within the same password. How many possible 4-digit passwords can be created under these conditions?
tiger_lab_math
of the 150 people at a party , 70 were women , and 30 women tried the appetizer . if 60 people did not try the appetizer , what is the total number of men who tried the appetizer ? Let's program in Python in the response.
tiger_lab_math
a man can row upstream at 20 kmph and downstream at 80 kmph , and then find the speed of the man in still water ? Let's write a Python program.
tiger_lab_math
Circles of radius $3$ and $6$ are externally tangent to each other and are internally tangent to a circle of radius $9$. The circle of radius $9$ has a chord that is a common external tangent of the other two circles. Find the square of the length of this chord. [asy] pointpen = black; pathpen = black + linewidth(0.7);...
tiger_lab_math
in a class of 42 students , 2 students did not borrow any books from the library , 12 students each borrowed 1 book , 10 students each borrowed 2 books , and the rest borrowed at least 3 books . if the average number of books per student was 2 , what is the maximum number of books any single student could have borrowed...
tiger_lab_math
Find all integer solutions to the Diophantine equation: x^3 + y^3 = 9z^3
tiger_lab_math
at the opening of a trading day at a certain stock exchange , the price per share of stock k was $ 28 . if the price per share of stock k was $ 29 at the closing of the day , what was the percent increase in the price per share of stock k for that day ? Let's write a Python program.
tiger_lab_math
a student chose a number , multiplied it by 2 , then subtracted 138 from the result and got 110 . what was the number he chose ? Please write a program to solve it
tiger_lab_math
What is the sum of the integers that are both greater than 3 and less than 12?
tiger_lab_math
the price of a t . v . set worth rs . 8000 is to be paid in 20 installments of rs . 750 each . if the rate of interest be 6 % per annum , and the first installment be paid at the time of purchase , then the value of the last installment covering the interest as well will be ? Let's write a Python program to solve it.
tiger_lab_math
Compute the sum of all the roots of $(2x+3)(x-4)+(2x+3)(x-6)=0$. Let's write a program.
tiger_lab_math
the length of rectangle is thrice its breadth and its perimeter is 120 m , find the area of the rectangle ? Let's write a program.
tiger_lab_math
in a class of 38 students , 2 students did not borrow any books from the library , 12 students each borrowed 1 book , 10 students each borrowed 2 books , and the rest borrowed at least 3 books . if the average number of books per student was 2 , what is the maximum number of books any single student could have borrowed...
tiger_lab_math
In coordinate space, a particle starts at the point $(2,3,4)$ and ends at the point $(-1,-3,-3),$ along the line connecting the two points. Along the way, the particle intersects the unit sphere centered at the origin at two points. Then the distance between these two points can be expressed in the form $\frac{a}{\sq...
tiger_lab_math
find the area , diameter = 11 m . Let's program in Python in the response.
tiger_lab_math
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? Answer Choices:...
tiger_lab_math
if x is equal to the sum of the integers from 30 to 40 , inclusive , and y is the number of even integers from 30 to 40 , inclusive , what is the value of x + y ? Let's program in Python in the response.
tiger_lab_math
Consider a solid cube with side length 10 units. The cube has a circular hole of radius 2 units drilled through its center. Find the maximum volume of the remaining solid material. Using topological optimization, determine the shape of the drilled hole that maximizes the remaining volume.
tiger_lab_math
Sure, here's an example for the student to solve: "A rectangular stainless steel sheet of thickness 0.05 m is heated on one side and cooled on the other. The initial temperature of the sheet is 20°C, and the temperatures at the heated and cooled sides are maintained at 100°C and 0°C, respectively. The thermal diffusiv...
tiger_lab_math
an equal number of desks and bookcases are to be placed along a library wall that is 15 meters long . each desk is 2 meters long , and each bookshelf is 1.5 meters long . if the maximum possible number of desks and bookcases are to be placed along the wall , then the space along the wall that is left over will be how m...
tiger_lab_math
pipe a and pipe b fill water into a tank of capacity 1000 litres , at a rate of 200 l / min and 50 l / min . pipe c drains at a rate of 25 l / min . pipe a is open for 1 min and closed , then pipe b is open for 2 min and closed . further the pipe c is opened and drained for another 2 min . this process is repeated unti...
tiger_lab_math
Let $f(z)$ be an entire function (i.e. a function that is analytic on the entire complex plane). Find the solution of the boundary value problem $$ \begin{cases} f(z)+\overline{f(\overline z)}=z^2 &\text{for } |z|=1, \\ f(z)= \sin(z) &\text{for } |z|<1. \end{cases} $$ Evaluate $f(2+2i)$.
tiger_lab_math
if x and y are sets of integers , x # y denotes the set of integers that belong to set x or set y , but not both . if x consists of 8 integers , y consists of 10 integers , and 6 of the integers are in both x and y , then x # y consists of how many integers ? Please write a program to solve it
tiger_lab_math
The product of three even consecutive positive integers is twenty times their sum. What is the sum of the three integers?
tiger_lab_math
A two-digit number is such that the product of the digits is 8. When 18 is added to the number, then the digits are reversed. The number is: Answer Choices: (A) 18 (B) 24 (C) 42 (D) 81 (E) 83
tiger_lab_math
Find the greatest natural number $n$ such that $n\leq 2008$ and $(1^2+2^2+3^2+\cdots + n^2)\left[(n+1)^2+(n+2)^2+(n+3)^2+\cdots + (2n)^2\right]$ is a perfect square. Let's write a program.
tiger_lab_math
Find the largest possible value of $k$ for which $3^{11}$ is expressible as the sum of $k$ consecutive positive integers.
tiger_lab_math
two trains are moving in the same direction at 72 kmph and 36 kmph . the faster train crosses a girl sitting at window seat in the slower train in 32 seconds . find the length of the faster train ? Let's write a program.
tiger_lab_math
A population of 1,000 individuals is initially infected with a virus. The infection rate of the virus is 0.05 per day and the recovery rate is 0.02 per day. Assuming that there are no new infections from outside, use a differential equation to model the number of infected individuals over time and find how many days it...
tiger_lab_math
the average monthly salary of 20 employees in an organisation is rs . 1600 . if the manager ' s salary is added , then the average salary increases by rs . 100 . what is the manager ' s monthly salary ? Let's write a Python program.
tiger_lab_math
in a certain pond , 50 fish were caught , tagged , and returned to the pond . a few days later , 50 fish were caught again , of which 4 were found to have been tagged . if the percent of tagged fish in the second catch approximates the percent of tagged fish in the pond , what is the approximate number of fish in the p...
tiger_lab_math
Suppose that $a$ and $b$ are nonzero real numbers, and that the equation $x^2+ax+b=0$ has solutions $a$ and $b$. Find the ordered pair $(a,b).$
tiger_lab_math
a collection of books went on sale , and 2 / 3 of them were sold for $ 5 each . if none of the 50 remaining books were sold , what was the total amount received for the books that were sold ? Let's write a program.
tiger_lab_math
calculate how many seconds it eill take for 4 bells to toll together again , given that they begin to toll together respectively at the intervals of 5 , 8 , 11 and 15 seconds . ? Let's program in Python in the response.
tiger_lab_math
in a certain warehouse , 90 percent of the packages weigh less than 75 pounds , and a total of 48 packages weigh less than 25 pounds . if 80 percent of the packages weigh at least 25 pounds , how many of the packages weigh at least 25 pounds but less than 75 pounds ? Please write a program to solve it
tiger_lab_math
At a women's doubles tennis tournament, there were three teams of two women. After the tournament, each woman shook hands once with each of the other players except her partner. What is the number of handshakes that occurred?
tiger_lab_math
the contents of a certain box consist of 14 apples and 26 oranges . how many oranges must be removed from the box so that 70 percent of the pieces of fruit in the box will be apples ? Let's write a program.
tiger_lab_math
how many 3 - digit numbers abc , in which a , b , and c are each digits , satisfy the equation 2 b = a + c ? Please write a program to solve it
tiger_lab_math
little krish had $ 200.50 . he spent $ 35.25 on sweets and gave to his two friends $ 25.20 each . how much money was left ? Please write a program to solve it
tiger_lab_math
"statement 1": Calculate the average marks of a student who obtained 56 , 60 , 72 , 85 and 80 marks ( out of 100 ) in Geography , History and Government , Art , Computer Science and Modern Literature ?, "statement 2" :Calculate the average marks of a student who obtained more than 26 , 60 , 72 , 85 and 80 marks ( out ...
tiger_lab_math
which of the following inequalities indicates the set of all values of d for which the lengths A of the three sides of a triangle can be 3,4, and d? Answer Choices: (A) 0<d<1 (B) 0<d<5 (C) 0<d<7 (D) 1<d<5 (E) 1<d<7
tiger_lab_math
Can you show that there are exactly three non-isomorphic groups of order 18 using the Group Theory? Further, can you determine if two of these groups are Abelian or Non-Abelian, and find the order of each element in these groups?
tiger_lab_math
in a certain math department , students are required to enroll in either calculus or trigonometry , each of which is offered in beginner and advanced courses . the number of students enrolled in trigonometry is 50 % greater than the number of students enrolled in calculus , and 80 % of calculus students are enrolled in...
tiger_lab_math
What is the area of the largest connected "bulb" in the Mandelbrot set if the boundary of the set is defined by the equation $z_{n+1} = z_n^2 + c$ and $c=-0.75+0i$?
tiger_lab_math
Let A = {1, 2, 3} , B = {4, 5} and C = {6, 7}. Find the sets (A x B) x C and A x (B x C), then prove that they are equal.
tiger_lab_math
in a certain town , the ratio of ny yankees fans to ny mets fans is 3 : 2 , and the ratio of ny mets fans to boston red sox fans is 4 : 5 . if there are 330 baseball fans in the town , each of whom is a fan of exactly one of those three teams , how many ny mets fans are there in this town ? Please write a program to so...
tiger_lab_math
Find the positive real number $x$ such that $\lfloor x \rfloor \cdot x = 70$. Express $x$ as a decimal. Let's program in Python in the response.
tiger_lab_math
Find all isometries that map the hyperbolic paraboloid given by the equation $z = x^2 - y^2$ to itself, where the hyperbolic paraboloid is equipped with the Riemannian metric induced from $\mathbb{R}^3$.
tiger_lab_math
Let A be a set with 6 elements and B be its complement set. Determine the intersection of set A and set B.
tiger_lab_math
Let A be a set of integers such that A contains exactly two integers between 1 and 10, inclusive, and exactly two integers between 11 and 20, inclusive. Let B be another set of integers such that B contains two integers between 1 and 20, inclusive, but none of them are in A. Prove that there exists a prime number that ...
tiger_lab_math
two stations p and q are 110 km apart on a straight track . one train starts from p at 7 a . m . and travels towards q at 20 kmph . another train starts from q at 8 a . m . and travels towards p at a speed of 25 kmph . at what time will they meet ? Let's program in Python in the response.
tiger_lab_math
A right triangle has legs $a$ and $b$ and hypotenuse $c.$ Find the largest possible value of \[\frac{a + b}{c}.\]
tiger_lab_math
A triangle with vertices at points (1, 1), (5, 3), and (3, 6) is given. Using a triangulation with all vertices of the triangle as the vertices of the triangulation, how many triangles can you create?
tiger_lab_math
if x and y are positive integers , and y = x ^ 2 + 8 , the greatest common divisor of a and b can not be ? Let's program in Python in the response.
tiger_lab_math
how many different values of positive integer x , for which | x + 4 | < x , are there ? Let's write a program.
tiger_lab_math
If $x$ is a real number and $x^2-7x+6<0$, what are the possible values for $x$? Use interval notation to express your answer.
tiger_lab_math
A student wants to build a rectangular enclosure using 100 meters of fencing. What are the dimensions of the enclosure that will maximize the enclosed area? Using calculus, find the maximum area of the enclosure.
tiger_lab_math
Consider a Riemannian manifold defined by the metric tensor $g_{ij}=\begin{pmatrix}1 & 0 & 0\\0 & \sin^2\phi &0 \\0 & 0 & \sin^2\phi\sin^2\theta\end{pmatrix}$. Find the Ricci curvature tensor and the Ricci scalar curvature at any point on this manifold.
tiger_lab_math
Using the bar graph, what is the positive difference between the number of students at the school with the largest enrollment and the number of students at the school with the smallest enrollment? [asy] size(250); defaultpen(fontsize(9)); fill((0,0)--(40,0)--(40,20)--(0,20)--cycle,lightgray); draw((0,20)--(0,0)--(40...
tiger_lab_math
A metal rod of length 1m is initially at a temperature of 20°C. At time t=0, one end of the rod is suddenly introduced into a furnace that maintains the temperature at the end at 250°C, while the other end is maintained at 100°C. Use Fourier transform to determine the temperature distribution along the rod at any time ...
tiger_lab_math
Given that the length of the initial line segment of the Lévy C curve is 1 unit and the curve is generated by recursively replacing each line segment with four, each of length 1/3 the original segment, what is the total length of the curve after 5 iterations?
tiger_lab_math
a boy has rs . 480 in the denominations of one - rupee notes , 5 - rupee notes and 10 - rupee notes . the number of notes of each denomination is equal . what is the total number of notes that he has ? Please respond by writing a program in Python.
tiger_lab_math
mary and mike enter into a partnership by investing $ 700 and $ 300 respectively . at the end of one year , they divided their profits such that a third of the profit is divided equally for the efforts they have put into the business and the remaining amount of profit is divided in the ratio of the investments they mad...
tiger_lab_math
A sports analyst wants to know the probability that a basketball player will make their next free throw based on the player's season statistics. The player has made 80 out of 100 free throws this season. The analyst also knows that the average free throw percentage for all players in the league is 75%, with a standard ...
tiger_lab_math
"statement 1": Dacid obtained 76 , 65 , 82 , 67 and 85 marks ( out of 100 ) in English , Mathematics , Physics , Chemistry and Biology, "statement 2" :Dacid obtained 16 , 65 , 82 , 67 and 85 marks ( out of 100 ) in English , Mathematics , Physics , Chemistry and Biology, "options: " Entailment or contradiction or neut...
tiger_lab_math