Risolto


replace component
given vector x make new vector with x(3)=3

oltre 7 anni fa

Risolto


just solved
solved given x answer y must be x+2*3/6

oltre 7 anni fa

Risolto


sum of all
sum all of components

oltre 7 anni fa

Risolto


Triple Down!
Triple Down!

oltre 7 anni fa

Risolto


multiply 3 by 3
x=3 y=3*x

oltre 7 anni fa

Risolto


multiply 2 by 2
multiply 2 by 2

oltre 7 anni fa

Risolto


'Price of pizza!'
If you want to check pizza's price, try this! price is proportional to its volume, so you have to multiply 0.1($) to pizza's v...

oltre 7 anni fa

Risolto


multiply 10
just multiply 10

oltre 7 anni fa

Risolto


just multiply 100
just multiply

oltre 7 anni fa

Risolto


only multiply 1230
only multiply 1230

oltre 7 anni fa

Risolto


Add 7
Given an input variable x, output a variable y that is 7 greater than x. Example: Input x = 1 Output y is 8 Input ...

oltre 7 anni fa

Risolto


add 1020
just add 1020

oltre 7 anni fa

Risolto


add 1053
just add 1053

oltre 7 anni fa

Risolto


add 1052
just add 1052

oltre 7 anni fa

Risolto


add 1050
just add 1050

oltre 7 anni fa

Risolto


only add 100
add 100

oltre 7 anni fa

Risolto


only add 50
add 50

oltre 7 anni fa

Risolto


add 1
given x, y should be 1 greater than the input.

oltre 7 anni fa

Risolto


only add 1
add 1

oltre 7 anni fa

Risolto


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

oltre 7 anni fa

Risolto


Circle area using pi
Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...

oltre 7 anni fa

Risolto


sum of vector
sum!!

oltre 7 anni fa

Risolto


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

oltre 7 anni fa

Risolto


Sudoku square
We have a small Sudoku square, but one number is missing. x = [ 1 5 4 8 6 3 0 9 7 ] Make a function, wher...

oltre 7 anni fa

Risolto


Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

oltre 7 anni fa

Risolto


Find Factrorial without using built-in function
A number is given, you have to find the factorial of the number without using built-in factroial function. You may use loops....

oltre 7 anni fa

Risolto


Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

oltre 7 anni fa

Risolto


factorial of a number x
Factorial of a number x

oltre 7 anni fa

Risolto


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

oltre 7 anni fa

Risolto


Nth root
Nth root of a number x

oltre 7 anni fa

Carica altro