Risolto


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

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


Potential energy calculation

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


easy problem
Find the last element of the array

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


Volume of Cylinder
Find the volume of a cylinder

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


area

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


square root
Find square root of given number

circa 5 anni fa

Risolto


square of a number
find square of a given number

circa 5 anni fa

Risolto


cube of number
find cube of number

circa 5 anni fa

Risolto


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


Watt
Ampere x Volt = Watt

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


Square
square root of x

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


Add 2 Vectors

circa 5 anni fa

Risolto


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

circa 5 anni fa

Risolto


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

circa 5 anni fa

Carica altro