Statistiques
0 Problèmes
1413 Solutions
RANG
N/A
of 300 759
RÉPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
of 21 081
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
Penny flipping - calculate winning probability (easy)
Two players are playing a fair penny flipping game. For each flip, the winner adds one penny from the loser's collection to his/...
presque 2 ans il y a
A résolu
Create an n-by-n null matrix and fill with ones certain positions
The positions will be indicated by a z-by-2 matrix. Each row in this z-by-2 matrix will have the row and column in which a 1 has...
environ 2 ans il y a
A résolu
Find the next prime number
Find the next prime number or numbers for given n. For example: n = 1; out = 2; or n = [5 7]; out = [7 11]; ...
environ 2 ans il y a
A résolu
Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'
environ 2 ans il y a
A résolu
The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...
environ 2 ans il y a
A résolu
Is it an Armstrong number?
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...
environ 2 ans il y a
A résolu
Matrix with different incremental runs
Given a vector of positive integers a (>=0); How does one create the matrix where the ith column contains the vector 1:a(i) poss...
environ 2 ans il y a
A résolu
Volume difference between Ellipsoid and Sphere
Given an ellipsoid of semi principal axis (a,b,c) find the volume of the difference between this ellipsoid and the sphere with...
environ 2 ans il y a
A résolu
Polynomial Multiplication
Multiply two polynomial equation.Given polynomial coefficients a and b.
environ 2 ans il y a
A résolu
Calculate the Distance to Source of Lightning
Lightning discharge heats air rapidly with lightning channels reaching temperatures of up to 50,000 degrees Fahrenheit (which is...
environ 2 ans il y a
A résolu
Hemisphere Volume on Top of a Cylinder
This MATLAB function has to calculate the volume of a hemisphere placed on top of a cylinder, given valid inputs. It takes the r...
environ 2 ans il y a
A résolu
Find the square of the sum of the digits of a number
If a number (n) is provided as an input, find the square of the sum of the digits of the number. Example If n = 21, the an...
environ 2 ans il y a
A résolu
Find max prime number
Given integer number n. Find the max prime number (mpn) that smaller than or equal to n. Example: n = 10 --> mpn = 7
environ 2 ans il y a
A résolu
Perimeter
Given a sequence of points forming a closed path (first and last points are coincident) return the perimeter value. For example...
environ 2 ans il y a
A résolu
Calculate compression ratio of engine
Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)
environ 2 ans il y a
A résolu
Create the following sequence : 0 1 1 4 9 25 64 169 ...
The sequence 0, 1, 1, 4, 9, 25, 64, 169, ... represents the square of the sequence of Fibonacci numbers. Let n repres...
environ 2 ans il y a
A résolu
Sum My Indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...
environ 2 ans il y a
A résolu
Find Index of maximum Value and maximum Value of a vector
Find the Index of the first occurrence of the maximum value in a vector and also the maximum value in the vector. Example: [...
environ 2 ans il y a
A résolu
Sum the real and imaginary parts of a complex number
Sum the real and imaginary parts of a complex number. Example c = 1+2i has the solution 1 + 2 = 3
environ 2 ans il y a
A résolu
Construct a string from letters and counts
Given two input arrays like this: [5,3,1] ['a','b','c'] Output a string that contains each letter the specified num...
environ 2 ans il y a
A résolu
collision
several cars (n) were involved in this collision, the input matrix (vm) has n rows and two columns, first column for velocity an...
environ 2 ans il y a
A résolu
Replace odd number in given matrix by zero
Replace the odd numbers in a given matrix with zero. Example A = [ 17 24 1 8 15 23 5 7 ...
environ 2 ans il y a
A résolu
Center of mass
Given a matrix M(m,n), where m is the number of vertices of the geometrical element and n is 2 or 3 (2D-plane figure or 3D-solid...
environ 2 ans il y a
A résolu
Volume of a sphere given its surface area
You just measured its surface area, that is the input.
environ 2 ans il y a
A résolu
Resistance in a circuit
Two resistors with values of 6.0 ohms and 12 ohms are connected in parallel. This combination is connected in series with a 4 o...
environ 2 ans il y a
A résolu
Matrix rotation as per given angle
Given a user defined matrix and angle of rotation, rotate the elements of output matrix as clockwise or anti-clockwise. Angle wi...
environ 2 ans il y a
A résolu
Small Riddle
Mr. Smith has two children. If the older child is a boy, what are the odds that the other child is also a boy?
environ 2 ans il y a









