Box
Give the volume of a box, x is equal to the body diagonal.
1 year ago
Solved
Stairs
Make an n by n matrix, where the elements are ones and zeros. In the main diagonal, and under that, there should be only ones (...
1 year ago
Solved
Calculate Resistance 2
In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...
Division
Given two numbers a and b divide them a/b
1 year ago
Solved
Path calculation with polynomials
Let a vector x be the input to our function.
1. If a value of an input vector element x is lower than 0, set this value to 0....
1 year ago
Solved
Find maximum value of a curve
Two vectors shall be already defined:
- Input vector x (e.g. x = 0:1:10)
- Result vector y (e.g. y = sin(x))
Create a n...
1 year ago
Solved
Area-01
Given the radius of the circle inscribed in a square, find the area that is not bounded by the circle but inside the square.
...