Community Profile

# Justin Illingworth

239 total contributions since 2019

View details...

Contributions in
View by

Solved

Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

20 jours ago

Solved

Square
square root of x

20 jours ago

Solved

Pi Digit Probability
Assume that the next digit of pi constant is determined by the historical digit distribution. What is the probability of next di...

23 jours ago

Solved

Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

23 jours ago

Solved

Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

23 jours ago

Solved

Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

23 jours ago

Solved

Area of a disk
Find the area of a disk or circle. x= radius of the disk.

23 jours ago

Solved

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

23 jours ago

Solved

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

23 jours ago

Solved

Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

23 jours ago

Solved

23 jours ago

Solved

Counting down
Create a vector that counts from 450 to 200 in increments of 10.

23 jours ago

Solved

square number
Square a number

23 jours ago

Solved

Find Index of maximum Value and maximum Value of a vector
Find the Index of the first occurrence of the maximum value in a vector and also the maximum value in the vector. Example: [...

23 jours ago

Solved

Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...

23 jours ago

Solved

Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

24 jours ago

Solved

Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

24 jours ago

Solved

An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

24 jours ago

Solved

Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

25 jours ago

Solved

Check if number is a square number
Test if integer i is a square number. Return logical true if it is.

25 jours ago

Solved

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

25 jours ago

Solved

Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

27 jours ago

Solved

Number of digits in an integer
Specifies how many digits in a given integer. Example: in=100 ==> out=3

27 jours ago

Solved

Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

27 jours ago

Solved

Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

27 jours ago

Solved

Set some matrix elements to zero
First get the maximum of each *row*, and afterwards set all the other elements to zero. For example, this matrix: 1 2 3 ...

27 jours ago

Solved

Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

27 jours ago

Solved

Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): Once a mont...

27 jours ago

Solved

sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

27 jours ago

Solved

Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

environ un mois ago