Solved

Divisible by 10

Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

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

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

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

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

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

6 years ago

Solved

Create a Matrix of Zeros

Given an input x, create a square matrix y of zeros with x rows and x columns.

6 years ago

Solved

Dice roll - opposite faces

For this problem, you will be provided with the values of a dice roll (regular six-sided dice). The number of dice will be at le...

6 years ago

Solved

Combined Ages 1 - Symmetric, n = 3

You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...

6 years ago

Solved

Dice roll - lateral faces

For this problem, you will be provided with the values of a dice roll (regular six-sided dice). The number of dice will be at le...

6 years ago

Solved

Reverse a string

Reverse the given string. Example input = 'reverse' output = 'esrever'

6 years ago

Solved

write an algebraic expression

An electrician charges $45 per hour and spends $20 a day on gasoline. Write an algebraic expression to represent his earnings fo...

6 years ago

Solved

Determine if input is divisible by three.

Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

6 years ago

Solved

Converter temp 0 to 200 degree C to 4 to 20mA

Converter temp 0 to 200 degree C to 4 to 20mA (It is used in transmitter)

6 years ago

Solved

Summation of array

Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

6 years ago

Solved

Vertically stack two vectors

Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]

6 years ago

Solved

Create an array (n,n) where only diagonal elements are '1' and others are '0'

Create an array (n,n) where only diagonal elements are '1' and others are '0' EX: n = 3; then Resultant array would be [ 1 0...

6 years ago

Solved

Get the array of sum for three consecutive numbers in an array

Get the array of sum, for three consecutive numbers in an array. if Input 'x' does not have at-least 3 elements then 'y' shou...

6 years ago