해결됨

Roots

Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

3달 전

해결됨

Remove the vowels

Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

3달 전

해결됨

Cannon Ball

Given g (acceleration due to gravity) and desired altitude x, find the minimum ground velocity of a cannon ball to reach x.

3달 전

해결됨

Sorted highest to lowest?

Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

3달 전

해결됨

Compute a dot product of two vectors x and y

x and y are input vectors, d is a number and contains their dot product

3달 전

해결됨

Love triangles

Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

4달 전

해결됨

Matlab Basics II - Free Fall

An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

4달 전

해결됨

02 - Vector Variables 3

Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of ...

4달 전

해결됨

Beginner's Problem - Squaring

Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

4달 전

해결됨

Multiply by 3

Given the variable x as your input, multiply it by three and put the result in y.

4달 전

해결됨

Make one big string out of two smaller strings

If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

4달 전

해결됨

Number of Horns on a unicorn!

Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

4달 전

해결됨

Find the area of the four walls

If length, breadth and height of the walls are given, find the area of the four walls.

4달 전

해결됨

Find the dimensions of a matrix

Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

4달 전

해결됨

Squaring Matrix

Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

4달 전

해결됨

Arrange vector in ascending order

Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

4달 전

해결됨

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

If x = 5, y = 5 * (5+5) * 5 = 250

4달 전

해결됨

Calories in a slice of pizza?

The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...

4달 전

해결됨

find the surface area of a cube

given cube side length x, find the surface area of the cube, set it equal to y

4달 전