instruction_seed
stringlengths
17
6.7k
source
stringclasses
4 values
Given the function `other_one(x, a_b)` defined as follows: ```python def other_one(x, a_b): if x == a_b.item(0): return a_b.item(1) elif x == a_b.item(1): return a_b.item(0) else: return 'The input is not valid.' ``` If `colors` is initialized as `make_array('red', 'blue')`, what w...
automath
Simplify the following expression in $x$: \[2x^3-5x^2+3x-1-(x^3-2x^2+x-4).\] Express your answer in the form $ax^3+bx^2+cx+d$, where $a$, $b$, $c$, and $d$ are numbers.
nvidia_math
Given a list \( L = \{1, 2, 3, 4, 5, 6, 8, 10\} \) and using the color function "TemperatureMap" in a ListPlot command, how many distinct RGB color values are utilized for the plotted points? Assume you are working in a version of Mathematica that retains the color information for each point.
automath
A standard deck of 52 cards is shuffled, and a card is randomly drawn from it. What is the probability that the card drawn is either a king or the ace of hearts? Express your answer as a common fraction.
nvidia_math
In a group of 800 people, 1/5 play at least one instrument, 128 play two or more. What is the probability that one student play exactly one instrument? Answer Choices: (A) 2/125 (B) 3/125 (C) C) 2/25 (D) 3/25 (E) 1/25 Please write a program to solve it
tiger_lab_math
Farmer Brown has a total of 100 acres on which he can plant two types of crops: corn and tomatoes. He needs at least twice as many acres of corn as tomatoes for optimal production. However, for every 10 acres of tomatoes, Farmer Brown must set aside 1 acre for a pesticide-free buffer zone which can't be used to plant e...
tiger_math
A circular garden has a circumference of 20 meters. A path that is 2 meters wide is built around the garden. What is the area of the path in square meters?
nvidia_math
What is the number of positive real solutions to the equation $x^{12}-5x^{11}+6x^{10}+1331x^9-793x^8=0$?
tiger_math
Is it true that for any half-integral weight modular form \( f \in S_{k+\frac{1}{2}}(\Gamma_1(4N))^{new} \), if there exists a complex number \( d_p \) such that \( T_{p^2}(f) = d_p f \) for all primes \( p \nmid 4N \), then \( f \) is a Hecke eigenform for all primes \( p \)?
automath
What is the complete factorization of the expression (9x^5 + 25x^3 - 4) - (x^5 - 3x^3 - 4)?
tiger_math
What is the area of a Reuleaux triangle with a constant width of \( s \)? Provide your answer in terms of \( s \).
automath
A circle is circumscribed around a square with an area of 100 square units. What is the area of the circle, rounded to the nearest whole number? A. 131 B. 137 C. 157 D. 161 E. 174
automath
In the figure, the visible gray area within the larger circle is equal to three times the area of the white circular region. What is the ratio of the radius of the small circle to the radius of the large circle? Express your answer as a common fraction. [asy]size(101); filldraw(Circle((0,0),2)^^Circle((.8,-.3),1),gray...
nvidia_math
a gambler bought $ 3,000 worth of chips at a casino in denominations of $ 20 and $ 100 . that evening , the gambler lost 16 chips , and then cashed in the remainder . if the number of $ 20 chips lost was 2 more or 2 less than the number of $ 100 chips lost , what is the largest amount of money that the gambler could ha...
tiger_lab_math
Given a list of circle radii `rad = {34.6302, 10.0623, 6.94622, 26.3059, 52.6308, 27.1662, 80.0562, 799.3, 44.5997, 14.0357, 1000}`, how can you remove all radii that are less than 2, between 4 and 6 (exclusive), and greater than 8? What will the resulting list of radii be?
automath
Let \( X \) be a continuous random variable with probability density function \( p(x) \) defined over the interval \([0, 1]\). If the expected value \( E(X^2) \) is given by \( \int_0^1 x^2 p(x) \, dx \) and the average of the function \( f(X) = X^2 \) is to be calculated using the law of the unconscious statistician, ...
automath
Kelly puts string cheeses in her kids lunches 5 days per week. Her oldest wants 2 every day and her youngest will only eat 1. The packages come with 30 string cheeses per pack. How many packages of string cheese will Kelly need to fill her kids lunches for 4 weeks?
tiger_lab_math
What are the maximum and minimum values of the area \( A \) bounded by the function \( f(x) = \left| \frac{\sin x + \cos x}{x} \right| \) with respect to the x-axis, from \( x = \pi \) to \( x = 3\pi \)?
automath
Haman's father has an egg business supplying the local market. On a Wednesday morning, his father sends him to go and collect 10 trays of eggs for sale from their store. While loading the eggs into the car, he accidentally drops two trays. He calls his father telling him this, and is told to add 7 more trays for sale. ...
tiger_math
Two persons start running simultaneously around a circular track of length 600 m from the same point at speeds of 15 km/hr and 25 km/hr. When will they meet for the first time any where on the track if they are moving in opposite directions? Answer Choices: (A) 16 seconds (B) 18 seconds (C) 27 seconds (D) 54 seconds (E...
tiger_lab_math
Darlene's car gets 20 miles/gallon. Martha's car gets half as many miles per gallon as Darlene’s car. How many gallons does Martha’s car require to make a 300-mile trip? Let's program in Python in the response.
tiger_lab_math
The points A(0, 0), B(0, 4a - 2) and C(2a + 1, 2a + 6) form a triangle. If angle ABC = 90, what is the area of triangle ABC? Answer Choices: (A) 58 (B) 70 (C) 63 (D) 65 (E) 72
tiger_lab_math
The lattice shown is continued for $9$ rows. What will be the third number in the $9$th row? \begin{tabular}{rccccc} Row 1: & 1 & 2 & 3 & 4 & 5 \\ Row 2: & 6 & 7 & 8 & 9 & 10 \\ Row 3: & 11 & 12 & 13 & 14 & 15 \\ Row 4: & 16 & 17 & 18 & 19 & 20 \end{tabular} Please respond by writing a program in Python.
tiger_lab_math
Trisha needed to buy some groceries for herself and her dog. She spent $17 on meat, $22 on chicken, $43 on all the veggies, $5 on the eggs, and finally $45 on her dog’s food. When she left the store, she had only $35 left. How much money did she bring with her at the beginning?
tiger_lab_math
At the Greene Nursery, there are 1491 red roses, 3025 yellow carnations, and 1768 white roses. How many flowers are at the Greene Nursery in total?
tiger_lab_math
Solve the equation \[ \left\vert x+1 \right\vert - \left\vert x \right\vert + 2\left\vert x-1 \right\vert = 2x - 1 \] for real values of \( x \) and determine the number of distinct solutions. What are these solutions?
automath
If Alberto spent $2457 on a new engine for his car and Samara spent $25 on oil, $467 on tires, and $79 on detailing for her car, how much more money did Alberto spend on his car compared to Samara?
tiger_math
Given the expression for the constant \( A \) derived from the integral equations in the mapping from the upper half-plane to the rectangle in the \(\zeta\)-plane, specifically \[ A = \frac{\pi}{2 \int_0^1 \frac{dt}{\sqrt{(1-t^2)(k^2-t^2)}}}, \] and knowing that \( k \approx 1.6984 \), compute the approximate value ...
automath
Find the angle between the vectors $\begin{pmatrix} X \\ -1 \\ 1 \end{pmatrix}$ and $\begin{pmatrix} -1 \\ 1 \\ 0 \end{pmatrix},$ in degrees. If we know the answer to the above question is 150, what is the value of unknown variable X?
tiger_math
When $1 - i \sqrt{3}$ is converted to the exponential form $re^{i \theta}$, what is $\theta$?
nvidia_math
Consider a surface S described by the equation z = x^2 + y^2 for -1 ≤ x ≤ 1 and -1 ≤ y ≤ 1. Calculate the Gaussian curvature of S at the point (0,0).
tiger_lab_math
If two distinct members of the set $\{ 3, 7, 21, 27, 35, 42, 51 \}$ are randomly selected and multiplied, what is the probability that the product is a multiple of 63? Express your answer as a common fraction.
nvidia_math
If a robotic arm consists of two joints and uses the Modified DH parameter convention, with the following values: \( a_1 = 0.5 \, \text{m} \), \( \theta_1 = \frac{\pi}{4} \, \text{rad} \), \( d_1 = 0.3 \, \text{m} \), \( a_2 = 0.75 \, \text{m} \), \( \theta_2 = \frac{\pi}{3} \, \text{rad} \), and \( d_2 = 0.2 \, \text{...
automath
Suppose you have a 5m x 5m x 3m room filled with air at a temperature of 300 K. If a bowling ball made of iron with a mass of 7 kg suddenly appears in the room at absolute zero (0 K), what will be the final equilibrium temperature of the room? Assume no heat is lost to the environment and use the specific heat capacity...
automath
Find the number of digits in the decimal representation of $3^{2017}.$
nvidia_math
if 6 parallel lines in a plane is intersected by a family of another 8 parallel lines , how many parallelograms are there in the network thus formed ? Please respond by writing a program in Python.
tiger_lab_math
Consider a connected undirected graph with 6 vertices, where the vertices and edges are defined as follows: Vertices: \( V = \{A, B, C, D, E, F\} \) Edges: \( E = \{(A, B), (A, C), (B, D), (B, E), (C, F)\} \) If a depth-first search (DFS) is initiated at vertex \( A \), and we mark the discovery and processing tim...
automath
In a random selection of three coins from a bag containing an equal number of dimes and nickels, what is the probability that the selected coins include at least one dime and one nickel? Express your answer as a common fraction.
nvidia_math
What is the value of \( K \) such that the sum of the first 50 positive multiples of \( K \) is equal to \( 1,275K \)? (A) 1 (B) 2 (C) 3 (D) 4 (E) 5
automath
Does every finite simple group of order divisible by 60 contain a subgroup isomorphic to \( A_5 \)?
automath
Find the value of $b$ such that the polynomial $x^3 + 2x^2 - 7x + 1$ can be expressed as the product of two polynomials, one of which is $x^2 + bx + 1$, and the other is a linear polynomial with integer coefficients.
nvidia_math
Determine whether the integer \( 64 \) is a power of two, and if so, find the value of \( n \) such that \( 2^n = 64 \).
automath
Given a non-decreasing array \( A \) of length \( N \) and a constant \( K \), how many subarrays of \( A \) have an arithmetic mean that is less than \( K \)? Express your answer in terms of \( N \) and \( K \) when \( A \) is composed of integers that are each less than \( K \).
automath
What is the present worth of Rs. 143 due in 2 years at 5% simple interest per annum Answer Choices: (A) 110 (B) 120 (C) 130 (D) 140 (E) None of these
tiger_lab_math
Every student of a certain school must take one and only one elective course. In last year, 1/2 of the students took P.E. as an elective, 1/3 of the students took Theatre as an elective, and all of the other students took Music. In this year, 1/3 of the students who took P.E. and 1/4 of the students who took Theatre le...
tiger_lab_math
Find the period of the function $y = \tan \left(\frac{\pi x}{4}\right)$.
tiger_math
A certain portion of a curve is given by the equation y = x^2 + 1, where x ranges from 0 to 2. Find the arc length of the curve in that interval.
tiger_lab_math
How many 5-digit numbers have at least one zero?
nvidia_math
Given an epsilon-NFA \( A \) with \( n \) states, what is the maximum number of states \( A' \) can have after converting to an equivalent NFA without epsilon transitions, and does there exist a conversion where \( A' \) has \( n \) states?
automath
How many liters of a $40\%$ solution of alcohol should be added to $20$ liters of a $10\%$ solution to yield a solution that is $25\%$ alcohol?
nvidia_math
Express the product of $\sqrt{12}$ and $\sqrt{75}$ as a simplified radical.
tiger_math
The fall semester lasts 15 weeks. During the weekdays, Paris studies 3 hours a day for her classes. On the weekends, she spends 4 hours studying on Saturday and 5 hours studying on Sunday. How much time does Paris study during the semester?
tiger_lab_math
the diagonals of a rhombus are 15 cm and 20 cm . find its area ? Please write a program to solve it
tiger_lab_math
Emily reads 18 books on Friday, and one-third as many on Saturday. On Sunday Emily reads 2 times as many as she did on Friday. How many books did Emily read total in the three days?
nvidia_math
If Eliza can iron a blouse in 15 minutes and a dress in 20 minutes, and she spent 2 hours ironing blouses and 3 hours ironing dresses, how many pieces of clothing did she iron in total?
tiger_math
Given the data collected from a sample of 20 pages of the Ameritech Pages Plus Yellow Pages displaying the area in square millimeters: 0, 260, 356, 403, 536, 0, 268, 369, 428, 536, 268, 396, 469, 536, 162, 338, 403, 536, 536, 130, calculate the sample mean and standard deviation. Then, using these statistics, calcula...
automath
In a unit square, a straight line (Line 1) starts at the bottom-left vertex and intersects the opposite edge at its midpoint, while a quarter circle (Line 2) is drawn from the top-right vertex with radius \( r = 1 \). Find the exact area \( A \) that lies inside the quarter circle but outside the area under Line 1, exp...
automath
Matt did his homework for 150 minutes. He spent 30% of that time on math and 40% on science. He spent the remaining time on other subjects. How much time did Matt spend on homework in other subjects?
tiger_math
Find the Laurent series expansion of the function f(z) = (z-1)/(z+2) centered at z=0 and determine the annulus of convergence.
tiger_lab_math
For a certain weekend, the weatherman predicts that it will rain with a $40\%$ probability on Saturday and a $55\%$ probability on Sunday. Assuming these probabilities are independent, what is the probability that it rains on exactly one of the days? Express your answer as a percentage.
tiger_math
Given the first-order system described by: \[ \frac{dY(t)}{dt} = \begin{pmatrix} 0 & 1 \\ -3 & -4 \end{pmatrix} Y(t), \quad Y(0) = \begin{pmatrix} -2 \\ -4 \end{pmatrix}, \] determine the analytical expression for the solution \( Y(t) \) and evaluate \( Y(1) \).
automath
Calculate $(-1)^{47} + 2^{(3^3+4^2-6^2)}$.
tiger_math
A box contains six cards. Three of the cards are black on both sides, one card is black on one side and red on the other, and two of the cards are red on both sides. You pick a card uniformly at random from the box and look at a random side. Given that the side you see is red, what is the probability that the other s...
nvidia_math
What is the perimeter of the Koch island after five iterations, if the length of the original line segment is 1 unit?
tiger_lab_math
Let $a$ and $b$ be the roots of the equation $x^2 + mx + 1 = 0$. You are given a quadratic equation $x^2 + px + q = 0$ and a linear equation $rx + s = 0$, where $p, q, r$, and $s$ are constants. The roots of the quadratic equation are $a^2$ and $b^2$, and the root of the linear equation is $a + b$. Determine the value ...
nvidia_math
Mary is going on a business trip. It takes 10 minutes for her Uber to get to her house and 5 times longer to get to the airport. It takes 15 minutes to check her bag and three times as long to get through security. Then she has to wait for 20 minutes for her flight to start boarding and twice as long before the plane i...
tiger_math
If the width of a rectangular flowerbed in the city park is 4 meters and its length is 1 meter less than twice its width, how many meters of fence are required by the government to enclose the flowerbed?
tiger_math
In a factory, there are 40% technicians and 60% non-technicians. If the 60% of the technicians and 40% of non-technicians are permanent employees, then the percentage of workers who are temporary is? Answer Choices: (A) 62% (B) 57% (C) 52% (D) 22% (E) 42%
tiger_lab_math
There were 15 males and 10 more girls at the party. Each attendee received 2 cans of soft drinks. If Mary bought several boxes of soft drinks where a box contains 8 cans and is priced at $5 for each box, how much did Mary spend on soft drinks?
tiger_lab_math
Tomorrow, Pete must finish paying off the last $90 he owes on a bike. He goes through his wallet and finds two $20 bills. Checking his pockets, he finds four $10 bills. Unhappy that he doesn't have the entire amount, he suddenly remembers that he has plastic bottles that can be returned to his local store for cash. If ...
tiger_lab_math
It takes Mary 30 minutes to walk uphill 1 km from her home to school, but it takes her only 10 minutes to walk from school to home along the same route. What is her average speed, in km/hr, for the round trip?
tiger_lab_math
A fruit seller had some oranges. He sells 20% oranges and still has 380 oranges. How many oranges he had originally? Answer Choices: (A) 475 (B) 700 (C) 220 (D) 400 (E) None of these
tiger_lab_math
The graph of $y = f(x)$ is shown below. [asy] unitsize(0.5 cm); real func(real x) { real y; if (x >= -3 && x <= 0) {y = -2 - x;} if (x >= 0 && x <= 2) {y = sqrt(4 - (x - 2)^2) - 2;} if (x >= 2 && x <= 3) {y = 2*(x - 2);} return(y); } int i, n; for (i = -5; i <= 5; ++i) { draw((i,-5)--(i,5),gray(0.7)); ...
tiger_math
What is a specific example of a function that is differentiable only at the points \( x = 0 \) and \( x = 1 \)? Provide the definition of this function and justify why it meets the criteria of being differentiable only at these two points.
automath
A snail is at the bottom of a 20-foot well. Each day, it climbs up 3 feet, but at night, it slips back 2 feet. On which day will the snail reach the top of the well?
nvidia_math
For how many distinct values of \( n \) can we insert \( + \) signs into a string of \( n \) sevens, so that the resulting arithmetic expression equals \( 7000 \)?
automath
In a classroom of 22 students, Ramesh scored 82.5 and the average score of the remaining 21 students, excluding Gautam, is 62. The average score of all students is one more than the average score of the 21 students excluding Ramesh. What is Gautam's score? 1. 49 2. 48 3. 51 4. 53
automath
Consider a monic polynomial $Q(x)$ with real coefficients, having two complex roots $e^{i\theta}$ and $e^{-i\theta}$, where $0 < \theta < \frac{\pi}{4}$, and two additional real roots. When the four roots of $Q(x)$ are plotted in the complex plane, they form a quadrilateral whose vertices are used to construct a parall...
nvidia_math
Let $a$, $b$, $c$ be real numbers such that $a^2+2b^2+3c^2=1$ and $a+b+c=0$. Find the maximum value of $c$.
nvidia_math
Consider the path integral representation of the matrix element given by $$\langle q_2,t_2|\hat{q}(t_1)|q_0,t_0\rangle = \int_{q(t_0)=q_0}^{q(t_2)=t_2}\mathcal{D}[q]e^{iS[q]}q(t_1).$$ If we assume $q_0 = 0$, $q_2 = 1$, and $t_0 = 0$, $t_2 = 1$, what is the value of the integral $$\int_{q(t_0)=0}^{q(t_2)=1}\mathca...
automath
Suppose $a$ and $b$ are integers such that $ab-3a+2b=6$. Find the least possible value of $b$.
tiger_math
A certain set of numbers has an average (arithmetic mean) of 50 and a standard deviation of 50.5. If b and n, two numbers in the set, are both within 2 standard deviations from the average, then which of the following could be the sum of b and n? Answer Choices: (A) -200 (B) -130 (C) -104 (D) 51 (E) 305
tiger_lab_math
Compute $\cos 240^\circ$.
tiger_lab_math
Three taps A, B and C can fill a tank in 24, 30 and 40 hours respectively. If A is open all the time and B and C are open for one hour each alternately, the tank will be full in : Answer Choices: (A) 8 hours (B) 10 hours (C) 14 hours (D) 16 hours (E) 18 hours
tiger_lab_math
Given the curve defined by the equation \( y = x^2 \), a point moves along this curve with a unit speed. Calculate the magnitude of the acceleration of the point when it is located at the coordinates \( \left( \frac{1}{2}, \frac{1}{4} \right) \).
automath
Given a prime number \( p \), how many distinct integer solutions \( a \) exist such that the congruence \( a^2 \equiv -1 \mod p \) holds true?
automath
Which of the following is closer to (21!+20!)/(21!-20!)? Answer Choices: (A) 49 (B) 36 (C) 25 (D) 16 (E) 1
tiger_lab_math
For the rational function $f(x) = \frac{x^3-3x+1}{x^2-9}$, determine the equations of all vertical asymptotes.
tiger_math
What is the molecular weight of 9 moles of Carbon tetrachloride
tiger_math
The ratio of the number of females to males at a party was 1 : 2. When 3 females and 3 males left, the ratio became a certain ratio. There were originally 18 people at the party. What was the new ratio of females to males after some people left?
tiger_math
Given the differential equation $$y' = \frac{y}{\sqrt{1-x^2}},$$ where \( y \) and \( x \) are real-valued functions and \( -1 < x < 1 \), find the general solution of this equation, expressing \( y \) in terms of \( x \). Additionally, determine the conditions under which the constant \( C \) can be chosen such th...
automath
John works x hours every other day. He gets a 30% raise from his former $20 an hour job. How much does he make in a 30 day month? If we know the answer to the above question is 4680, what is the value of unknown variable x?
tiger_math
In the fifth grade at Parkway elementary school there are 420 students. 296 students are boys and 250 students are playing soccer. 86% of the students that play soccer are boys. How many girl student are in Parkway that is not playing soccer? Answer Choices: (A) 69. (B) 73. (C) 81 (D) 91 (E) 89
tiger_lab_math
two trains start from p and q respectively and travel towards each other at a speed of 50 km / hr and 40 km / hr respectively . by the time they meet , the first train has traveled 100 km more than the second . the distance between p and q is ? Let's write a program.
tiger_lab_math
Let \( X \) be a Gaussian random variable with mean \( 0 \) and variance \( 1 \). If we perform a linear transformation to create a new random variable \( Y = aX + b \), find the values of \( a \) and \( b \) such that the mean of \( Y \) is \( 3 \) and the variance of \( Y \) is \( 9 \). What is the probability densit...
automath
In a weighted undirected graph represented by an adjacency matrix \( A \), if the diagonal entry \( a_{i,i} \) corresponds to the node weight of vertex \( v_i \), what is the total sum of the node weights of a graph with \( n \) vertices where each node weight \( a_{i,i} \) is equal to \( i \) for \( i = 1, 2, \ldots, ...
automath
What is the largest three-digit number whose digits add up to 10?
tiger_math
Rob has some baseball cards, and a few are doubles. One third of Rob's cards are doubles, and Jess has 5 times as many doubles as Rob. If Jess has 40 doubles baseball cards, how many baseball cards does Rob have?
tiger_math
Elvis and Ralph are to make square shapes with matchsticks from a box containing 50 matchsticks. Elvis makes 4-matchstick squares and Ralph makes 8-matchstick squares. If Elvis makes 5 squares and Ralph makes 3, how many matchsticks will be left in the box?
tiger_lab_math
Solve the inequality $$\frac{x^2-4}{x^2+4} \le 0.$$Enter your answer using interval notation.
nvidia_math