Community Profile

photo

Harsh Saraogi


Active since 2016

Followers: 0   Following: 0

Statistics

  • First Review
  • Promoter
  • Solver

View badges

Feeds

View by

Solved


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

7 years ago

Solved


Number of primes
Count the number of primes less than 'n'.

7 years ago

Solved


Create a constant offset.
Add a constant offset to an array. For example: a=[1 3 5 9]; offset=2; y=[3 5 7 11];

7 years ago

Solved


Mean of a matrix
Determine numeric mean of a matrix

7 years ago

Solved


Standard Deviation
Find standard deviation of an array.

7 years ago

Solved


Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

7 years ago

Solved


Leap year or Not
Check if a given year is Leap year or not.

7 years ago

Solved


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

7 years ago

Solved


Back to Basics
Dot product of vectors. Given two vectors A and B, calculate their dot product. A=[1 2 3]; B=[3 2 1]; C=10;

7 years ago

Solved


Linear system of equations
Solve the system of equations in three variables.

7 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7 years ago