Solved


Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

2 years ago

Solved


Determine whether the input is divisible by 3 as well as 5
If the input is divisible by 3 as well as 5 then the output should be 'true' otherwise 'false'

2 years ago

Solved


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

2 years ago

Solved


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

2 years ago

Solved


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

2 years ago

Solved


Approximate functions 1 (★★★)
Compute the following sum for any given x and positive integer n. <<https://i.imgur.com/eUwXdSE.gif>> <> Here m! denote...

2 years ago

Solved


Swap the first and last columns (★★)
(copy of Prob 19) Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becom...

2 years ago

Solved


Generate n equally spaced "intervals" between -x and x (★)
Given n and x, return a list of numbers (in ascending order) that divides the interval [-x x] into n equal-length intervals. ...

2 years ago

Solved


Create a vector of n alternating ones and zeros (★★)
Given n, your output should be a vector y of numbers such that the first number is 1 and the numbers following it alternate betw...

2 years ago

Solved


Factorial

2 years ago

Solved


Matrix operation

2 years ago

Solved


PIN code

2 years ago

Solved


Remnant

2 years ago

Solved


Sort accordingly

2 years ago

Solved


Test

2 years ago

Solved


step function

2 years ago

Solved


NaN

2 years ago

Solved


Delete 2nd and 5th column of Given 6*6 matrix
Delete the 2nd and 5th columns of the given 6*6 matrix. Example Suppose A = magic(6) 35 1 6 26 19 ...

2 years ago

Solved


speed limit alert

2 years ago

Solved


PIN code II
A cell phones requires a PIN code to open which only includes numbers; how long (in terms of minutes) does it take to enter all ...

2 years ago

Solved


Swap

2 years ago

Solved


Set zero

2 years ago

Solved


Sudoku

2 years ago

Solved


Insert zeros II

2 years ago

Solved


Insert zeros

2 years ago

Solved


Card games

2 years ago

Solved


find the value

2 years ago

Solved


Surface area of a cone

2 years ago

Solved


PIN code III

2 years ago

Solved


Row sum

2 years ago

Load more