Risolto


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

oltre un anno fa

Risolto


Factorial

oltre un anno fa

Risolto


Bruh
Return 'bruh'.

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


Square root of number
Square root of given number.

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


square root
Find square root of given number

oltre un anno fa

Risolto


Multiply pi
Multiply pi with x!

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


print 'Hello W0rld'

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


divide by 5

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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.

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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]

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Carica altro