Risolto


Area-06
The length of the side of a square is given. Draw 4 quarter-circles inside the square from 4 corners with a radius equal to t...

oltre 6 anni fa

Risolto


Area-05
The dimension of a rectangle is given. There are two circles of equal size that are inscribed inside it.The circles are tangent ...

oltre 6 anni fa

Risolto


Bell Triangle
Form the bell triangle upto nth bell number posotion; * if n=5 * y= [1 0 0 0 0; 1 2 0 0...

oltre 6 anni fa

Risolto


cofactor matrix
given a matrix, find its cofactor matrix <https://en.wikipedia.org/wiki/Minor_(linear_algebra)#Inverse_of_a_matrix>

oltre 6 anni fa

Risolto


another bullseye
create matrix like below -- for x=2, y=[1 1 1 1 1; 1 2 2 2 1; 1 2 3...

oltre 6 anni fa

Risolto


Gray code
Given a decimal number, convert it to its corresponding Gray code (see https://en.wikipedia.org/wiki/Gray_code). 8 -- 1100...

oltre 6 anni fa

Risolto


Cantor counting
Find the nth cantor's rational number. the sequence is given below in the link. Sequence: 1/1,1/2,2/1,3/1,2/2,1/3,1/4... ... .....

oltre 6 anni fa

Risolto


check whether a number is a pentatope number
<https://oeis.org/A000332>

oltre 6 anni fa

Risolto


Area-04
The dimension of a rectangle is given. There are two circles of equal size that are inscribed inside it.The circles are tangent ...

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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. ...

oltre 6 anni fa

Risolto


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. ...

oltre 6 anni fa

Risolto


leap year
find the number of leap years within the given time interval

oltre 6 anni fa

Risolto


Last non-zero digit
Given a number n, find the last non-zero digit of the factorial of that number. You need to take care of the large values of n....

oltre 6 anni fa

Risolto


Find index of non empty cell array
This question aims to understand the characteristics of MATLAB programs. Educational problem. Please find empty index of cell...

quasi 7 anni fa

Risolto


MinMax
* x=[2 4 3 1 6 4 6] * output , y=[1 6 2 4 3] here,y(1) is the minimum of x, y(2) is the maximum of x, y(3) is the 2nd mini...

quasi 7 anni fa

Risolto


Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

quasi 7 anni fa

Risolto


Find the centroid of triangle
Imagine that you want to calculate the *centroid* of some _triangles_ given in matrix form. First the coordinates of the vertice...

quasi 7 anni fa

Risolto


Calculate triangle area
Imagine that you want to calculate the areas of some triangles given in matrix form. First the coordinates of the vertices of th...

quasi 7 anni fa

Risolto


Solve Sudoku puzzle step by
Sudoku is a famous puzzle. <https://en.wikipedia.org/wiki/Sudoku> Give a standard sudoku by a matrix (9*9), You need give a ...

quasi 7 anni fa

Problema


Solve Sudoku puzzle step by
Sudoku is a famous puzzle. <https://en.wikipedia.org/wiki/Sudoku> Give a standard sudoku by a matrix (9*9), You need give a ...

quasi 7 anni fa | 1 | 8 risolutori

Risolto


Find the sequence
Find the nth number of a sequence. Check the test suite to determine the sequence. * hint: it is closely related to familiar ...

quasi 7 anni fa

Risolto


Zero
given an integer a, find the smallest possible integer b(b>0) such that their bitwise logical AND is zero. * if a=11(1011) t...

quasi 7 anni fa

Risolto


Subdivide the Segment
Two points, P1 and P2, with integer x-y coordinates are given. These uniquely determine a third point, P0, on the extended line...

quasi 7 anni fa

Risolto


Remove duplicated vertices
First input V_in is a vertices list (X Y Z coordinates) which may contain duplicata (identical rows). Second input T_in is th...

quasi 7 anni fa

Risolto


Rotate a matrix without using rot90
rotate the input square matrix by certain degrees (e.g. 270 or 450 etc.) without using rot90 or flip function. its an extension...

quasi 7 anni fa

Risolto


Query edges list
Input T is a triangulation connectivity indices list (triplet list of indices -positive integers-, each index refering to a vert...

quasi 7 anni fa

Risolto


Find neighbor triangle indices
First input T is a triangulation (triplet list of indices -positive integers-, each index refering to a vertex number in a corre...

quasi 7 anni fa

Risolto


Query a vertex neighbors
First input T is a triangulation connectivity indices list (triplet list of indices -positive integers-, each index refering to ...

quasi 7 anni fa

Risolto


Find triangles from edge
First input is T, a Triplet list of indices -whom each row actually contains the three indices of a triangle vertices-. size(T) ...

quasi 7 anni fa

Carica altro