Gelöst


Add two hex numbers
Add two hex numbers

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


Small Riddle
Mr. Smith has two children. If the older child is a boy, what are the odds that the other child is also a boy?

mehr als 3 Jahre vor

Gelöst


If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...

mehr als 3 Jahre vor

Gelöst


The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...

mehr als 3 Jahre vor

Gelöst


Is It a Palindrome?
Given a string or array, determine if it is a palindrome.

mehr als 3 Jahre vor

Gelöst


Ohm's Law
Well its Ohm's law... So V = IR! I will give two of the three values, such as V and I or I and R and you have to return th...

mehr als 3 Jahre vor

Gelöst


Sort complex numbers into complex conjugate pairs
Sort complex numbers into complex conjugate pairs. Example: Input x = [3-6i -1-4i -1+4i 3+6i] Sorted output = [-1 - ...

mehr als 3 Jahre vor

Gelöst


square root
Find square root of given number

mehr als 3 Jahre vor

Gelöst


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

mehr als 3 Jahre vor

Gelöst


Test if a matrix is symmetric
Write a logical function that returns 1 if the input matrix is symmetric and 0 otherwise.

mehr als 3 Jahre vor

Gelöst


Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones. * Find 1 0 1 and replace it with 1 1 1 * Find 0 1 0 and replace it w...

mehr als 3 Jahre vor

Gelöst


Factorial !
Calculate the factorial of a non-negative integer without using the built in function *factorial*

mehr als 3 Jahre vor

Gelöst


Specific toolboxes
Given a string that is the name of a MATLAB toolbox, return true if it is available on the Cody solvers evaluation system, false...

mehr als 3 Jahre vor

Gelöst


Nth root
Nth root of a number x

mehr als 3 Jahre vor

Gelöst


Convert Kilometers to Miles
Convert kilometers to miles. Consider 1 km = 0.62 mile. Note: Don't use the '*' operator.

mehr als 3 Jahre vor

Gelöst


Gamma Function
Evaluate the <http://en.wikipedia.org/wiki/Gamma_function/ Gamma Function>. Gamma_val(0) = Inf Gamma_val(1.2) = 0.9182

mehr als 3 Jahre vor

Gelöst


What day is it?
Tell me what day is it. Return the full name of the day of the week as a string. e.g. It's June 12th 2014, so your function s...

mehr als 3 Jahre vor

Gelöst


Sort the vector with the given index
Given x = [1 2 4 8 17] and t = [1 3 2 5 4] then y = [1 4 2 17 8].

mehr als 3 Jahre vor

Gelöst


Divide elements by sum of elements
In this problem, I ask you to write a function which will divide the elements of each column by the sum of the elements of the s...

mehr als 3 Jahre vor

Gelöst


counting groups!
This problem is about counting groups. Example If you have x: x = [0.8 0.8 0.8 0.3 0.3 0.4 0.5 0.6 0.6 0.9] then a...

mehr als 3 Jahre vor

Gelöst


index of n^2 in magic(n)
input=5 magic matrix 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 10 ...

mehr als 3 Jahre vor

Gelöst


Number of problems
No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).

mehr als 3 Jahre vor

Gelöst


Square wave average calculation
Given its peak and duty cycle, calculate avg value of square wave

mehr als 3 Jahre vor

Gelöst


Determine if a row vector has NaN
Determine if a row vector x has NaN

mehr als 3 Jahre vor

Gelöst


COUNT VOWEL
Count, how many times vowels occurred. EXAMPLE: x='string the MaTLaBiAn' then the answer will be 6. x='coUnt the vowEl' th...

mehr als 3 Jahre vor

Gelöst


Find hen's weight.
If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.

mehr als 3 Jahre vor

Gelöst


Find max prime number
Given integer number n. Find the max prime number (mpn) that smaller than or equal to n. Example: n = 10 --> mpn = 7

mehr als 3 Jahre vor

Gelöst


Create the following sequence : 0 1 1 4 9 25 64 169 ...
The sequence 0, 1, 1, 4, 9, 25, 64, 169, ... represents the square of the sequence of Fibonacci numbers. Let n repres...

mehr als 3 Jahre vor

Gelöst


UICBioE240 problem 1.10
Find the number of cells in a bioreactor after a given time when doubling time is dd and initial number of cells is x. So if ...

mehr als 3 Jahre vor

Mehr laden