Gelöst


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

mehr als 5 Jahre vor

Gelöst


Calculate the logarithm of number
Calculate the logarithm of number x

mehr als 5 Jahre vor

Gelöst


Test if a number is numeric or not
Test if a number is numeric or not

mehr als 5 Jahre vor

Gelöst


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

mehr als 5 Jahre vor

Gelöst


factorial of a number x
Factorial of a number x

mehr als 5 Jahre vor

Gelöst


Calculate square and cube of number
Calculate square and cube of number x

mehr als 5 Jahre vor

Gelöst


Golden ratio
Calculate the golden ratio. Hint: phi^2 = phi + 1.

mehr als 5 Jahre vor

Gelöst


Calculate mean value of any pair in a vector.
Given a vector A, calculate the mean of 2 number in the vector one by one. example: input: A=[1, 5, 6, 8, 9, 15] output:...

mehr als 5 Jahre vor

Gelöst


Draw a 'Z'.
Given _n_ as input, generate a n-by-n matrix like 'Z' by _0_ and _1_ . Example: n=5 ans= [1 1 1 1 1 0 0 0 1 ...

mehr als 5 Jahre vor

Gelöst


Test if two numbers have the same digits
Given two integers _x1_ and _x2_, return |true| if the numbers written with no leading zeros contain the same digits. That is, t...

mehr als 5 Jahre vor

Gelöst


Min of a Matrix
Return the minimum value in the given matrix.

mehr als 5 Jahre vor

Gelöst


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

mehr als 5 Jahre vor

Gelöst


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

mehr als 5 Jahre vor

Gelöst


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

mehr als 5 Jahre vor

Gelöst


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

mehr als 5 Jahre vor

Gelöst


Modulo with 5

mehr als 5 Jahre vor

Gelöst


Simple sum 1

mehr als 5 Jahre vor

Gelöst


Draw 'I'
Given n as input, draw a n-by-n matrix 'I' using 0 and 1. example: n=3 ans= [0 1 0 0 1 0 0 1 0] n=...

mehr als 5 Jahre vor

Gelöst


Find Logic 15

mehr als 5 Jahre vor

Gelöst


Find Logic 3

mehr als 5 Jahre vor

Gelöst


Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]

mehr als 5 Jahre vor

Gelöst


Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

mehr als 5 Jahre vor

Gelöst


Add 2 Vectors

mehr als 5 Jahre vor

Gelöst


Area of Ellipse

mehr als 5 Jahre vor

Problem


Area of Ellipse

mehr als 5 Jahre vor | 1 | 65 Lösungsvorschläge

Gelöst


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

mehr als 5 Jahre vor

Gelöst


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

mehr als 5 Jahre vor

Gelöst


kmph to mps
convert kilometer per hour to meter per second

mehr als 5 Jahre vor

Mehr laden