Question: This is a Mathematica question #6 Create a function that searches for the first occurrence of string in using the convention that a- >1, b->2,
This is a Mathematica question
#6 Create a function that searches for the first occurrence of string in using the convention that "a"- >1, "b"->2, etc. For example, to search for my name "David" I would look for the first occurrence of the pattern 4 1 22 94 (so the digits (4,1,2,2,9,4)). Thes Minion shout hae bes he patem, and the sdoin to look. For example, your syntax should look like lookInPi[ I4, 1, 2, 2, 9, 4), 1000 000] (*Looks for my name in the first 1 Million digits of Pi*) #6 Create a function that searches for the first occurrence of string in using the convention that "a"- >1, "b"->2, etc. For example, to search for my name "David" I would look for the first occurrence of the pattern 4 1 22 94 (so the digits (4,1,2,2,9,4)). Thes Minion shout hae bes he patem, and the sdoin to look. For example, your syntax should look like lookInPi[ I4, 1, 2, 2, 9, 4), 1000 000] (*Looks for my name in the first 1 Million digits of Pi*)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
