Community Profile

# Wesley Maa

##### Last seen: 2 månader ago
681 total contributions since 2020

View details...

Contributions in
View by

Solved

Area of a triangle given its sides

Solved

Sum of integers numbers
Sum of the numbers from 1 to 100

Solved

Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

Solved

Kelvin to Celsius
Degrees Celsius = degrees Kelvin - 273.15. Given a temperature in Kelvin, return the equivalent temperature in Celsius.

Solved

Interior angles
Find the sum of interior angles for polygon of x sides.

Solved

prime test 2
enter the only non prime,non composite number

Solved

imaginary results
Return the value of the imaginary number i to the power of input argument n.

Solved

Golden ratio
Calculate the golden ratio. Hint: phi^2 = phi + 1.

Solved

intervals
Write a function that takes an interval from a to b, and divides it into 6 parts.

Solved

vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

Solved

row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.

Solved

Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

Solved

wipe out!
make all the elements in given x zero.

Solved

determine if
determine if the elements of a matrix is a nan and return true

Solved

find the 'M'
for an input x, return 1 at the location of the letter 'M'

Solved

true or false
if the matrix has a zero, return true. else, return false

Solved

Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

Solved

raise 1/3
Raise a number to 1/3 power.

Solved

Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

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

Solved

Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

Solved

Vector of numbers divisible by 3
* Input(n) - any integer * Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0 Examples: * n=6...

Solved

Sum two matrices
Take two incoming matrices, and sum them

Solved

Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

Solved

String Delimination and Outputting
In this problem, take an incoming string and deliminate the string based on spaces. Output the first string in between the space...

Solved

Take two incoming vectors and output the sum of the two vectors

Solved

Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

Solved

Automatic String Editing
In this function, you will take an incoming string, and output the same string with each character one letter later in the alpha...

Solved

Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise