A résolu


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

presque 2 ans il y a

A résolu


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'

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


Factorial

presque 2 ans il y a

A résolu


Matrix operation

presque 2 ans il y a

A résolu


PIN code

presque 2 ans il y a

A résolu


Remnant

presque 2 ans il y a

A résolu


Sort accordingly

presque 2 ans il y a

A résolu


Test

presque 2 ans il y a

A résolu


step function

presque 2 ans il y a

A résolu


NaN

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


speed limit alert

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


Swap

presque 2 ans il y a

A résolu


Set zero

presque 2 ans il y a

A résolu


Sudoku

presque 2 ans il y a

A résolu


Insert zeros II

presque 2 ans il y a

A résolu


Insert zeros

presque 2 ans il y a

A résolu


Card games

presque 2 ans il y a

A résolu


find the value

presque 2 ans il y a

A résolu


Surface area of a cone

presque 2 ans il y a

A résolu


PIN code III

presque 2 ans il y a

A résolu


Row sum

presque 2 ans il y a

Charger plus