A résolu


Return area of square
Side of square=input=a Area=output=b

environ 4 ans il y a

A résolu


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

environ 4 ans il y a

A résolu


Add two numbers
Given a and b, return the sum a+b in c.

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

environ 4 ans il y a

A résolu


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

environ 4 ans il y a

A résolu


Sum of series VIII

environ 4 ans il y a

A résolu


Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

environ 4 ans il y a

A résolu


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

environ 4 ans il y a

A résolu


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.

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


Spherical Volume
Calculate the volume of a sphere.

environ 4 ans il y a

A résolu


square of a number
find square of a given number

environ 4 ans il y a

A résolu


UICBioE240 2.10
Given a vector of numbers, give the difference between the maximum and minimum values.

environ 4 ans il y a

A résolu


UICBioE240 2.8
Convert x number of hours into seconds.

environ 4 ans il y a

A résolu


UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.

environ 4 ans il y a

A résolu


UICBioE240 2.2
Make a 3x4 matrix that contains all ones.

environ 4 ans il y a

A résolu


UICBioE240 problem 1.18
exp(pi/5*i) and exp(pi/5i). Is there any difference in result? Write yes or no as a string.

environ 4 ans il y a

A résolu


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

environ 4 ans il y a