A résolu


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

plus de 5 ans il y a

A résolu


Size

plus de 5 ans il y a

A résolu


Set zero

plus de 5 ans il y a

A résolu


Find the sines of an isosceles triangle when given its area and height
Find the sines of an isosceles triangle when given its area and height. For example, when A=60 and h=5, the result is [0.3752...

plus de 5 ans il y a

A résolu


area

plus de 5 ans il y a

A résolu


Area-03
There are two circles of equal size are inscribed inside a square. They are tangent to each other. <https://serving.photos.ph...

plus de 5 ans il y a

A résolu


Area-02
Given the radius of the circle inscribed in a square, find the area of the square that can be fitted perfectly in the corner. ...

plus de 5 ans il y a

A résolu


Surface area of a cone

plus de 5 ans il y a

A résolu


Area-01
Given the radius of the circle inscribed in a square, find the area that is not bounded by the circle but inside the square. ...

plus de 5 ans il y a

A résolu


Find the area of ​​the square
There are *n²* circles inscribed in the square ABCD. The perimeter of each circle is *aπ* <<http://imgfz.com/i/3wzCeAT.png>> ...

plus de 5 ans il y a

A résolu


Get the area of ​​the square.
Four circles are inscribed in the square ABCD. The perimeter of each circle is *aπ*. <<http://imgfz.com/i/UzgCJut.png>> Gi...

plus de 5 ans il y a

A résolu


For a rectangle, if x is the length and 2x is width. Then find out x from the area of the rectangle?
For a rectangle, if x is the length and 2x is the width. Then find out x from the area of the rectangle? if the area is equal...

plus de 5 ans il y a

A résolu


Areas
Given certain dimensions determine the area of that shape. If given only one value assume its the radius. Use round(x) to round ...

plus de 5 ans il y a

A résolu


Count decimal digits of a number
* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...

plus de 5 ans il y a

A résolu


ascii value
let input='a' output=97

plus de 5 ans il y a

A résolu


Max index of 3D array
Given a three dimensional array M(m,n,p) write a code that finds the three coordinates x,y,z of the Maximum value. Example ...

plus de 5 ans il y a

A résolu


Concatenate strings
concatenate a variable number of input strings to produce one outputstring

plus de 5 ans il y a

A résolu


index of n^2 in magic(n)
input=5 magic matrix 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 10 ...

plus de 5 ans il y a

A résolu


Prime number removal
remove all prime numbers from the input e.g. input = 1 2 3 4 5 6 7 8 9 10 11 12 ...

plus de 5 ans il y a

A résolu


Select primes from the matrix.
Select primes from the matrix.

plus de 5 ans il y a

A résolu


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

plus de 5 ans il y a

A résolu


Calculate the integral of the polynomial
for e.g. in = [3 2 1] out = [1 1 1 0]

plus de 5 ans il y a

A résolu


Integrate Me
Given polynomial, output the integral (with k = 1 for simplicity purposes) Example: input = [2 1] % 2x+1 output = [1 1 1]...

plus de 5 ans il y a

A résolu


Say type of roots in quadratic equation
Given the coefficients of a quadratic equation, write a function that gives the output y='RealDifferent' if the roots are real a...

plus de 5 ans il y a

A résolu


Divide polynomial p1 by p2.
Divide polynomial p1 by p2 given as vectors. Return result q and r vectors which corresponds the quotient and remainder of divis...

plus de 5 ans il y a

A résolu


deconvolution
* Suppose there is a vector v like [1 0 0 -1], representing polynomial coefficients. * In this example, the polynimial is 1*x^3...

plus de 5 ans il y a

A résolu


Guess the Coefficients!
Given a polynomial _p_ known to have positive integer coefficients, deduce the values of the coefficients. For example: ...

plus de 5 ans il y a

A résolu


Polynomial division
Divide a polynomial u by polynomial v and return the quotients only. Example: u = x^4+3*x^3+5*x+3 v = x^2+1 Answer: ...

plus de 5 ans il y a

A résolu


Roots of quadratic equation
Given a quadratic equation ax^2 + bx + c = 0, write a function to return its roots.

plus de 5 ans il y a

Charger plus