Risolto


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

quasi 5 anni fa

Risolto


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

quasi 5 anni fa

Risolto


The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...

quasi 5 anni fa

Risolto


F.R.I.E.N.D.S

quasi 5 anni fa

Risolto


Create tangent function out of sin and cos
Please don't use tan(x) directly

quasi 5 anni fa

Risolto


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

quasi 5 anni fa

Risolto


factorial
calculate x!

quasi 5 anni fa

Risolto


easy problem
Find the last element of the array

quasi 5 anni fa

Risolto


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

quasi 5 anni fa

Risolto


given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

quasi 5 anni fa

Risolto


area of a sphere

quasi 5 anni fa

Risolto


Square
square root of x

quasi 5 anni fa

Risolto


area

quasi 5 anni fa

Risolto


Calculate the area of a circle
Given a circle of diameter x calculate its area

quasi 5 anni fa

Risolto


Area of a pentagon
Given the side of a regular pentagon and its apothem return the area of pentagon. Remember the area of pentagon is calculate ...

quasi 5 anni fa

Risolto


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

quasi 5 anni fa

Risolto


calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

quasi 5 anni fa

Risolto


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

quasi 5 anni fa

Risolto


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

quasi 5 anni fa

Risolto


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

quasi 5 anni fa

Risolto


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

quasi 5 anni fa

Risolto


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

quasi 5 anni fa

Risolto


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

quasi 5 anni fa

Risolto


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

quasi 5 anni fa

Risolto


Area of rhombus
Calculate the rhombus area

quasi 5 anni fa

Risolto


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

quasi 5 anni fa

Risolto


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

quasi 5 anni fa

Risolto


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

quasi 5 anni fa

Risolto


Spherical Volume
Calculate the volume of a sphere.

quasi 5 anni fa

Risolto


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

quasi 5 anni fa

Carica altro