Risolto


Sum All Positive Elements
Output a scalar that is equal to the sum of all positive elements in a given vector/matrix. For Example: The sum of all positi...

3 mesi fa

Risolto


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

3 mesi fa

Risolto


Return the Square of a Number
Write a function that takes a single numeric input x and returns its square. That is, given x, your function should output x^2....

3 mesi fa

Risolto


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

3 mesi fa