A résolu


Make your own Test Suite (part 0)
_Have no knowledge of <https://au.mathworks.com/help/matlab/matlab_prog/floating-point-numbers.html "floating-point numbers">? ...

10 jours il y a

A résolu


Make your own Test Suite (part 2)
In this task you need to imagine that you — _yes, YOU_ — have developed a problem on Cody for _me_ to solve, and now *you need t...

10 jours il y a

A résolu


Make your own Test Suite (part 1)
In this task you need to imagine that you — _yes, YOU_ — have developed a problem on Cody for _me_ to solve, and now *you need t...

10 jours il y a

A résolu


Almost done with the "tutorial"(Perimeter of a circle)
Find the perimeter of a circle(P) if radius r is given.

10 jours il y a

A résolu


Not yet geometry(Circles)
Type the formula of the area(Ac) of a circle with radius r and a sector of a circle(As) with radius r and angle theta in rads. ...

10 jours il y a

A résolu


Not yet geometry(square, rectangle and trapezium)
Type the formula of the area of a square(Asq) of side(a), a rectangle(Arec) of length(l) and width(w) and of a trapezium(Atr) of...

10 jours il y a

A résolu


Not yet geometry(equilateral triangle)
Type the formula of the area(A) of an equilateral triangle with a side of a. Tip: As a string.

10 jours il y a

A résolu


Not yet geometry(triangles)
Write the formula of the area of a triangle(A) that has a height of h and a base of b. Tip: Write the formula as a string.

10 jours il y a

A résolu


Geometry time 6!(Extremely hard)
We have two circles. One small(C1) that is inside a bigger one (C2). C1 has a radius R1 and C2 has a radius R2. C1 is internally...

10 jours il y a

A résolu


Geometry time 5! (Hard)
In the following shape you are requested to find the radius of the circle(r): Further explanation: 1) ABCD and pink shape are...

10 jours il y a

A résolu


Geometry time 4!(Medium to hard)
Given the rectangle below you are requested to calculate its area(A) while the length of AE, BE and CE is given. Further explan...

10 jours il y a

A résolu


Geometry time3!(Medium)
This time we have two circles! The shape is given below: You are requested to calculate the area of the two circles(A1 ,A2) g...

10 jours il y a

A résolu


Gometry time2!(easy to medium)
Given the same circle as ''Geometry time!'' below you are now requested to to find the length of the section OAB(L). However the...

10 jours il y a

A résolu


Geometry time!(easy)
Suppose that we have a square and its Area is given. Then we have the following circle (with center O) which has the same radius...

10 jours il y a

A résolu


Test your geometry knowledge!(simple)
We have the following shape and you need to: 1) Find the area of the triangle ABE(A_tr). (Suppose that the angle E is 90 degree...

10 jours il y a

A résolu


Gear ratio of a gear pair
Let's assume that we have a pair of two gears(pinion-bigger gear). The goal is to calculate the gear ratio(i) given the number (...

10 jours il y a

A résolu


"Percentages may not total 100 due to rounding"
*Percentages* are commonly *rounded* when presented in tables. As a result, the sum of the individual numbers does not always a...

11 jours il y a

A résolu


Arrange the names in alphabetical order (2)
Arrange the list of names in alphabetical order, following the German standard <https://de.wikipedia.org/wiki/Alphabetische_Sort...

11 jours il y a

A résolu


Arrange the names in alphabetical order (1)
Arrange the list of names in alphabetical order. The original 'alphabetical order', that is: from α and β all the way through to...

11 jours il y a

A résolu


Make your own Test Suite (part 3)
In this task you need to imagine that you — _yes, YOU_ — have developed a problem on Cody for _me_ to solve, and now *you need t...

11 jours il y a

A résolu


Add all the numbers between two limits (inclusive)
In this problem you must add up "all of the numbers" between two specified limits, |a| and |b|, in which |a| ≤ |b|. However, th...

11 jours il y a

A résolu


Curve fitting (non-linear functions) & function handles
In this problem you are provided some raw data. You need to find a way of summarising the data with just a few parameters, so th...

11 jours il y a

A résolu


Curve fitting (linear functions) & function handles
In this problem you are provided some raw data. You need to find a way of summarising the data with just a few parameters, so t...

11 jours il y a

A résolu


Anyone for tennis? Your chances of winning a tie-break game
Imagine you are playing tennis and the score has reached 'six games all' in a Tie-break Set, so therefore the next game shall be...

11 jours il y a

A résolu


Anyone for tennis? Your chances of winning a (standard) game
Imagine you are playing tennis, and for _each point_ played your chance of winning is |x| % (input as a |<https://au.mathworks.c...

11 jours il y a

A résolu


Testing for randomness: uniform distribution of real numbers (distribution checking)
You will be presented with a variety of sequences of real numbers. Your job is to answer the question: "Is this a uniformly di...

11 jours il y a

A résolu


Back to basics: adding comments to your code
One of the most useful skills a programmer can develop is the skill — or habit — of writing descriptive comments within/above th...

11 jours il y a

A résolu


Testing for randomness: uniform distribution of integers
On Cody several problems have been set up asking players to generate one or more 'random' numbers. Usually they are asking for ...

11 jours il y a

A résolu


Back to basics: throwing errors / exceptions
*Throwing and handling errors (or exceptions) is an important part of practical programming.* Here your task is to provide ...

12 jours il y a

A résolu


Equilibrium
Is this tower of blocks going to fall? <<http://www.alfnie.com/software/equilibrium02.jpg>> *Description* Given a stack...

13 jours il y a

Charger plus