Risolto


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

oltre 5 anni fa

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 5 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 5 anni fa

Risolto


cube of number
find cube of number

oltre 5 anni fa

Risolto


square of a number
find square of a given number

oltre 5 anni fa

Risolto


square root
Find square root of given number

oltre 5 anni fa

Risolto


GCD

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


Sideways sum
Given natural number calculate its _population count_.

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


Adding Numbers
Add the input numbers to the original.

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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];

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Risolto


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

oltre 5 anni fa

Carica altro