Create a parametric curve representation of your nickname written in your handwriting. This representation should be...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Create a parametric curve representation of your nickname written in your handwriting. This representation should be based on parametric spline interpolation. Your nickname must have at least two curved segments .Figure 1 below shows an example using 5 coarsly sampled segments. Bone Figure 1: The nickname "TBone" written with 5 parametric cubic spline segments Steps: Nickname: Ant (a) Draw your nickname and select interpolation points. You can do this on graph paper by hand, or you can use ginput. Make sure the interpolation points are not too close together. Notice that the loops of the "B" in Figure 1 are made from only 6 points each. Your curved segments should be sampled sparingly. (b) Add code to the notebook to initialize and store the interpolation points for each segment. For example, you could store the coordinates of the interpolation points for the first segment in the arrays x1 and y1, and you would have one xy pair of arrays for each segment. Your data arrays should be hardcoded into your script. (c) Complete the function Parametricspline; it takes the interpolation points of one segment as input, and outputs a pair of cubic spline functions (one for x (t) and one for y (t)), along with an array, t, that holds the parameter value at the interpolation points. See the function's documentation for more details. The parameter t must reflect the pseudoarclength of the curve. You can use scipy.make_interp_spline (and return the spline functions that it creates). Alternatively, if you feel confident in your MySpline function, you can use that instead. (d) Add lines to the notebook to call ParametricSpline for each segment in your nickname. (e) Add more lines to to the notebook to plot your nickname. The plot should graph the para metric spline segments using a refined selection of parameter values (eg. 1000 points per segment). The plot should also display the original interpolation points, and the x and y axes should be rendered using the same scale ("plt.axis ('equal')"). Figure 1 is an example of what your output should look like. 0 50 100 150 200 250 300 Ant 100 200 300 400 500 600 700
Expert Answer:
Answer rating: 100% (QA)
To solve the parametric curve representation of your nickname Ant written in your handwriting using parametric spline interpolation you would follow t... View the full answer
Related Book For
Modern Database Management
ISBN: 9780133544619
12th edition
Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi
Posted Date:
Students also viewed these programming questions

Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...

You can think of the workkinetic energy theorem as a second theory of motion, parallel to Newton's laws in describing how outside influences affect the motion of an object. In this problem, solve...

Use implicit differentiation to find dy/dx. 6x 3 + 7y 3 = 13xy

Solve Problems 120 using ips units. AS 568A No. 160

Apply the buyer five stages in the decision process to your selection of a destination for your next vacation.

What document lets the owner know that she can occupy the project? Who issues this document?

Jaime Baldwin owns and operates Love Transport Co. During the past year, Jaime incurred the following costs related to an 18wheel truck: 1. Changed engine oil. 2. Installed a wind deflector on top...

You are trying to value Brisk Transport Inc., and have collected the following information:  Brisk Transport has earnings per share currently of $2.50 and pays 30% of its earnings as dividends. Its...

Archipelago Smiths bank account reflecting the transactions for the financial year ended December 31, 2014, is reported below. He has lost his financial statements in a flood and is asking his newly...

What is the name the story? (Ifpossible, also provide the link.) Where does the story begin? What is the spark that triggers the action in the story? How many ups and downs, obstacles to overcome, or...

Chris is a contractor and is building a new home. He goes to a local hardware store and loads many items into his cart. When he is ready, he wheels his cart to the cashier who begins to scan the...

Choose a teacher or professor that you had for at least one academic quarter. You will evaluate the presentation style and techniques of this person. 1. Provide an opening paragraph to explain the...

Let , denote the return of asset i, i = 1,2. Suppose these two assets satisfy a onefactor model: F = E[F] + Bf + where is the factor value, and = 1,3 = 1,E[f] = E[e] = E[2] = 0. Cov(f.) = Cov(1,)=...

The perspective of MexicanAmericans that live in the United States that they are a mix between Mexican and North American cultures and that recognizes their indigenous roots is called: A. La Raza B....

If a man purchases a raffle ticket, he can win a first prize of Rs. 5,000 or a second prize of Rs. 2,000 with probabilities 0.001 and 0.003 respectively. What should be a fair price to pay for the...

Q4 / A three phase (400V  50HZ) a.c supply is feeding a three phase delta connected load with each phase having a resistance of (252), an inductance of (0.15H) and a capacitor of (120F) in series....

Interest Compounded Annually. When P dollars is invested at interest rate i, compounded annually, for t years, the investment grows to A dollars, where A = P(1 + i) t . Trevor's parents deposit $7800...

What is the average length of time a student stayed (or has stayed) in the program?

Figure 437 includes an EER diagram describing a publisher specializing in large edited works. Transform the diagram into a relational schema that shows referential integrity constraints (see Figure...

Compare and contrast the following terms: a. Data administration; database administration b. Repository data dictionary c. Deadlock prevention; deadlock resolution d. Backward recovery; forward...

Find the flow work added to a system by a fluid that enters with a volumetric flow rate of 500 in 3 /s at a pressure of 25 psia. Express the answer in ft lb f /min.

Consider the baby being weighed in Figure 4.33. (a) What is the mass of the child and basket if a scale reading of 55 N is observed? (b) What is the tension T 1 in the cord attaching the baby to the...

In a traction setup for a broken bone, with pulleys and rope available, how might we be able to increase the force along the tibia using the same weight? (See Figure 4.29.) (Note that the tibia is...