Solved


Total resistance of resistors in series
What is the total resistance of a number of resistors in series? A vector R contains the resistances (in Ohm) of n resistors, w...

3 years ago

Solved


Summation of integers

3 years ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

3 years ago

Solved


Array of Ones
Create a 100 X 100 array of ones.

3 years ago

Solved


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

3 years ago

Solved


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

3 years ago

Solved


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

3 years ago

Solved


Create the following sequence : 0 1 1 4 9 25 64 169 ...
The sequence 0, 1, 1, 4, 9, 25, 64, 169, ... represents the square of the sequence of Fibonacci numbers. Let n repres...

3 years ago

Solved


surface of a spherical planet
you just discovered its circumference, that is the input.

3 years ago

Solved


Sum of first n positive integers
Given n, find the sum of first n positive integers Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these terms is 55

3 years ago

Solved


how tall are you?
you can find the length wit this code.

3 years ago

Solved


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

3 years ago

Solved


Square a Number
Given an input x, return y, which is equal to the square of x.

3 years ago

Solved


Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

3 years ago

Solved


length of a vector
Find twice the length of a given vector.

3 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

3 years ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

3 years ago

Solved


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

3 years ago

Solved


Convert degrees to radians
Given input in degrees, output to radians

3 years ago

Solved


Convert radians to degrees
Given input in radians, output to degrees

3 years ago

Solved


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

3 years ago

Solved


Energy Conversion 2

3 years ago

Solved


Energy Conversion 1

3 years ago

Solved


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

3 years ago

Solved


Area Conversion 1

3 years ago

Solved


Area Conversion 2

3 years ago

Solved


Mass Conversion 2

3 years ago

Solved


Mass Conversion 1

3 years ago

Solved


Temperature Conversion 3

3 years ago

Solved


Temperature Conversion 2

3 years ago

Load more