A résolu


Area-07
This is a follow up of the problem <https://www.mathworks.com/matlabcentral/cody/problems/45341-area-06> in this case, fi...

environ 5 ans il y a

A résolu


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

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

environ 5 ans il y a

A résolu


cube of number
find cube of number

environ 5 ans il y a

A résolu


square of a number
find square of a given number

environ 5 ans il y a

A résolu


square root
Find square root of given number

environ 5 ans il y a

A résolu


GCD

environ 5 ans il y a

A résolu


Adjoint matrix
given a matrix a, find the adjoint matrix of a.

environ 5 ans il y a

A résolu


Sum! Sum! Sum!
Calculate the sum of the sequence up to nth term >> a,aa,aaa,aaaa,... 2,22,222,2222,... [for a=2]

environ 5 ans il y a

A résolu


Squares of odd numbers upto a given range
Find the squares of odd numbers upto a given range. If Given x=6 return y=(1^2,3^2,5^2) y=1,9,25 If Given x=5 retu...

environ 5 ans il y a

A résolu


Find the next binary palindrome number
We all know, a *palindrome* is nothing but a number or character which remains the same after the forward or backward alteration...

environ 5 ans il y a

A résolu


Determine the perimeter of a three-quarter circle
If a circle has a diameter of x as an input value, then show the value of the perimeter of the three-quarter circle in output va...

environ 5 ans il y a

A résolu


Determine given vector is even or odd
Find the numbers of the input vector is odd or even then replace even with 1 and odd with 0 Example x = [ 3 3 4 6 1] ...

environ 5 ans il y a

A résolu


Sideways sum
Given natural number calculate its _population count_.

environ 5 ans il y a

A résolu


Evil Number
Check if a given natural number is evil or not. Read more at <https://oeis.org/A001969 OEIS>.

environ 5 ans il y a

A résolu


'Absolute value'
Create a function called own_abs, which is the absolute number entered as the input return value.

environ 5 ans il y a

A résolu


Adding Numbers
Add the input numbers to the original.

environ 5 ans il y a

A résolu


Determine the number of correct and incorrect answers
In a Multiple Choice Question Test, you are to sort out answer from 4 samples, one of them is correct answer. There are 50 quest...

environ 5 ans il y a

A résolu


determine the sum of fraction part for given matrix
determine the sum of fraction part for given matrix a=1.8308 8.9172 6.7537 1.5853 10.2858 5.3804 6.5497 ...

environ 5 ans il y a

A résolu


Minimum Maximum Sort Array
sort one array by put minimum value followed by maximum as follow a=[2 3 1 5] and the solution is y=[1 5 2 3 3 2 5 1];

environ 5 ans il y a

A résolu


Calculate time taken by light to reach earth surface
We know the time(seconds) taken by light to reach surface of earth. What if the distance varies yearly or source of light moves ...

environ 5 ans il y a

A résolu


Duplicate all elements in the array
Duplicate all elements in the array

environ 5 ans il y a

A résolu


How long do each of the stages of the rocket take to burn?
A space rocket has 3 stages: - stage 1, s1; - stage 2, s2; - stage 3, s3. If s1 burns 3 x as long as s2 which burns ...

environ 5 ans il y a

A résolu


Woodall number
Test whether the input is a Woodall number: <http://en.wikipedia.org/wiki/Woodall_number> _Please do not cheat by simply chec...

environ 5 ans il y a

A résolu


The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

environ 5 ans il y a

A résolu


New Matrix with vector addition on diagonal
consider 2 vectors x=[1 2 3] y=[4 5 6] then generate a new Matrix, where Addition of x & y will be diagonal Elements...

environ 5 ans il y a

A résolu


Cody Computer Part 4 : Are you a morning Cody player Addicted ?
This is a stupid Cody challenge. You just have to *click "Submit" between 7 and 9 AM.* ... Greenwich Mean Time (GMT). To see ...

environ 5 ans il y a

A résolu


Generate one sample of uniform random numbers between -pi and +pi
Generate one sample of uniform random numbers between -pi and +pi.

environ 5 ans il y a

A résolu


Remove the row average (★★★)
(copy of Prob. 963) Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solut...

environ 5 ans il y a

A résolu


Sum of terms in a series 2 (★★★)

environ 5 ans il y a

Charger plus