Gelöst


the average value of the elements
Calculate the average value of the elements in the array

etwa 15 Stunden vor

Gelöst


Double all elements in the array
Duplicate all elements in the array

etwa 15 Stunden vor

Gelöst


to the 2 all elements
to the 2 all elements

etwa 15 Stunden vor

Gelöst


Find the max element of the array
Find the max element of the array

etwa 15 Stunden vor

Gelöst


calculate the length of matrix
input 1 array, calculate the length

etwa 15 Stunden vor

Gelöst


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

etwa 15 Stunden vor

Gelöst


varargin
Write a function that can take a diffrent Amount of inputs for every run Which gives you the sum of all Inputs. Example: f(a,b...

etwa 15 Stunden vor

Gelöst


Calculate the h-index (revisited)
H-index is a powerful tool for quantifying the scientific contribution of a researcher. The H-index is defined as follows (fro...

etwa 15 Stunden vor

Gelöst


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

etwa 15 Stunden vor

Gelöst


Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

etwa 16 Stunden vor

Gelöst


Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and h=...

etwa 16 Stunden vor

Gelöst


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? Image courtesy of Wikipedia.

etwa 16 Stunden vor

Gelöst


How to calculate the length of a triangle's side given two angles and one side
You are given a triangle with angles alpha, beta and gamma and sides a opposite alpha, b opposite beta and c opposite gamma. ...

etwa 16 Stunden vor

Gelöst


Minimum possible M of the maximum side of a triangle of given area A.
Suppose a triangle has area A. Suppose it has three sides S1, S2, and S3. Suppose M = max([S1 S2 S3]). What is the minimum po...

etwa 16 Stunden vor

Gelöst


Can the given sides form a triangle?
Can the three given sides form a triangle?

etwa 16 Stunden vor

Gelöst


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

etwa 16 Stunden vor

Gelöst


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

etwa 16 Stunden vor

Gelöst


radius of a spherical planet
You just measured its surface area, that is the input.

etwa 16 Stunden vor

Gelöst


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

etwa 16 Stunden vor

Gelöst


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

etwa 16 Stunden vor

Gelöst


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

etwa 16 Stunden vor

Gelöst


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

etwa 16 Stunden vor

Gelöst


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

etwa 16 Stunden vor

Gelöst


Spherical Volume
Calculate the volume of a sphere.

etwa 17 Stunden vor

Gelöst


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

etwa 17 Stunden vor

Gelöst


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

etwa 17 Stunden vor

Gelöst


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

etwa 17 Stunden vor

Gelöst


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

etwa 17 Stunden vor

Gelöst


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

etwa 17 Stunden vor

Gelöst


Find max
Find the maximum value of a given vector or matrix.

etwa 18 Stunden vor

Mehr laden