解決済み


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

約5年 前

解決済み


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

約5年 前

解決済み


Potential energy calculation

約5年 前

解決済み


raise 1/3
Raise a number to 1/3 power.

約5年 前

解決済み


easy problem
Find the last element of the array

約5年 前

解決済み


Find the max element of the array
Find the max element of the array

約5年 前

解決済み


Volume of Cylinder
Find the volume of a cylinder

約5年 前

解決済み


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

約5年 前

解決済み


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

約5年 前

解決済み


Cube root of max value in a vector
Find the cube root of the maximum value in a vector

約5年 前

解決済み


Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

約5年 前

解決済み


area

約5年 前

解決済み


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

約5年 前

解決済み


square root
Find square root of given number

約5年 前

解決済み


square of a number
find square of a given number

約5年 前

解決済み


cube of number
find cube of number

約5年 前

解決済み


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

約5年 前

解決済み


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

約5年 前

解決済み


Kelvin to Fahrenheit
You can find a doc about it in here => https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html x is kelvi...

約5年 前

解決済み


Watt
Ampere x Volt = Watt

約5年 前

解決済み


Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

約5年 前

解決済み


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

約5年 前

解決済み


Square
square root of x

約5年 前

解決済み


'Absolute value'
Create a function called own_abs, which is the absolute number entered as the input return value.

約5年 前

解決済み


How many apples
You have x apples I take from you y apples now how many apples you have ?

約5年 前

解決済み


Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

約5年 前

解決済み


Sum the squares of numbers from 1 to n
For a given value of n return the sum of square of numbers from 1 to n. Example For n = 2 then sum of squares = 5 (1^2 + ...

約5年 前

解決済み


Add 2 Vectors

約5年 前

解決済み


Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

約5年 前

解決済み


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

約5年 前

さらに読み込む