Risolto


Spherical Volume
Calculate the volume of a sphere.

11 mesi fa

Risolto


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

11 mesi fa

Risolto


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

11 mesi fa

Risolto


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

11 mesi fa

Risolto


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

11 mesi fa

Risolto


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

11 mesi fa

Risolto


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

11 mesi fa

Risolto


Multiply pi
Multiply pi with x!

11 mesi fa

Risolto


Mile to Kilometer
x is mile and y is km

11 mesi fa

Risolto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

11 mesi fa

Risolto


cube of number
find cube of number

11 mesi fa

Risolto


print 'Hello W0rld'

11 mesi fa

Risolto


Determine the square root
Determine the square root of the value the user has entered, n.

11 mesi fa

Risolto


Determine whether the number is multiple of 3 or not
Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

11 mesi fa

Risolto


Create tangent function out of sin and cos
Please don't use tan(x) directly

11 mesi fa

Risolto


easy problem
Find the last element of the array

11 mesi fa

Risolto


Bit to Gigabyte
1 bit = 1.25 × 10^-10 gigabytes | x is bit | y is gigabyte

11 mesi fa

Risolto


currency converter
given a rate of exchange calculate the equivalent units of 100 USD

11 mesi fa

Risolto


Momentum Calculation
A shopping cart of mass 'm1' is traveling with velocity 'u' and collides with a second shopping cart of mass 'm2.' The two shopp...

11 mesi fa

Risolto


Circle : Square

11 mesi fa

Risolto


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

11 mesi fa

Risolto


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

11 mesi fa

Risolto


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

11 mesi fa

Risolto


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

11 mesi fa

Risolto


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

11 mesi fa

Risolto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

11 mesi fa

Risolto


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

11 mesi fa

Risolto


How many jokers?
* Given DNA codes of a group of suspects, * and a code for certain types of jokers, * Count how many jokers of that type. * ...

11 mesi fa

Risolto


Potential energy calculation

11 mesi fa

Risolto


Kinetic energy calculation

11 mesi fa

Carica altro