Community Profile

Wesley Maa

Last seen: alrededor de 1 año ago Active since 2020

Content Feed

View by

Solved

Area of a triangle given its sides

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

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.

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

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

alrededor de 1 año ago

Solved

Sum two matrices
Take two incoming matrices, and sum them

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

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

alrededor de 1 año ago

Solved

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

alrededor de 1 año ago

Solved

Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

alrededor de 1 año ago