Community Profile

# Justin Illingworth

##### Last seen: 2 months ago
245 total contributions since 2019

#### Justin Illingworth's Badges

View details...

Contributions in
View by

Solved

Calculate compression ratio of engine
Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)

2 months ago

Solved

Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

2 months ago

Solved

Calculate Alcohol By Volume with Original and Final Gravity
Given an initial gravity of un-fermented wort (OG) and a final gravity of fermented wort (FG), better known as beer, it is possi...

2 months ago

Solved

Create a square matrix of multiples
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...

2 months ago

Solved

Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

3 months ago

Solved

Test for balanced parentheses
Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...

3 months ago

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...

4 months ago

Solved

Square
square root of x

4 months 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...

4 months ago

Solved

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

4 months 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...

4 months 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

4 months ago

Solved

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

4 months ago

Solved

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

4 months ago

Solved

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

4 months 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 ...

4 months ago

Solved

Type your favourite city.

4 months ago

Solved

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

4 months ago

Solved

square number
Square a number

4 months 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: [...

4 months ago

Solved

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

4 months 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.

4 months 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

4 months ago

Solved

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

4 months ago

Solved

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

4 months ago

Solved

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

4 months ago

Solved

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

4 months ago

Solved

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

5 months ago

Solved

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

5 months 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...

5 months ago