A résolu

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

plus de 7 ans il y a

A résolu

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

plus de 7 ans il y a

A résolu

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

plus de 7 ans il y a

A résolu

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

plus de 7 ans il y a

A résolu

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

plus de 7 ans il y a

A résolu

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

plus de 7 ans il y a

A résolu

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

plus de 7 ans il y a

A résolu

Find the realtion between x and y
x=1 then y=3, x=2 then y=7, x=3 then y=13,

plus de 7 ans il y a

A résolu

increase the number by 7
You need to increase any given digit by 7

plus de 7 ans il y a

A résolu

Is the light on?
If true , yes; If false , no create a logical vector;

plus de 7 ans il y a

A résolu

plus de 7 ans il y a

A résolu

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

plus de 7 ans il y a

A résolu

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

plus de 7 ans il y a

A résolu

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

plus de 7 ans il y a

A résolu

find even number
Find even numbers between 1 and nth number

plus de 7 ans il y a

A résolu

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

plus de 7 ans il y a

A résolu

calculate accleration
Cal accleration for given time and distance

plus de 7 ans il y a

A résolu

Write an expression
if 1 = 2 2 = 5 3 = 10 4 = ?

plus de 7 ans il y a

A résolu

Sum of series of numbers
Find the sum of numbers from 1-50 using for loop.

plus de 7 ans il y a

A résolu

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

plus de 7 ans il y a

A résolu

row removal
Consider a matrix and remove the first row of the matrix.

plus de 7 ans il y a

A résolu

Sum of a vetor
y = vectorsum(x)

plus de 7 ans il y a

A résolu

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.

plus de 7 ans il y a

A résolu

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)

plus de 7 ans il y a

A résolu

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

plus de 7 ans il y a

A résolu

Find the area!
Find the area of a medium Dominos pizza

plus de 7 ans il y a

A résolu

Array
Create a 3 by 3 array of 1s

plus de 7 ans il y a

A résolu

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]

plus de 7 ans il y a

A résolu

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

plus de 7 ans il y a

A résolu

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

plus de 7 ans il y a