1. Create a function that returns points on the Spirograph curve and plots the three shown...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Create a function that returns points on the Spirograph curve and plots the three shown spirographs Ring 150/105 and wheel 63 Ring 150/105 and wheel 52 Ring - 144/96 and wheel = 80 x(t) = (R-r) cos(t) + a cos T s ((1/² - 1) ₁) ²(( ² − 1) ₁) y(t) = (R-r) sin(t)- a sin for t€ [0, P], where x(t+P) = = a(t) and y(t +P)= y(t). artements (1) (2) In the classic Spirograph game, we have rings with 96 teeth (R = 96) and 105 teeth ( R = 105) and wheels with between 24 and 84 teeth (e.g. r = 24). Specific wheel sizes in the classic game are r = [24, 30, 32, 40, 42, 45, 48, 52, 56, 60, 63, 72, 75, 80, 84] (3) The value of a corresponds to the "hole number" in the wheel where you place your pen. This value should between 0 and r (0 ≤a ≤r). 1. Create a function that returns points on the Spirograph curve and plots the three shown spirographs Ring 150/105 and wheel 63 Ring 150/105 and wheel 52 Ring - 144/96 and wheel = 80 x(t) = (R-r) cos(t) + a cos T s ((1/² - 1) ₁) ²(( ² − 1) ₁) y(t) = (R-r) sin(t)- a sin for t€ [0, P], where x(t+P) = = a(t) and y(t +P)= y(t). artements (1) (2) In the classic Spirograph game, we have rings with 96 teeth (R = 96) and 105 teeth ( R = 105) and wheels with between 24 and 84 teeth (e.g. r = 24). Specific wheel sizes in the classic game are r = [24, 30, 32, 40, 42, 45, 48, 52, 56, 60, 63, 72, 75, 80, 84] (3) The value of a corresponds to the "hole number" in the wheel where you place your pen. This value should between 0 and r (0 ≤a ≤r).
Expert Answer:
Answer rating: 100% (QA)
Heres the Python code that creates functions for the Spirograph curve and plots the three specified ... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these accounting questions
-
Python Basic Calculate word length Create a function that returns a dictionary with word lengthsand keys. Use a loop to evaluate each word separately usingthe len function. Forexample,...
-
Create the following macro: Create a function that accepts four user inputs: (1) a cash flow amount; (2) a discount rate; (3) the number of periods; and (4) an indicator for which TVM calculation to...
-
Create a function that returns a decimal data type and print the value on the screen. The function should calculate the net income by taking out a gross income from a user and deduct 7% taxes.
-
Following the example from the picture below, do the same for tryptophan and aspartate, consider pk1, pkR and pk2. COOH HSCH Net charge: PH H CH COOH +1 10 8 6 4 2 COOH 0 Glutamate Jpk 2.19 pk 4.25 ...
-
Which one category of personal productivity software is of most value to you now as a student? Why? Within this category, what is your favorite software product? Why? Do you think that the one...
-
What is the total amount of interest that will be paid of the loan is carried to term with no extra payments made building cost 3 3 0 0 0 0 . loan started im Dec 2 0 2 3 worh a 7 . 5 % interest rate...
-
It is said that "the higher the MARR, the higher the price that a company should be willing to pay for equipment that reduces annual operating expenses." Explain the reasoning behind this statement.
-
You are the sales manager of a two-year-old electronics firm. At times, the firm has seemed to be on the brink of failure but recently has begun to be profitable. In large part, the profitability is...
-
(Corporate income tax) The William B. Waugh Corporation is a regional Toyota dealer. The firm sells new and used trucks and is actively involved in the parts business. During the most recent year the...
-
A process stream is heated using a shell and tube heat exchanger. The exit temperature is controlled by adjusting the steam control valve shown in figure. During an open-loop experimental test, the...
-
A bank has the following balance sheet (in billions): Assets Cash Loans $1 44 Liabilities Demand deposits $40 Equity 5 Loans have one year until maturity and are priced at par, paying 7 percent...
-
You have been approached by your friend Fred, a TRU student, to explore business opportunities in the tourism industry. Adventure guided tours are becoming increasingly popular in British Columbia,...
-
Presented below are the components in Clearwater Seafood's income statement. Deter- mine the missing amounts. Sales (a) $75,000 (b) $108,000 (c) ? Cost of Goods Sold 2 $70,000 $71,900 Administrative...
-
Calculate the profit margin and asset turnover ratio. Net sales Cost of sales COLUMBIA SPORTSWEAR COMPANY CONSOLIDATED STATEMENTS OF OPERATIONS (In thousands, except per share amounts) Gross profit...
-
The intercept coefficient means that children whose parents have average height zero would still have an expected height of 19 inches. Of course, this is not really meaning- ful. On the other hand,...
-
Consider the following game. Player one flips a coin, and while it is in the air, player two calls out either heads or tails. If the side of the coin that player two called out lands facing upwards,...
-
Suppose you have $2200 in your savings account at the end of a certain period of time. You invested $1600 at a 4.88% simple annual interest rate. How long, in years, was your money invested? State...
-
If the annual fixed costs are 54,000 dinars, the occupation expense represents 20%, the contribution margin is 25%, and the unit selling price is 40 dinars. Required: Calculate the closing point of...
-
Indicate whether each of the items listed below would be included (I) in or excluded (E) from gross income for the 2012 tax year. ________a. Welfare payments ________b. Commissions ________c. Hobby...
-
Jerry made the following contributions during 2012: His synagogue (by check).....................................................$680 The Democratic Party (by check)...
-
Sophie is a single taxpayer. For the first payroll period in October 2012, she is paid wages of $3,250 monthly. Sophie claims three allowances on her Form W-4. a. Use the percentage method to...
-
Consider the following observations: a. Fit the nonlinear regression model \[ y=\theta_{1} e^{\theta_{2} x}+\varepsilon \] to these data. Discuss how you obtained the starting values. b. Test for...
-
For the models shown below, determine whether it is a linear model, an intrinsically linear model, or a nonlinear model. If the model is intrinsically linear, show how it can be linearized by a...
-
Sketch the expectation function for the logistic growth model (12.34) for \(\theta_{1}=1, \theta_{3}=1\), and values of \(\theta_{2}=1,4,8\), respectively. Overlay these plots on the same \(x-y\)...
Study smarter with the SolutionInn App