Community Profile

photo

Gaurav Singh


TCS Pune

Actif depuis 2015

Followers: 0   Following: 0

Contact

Statistiques

  • CUP Challenge Master
  • Commenter
  • Promoter
  • Solver

Afficher les badges

Feeds

Afficher par

A résolu


Give prime Numbers upto n
You are given a input number x; print all the prime numbers less than equal to x.

environ 8 ans il y a

A résolu


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

plus de 8 ans il y a

A résolu


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

plus de 8 ans il y a

A résolu


Get the array of sum for three consecutive numbers in an array
Get the array of sum, for three consecutive numbers in an array. if Input 'x' does not have at-least 3 elements then 'y' shou...

presque 9 ans il y a

A résolu


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

presque 9 ans il y a

A résolu


Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

presque 9 ans il y a

A résolu


Find the area!
Find the area of a medium Dominos pizza

presque 9 ans il y a

A résolu


write an algebraic expression
An electrician charges $45 per hour and spends $20 a day on gasoline. Write an algebraic expression to represent his earnings fo...

presque 9 ans il y a

A résolu


Sum of a vetor
y = vectorsum(x)

presque 9 ans il y a

A résolu


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

presque 9 ans il y a

A résolu


Vertically stack two vectors
Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]

presque 9 ans il y a

A résolu


Array
Create a 3 by 3 array of 1s

presque 9 ans il y a

A résolu


find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

presque 9 ans il y a

A résolu


calculate accleration
Cal accleration for given time and distance

presque 9 ans il y a

A résolu


03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3 (Hint: use *randi*)

presque 9 ans il y a

A résolu


Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

presque 9 ans il y a

A résolu


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

presque 9 ans il y a

A résolu


calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


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

presque 9 ans il y a

A résolu


Repeat The Components of Matrix
Repeat The components of a matrix so that the size of the output matrix is double to input matrix and components are repeated ne...

presque 9 ans il y a

A résolu


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

presque 9 ans il y a

A résolu


Determine if a row vector has NaN
Determine if a row vector x has NaN

presque 9 ans il y a

A résolu


Find the realtion between x and y
x=1 then y=3, x=2 then y=7, x=3 then y=13,

presque 9 ans il y a

A résolu


Dare to solve this
Find square of any number

presque 9 ans il y a

A résolu


increase the number by 7
You need to increase any given digit by 7

presque 9 ans il y a

A résolu


write an expression
output is five more than twice an input number.

presque 9 ans il y a

A résolu


write an expression
output is five more than twice an input number.

presque 9 ans il y a

A résolu


Add 8 to given num
add 8 to given number

presque 9 ans il y a

A résolu


Number of 1s in the Binary Representation of a Number
*Description* Return the number of 1s in the (unsigned integer) binary representation of a number. This function should be ab...

presque 9 ans il y a

Charger plus