Solved

swap sign sum & multiply castles

* It is an easy problem, if you know the answer. * Given a square matrix of NxN ordinary numbers. * Initially place N identi...

4 days ago

Solved

Solving a quadratic equation

Given a, b and c, Return the solution of the following quadratic equation: a*x^2 + b*x + c = 0.

4 days ago

Solved

Bleed non-zeros to the right using REGEXP, and that sort of cheatcodess...

This one is quite similar to <http://www.mathworks.nl/matlabcentral/cody/problems/1998-bleed-non-zeros-to-the-right>. But thi...

4 days ago

Solved

How to get the additive inverse of a uint8.

Given x as a uint8 find the additive inverse y.

4 days ago

Solved

Design matrix from eigenvalues

Write a function that takes one input argument n and outputs a (n x n) square matrix A with the following properties: -A has...

4 days ago

Solved

Construct the Seidel-Entringer-Arnold triangle

Several problems in Cody ask us to construct part or all of triangles in which entries follow a pattern. Cody Problems <https://...

5 days ago

Solved

Compute the harmonic numbers

The nth <https://mathworld.wolfram.com/HarmonicNumber.html harmonic number> is defined as the sum of the reciprocals of the inte...

5 days ago

Solved

Rule of mixtures (composites) - reverse engineering

The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

5 days ago

Solved

Rule of mixtures (composites) - other bound

The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

5 days ago

Solved

Rule of mixtures (composites) - weighted bound

The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

5 days ago

Solved

Rule of mixtures (composites) - lower and upper bounds (volumes)

The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

5 days ago

Solved

Rule of mixtures (composites) - either bound

The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

5 days ago

Solved

Rule of mixtures (composites) - lower and upper bounds

The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

5 days ago

Solved

Rule of mixtures (composites) - upper bound

The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

5 days ago

Solved

Rule of mixtures (composites) - lower bound

The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

5 days ago

Solved

Stress-Strain Properties - 8

Up to this point, you've calculated some material properties based on tensile stress-strain data. For this problem, you are task...

5 days ago

Solved

Stress-Strain Properties - 7

The toughness of a material is technically defined as the plastic strain energy absorbed by the material (the olive region in th...

5 days ago

Solved

Stress-Strain Properties - 6

The total energy absorbed by a material up to failure in a tensile test is termed the absorbed strain energy. With respect to th...

5 days ago

Solved

Stress-Strain Properties - 5

Similar to the previous problem, materials may be characterized by their stiffness-to-weight ratio, which is the elastic modulus...

5 days ago

Solved

Stress-Strain Properties - 4

A common measure of the ability of a material to carry load per unit mass is termed strength-to-weight ratio and is calculated b...

5 days ago

Solved

Stress-Strain Properties - 3

A brittle material will not exhibit a yield point. In other words, the yield point and failure point coincide. In such cases, th...

5 days ago

Solved

Stress-Strain Properties - 2

The resilience of a material is its ability to resist permanent (or plastic) deformation. The resilience coincides with the elas...

5 days ago

Solved

Stress-Strain Properties - 1

This is the first in a series of problems regarding mechanics of materials, in particular, material properties drawn from stress...

5 days ago