Gelöst


Spherical Volume
Calculate the volume of a sphere.

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


Multiply pi
Multiply pi with x!

4 Monate vor

Gelöst


Mile to Kilometer
x is mile and y is km

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


cube of number
find cube of number

4 Monate vor

Gelöst


print 'Hello W0rld'

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


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.

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


easy problem
Find the last element of the array

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


Circle : Square

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


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

4 Monate vor

Gelöst


Potential energy calculation

4 Monate vor

Gelöst


Kinetic energy calculation

4 Monate vor

Mehr laden