# William

Semi-retired physicist with interests in numerical modeling and mathematics.

**Statistics**

RANK**937**

of 257,933

REPUTATION**58**

CONTRIBUTIONS

**0** Questions

**35** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**10**

RANK

of 17,771

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Find the slope of a line that passes through two vectors

Given two vectors p1 and p2, return the slope of a line that passes through p1 and p2. Examples: Input [p1,p2] = deal([0,1],[...

3 hours ago

Solved

Convert Cylindrical Cooridinates into Spherical Coordinate

For Cylindrical coordinate point, rho, fie (degrees) and z. Convert these points in Spherical Cooridinate System and save result...

3 hours ago

Solved

Count the Number of Directed Cycles in a Graph

Given an asymmetric adjacency matrix, determine the number of unique directed cycles. For example, the graph represented by adj...

4 hours ago

Solved

Factor Digits

Check if a given number in an array of numbers is - Equidigital Number - A number that has the same number of digits as the num...

2 days ago

Solved

minimum numbers of 1 to build n

The (Mahler-Popken) complexity of n: minimal number of 1's required to build n using + and *. see A005245. In this problem, yo...

3 days ago

Solved

Merge structs on fields

Merge a bunch of structs into one, containing the field names and corresponding values of all input structs. For duplicate field...

4 days ago

Solved

Find the particular dividend

It is known that once you write the sequence 10101...101 long enough, the number will be finally divisible by any odd number if ...

4 days ago

Solved

Curry a function handle

From Wikipedia, Currying: In mathematics and computer science, currying is the technique of converting a function that takes mu...

4 days ago

Solved

Least Absolute Deviations (L1-norm) line fit - degree 1

Matlab's polyfit function is very handy to find least-squares regression. It minimizes the (L2-norm) of the estimation errors, b...

8 days ago

Solved

Determine whether the input is an anagram number

In Cody Problem 44293, Mehmet OZC asks us to spell numbers as words. For example, 67 would be “sixty-seven” and 76 would be “sev...

10 days ago

Solved

Easy Sequences 37: Natural Factorable Polynomials

A polynomial of the form: , for , is said to be natural factorable if it can be factored into products of first degree binomials...

11 days ago

Solved

Exhaust all possible logical vectors

Input a length argument and list all possible logical vectors of that length. My solution is of size 29. Can you find an even s...

14 days ago

Solved

LIst the Euclid numbers

Euclid proved that the number of primes is infinite with the following argument. Suppose the primes form a finite set , , . Comp...

14 days ago

Solved

String Logic 11

Examples: 'SUNDAY' --> 6 'MONDAY' --> 6 'TUESDAY' --> 7 'WEDNESDAY' --> 9 'THURSDAY' --> 8 'FRIDAY' --> 5 'SATURDAY' --...

15 days ago

Solved

String Logic 10

Examples: 'SUNDAY' --> 83 'MONDAY' --> 77 'TUESDAY' --> 84 'WEDNESDAY' --> 87 'THURSDAY' --> 84 'FRIDAY' --> 70 'SATURD...

15 days ago

Solved

Evaluate the Kelvin functions

The Kelvin functions ber, bei, ker, and kei are related to Bessel functions of order . When the order is not specified, the defa...

15 days ago

Solved

perfect square

Perfect square is amazing, so we have problems like 45183, 34482, 44683, and 44957. But how can we find a large number is a pe...

16 days ago

Solved

String Logic 19

Examples: 'DIG' --> 'I' 'IMPORTANT' --> 'MOTN' 'DEAL' --> 'EL' 'LIMB' --> 'IB' 'MOSTLY' --> 'OTY'

17 days ago

Solved

String Logic 18

Examples: 'DIG' --> 'DG' 'IMPORTANT' --> 'IPRAT' 'DEAL' --> 'DA' 'LIMB' --> 'LM' 'MOSTLY' --> 'MSL'

17 days ago

Solved

String Logic 17

Examples: 'DIG' --> 'GDI' 'IMPORTANT' --> 'TANTIMPOR' 'DEAL' --> 'EALD' 'LIMB' --> 'IMBL' 'MOSTLY' --> 'YMOSTL'

17 days ago

Solved

String Logic 16

Examples: 'DIG' --> 'DIG' 'KIMBALL' --> 'ALLKIMB' 'DEAL' --> 'EALD' 'LIMB' --> 'IMBL' 'MADE' --> 'ADEM'

17 days ago

Solved

String Logic 15

Examples: 'CAT' --> 'XZG' 'DOG' --> 'WLT' 'ROSY' --> 'ILHB' 'MOSTLY' --> 'NLHGOB'

17 days ago

Solved

String Logic 14

Examples: 'DIG' --> 'HRN' 'KIMBALL' --> 'VRZDBXX' 'DEAL' --> 'HJBX' 'LIMB' --> 'XRZD' 'MADE' --> 'ZBHJ' 'CHEF' --> 'FPJL'

17 days ago

Solved

String Logic 13

Examples: 'CAT' --> 'TCA' 'DOG' --> 'OGD' 'ROSY' --> 'YSRO' 'MOSTLY' --> 'YTSOML'

17 days ago

Solved

String Logic 12

Examples: 'CAT' --> 'ACT' 'DOG' --> 'DGO' 'ROSY' --> 'ORSY' 'MOSTLY' --> 'LMOSTY'

17 days ago

Solved

String Logic 9

Examples: 'CAT' --> 'C' 'DOG' --> 'G' 'ROSLY' --> 'R' 'PROBLEM' --> 'M' 'TRUST' --> 'T' 'BASIC' --> 'C' 'GIANT' --> 'I'...

17 days ago

Solved

String Logic 7

Examples: 'CAT' --> 84 'DOG' --> 79 'ROSY' --> 89 'MATLAB' --> 84 'TRUST' --> 85 'MOSTLY' --> 89

17 days ago

Solved

String Logic 8

Example: 'CAT' --> 65 'DOG' --> 68 'ROSY' --> 79 'MATLAB' --> 65 'TRUST' --> 82 'MOSTLY' --> 76

17 days ago

Solved

String Logic 6

Examples: 'CAT' --> 216 'DOG' --> 218 'ROSY' --> 333 'MATLAB' --> 433 'TRUST' --> 418 'MOSTLY' --> 488

17 days ago

Solved

String Logic 5

Example: 'CAT' --> 'TAC' 'DOG' --> 'GOD' 'MATLAB' --> 'BALTAM' 'ROSY' --> 'YSOR' 'TRUST' --> 'TSURT' 'MOSTLY' --> 'YLTS...

17 days ago