Solved


Square root of a number
Write a code that will output the square root of x.

1 year ago

Solved


Factorial

1 year ago

Solved


Bruh
Return 'bruh'.

1 year ago

Solved


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

1 year ago

Solved


Square root of number
Square root of given number.

1 year ago

Solved


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

1 year ago

Solved


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

1 year ago

Solved


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

1 year ago

Solved


square root
Find square root of given number

1 year ago

Solved


Multiply pi
Multiply pi with x!

1 year ago

Solved


Calculate the area of a circle
Given a circle of diameter x calculate its area

1 year ago

Solved


Probability of red tulips
I hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yell...

1 year ago

Solved


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

1 year ago

Solved


print 'Hello W0rld'

1 year ago

Solved


Bag of apples
find probabilty of getting red apples from a bag of 'r' red and 'g' green apples.

1 year ago

Solved


Multiplos 7
Escreva um programa que mostre todos os números entre 5 e 100 que são divisíveis por 7, mas não são múltiplos de 5. Os números o...

1 year ago

Solved


Find The area of the square
Given that the length of the side of a square is x, find the area.

1 year ago

Solved


Saving MATLAB session to a file
How to save MATLAB session to a file?

1 year ago

Solved


divide by 5

1 year ago

Solved


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

1 year ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

1 year ago

Solved


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

1 year ago

Solved


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

1 year ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

1 year ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

1 year ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

1 year ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

1 year ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

1 year ago

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

1 year ago

Solved


Add 2 to any number.
Add 2 to any number.

1 year ago

Load more