A résolu


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

plus d'un an il y a

A résolu


Determine if input is a valid AHP evaluation matrix
Input is a matrix. Output is a true or false statement (1 or 0). Return true if input is a valid Analytic Hierarchy Process eval...

plus d'un an il y a

A résolu


Orthonormal matrix
You decide whether any given matrix is an orthonormal matrix or not. If each column in a matrix is perpendicular to the other...

plus d'un an il y a

A résolu


Is this matrix orthogonal?
Given a square matrix, a, determine whether it is orthogonal. INPUT: a, a n x n matrix OUTPUT: true or false

plus d'un an il y a

A résolu


Solve the set of simultaneous linear equations
Given this pair of simultaneous linear equations: 2x + 3y = 23 3x + 4y = 32 Find the solution set (x,y)

plus d'un an il y a

A résolu


System of equations
Find a solution to a system of equations represented by a |n| by |n+1| matrix. For instance, [ 2 0 4; => 2*x = 4 ...

plus d'un an il y a

A résolu


Combined Ages 1 - Symmetric, n = 3
You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...

plus d'un an il y a

A résolu


Linear system of equations
Solve the system of equations in three variables.

plus d'un an il y a

A résolu


Column norms of a matrix
Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

plus d'un an il y a

A résolu


Laws of motion 6

plus d'un an il y a

A résolu


Laws of motion 5

plus d'un an il y a

A résolu


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

plus d'un an il y a

A résolu


Laws of motion 3

plus d'un an il y a

A résolu


Laws of motion 2

plus d'un an il y a

A résolu


Laws of motion 1

plus d'un an il y a

A résolu


Kinetic energy calculation

plus d'un an il y a

A résolu


Potential energy calculation

plus d'un an il y a

A résolu


Total energy

plus d'un an il y a

A résolu


Multiply Column
Given two input, one matrix and one scalar number For example A is a matrix given A = [ 1 2 2 5 2 5 2 3 4 6...

plus d'un an il y a

A résolu


I've got the power! (Inspired by Project Euler problem 29)
Consider all integer combinations of a^b and b^a for the integer values 2 ≤ a ≤ 4 and 2 ≤ b ≤ 5: 2^2=4, 2^3=8, 2^4=16,...

plus d'un an il y a

A résolu


Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

plus d'un an il y a

A résolu


Reverse Concatenation
Suggest methods to form a Matrix after deleting one of the input's elements. Input should be element's position and output shou...

plus d'un an il y a

A résolu


Vector parallel to plane?
Given the coefficients of the equation which defines a plane as follows: ax+by+cz=d, return a boolean indicating whether the 2n...

plus d'un an il y a

A résolu


Does this dress make me look fat
For the input string "Does xyz make me look fat" output the string "No, xyz does not make you look fat"

plus d'un an il y a