A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Potential energy calculation

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


easy problem
Find the last element of the array

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Volume of Cylinder
Find the volume of a cylinder

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


area

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


square root
Find square root of given number

plus de 5 ans il y a

A résolu


square of a number
find square of a given number

plus de 5 ans il y a

A résolu


cube of number
find cube of number

plus de 5 ans il y a

A résolu


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Watt
Ampere x Volt = Watt

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Square
square root of x

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


Add 2 Vectors

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

Charger plus