Community Profile # Jimmie Whate

13 2016 年以降の合計貢献数

#### Jimmie Whate's バッジ

Is 1900 a leap year?
Is 1900 a leap year? I keep on getting error saying 1900 is not a leap year.

4年弱 前 | 1 件の回答 | 0

### 1

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

4年弱 前

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;

4年弱 前

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

4年弱 前

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

4年弱 前

Mean of a matrix
Determine numeric mean of a matrix

4年弱 前

Standard Deviation
Find standard deviation of an array.

4年弱 前

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

4年弱 前

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

4年弱 前

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

4年弱 前

kmph to mph converter
Convert the speed in miles/hour to km/hour.

4年弱 前

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

4年弱 前

Nth root
Nth root of a number x

4年弱 前