Physicist working in developing medical imaging equipment. Has >10 years of experience in the field (worked at GE Healthcare and Philips Healthcare).

Solved

Smallest n, for n! to have m trailing zero digits

For given positive integer n, its factorial often has many trailing zeros, in other words many factors of 10s. In order for n! t...

4 mesi ago

Solved

Better Index Number

Let's say you want to save many, many files and append these files with a certain sortable index number. As you probably know, y...

4 mesi ago

Solved

Whole Number Un-Concatenator

Write a function that accepts an integer and an index digit and returns a vector containing two integers which are the leading a...

4 mesi ago

Solved

Whole Number Concatenator

Write a function that concatenates whole numbers. For example: numcat(111,222) should return 111222 numcat(1,2,3,4,5) s...

4 mesi ago

Solved

The number of trailing zero digit of a factorial

For given positive integer n, take factorial of that number. How many trailing zeros does it have? Example: factorial(11) = 3...

4 mesi ago

Solved

The last non-zero digit of a factorial

For given positive integer n, what is the last non-zero digit of n!? Example: factorial(11) = 39916800 Last non-zero d...

4 mesi ago

Solved

Permutation Via Multiplication

Given two numbers a and b, determine if the product ab is a permutation of the digits of a. For example, this is always true for...

4 mesi ago

Solved

Lunar Arithmetic (Multiplication)

<https://oeis.org/A087061 OEIS link for a description of lunar arithmetic> Simply take the larger digit when adding and take ...

4 mesi ago

Solved

Lunar Arithmetic (Addition)

<https://oeis.org/A087061 OEIS link for a description of lunar arithmetic> Simply take the larger digit. Example 1: ...

4 mesi ago

Solved

Muphry's Law of MATLAB

You're running some simple multiplication problems through MATLAB for error checking purposes, but nothing seems to come up with...

4 mesi ago

Solved

Expand 10^n to Powers of 4

Given an integer n, return the coefficients c = [c_n,c_n-1,...,c_0] Such that 10^n = c_n*4^(n) + c_n-1*4^(n-1...

4 mesi ago

Solved

Maximum value in a matrix

Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

4 mesi ago

Solved

Numbers on 7-segment

This is a 7-segment: _ |_| |_| It's a 3-by-3 char matrix.It has made by 3 characters: '_' , '|' and ' ' (space...

4 mesi ago

Solved

Convert from Base 10 to base 5

Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10

4 mesi ago

Solved

Still more miles to go before I sleep

It's time for more odometer fun. Last problem, my car's odometer hit 56789. It's coming up on 111111 now, which (barring a maj...

4 mesi ago

Solved

Pattern Sum

Write a function which receives two single digit positive integers, (k and m) as parameters and calculates the total sum as: k...

4 mesi ago

Answered

Why is there a permission error when repeat writing to excel file?

I have encountered similar problem and I think I was able to pin-point a specific bug in the writetable function. The permission...

Why is there a permission error when repeat writing to excel file?

I have encountered similar problem and I think I was able to pin-point a specific bug in the writetable function. The permission...

oltre un anno ago | 0

Solved

Spherical radius given four points

Determine the radius of a sphere provided four non-coplanar points on the surface of the sphere. pts = [x1 y1 z1; x...

oltre un anno ago

Solved

Volume of a Parallelepiped

Calculate the volume of a Parallelepiped given the vectors for three edges that meet at one vertex. A cube is a special case ...

oltre un anno ago

Solved

Are all the three given point in the same line?

In this problem the input is the coordinate of the three points in a XY plane? P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) how can...

oltre un anno ago

Solved

Calculate the area of a triangle between three points

Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

oltre un anno ago

Solved

Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed

Find the remaining side of a triangle given the hypotenuse and a side. However, the normal functions and symbols are not allowe...

oltre un anno ago

Solved

Television Screen Dimensions

Given a width to height ratio of a TV screen given as _w_ and _h_ as well as the diagonal length of the television _l_, return t...

oltre un anno ago

Solved

Right Triangle Side Lengths (Inspired by Project Euler Problem 39)

If _p_ is the perimeter of a right angle triangle with integral length sides, { _a_, _b_, _c_ }, there are exactly three solutio...

oltre un anno ago

Solved

Is the Point in a Circle?

Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r. Points = [x, y]; c...

oltre 2 anni ago

Solved

Given two strings, find the maximum overlap

Given two strings s1 and s2, create a new string s3 which is as short as possible and contains both strings. If s1 = [1 2...

circa 3 anni ago

Solved

Calculate the Levenshtein distance between two strings

This problem description is lifted from <http://en.wikipedia.org/wiki/Levenshtein_distance>. The Levenshtein distance betwee...

circa 3 anni ago

Solved

Connect Four Win Checker

<http://en.wikipedia.org/wiki/Connect_Four Connect Four> is a game where you try to get four pieces in a row. For this problem, ...

circa 3 anni ago

Solved

Longest Divisor Run

Given the vector a, find the longest run of consecutive numbers that can be evenly divided by the same number d where d > 1. ...

circa 3 anni ago

Solved

Knight's Tour Checker

Given a matrix a, determine whether or not a legal <http://en.wikipedia.org/wiki/Knight's_tour knight's tour> is present. The kn...

circa 3 anni ago