Risolto


Find scalar product of two polynomials a and b, given as vector array.
Find scalar product of two polynomials given as vector array. Example a=[1 -1 2]; b=[2 4 1]; result=0

quasi 6 anni fa

Risolto


For given vectors x,y find coresponding spline coefficients.
For given vectors x,y find coresponding spline coefficients. Example x =[ -3 -2 0 2 3] y =[ 0 0 1 ...

quasi 6 anni fa

Risolto


Find Euclidean norm of given vector u.
Find Euclidean norm of given vector u. https://en.wikipedia.org/wiki/Euclidean_distance Example x=[1 1] result=sqrt(1^2+1^2...

quasi 6 anni fa

Risolto


Divide polynomial p1 by p2.
Divide polynomial p1 by p2 given as vectors. Return result q and r vectors which corresponds the quotient and remainder of divis...

quasi 6 anni fa

Problema


List the dihedral primes

quasi 6 anni fa | 3 | 14 risolutori

Risolto


Isothermal Expansion
Given the initial pressure and volume of an ideal gas, calculate the new volume, given the new pressure. Hint: <https://en.wi...

quasi 6 anni fa

Risolto


Find the sum

quasi 6 anni fa

Problema


Compute an integral of an exponential function

quasi 6 anni fa | 1 | 8 risolutori

Risolto


Count the number of folds needed to pack a large sheet
In a certain paper factory, large sheets of paper are being made every day. Before sending the sheets for shipment, they have to...

quasi 6 anni fa

Risolto


center of mass
R is a given matrix with size [n,2]. R(i,:) is interpreted as the 2D-position of a mass point with mass i. Calculate the center ...

quasi 6 anni fa

Risolto


Mechanical Advantage of a Gear Train
Calculate the mechanical advantage of a gear train. The mechanical advantage of a gear couple is given by MA = T_o/T_i where ...

quasi 6 anni fa

Risolto


Find the biggest digit in a matrix
Write a function to find the biggest digit in a matrix; input -> a matrix output -> a digit For example; [12; 47;...

quasi 6 anni fa

Risolto


Find the remainder with the factorial of PRIMES?
* Take a number greater than or equal to 2 and take its primes. e.g. 6 and its primes are 2 3 5 * calculate the factorial of i...

quasi 6 anni fa

Problema


Compute the arithmetic derivative of integers

quasi 6 anni fa | 1 | 29 risolutori

Risolto


Rewrite setdiff to account for non-unique values
Setdiff(a,b) is a function that will remove all values of b from a. Sometimes, you need this function to do a little bit extra,...

quasi 6 anni fa

Risolto


I'm going to enjoy watching you calculate, Mr Anderson
Smith numbers are numbers such that if you add up all of the digits in the number, that sum equals the sum of all of the digits ...

quasi 6 anni fa

Risolto


Area under standard normal curve

quasi 6 anni fa

Risolto


Circle : Square

quasi 6 anni fa

Risolto


Volume of a sphere

quasi 6 anni fa

Problema


Count the ways pairs of parentheses can be matched correctly

quasi 6 anni fa | 0 | 11 risolutori

Risolto


Produce the following matrix
Produce the following matrix x = [2 3 4] y_correct = [1 1/2 1/3; 2 1 1/4; 3 4 1];

quasi 6 anni fa

Risolto


Check if a matrix is a palindrome in all directions
Check if a matrix is a palindrome both vertically and horizontally. You function will return *true* for |[1,2,1]| or |[2,7,2;...

quasi 6 anni fa

Risolto


Dice face matrix!
This is dice simulator, but instead of making a random die number, you will receive an "pre-rolled" number in and spit out a mat...

quasi 6 anni fa

Risolto


Form a square matrix from four square sub-matrices
Create a square matrix, y, from 4 square sub-matrices that will be constructed (x1, x2, x3, x4): y = [x1 x2; x3 x4]; ...

quasi 6 anni fa

Problema


List the delete-a-digit primes

quasi 6 anni fa | 4 | 23 risolutori

Risolto


Calculating Ring Area
In two-dimensional space, a ring can be constructed by using two concentric circles. Determine the area of a ring which has r1 ...

quasi 6 anni fa

Risolto


Volume of Spherical Shell
In three-dimensional space, a spherical shell can be constructed from two concentric spheres. Determine the volume of a spheric...

quasi 6 anni fa

Risolto


Perimeter of a quadrilateral
There are four cars starting at a point. The first car points north, the second one points east, the third one points south, an...

quasi 6 anni fa

Risolto


Check if the input is an interprime

quasi 6 anni fa

Carica altro