Solved


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

9 years ago

Submitted


Physical oceanography: geostrophic current (numerical)
Calculate geostrophic current using numerical method

9 years ago | 4 downloads |

4.8 / 5
Thumbnail

Submitted


Physical oceanography: geostrophic current (analytical)
Show theory of geostrophic current

9 years ago | 3 downloads |

4.90909 / 5
Thumbnail

Submitted


Physical oceanography: Inertial oscillation (semi-implicit)
Simulate Inertial oscillation using semi-implicit method

9 years ago | 3 downloads |

5.0 / 5
Thumbnail

Submitted


Physical oceanography: Inertial oscillation (implicit)
Simulate Inertial oscillation using implicit method

9 years ago | 1 download |

5.0 / 5
Thumbnail

Submitted


Physical oceanography: Inertial oscillation (explicit)
Simulate Inertial oscillation using explicit method

9 years ago | 1 download |

5.0 / 5
Thumbnail

Submitted


Physical oceanography: diffusion
Simulate diffusion

9 years ago | 1 download |

5.0 / 5
Thumbnail

Solved


Number of odd and even elements within matrix
Input(m) - any matrix with integers Output(n) - n(1)=number of odd elements, n(2)=number of even elements Example: * m=...

9 years ago

Solved


Repeat string n times
Example: from 'a' create 'aaaaa' (if n=5)

9 years ago

Solved


Find my lucky number
Write a function which returns my lucky number

9 years ago

Solved


Mean of a matrix
Determine numeric mean of a matrix

9 years ago

Solved


Standard Deviation
Find standard deviation of an array.

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

9 years ago

Solved


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

9 years ago

Solved


How do you make seven even?
Take away the s.

9 years ago

Solved


Determine if a year is leap year
For a given year return 0/1 indicator of a leap year.

9 years ago

Solved


Solar panel efficiency
Calculate the solar panel efficiency at STC for the system power rating 400W and the collector area = 2.79 meter square.

9 years ago

Solved


ADD TWO NUMBERS
To add two numbers a and b, then store in y

9 years ago

Solved


Reverse digits of a number
Reverse digits of a number. For example, return *321* for the input *123* . The left-hand zeros can be discarded. For exam...

9 years ago

Solved


What's my favourite food?
The spicier the better.

9 years ago

Solved


Odd times 3
Given a input matrix x, multiply all odd values by 3. Even values remain the same. example: x = [1 2 3 4 5;... 6 7...

9 years ago

Solved


Count the numbers
In a array x, count the number of times the number n appears in x. for example: x = [1 2 3 4 3 2 1 2] and n = 2 the answer sh...

9 years ago

Solved


time difference
The arrays x and y contain time values in the form of: x = [hours minutes seconds] Create the output z which contains the...

9 years ago

Solved


String revert
Revert all words in a sting x for example, if x = 'this is a sentence' then y should be 'sentence a is this'

9 years ago

Solved


Remove multiples of N
in the vector x remove all multiples of N. x = [1 2 3 4 5 6]; N = 2; Then y = [1 3 5];

9 years ago

Solved


Second smallest number
What is the second smallest number in x? example: x = [1 2 3 4 5 6 7 8 9] y = 2

9 years ago

Solved


Magnitude of a vector
Given a vector x, what is its magnitude?

9 years ago

Solved


reversed alphabet
create the alphabet in reverse

9 years ago

Solved


sum of ASCII
Given a string x, return the sum of all ASCII numbers of all characters. for example, if x='lala' ('l'-> 108, 'a'->97) then y...

9 years ago

Solved


Counting votes
x is a vector of votes, e.g. x=[1 2 3 2 2 1 3 2 1 2 2 2 2], who is the winner? 1,2,3?

9 years ago

Load more