Armando Longobardi
自 2021 起处于活动状态
Followers: 0 Following: 0
Mechanical engineer
Programming Languages:
MATLAB
Spoken Languages:
English, Italian
MATLAB
Spoken Languages:
English, Italian
Feeds
已解决
Generalised Hamming Number
Inspired by Project Euler n°204 and Problem 1308 by James A generalised Hamming number of type n, has no prime factor larger ...
1 month 前
已解决
Find vampire numbers
A vampire number is a number v that is the product of two numbers x and y such that the following conditions are satisfied: at ...
1 month 前
已解决
5th Time's a Charm
Write a function that will return the input value. However, your function must fail the first four times, only functioning prope...
3 months 前
已解决
Sleeping Queens 1
My youngest daughter received a card game named Sleeping Queens for Christmas this year, and has been playing it nearly non-stop...
3 months 前
已解决
The twelve days of Christmas
Traditionally there are twelve days of Christmas to celebrate ("Twelvetide"), typically starting with Christmas Day (25 December...
3 months 前
已解决
How many Christmas presents under the tree?
For many families at Christmas, each family member gives 1 present to every other family member. The main exception is that chil...
3 months 前
已解决
Joules to Megatons of TnT
Given joules, J, make a function that converts to megatons of TNT.
3 months 前
已解决
Rankine to Celsius Converter
Given input R, degrees Rankine, convert into degrees Celsius.
3 months 前
已解决
Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.
3 months 前
已解决
Energy-Mass Equivalence
Given input enegy of the object, E, and constant c = 300,000,000, find the mass of the object.
3 months 前
已解决
Hydrostatic Pressure
Given depth(height), in m, find the pressure under a body of water. Need to know the density of water(kg/m^3), and gravity(m/s^2...
3 months 前
已解决
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 ...
3 months 前
已解决
Area of Cylindrical Shell
Consider a cylinder with a non-zero thickness with an inner radius of r1 and an outer radius of r2. If the height of the cylinde...
3 months 前
已解决
High school cafeteria
Given an input vector of positive integers, return a row vector with the primes first (in increasing order) and the composites n...
4 months 前
已解决
Elapsed time is -0.005204 seconds.
Write a function that takes less than zero seconds to execute, as measured using tic and toc. For repeatability, the test case p...
4 months 前
已解决
2 b | ~ 2 b
Given a string input, output true if there are 2 b's in it, false if otherwise Examples: 'Macbeth' -> false 'Publius Cornelius...
4 months 前
已解决
Swap Characters of a Single Word
Description: In the given input word, convert the lower case to upper case and vice versa. A to a, a to A ... Example: 'Matl...
4 months 前
已解决
String Logic 10
Examples: 'SUNDAY' --> 83 'MONDAY' --> 77 'TUESDAY' --> 84 'WEDNESDAY' --> 87 'THURSDAY' --> 84 'FRIDAY' --> 70 'SATURD...
4 months 前