已解决


Temperature Conversion 3

2 years 前

已解决


Temperature Conversion 2

2 years 前

已解决


Temperature Conversion 1

2 years 前

已解决


Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

2 years 前

已解决


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

2 years 前

已解决


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

2 years 前

已解决


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

2 years 前

已解决


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

2 years 前

已解决


Is my wife right?
Regardless of input, output the string 'yes'.

2 years 前

已解决


Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

2 years 前

已解决


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

2 years 前

已解决


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

2 years 前

已解决


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...

2 years 前

已解决


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

2 years 前

已解决


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

2 years 前

已解决


counting for loop
Complete the function below using a for loop to count from 3 to N by 2. For example, if N is 10, count 3, 5, 7, 9 and stop. Fo...

2 years 前

已解决


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

2 years 前

已解决


Square root of a number
Write a code that will output the square root of x.

2 years 前

已解决


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

2 years 前

已解决


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

2 years 前

已解决


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

2 years 前

已解决


Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

2 years 前

已解决


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

2 years 前

已解决


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

2 years 前

已解决


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

2 years 前

已解决


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

2 years 前

已解决


Find remainder when x is divided by 3
Find remainder when x is divided by 3

2 years 前

已解决


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

2 years 前

已解决


modulus of a number
find the modulus of a given number

2 years 前

已解决


Determine whether the input is divisible by 3 as well as 5
If the input is divisible by 3 as well as 5 then the output should be 'true' otherwise 'false'

2 years 前

加载更多