instruction_seed
stringlengths
17
40.5k
source
stringclasses
10 values
You are tasked with implementing a Python decorator that logs the input arguments and return value of a function. The decorator should take the following form: ```python @log_function def my_function(arg1, arg2, arg3): """ This is a sample function. """ # Function implementation return result ``` ...
magicoder
You are tasked with implementing a function that finds all occurrences of a specific pattern within a given text. The function should return a list of indices where the pattern is found in the text. The pattern matching should be case-sensitive. You are given the following code snippet as a starting point: ```python ...
magicoder
You are tasked with creating a JavaScript function that dynamically enables or disables a button based on the state of a checkbox. The provided code snippet is a part of a larger web application, where the checkbox with the id "kullanimkosullari" is used to control the state of the button with the id "start-setup". Whe...
magicoder
You are tasked with implementing a Python function that processes a list of integers and returns the count of unique numbers in the list. The function should ignore any non-integer elements in the list and consider only the unique integer values. The function signature is: ```python def count_unique_integers(input_lis...
codefeedback
What prime is 4 greater than a perfect square and 7 less than the next perfect square? Let's write a Python program.
tiger_lab_math
Farmer Joe has a rectangular field where he grows tomatoes and potatoes. The field's length is twice its width. If the perimeter of the field is 180 meters, find the area of the field.
tiger_math
In packing for a trip, Sarah puts three pairs of socks - one red, one blue, and one green - into one compartment of her suitcase. If she then pulls four individual socks out of the suitcase, simultaneously and at random, what is the probability that she pulls out exactly two matching pairs? Answer Choices: (A) 1/5 (B) ...
tiger_lab_math
In the context of a programming test, you are provided with the following chunk of erroneous Python code designed to perform searches on a list of integers. Prior to fixing the code, identify and explain what data structure would most appropriate for performing fast searches in this scenario and why. If possible, rewri...
codefeedback
What is the greatest integer number of centimeters that a side of a triangle could measure if the lengths of the other two sides are in the ratio 3:5 and their sum is 56 cm?
nvidia_math
Olly wants to get shoes to protect his pets’ paws. He owns 3 dogs, 2 cats, and a ferret. How many shoes does he need?
tiger_lab_math
Elaborate on the subsequent sentence in a way that conveys a divergent sentiment: An attempt to address this issue ought to be made by us.
codefeedback
You are tasked with implementing a Python function to calculate the roots of a quadratic equation. The quadratic equation is of the form ax^2 + bx + c = 0, where a, b, and c are coefficients provided as input to the function. The roots of the quadratic equation can be calculated using the quadratic formula: x = (-b ± √...
magicoder
convert this code from c++ to Swift: ```cpp bool circularArrayLoop(vector<int>& nums) { int N = nums.size(); for (int i = 0; i < N; i++) { int slow = i, fast = i; do { slow = getNextIndex(slow, nums); fast = getNextIndex(getNextIndex(fast, nums), nums); } while (s...
dolphin
Let A = {1, 2, 3, 4} and B = {2, 4, 6, 8}, find the symmetric difference of (A ∆ B) ∪ A and (A ∪ A) ∆ (B ∪ B).
tiger_lab_math
What is the electric field at the origin (0, 0, 0) due to a quarter ring of charge with total charge +Q, where the quarter ring lies along the positive y-axis, and how do you determine the correct limits of integration for calculating the x and y components of the electric field?
automath
You are tasked with implementing a Python class that combines the functionality of a themed label frame with features of a text-based Tkinter widget. Your goal is to create a class that inherits from `ttk.LabelFrame`, `BaseTextTkinterWidget`, and `BaseFrameMixin`. The `BaseTextTkinterWidget` and `BaseFrameMixin` are as...
magicoder
In quadrilateral $ABCD$, $AB = 25$ and $CD = 17$. The diagonals $AC$ and $BD$ intersect at point $E$. Point $F$ is the midpoint of $DE$. Let $G$ be the point of intersection of $AD$ and $CF$. The ratio of $DG$ to $GA$ can be expressed in the form $\dfrac{p}{q}$, where $p$ and $q$ are relatively prime positive integers....
nvidia_math
In the realm of educational techniques employed to impart multiplication skills to Japanese schoolchildren, there exists a visually engaging method [citation needed] that involves intersecting lines and their crossings to derive answers. Image Source Your assignment is to realize this technique using ASCII art. You wi...
evolcodegolf
Set A consists of all the prime numbers between 62 and 85. What is the range of set A? Answer Choices: (A) 12 (B) 13 (C) 16.6 (D) 16 (E) 23
tiger_lab_math
You are tasked with implementing a feature for a mobile advertising plugin called `nend_plugin`. The feature involves creating a class called `UserFeature` in the file `UserFeature.swift`. The `UserFeature` class should have a method `fetchUserDetails` that makes a network request to retrieve user details from a remote...
magicoder
Emily received a set of 25 markers. She already had a case of 48 markers at home. Her friend Olivia gave her a third of the amount she already had at home. Emily decided to give her brother Jack 1/4 of her total amount of markers. How many markers does she give to Jack?
nvidia_math
Why is the policy loss in the DDPG algorithm expressed as the mean of \(-Q(s, \mu(s))\), and how does this relate to the maximization of the value function \(v_{\pi_\theta}(s)\) for a deterministic policy? What derivations lead to this expression?
automath
In a factory, there are 300 workers. The probability of a worker having an accident in a week is 0.05. What is the probability of at least 15 workers having an accident in a week?
tiger_lab_math
A train starts full of passengers at the first station it drops 1/3 of the passengers and takes 280 more at the second station it drops one half the new total and takes twelve more. On arriving at the third station it is found to have 250 passengers. Find the no of passengers in the beginning? Answer Choices: (A) 292 (...
tiger_lab_math
convert this code from Swift to javascript: ```swift func getFolderNames(_ names: [String]) -> [String] { var folders = [String](repeating: "", count: names.count) var count = [String: Int]() for i in 0..<names.count { let curr = names[i] if count[curr] == nil { folders[i] =...
dolphin
What is the maximum number of Voronoi cells that can be created when generating a Voronoi diagram with 100 radial points and 360 azimuthal points arranged in a circular pattern? Given the behavior observed, why does the actual count fall short by a specific number, and what conditions would lead to this discrepancy?
automath
Identify the unique decade following the year 1776 in American history during which four out of the ten years were prime numbers. Your task is to develop a program that efficiently calculates this decade through logical reasoning, ensuring that the output adheres to the specified format as follows: 1710s or 1980s ...
evolcodegolf
Develop a Python subroutine capable of calculating the symmetric dissimilarity, which refers to the items that are present in either one of the supplied numeric collections, excluding elements found in both. The input consists of the following 5 distinct array entities and you must handle null and repeating values as w...
codefeedback
port this code to PHP: ```python def search(nums, target): left = 0 right = len(nums) - 1 while left <= right: mid = left + (right - left) // 2 if nums[mid] == target: return mid elif nums[mid] < target: left = mid + 1 else: right = mid -...
dolphin
Zorvath, a six-legged asteroid creature, leaves 6 footprints for every 2 meters it walks on the dusty surface of the asteroid. Meanwhile, Xexu, a five-legged moon dweller, leaves 5 footprints for every 3 meters it walks on the lunar regolith. If Zorvath travels 4500 meters across the asteroid's surface and Xexu travels...
nvidia_math
Consider a taut string of length \( L \) fixed at both ends, where the string is struck in the middle with a hammer of width \( a \). The initial conditions are given by: \[ u(x,0) = 0 \] and \[ u_t(x,0) = v_0 \quad \text{for } \frac{L}{2}-\frac{a}{2} \leq x \leq \frac{L}{2}+\frac{a}{2} \] \[ u_t(x,0) = 0 \quad \text{...
automath
You are tasked with implementing a VHDL entity for a reset module for a Xilinx Zynq design. The entity should have the following input and output ports: Inputs: - slowest_sync_clk: a standard logic signal for the slowest synchronous clock - ext_reset_in: a standard logic signal for the external reset - aux_reset_in: a...
glaive
You need to implement a function that calculates the symmetric Euclidean distance matrix from an input matrix A. The input matrix A may have a row/col-major memory layout, whereas the output matrix is always row-major. The function should take the following parameters: - Pointer to (device) input data - Pointer to (dev...
glaive
A farmer is planning to distribute water equally among his three fields. The farmer has a reservoir with a capacity of 95,000 liters of water. Due to evaporation, 5% of the water is lost daily. If the farmer waits 3 days before distributing the water, how many liters will each field receive?
tiger_math
In this task, you are asked to engage in a multi-step reasoning process to determine the quotient and the remainder from two given positive integers, known as the dividend and the divisor. The calculation follows the formula e = o*q + r, but with a particular focus on the conditions where q*o is greater than or equal t...
evolcodegolf
I need to write a procedure AddPriv in assembly language that adds a new privilege to a given data structure. The procedure should locate the privilege data structure within the system's kernel and set a specific value to indicate the addition of the privilege. Can someone provide a complete implementation of the AddP...
glaive
Can you create a Python code that converts a given temperature in Celsius to Fahrenheit using the formula (Celsius * 9/5) + 32? Could you also provide an example by calculating the Fahrenheit equivalent of 50 degrees Celsius? Additionally, can you create a table that shows the Fahrenheit equivalent of temperatures rang...
sharegpt
You are tasked with implementing a function that processes a state dictionary and returns a modified version of the dictionary based on specific criteria. The state dictionary contains information about different states and their attributes. Your task is to create a function that takes this dictionary as input and retu...
magicoder
A string qualifies as pairable if it can be segmented into distinct substrings, each of which represents a string duplicated consecutively two times. For instance, the string aabaaababbbaba can be expressed as: aaba aaba b b ba ba Provided a non-empty string comprised solely of characters 'a' and 'b', return a Truthy ...
evolcodegolf
Tic-Tac-Latin Extravaganza! This narrative is based on true events, with identities modified for privacy. My Latin instructor, Mr. Latin, devised a unique proprietary variant of tic tac toe, which we will refer to as tic-tac-latin. The mechanics are straightforward, resembling the original game but played on a four by ...
evolcodegolf
Find the magnitude of the vector $\begin{pmatrix} 2 \\ -3 \\ 1 \end{pmatrix}$ and the angle it makes with the positive x-axis. Solution: To find the magnitude of the vector, we can use the formula: $$\| \begin{pmatrix} 2 \\ -3 \\ 1 \end{pmatrix} \| = \sqrt{2^2 + (-3)^2 + 1^2} = \sqrt{14}$$ To find the angle it make...
nvidia_math
Create a Python function to pull data from AWS Aurora and apply various data cleaning and preprocessing steps using the pandas library, before feeding the data into a deep learning model for regression tasks.
codefeedback
I need help building a function in Python that can find the sum of multiples of an integer between two given numbers. Can you provide a solution?
sharegpt
You are required to implement a subroutine to compute a forward-difference approximation to the n by n Jacobian matrix associated with a specified problem of n functions in n variables. The subroutine should be able to handle cases where the Jacobian has a banded form, and function evaluations are saved by only approxi...
glaive
Given that $\triangle XYZ$ is similar to $\triangle ABC,$ with side lengths $XY=3$, $YZ=4$, $XZ=5$, $AB=6$, and $BC=8$, determine the area of triangle $ABC$ if the area of triangle $XYZ$ is $6$ square units.
nvidia_math
Let \( A \) represent the initial number of customers. If we model the customer retention over time with the function \[ f(x) = (0.9)^x \cdot (0.98)^{\frac{x(x-1)}{2}}, \] where \( x \) is the number of years, how many customers will remain after 10 years if we start with \( A = 1000 \) customers?
automath
How does the syntax ".s" work in the GNU Assembler (GAS)? I have noticed that it switches the opcode for a particular instruction. For example, when I use the code ".intel_syntax noprefix mov eax, ecx mov.s eax, ecx" and then disassemble it using "as test.s -o test.o && objdump -d test.o -M intel", I get the following ...
sharegpt
I tried to upload a PDF file to a MySQL Blob field using `java.sql.PreparedStatement`, but when I try to retrieve the file, it is corrupt and cannot be opened. Can someone please help me understand what I'm doing wrong? ```java File inFile = new File("Path+BLOCK.pdf"); byte[] b = new byte[(int)inFile.length()]; Prepa...
sharegpt
convert this code from python to Ruby: ```python def findPeakGrid(mat: List[List[int]]) -> List[int]: m, n = len(mat), len(mat[0]) l, r = 0, n - 1 while l < r: mid = (l + r) // 2 max_row = 0 for i in range(1, m): if mat[i][mid] > mat[max_row][mid]: max_r...
dolphin
A particle moves along a straight line with a constant acceleration of 2 m/s^2. At time t = 0, the particle is at position x = 0 and has a velocity of 5 m/s. Find the time at which the particle's velocity is 10 m/s. Express your answer as a decimal rounded to the nearest hundredth.
nvidia_math
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
Is it possible to develop a Python script that can enhance a given sentence by incorporating additional data from a specified dictionary?
sharegpt
Can you provide a specific example of a case in a linear regression model where both coefficients are statistically significant individually, but the joint test for both coefficients together fails to be significant, illustrating this with a quantitative scenario?
automath
port this code from Julia to java: ```julia function minimumLength(s::AbstractString)::Int if isempty(s) return 0 end i, j = 1, length(s) while i < j if s[i] != s[j] break end remove_char = s[i] while i <= length(s) && s[i] == remove_char i...
dolphin
You are tasked with implementing a class to manage client login responses for a web application. The class should provide methods to track and analyze the success and failure rates of client login attempts. The class should have the following functionalities: 1. A method `recordLoginSuccess` to record a successful logi...
magicoder
You are tasked with implementing a text vectorization method that converts a given document into a numerical representation. The vectorization process involves assigning numerical values to each word in the document based on their frequency within the document. You are provided with a Python class containing a method...
codefeedback
Consider the polynomial \( P(x) = x^3 + 12x^2 + 10ax + 1999 \). For which values of \( a \) does the polynomial definitely have at least one positive zero? (a) \( a \geq 0 \) (b) \( a > 0 \) (c) \( a < 0 \) (d) \( a \leq 0 \) Provide a justification for your answer.
automath
You are tasked with implementing a simple asynchronous task scheduler for a microcontroller using the Arduino Uno platform. The scheduler should allow tasks to be scheduled for execution at specific intervals. The microcontroller has a single-core processor and limited memory, so the scheduler needs to be efficient and...
magicoder
Please explain the reasoning behind the following solution and provide code in python: You are given a string `s`. A split is called **good** if you can split `s` into two non-empty strings `sleft` and `sright` where their concatenation is equal to `s` (i.e., `sleft + sright = s`) and the number of distinct letters in...
dolphin
You are tasked with implementing a custom exception class in Java for handling situations where a resource is not processable. The custom exception class should be named `ResourceNotProcessable` and should accept a message as a parameter when it is instantiated. Your task is to create the `ResourceNotProcessable` class...
codefeedback
Build a stress-testing framework for a convoluted mathematical function that handles the sequencing of an array of combinations of alphanumeric and special characters, reorganizing them in a randomized sequence based on a predetermined pattern or algorithm. Additionally, implement functionality to accommodate and proce...
sharegpt
Ava walked 3 blocks from her school to the park. She rode her bike 5 blocks to the bookstore. Later, she went back to school the same way. How many blocks did Ava travel in all?
nvidia_math
You are tasked with creating an R package that implements a resampling method for network metrics/indices. The package should be able to sample interactions without replacement from a network and compute network indices/metrics based on the sampled interactions. The resampling procedure should start with a small sample...
glaive
I'm following the instructions on the website (http://mikeos.sourceforge.net/write-your-own-os.html) to build a simple OS kernel. However, I want to create a grub-based ISO image instead of booting from a floppy. I added some code to the source for the multiboot header, but when I try to boot the multiboot CD in the em...
glaive
What is the value of the definite integral \(\int_0^5 e^{-x^2} \, dx\) calculated using numerical integration methods, and what is the result rounded to five decimal places?
automath
Given the open-loop transfer function \( P_{pitch} = \frac{1.151s + 0.1774}{s^3 + 0.739s^2 + 0.921s} \), determine the specific value of the settling time of the closed-loop response when a feedback controller is applied, where the closed-loop transfer function \( sys_{cl} = \frac{1.151s + 0.1774}{s^3 + 0.739s^2 + 2.07...
automath
Emma's art class wants to create 800 handmade Christmas cards for a local nursing home. There are 25 students in the class. If each student makes 12 cards, how many more cards will they need to make to reach their goal?
nvidia_math
What is the number of units in the area of the circle with center at $P$ and passing through $Q$? Express your answer in terms of $\pi$. [asy] size(150); pair P = (-3,4), Q=(9,-3); string stringpair(pair p){return "$("+string(p.x)+", "+string(p.y)+"$)";} draw((-15,0)--(15,0),Arrows(4)); draw((0,-15)--(0,15),Arrows(4))...
tiger_lab_math
Create a multi-threaded GUI application that displays a dynamically changing text and multiple buttons, where each button triggers a different action when clicked. The dynamically changing text should be fetched from a remote server and updated every 5 seconds. However, the application should only update the text if th...
codefeedback
You are tasked with creating a program that simulates a shift pattern for a group of employees. The shift pattern is represented by a list of integers, where each integer corresponds to the shift number for a specific day. Additionally, you need to transcode the shift pattern using a provided library. You are given a ...
magicoder
You are tasked with implementing a game state management system using the Memento design pattern. The Memento pattern allows an object's state to be captured and restored at a later time without violating encapsulation. Your goal is to create a Java program that utilizes the Memento pattern to save and restore the stat...
magicoder
You are tasked with implementing a decision-making algorithm for an AI agent in a game environment. The agent is presented with a set of actions to choose from based on a given key and context. The key identifies the specific interaction, and the context provides relevant information about the agent's current state in ...
magicoder
Given the equation \( \sqrt{x^2 + (y - \sqrt{5})^2} + \sqrt{x^2 + (y + \sqrt{5})^2} = 8 \), simplify it to find the equation of the locus of points \( (x, y) \). What is the standard form of this equation?
automath
I'm looking for an example of how to calculate the sine using a coprocessor. I came across this function: ``` CalcSin fld long [angle] ; st(0) = angle fsin ; st(0) = sin(angle) (angle is in radians) fstp long [SinX] ; SinX = sin(angle) ``` I wa...
glaive
Please write the following solution using Scheme: Given a non-negative integer `num`, Return its _encoding_ string. The encoding is done by converting the integer to a string using a secret function that you should deduce from the following table: **Example 1:** **Input:** num = 23 **Output:** "1000 " **Example 2:...
dolphin
Five boxes containing the same amount of cereal each weigh a total of 200 pounds. If each box individually weighs 2 pounds more than the cereal it contains, how many pounds of cereal are there in 8 boxes?
nvidia_math
<p>We are trying to rewrite the imports table in order to handle unmanaged assemblies when calling LoadLibrary. However, we are encountering a permission denied error when using the WriteProcessMemory() function. We have elevated privileges, so we're not sure why this error is occurring. Has anyone been successful in r...
sharegpt
I am building a test crawler and wanted to know if Go (golang) caches DNS queries. I don't see anything about caching in the [dnsclient](https://golang.org/src/net/dnsclient_unix.go). This seems like an important thing to add to any crawler to prevent lots of extra DNS queries. Does Go (1.4+) cache DNS lookups? If n...
glaive
Please explain the following problem in detail and provide code in Perl: You are given integers `height` and `width` which specify the dimensions of a brick wall you are building. You are also given a **0-indexed** array of **unique** integers `bricks`, where the `ith` brick has a height of `1` and a width of `bricks[i...
dolphin
port this code to Objective-C: ```smalltalk numDecodings: s | n dp one_digit two_digits | n := s size. dp := Array new: n + 1. dp at: 1 put: (s at: 1) = $0 ifTrue: [0] ifFalse: [1]. dp at: 0 put: 1. 2 to: n + 1 do: [ :i | one_digit := (s copyFrom: i to: i) asNumber. two_digi...
dolphin
You are tasked with implementing a program in Stan that models a harmonic oscillator using the Ordinary Differential Equations (ODE) solver. The program should include the ODE function, data, parameters, transformed parameters, and model sections following the given structure. Your task is to write the Stan program to ...
glaive
What is the relationship between the three definitions of the cross-entropy loss function as presented in different tutorials, particularly how can they be derived from one another, and under what circumstances do they yield the same numerical value?
automath
You are working on a software system that manages remote services. The system has a class called `RemoteService` with the following methods: ```java public class RemoteService { private Registration registration; public RemoteService(Registration registration) { this.registration = registration; }...
magicoder
Is there a way to create an HTML form that can capture user input through a text field?
sharegpt
Please explain the reasoning behind the following solution and provide code in c++: You are given an integer `n`, which indicates that there are `n` courses labeled from `1` to `n`. You are also given a 2D integer array `relations` where `relations[j] = [prevCoursej, nextCoursej]` denotes that course `prevCoursej` has ...
dolphin
The value of a machine depreciates at 22% per annum. If its present value is $1,50,000, at what price should it be sold after two years such that a profit of $24,000 is made? Answer Choices: (A) $255260 (B) $435260 (C) $125260 (D) $115260 (E) $155260
tiger_lab_math
You are tasked with implementing a function to clean a search term by removing stop words from it. Stop words are common words (e.g., "the", "is", "in") that are often filtered out from search queries because they do not significantly contribute to the meaning of the query. The function should take a search term and a ...
codefeedback
Use Python to design a function that concatenates two given strings, but ensure that the resulting string is in alphabetical order. For example, given the strings "Hello" and "World", the function should return "Wdelor".
codefeedback
a train 220 m long is running with a speed of 90 km / hr . in what time will it pass a bus that is running with a speed of 60 km / hr in the direction opposite to that in which the train is going ? Let's write a Python program.
tiger_lab_math
Calculate the Fibonacci sequence up to the n-th number where n is provided as an argument. The solution must have a time complexity of O(log n) and a space complexity of O(1). Additionally, you are not allowed to use recursion or iteration to solve this problem.
codefeedback
Please explain the reasoning behind the following solution and provide code in Kotlin: You are given an array of integers `nums` **(0-indexed)** and an integer `k`. The **score** of a subarray `(i, j)` is defined as `min(nums[i], nums[i+1], ..., nums[j]) * (j - i + 1)`. A **good** subarray is a subarray where `i <= k ...
dolphin
How can I design a procedure to check if two linked lists intersect?
sharegpt
Please explain the following problem in detail and provide code in Kotlin: Return the number of permutations of 1 to `n` so that prime numbers are at prime indices (1-indexed.) _(Recall that an integer is prime if and only if it is greater than 1, and cannot be written as a product of two positive integers both smalle...
dolphin
Your objective here will be to develop an elementary AI program that can navigate through an intricate map to identify and collect all available treasures. The specific representation of the map is as follows: (artist-mode™-powered) Map The map is defined as follows: Basic case: +-+-+-+-+-+-+-+-+-+-+-+-+-+ |...
evolcodegolf
Input Take a comprehensive list of paired values xi and keys yi. [(x1, y1), (x2, y2), ...] Output Return a distinct list L that exclusively comprises values from the set {xi}. The length of L must correspond precisely to the total number of unique keys k present in the set {yi}. For each unique key k, you m...
evolcodegolf
port this code from java to Haskell: ```java public void rotate(int[][] matrix) { int n = matrix.length; for (int i = 0; i < n / 2; i++) { for (int j = i; j < n - i - 1; j++) { int temp = matrix[i][j]; matrix[i][j] = matrix[n - j - 1][i]; matrix[n - j - 1][i] = matrix...
dolphin
Create a program or function that accepts two positive integers representing a width and a height, and produces an ASCII art representation of a houndstooth grid pattern according to the specified dimensions, utilizing the provided 25×26 text grid as the foundational cell. This grid design features the following charac...
evolcodegolf
Please explain the reasoning behind the following solution and provide code in Objective-C: Given a string `s` of zeros and ones, _return the maximum score after splitting the string into two **non-empty** substrings_ (i.e. **left** substring and **right** substring). The score after splitting a string is the number o...
dolphin
Please focus on the functionality of this problem and provide code in Rust: Given two positive integers `num1` and `num2`, find the positive integer `x` such that: * `x` has the same number of set bits as `num2`, and * The value `x XOR num1` is **minimal**. Note that `XOR` is the bitwise XOR operation. Return _t...
dolphin
The central Texas countryside contains many toads that come out at night. For every green toad, there are 25 brown toads, and one-quarter of the brown toads are spotted. If there are 50 spotted brown toads per acre, how many green toads are there per acre?
tiger_math