1. Describe the components of the renal corpuscle. 2. What are two differences between cortical and juxtamedullary nephrons? 3. How does the urethra differ between males and females? 4. A patient has lost a large amount of weight while ill and now has difficulty urinating. Describe how a diagnosis of nephroptosis affects the urinary system. 5. Describe the effect of an enlarged prostate gland on the urinary function of a male. 6. A woman with diabetes has been dieting for several months and has lost more than 25 lb. At her annual medical checkup, a urinalysis is performed. What would you expect to find in her urine? 7. What factors might affect the odor, color, and pH of a sample of urine? 8. Mike and Fred have been hiking in the desert all afternoon. While on the trail, Fred drinks much more water than Mike. If urine samples were collected from both men, what differences in specific gravity of the samples would you expect to measure? 9. A patient with a history of renal calculi is scheduled for lithotripsy. Describe her condition and the procedure she will have.
In: Nursing
2. What are two differences between cortical and juxtamedullary nephrons? 3. How does the urethra differ between males and females? 4. A patient has lost a large amount of weight while ill and now has difficulty urinating. Describe how a diagnosis of nephroptosis affects the urinary system. 5. Describe the effect of an enlarged prostate gland on the urinary function of a male. 6. A woman with diabetes has been dieting for several months and has lost more than 25 lb. At her annual medical checkup, a urinalysis is performed. What would you expect to find in her urine? 7. What factors might affect the odor, color, and pH of a sample of urine? 8. Mike and Fred have been hiking in the desert all afternoon. While on the trail, Fred drinks much more water than Mike. If urine samples were collected from both men, what differences in specific gravity of the samples would you expect to measure? 9. A patient with a history of renal calculi is scheduled for lithotripsy. Describe her condition and the procedure she will have.
In: Nursing
1. Describe the components of the renal corpuscle. 2. What are two differences between cortical and juxtamedullary nephrons? 3. How does the urethra differ between males and females? 4. A patient has lost a large amount of weight while ill and now has difficulty urinating. Describe how a diagnosis of nephroptosis affects the urinary system. 5. Describe the effect of an enlarged prostate gland on the urinary function of a male. 6. A woman with diabetes has been dieting for several months and has lost more than 25 lb. At her annual medical checkup, a urinalysis is performed. What would you expect to find in her urine? 7. What factors might affect the odor, color, and pH of a sample of urine? 8. Mike and Fred have been hiking in the desert all afternoon. While on the trail, Fred drinks much more water than Mike. If urine samples were collected from both men, what differences in specific gravity of the samples would you expect to measure? 9. A patient with a history of renal calculi is scheduled for lithotripsy. Describe her condition and the procedure she will have.
In: Nursing
5. The law of dominance states that one form of a hereditary trait, known as the ________ trait, prevents the expression of the other trait, known as the ________ trait.
6. Two sex-linked traits in humans are ___________________ and ________________.
7. ________________ occurs when one gene is not completely dominant over the other gene and a new phenotype is created.
8. _____________ occurs when two genes are expressed at the same time, in a sense both genes are dominant and are expressed.
9. The law of independent assortment states that segregation of alleles occurs _____________ of the segregation of other alleles.
10. Each gamete contains ______ allele for each trait.
In: Biology
You recently joined the internal auditing department of Kaitlyn Sportswear Corporation. As one of your first assignments, you are examining a balance sheet prepared by a staff accountant. Prepare a classified balance sheet in good form to better represent Kaitlyn Sportswear Corporation.
Kaitlyn Sportswear Corporation
At December 31, 2018
Assets
Cash
$ 220
Accounts receivable, net 340
Note receivable 8
Inventories
600
Prepaid expenses 40
Land 500
Buildings, net 2,200
Equipment, net 400
Investments 50
Patent 60
Total assets $4,490
Liabilities and Shareholders' Equity
Accounts payable
$ 165
Salaries payable
75
Interest payable 45
Note payable 300
Bonds payable 500
Deferred revenue 80
Total liabilities 1,165
Common stock 2,000
Retained earnings
1,325
Total shareholders' equity
3,181
Total liabilities and shareholders' equity $4,490
In the course of your examination of the company files, you uncover the following information pertaining to the balance sheet:
1. The land and buildings represent the corporate headquarters
and manufacturing facilities.
2. The note receivable is due in 2020. The balance of $80 includes
$5 of accrued interest. The next interest payment is due in July
2019.
3. The note payable is due in installments of $50 per year.
Interest on both the notes and bonds is payable annually.
4. The company's investments consist of marketable equity
securities of other corporations. Management does not intend to
liquidate any investments in the coming year.
5. Deferred revenue will be recognized ratably (equally) over the
next two years.
6. Accumulated Depreciation for the building is $1,200.
7. Accumulated Depreciation for equipment is $170.
8. Allowance for Bad Debt is $65,000
In: Accounting
(b) In a new casino game, two balls are chosen randomly from an urn containing 8 white, 4 black, and 2 orange balls to see if you will win any money. Suppose that you win $2 for each black ball selected, you lose $1 for each white ball selected, and you get nothing for each orange ball selected. If the casino lets you play this new casino game with no entry fee, what is the probability that you will not lose any money? [7 marks]
(c) A survey was conducted on lawyers at two different law firms about their annual incomes. The following table displays data for the 275 lawyers who responded to the survey.
| ANNUAL INCOME | LAW FIRM 1 | LAW FIRM 2 | TOTAL |
|
UNDER $45000 $45000 TO $89999 $90000 AND OVER |
30 35 100 |
20 40 50 |
50 75 150 |
| TOTAL | 165 | 110 | 275 |
(d) A smartphone company receives shipments of smartphones from three factories, labelled, 1, 2 and 3. Twenty-five percent of shipments come from factory 1 whose shipments contain 8% defective smartphones. Sixty-five percent of the shipments come from factory 2 whose shipments contain 6% defective smartphones. The remainder of the shipments comes from factory 3 whose shipments contain 4% smartphones. The company receives a shipment, but does not know the source. A random sample of 15 smartphones is inspected, and three of the smartphones are found to be defective. What is the probability that this shipment came from factory 2?
In: Statistics and Probability
1. A supervisor suggests that the old computer program for estimating delivery times be abandoned. Instead, schedulers could use an alternative such as MapQuest to estimate driving times. As a pilot study, 500 recent deliveries were randomly selected. The Excel data listed below contains the following variables:
Actual Times: actual time required to make delivery
Old Model Deviations: difference in actual delivery time and predicted delivery time using old computer prediction model
MapQuest: predicted delivery times for the randomly selected routes using MapQuest
Use the data to calculate the deviations for the MapQuest estimates (DMapQuest = actual delivery time – MapQuest predicted delivery time), then construct an appropriate graph for comparing the deviations for the Old Computer model and the MapQuest model. Interpret the results and indicate which prediction model should be used in the future. (Do NOT include the calculated deviations here. Do include the graph and interpretation.)
2. A driver reads your answer to part (1) and makes the following comment: MapQuest gives driving times for cars. Driving times for trucks will probably be longer because we can’t go as fast, especially in city traffic. Is there some way to adjust the MapQuest prediction to make it fit trucks better? Construct a fitted line plot (scatterplot with fitted linear regression line) using the MapQuest times as the predictor variable and the actual times as the response variable. Call the fitted values ‘Adjusted MapQuest’ times. Provide the fitted line plot, regression equation and R2 values associated with the ‘Adjusted MapQuest’ times. Interpret your results and indicate whether the driver’s suggestion is valid or invalid.
3. Use the regression equation given in part (2) to provide ‘Adjusted MapQuest’ times for the sample of 500 deliveries and calculate the Adjusted Deviations = Actual times - Adjusted MapQuest times. (You do NOT need to put those values here.) Construct an appropriate graph for comparing the deviations associated with the Old Computer Model, the MapQuest model and Adjusted MapQuest model and include it here. Interpret the graph and recommend the modeling tool (method of predicting delivery times) you feel is most accurate.
|
Actual Times |
Old Model Deviation | MapQuest |
| 142 | 42 | 113 |
| 82 | -18 | 79 |
| 142 | 42 | 101 |
| 151 | 51 | 112 |
| 154 | 54 | 127 |
| 124 | 24 | 90 |
| 134 | 34 | 89 |
| 135 | 35 | 113 |
| 123 | 23 | 94 |
| 150 | 50 | 111 |
| 121 | 21 | 105 |
| 111 | 11 | 101 |
| 142 | 42 | 109 |
| 118 | 18 | 102 |
| 159 | 59 | 119 |
| 98 | -2 | 89 |
| 150 | 50 | 115 |
| 128 | 28 | 101 |
| 134 | 34 | 110 |
| 158 | 58 | 123 |
| 106 | 6 | 89 |
| 147 | 47 | 123 |
| 117 | 17 | 84 |
| 153 | 53 | 105 |
| 126 | 26 | 96 |
| 129 | 29 | 100 |
| 98 | -2 | 76 |
| 139 | 39 | 111 |
| 119 | 19 | 95 |
| 98 | -2 | 69 |
| 137 | 37 | 105 |
| 140 | 40 | 110 |
| 140 | 40 | 121 |
| 134 | 34 | 99 |
| 131 | 31 | 100 |
| 98 | -2 | 76 |
| 123 | 23 | 116 |
| 108 | 8 | 96 |
| 112 | 12 | 85 |
| 143 | 43 | 116 |
| 133 | 33 | 92 |
| 127 | 27 | 99 |
| 124 | 24 | 95 |
| 102 | 2 | 82 |
| 106 | 6 | 87 |
| 158 | 58 | 110 |
| 122 | 22 | 93 |
| 117 | 17 | 93 |
| 179 | 79 | 142 |
| 124 | 24 | 91 |
| 127 | 27 | 114 |
| 109 | 9 | 90 |
| 121 | 21 | 96 |
| 119 | 19 | 92 |
| 125 | 25 | 107 |
| 121 | 21 | 106 |
| 138 | 38 | 112 |
| 129 | 29 | 111 |
| 137 | 37 | 112 |
| 121 | 21 | 99 |
| 156 | 56 | 110 |
| 142 | 42 | 113 |
| 112 | 12 | 89 |
| 105 | 5 | 85 |
| 142 | 42 | 114 |
| 142 | 42 | 118 |
| 137 | 37 | 107 |
| 94 | -6 | 79 |
| 132 | 32 | 115 |
| 112 | 12 | 98 |
| 97 | -3 | 85 |
| 140 | 40 | 112 |
| 126 | 26 | 106 |
| 131 | 31 | 98 |
| 93 | -7 | 81 |
| 161 | 61 | 115 |
| 113 | 13 | 87 |
| 108 | 8 | 81 |
| 117 | 17 | 102 |
| 147 | 47 | 108 |
| 113 | 13 | 98 |
| 92 | -8 | 83 |
| 136 | 36 | 106 |
| 118 | 18 | 88 |
| 120 | 20 | 84 |
| 82 | -18 | 68 |
| 139 | 39 | 111 |
| 121 | 21 | 101 |
| 157 | 57 | 129 |
| 150 | 50 | 110 |
| 133 | 33 | 95 |
| 118 | 18 | 107 |
| 115 | 15 | 93 |
| 144 | 44 | 110 |
| 124 | 24 | 110 |
| 110 | 10 | 77 |
| 145 | 45 | 112 |
| 172 | 72 | 123 |
| 111 | 11 | 88 |
| 134 | 34 | 106 |
| 131 | 31 | 103 |
| 118 | 18 | 116 |
| 122 | 22 | 100 |
| 118 | 18 | 93 |
| 132 | 32 | 108 |
| 109 | 9 | 100 |
| 100 | 0 | 83 |
| 111 | 11 | 97 |
| 109 | 9 | 82 |
| 141 | 41 | 102 |
| 124 | 24 | 108 |
| 85 | -15 | 67 |
| 126 | 26 | 97 |
| 140 | 40 | 114 |
| 121 | 21 | 102 |
| 148 | 48 | 118 |
| 110 | 10 | 92 |
| 164 | 64 | 127 |
| 136 | 36 | 106 |
| 138 | 38 | 107 |
| 142 | 42 | 100 |
| 112 | 12 | 96 |
| 129 | 29 | 94 |
| 151 | 51 | 112 |
| 122 | 22 | 97 |
| 100 | 0 | 73 |
| 124 | 24 | 98 |
| 141 | 41 | 115 |
| 126 | 26 | 106 |
| 120 | 20 | 92 |
| 105 | 5 | 97 |
| 144 | 44 | 92 |
| 136 | 36 | 107 |
| 99 | -1 | 94 |
| 97 | -3 | 102 |
| 93 | -7 | 86 |
| 132 | 32 | 97 |
| 130 | 30 | 108 |
| 89 | -11 | 76 |
| 107 | 7 | 82 |
| 128 | 28 | 91 |
| 108 | 8 | 98 |
| 134 | 34 | 101 |
| 122 | 22 | 93 |
| 135 | 35 | 105 |
| 118 | 18 | 95 |
| 121 | 21 | 98 |
| 98 | -2 | 78 |
| 104 | 4 | 82 |
| 117 | 17 | 83 |
| 135 | 35 | 112 |
| 175 | 75 | 131 |
| 120 | 20 | 113 |
| 94 | -6 | 81 |
| 106 | 6 | 95 |
| 132 | 32 | 110 |
| 116 | 16 | 98 |
| 137 | 37 | 99 |
| 81 | -19 | 73 |
| 122 | 22 | 93 |
| 101 | 1 | 85 |
| 126 | 26 | 111 |
| 148 | 48 | 116 |
| 136 | 36 | 109 |
| 90 | -10 | 85 |
| 135 | 35 | 102 |
| 138 | 38 | 111 |
| 158 | 58 | 125 |
| 118 | 18 | 94 |
| 120 | 20 | 91 |
| 165 | 65 | 123 |
| 116 | 16 | 104 |
| 117 | 17 | 90 |
| 137 | 37 | 99 |
| 123 | 23 | 110 |
| 144 | 44 | 109 |
| 159 | 59 | 126 |
| 114 | 14 | 104 |
| 101 | 1 | 93 |
| 114 | 14 | 98 |
| 101 | 1 | 81 |
| 122 | 22 | 87 |
| 168 | 68 | 133 |
| 111 | 11 | 104 |
| 147 | 47 | 122 |
| 130 | 30 | 106 |
| 131 | 31 | 105 |
| 117 | 17 | 102 |
| 113 | 13 | 102 |
| 125 | 25 | 98 |
| 123 | 23 | 96 |
| 126 | 26 | 113 |
| 92 | -8 | 78 |
| 136 | 36 | 106 |
| 124 | 24 | 95 |
| 153 | 53 | 131 |
| 91 | -9 | 87 |
| 135 | 35 | 102 |
| 129 | 29 | 94 |
| 123 | 23 | 97 |
| 150 | 50 | 115 |
| 145 | 45 | 105 |
| 103 | 3 | 86 |
| 127 | 27 | 104 |
| 122 | 22 | 92 |
| 119 | 19 | 92 |
| 117 | 17 | 97 |
| 136 | 36 | 107 |
| 85 | -15 | 70 |
| 106 | 6 | 84 |
| 111 | 11 | 89 |
| 166 | 66 | 119 |
| 124 | 24 | 112 |
| 163 | 63 | 122 |
| 154 | 54 | 104 |
| 134 | 34 | 93 |
| 100 | 0 | 83 |
| 109 | 9 | 82 |
| 125 | 25 | 105 |
| 72 | -28 | 79 |
| 93 | -7 | 86 |
| 148 | 48 | 110 |
| 70 | -30 | 70 |
| 125 | 25 | 93 |
| 163 | 63 | 119 |
| 111 | 11 | 94 |
| 111 | 11 | 84 |
| 124 | 24 | 111 |
| 117 | 17 | 98 |
| 148 | 48 | 109 |
| 152 | 52 | 118 |
| 112 | 12 | 94 |
| 115 | 15 | 82 |
| 89 | -11 | 87 |
| 124 | 24 | 88 |
| 126 | 26 | 104 |
| 133 | 33 | 103 |
| 131 | 31 | 107 |
| 178 | 78 | 134 |
| 69 | -31 | 63 |
| 129 | 29 | 100 |
| 119 | 19 | 96 |
| 106 | 6 | 95 |
| 163 | 63 | 132 |
| 160 | 60 | 135 |
| 107 | 7 | 96 |
| 118 | 18 | 87 |
| 130 | 30 | 111 |
| 123 | 23 | 102 |
| 133 | 33 | 112 |
| 139 | 39 | 123 |
| 115 | 15 | 104 |
| 101 | 1 | 89 |
| 152 | 52 | 123 |
| 117 | 17 | 105 |
| 110 | 10 | 86 |
| 130 | 30 | 98 |
| 138 | 38 | 117 |
| 111 | 11 | 85 |
| 123 | 23 | 98 |
| 99 | -1 | 87 |
| 149 | 49 | 107 |
| 130 | 30 | 95 |
| 161 | 61 | 121 |
| 157 | 57 | 123 |
| 86 | -14 | 76 |
| 108 | 8 | 98 |
| 128 | 28 | 92 |
| 112 | 12 | 88 |
| 149 | 49 | 104 |
| 127 | 27 | 96 |
| 93 | -7 | 82 |
| 136 | 36 | 105 |
| 119 | 19 | 93 |
| 118 | 18 | 90 |
| 114 | 14 | 89 |
| 146 | 46 | 105 |
| 106 | 6 | 83 |
| 94 | -6 | 74 |
| 129 | 29 | 112 |
| 133 | 33 | 97 |
| 156 | 56 | 125 |
| 151 | 51 | 122 |
| 108 | 8 | 87 |
| 84 | -16 | 74 |
| 127 | 27 | 91 |
| 150 | 50 | 103 |
| 137 | 37 | 107 |
| 112 | 12 | 97 |
| 124 | 24 | 103 |
| 101 | 1 | 77 |
| 125 | 25 | 98 |
| 122 | 22 | 92 |
| 117 | 17 | 91 |
| 136 | 36 | 110 |
| 110 | 10 | 86 |
| 123 | 23 | 116 |
| 129 | 29 | 102 |
| 128 | 28 | 105 |
| 126 | 26 | 105 |
| 141 | 41 | 104 |
| 113 | 13 | 99 |
| 127 | 27 | 98 |
| 137 | 37 | 96 |
| 112 | 12 | 93 |
| 159 | 59 | 124 |
| 148 | 48 | 108 |
| 111 | 11 | 90 |
| 133 | 33 | 113 |
| 118 | 18 | 104 |
| 157 | 57 | 108 |
| 118 | 18 | 98 |
| 147 | 47 | 125 |
| 118 | 18 | 94 |
| 125 | 25 | 109 |
| 110 | 10 | 85 |
| 105 | 5 | 97 |
| 75 | -25 | 74 |
| 130 | 30 | 100 |
| 127 | 27 | 110 |
| 93 | -7 | 70 |
| 123 | 23 | 99 |
| 114 | 14 | 94 |
| 159 | 59 | 129 |
| 113 | 13 | 108 |
| 89 | -11 | 78 |
| 131 | 31 | 102 |
| 154 | 54 | 138 |
| 90 | -10 | 74 |
| 98 | -2 | 87 |
| 139 | 39 | 114 |
| 136 | 36 | 107 |
| 103 | 3 | 76 |
| 114 | 14 | 96 |
| 126 | 26 | 98 |
| 147 | 47 | 117 |
| 101 | 1 | 74 |
| 133 | 33 | 92 |
| 143 | 43 | 109 |
| 110 | 10 | 95 |
| 98 | -2 | 89 |
| 121 | 21 | 88 |
| 113 | 13 | 91 |
| 149 | 49 | 123 |
| 128 | 28 | 97 |
| 133 | 33 | 103 |
| 116 | 16 | 94 |
| 176 | 76 | 124 |
| 117 | 17 | 99 |
| 118 | 18 | 99 |
| 92 | -8 | 89 |
| 96 | -4 | 77 |
| 126 | 26 | 90 |
| 81 | -19 | 72 |
| 139 | 39 | 108 |
| 107 | 7 | 93 |
| 76 | -24 | 64 |
| 133 | 33 | 107 |
| 109 | 9 | 79 |
| 137 | 37 | 111 |
| 127 | 27 | 101 |
| 136 | 36 | 103 |
| 134 | 34 | 95 |
| 100 | 0 | 83 |
| 103 | 3 | 88 |
| 106 | 6 | 75 |
| 125 | 25 | 101 |
| 120 | 20 | 101 |
| 127 | 27 | 94 |
| 129 | 29 | 99 |
| 148 | 48 | 110 |
| 108 | 8 | 92 |
| 123 | 23 | 106 |
| 136 | 36 | 118 |
| 162 | 62 | 116 |
| 113 | 13 | 81 |
| 136 | 36 | 108 |
| 119 | 19 | 96 |
| 135 | 35 | 113 |
| 144 | 44 | 91 |
| 166 | 66 | 124 |
| 143 | 43 | 114 |
| 90 | -10 | 74 |
| 146 | 46 | 111 |
| 167 | 67 | 124 |
| 128 | 28 | 107 |
| 125 | 25 | 96 |
| 112 | 12 | 93 |
| 151 | 51 | 122 |
| 73 | -27 | 76 |
| 125 | 25 | 104 |
| 116 | 16 | 94 |
| 116 | 16 | 101 |
| 103 | 3 | 100 |
| 104 | 4 | 86 |
| 133 | 33 | 104 |
| 166 | 66 | 119 |
| 125 | 25 | 107 |
| 148 | 48 | 108 |
| 147 | 47 | 117 |
| 85 | -15 | 78 |
| 123 | 23 | 95 |
| 98 | -2 | 91 |
| 145 | 45 | 120 |
| 148 | 48 | 115 |
| 101 | 1 | 80 |
| 131 | 31 | 110 |
| 115 | 15 | 90 |
| 99 | -1 | 84 |
| 146 | 46 | 120 |
| 129 | 29 | 107 |
| 91 | -9 | 77 |
| 116 | 16 | 92 |
| 126 | 26 | 92 |
| 90 | -10 | 69 |
| 125 | 25 | 92 |
| 143 | 43 | 101 |
| 114 | 14 | 94 |
| 144 | 44 | 107 |
| 76 | -24 | 82 |
| 124 | 24 | 97 |
| 151 | 51 | 123 |
| 133 | 33 | 101 |
| 103 | 3 | 91 |
| 103 | 3 | 97 |
| 124 | 24 | 108 |
| 96 | -4 | 77 |
| 132 | 32 | 107 |
| 142 | 42 | 108 |
| 136 | 36 | 110 |
| 124 | 24 | 104 |
| 146 | 46 | 123 |
| 97 | -3 | 83 |
| 99 | -1 | 90 |
| 118 | 18 | 81 |
| 117 | 17 | 101 |
| 135 | 35 | 116 |
| 151 | 51 | 123 |
| 124 | 24 | 88 |
| 115 | 15 | 92 |
| 142 | 42 | 111 |
| 92 | -8 | 90 |
| 117 | 17 | 88 |
| 148 | 48 | 116 |
| 146 | 46 | 114 |
| 167 | 67 | 122 |
| 114 | 14 | 91 |
| 149 | 49 | 109 |
| 123 | 23 | 102 |
| 111 | 11 | 100 |
| 106 | 6 | 92 |
| 126 | 26 | 103 |
| 148 | 48 | 117 |
| 108 | 8 | 83 |
| 108 | 8 | 85 |
| 166 | 66 | 137 |
| 140 | 40 | 103 |
| 119 | 19 | 85 |
| 126 | 26 | 94 |
| 132 | 32 | 92 |
| 141 | 41 | 118 |
| 157 | 57 | 127 |
| 142 | 42 | 112 |
| 145 | 45 | 100 |
| 81 | -19 | 77 |
| 119 | 19 | 112 |
| 153 | 53 | 112 |
| 97 | -3 | 78 |
| 123 | 23 | 91 |
| 121 | 21 | 91 |
| 121 | 21 | 89 |
| 120 | 20 | 106 |
| 104 | 4 | 83 |
| 97 | -3 | 70 |
| 159 | 59 | 122 |
| 106 | 6 | 83 |
| 180 | 80 | 134 |
| 144 | 44 | 108 |
| 152 | 52 | 120 |
| 120 | 20 | 98 |
| 126 | 26 | 102 |
| 101 | 1 | 89 |
| 131 | 31 | 109 |
| 94 | -6 | 86 |
| 106 | 6 | 79 |
| 124 | 24 | 95 |
| 145 | 45 | 118 |
| 168 | 68 | 111 |
| 123 | 23 | 95 |
| 130 | 30 | 95 |
| 113 | 13 | 94 |
| 137 | 37 | 110 |
| 90 | -10 | 90 |
| 93 | -7 | 79 |
| 147 | 47 | 112 |
| 146 | 46 | 108 |
| 125 | 25 | 97 |
| 128 | 28 | 99 |
| 132 | 32 | 97 |
| 119 | 19 | 77 |
In: Statistics and Probability
You may have used shortcuts to see if a number is divisible by another. example "is a number is divisible by 4 if the last two digits form a number divisible by 4" or "a number is divisible by 8 if the last three digits form a number divisible by 8." Where do they come from? Why are some numbers left out? Could you prove these shortcuts?
In: Math
Find the regression equation, letting the first variable be the predictor (x) variable. Using the listed actress/actor ages in various years, find the best predicted age of the Best Actor winner given that the age of the Best Actress winner that year is 35 years. Is the result within 5 years of the actual Best Actor winner, whose age was 49 years? Best Actress 29 31 28 60 34 35 47 30 62 23 43 51 Best Actor 44 37 36 44 50 49 63 51 40 56 43 33 Find the equation of the regression line. ModifyingAbove y with caret equalsnothingplus(nothing )x (Round the constant to one decimal place as needed. Round the coefficient to three decimal places as needed.) The best predicted age of the Best Actor winner given that the age of the Best Actress winner that year is 35 years is nothing years old. (Round to the nearest whole number as needed.)
In: Statistics and Probability
I want this program written in JAVA with the algorithm(The step by step process for the problem) . Please help it is due in a couple of hours. I don't want the C++ program, I want it in JAVA please
#20 Theater Ticket Sales
Create a TicketManager class and a program that uses it to sell tickets for a single performance theater production.
Here are the specifications:
• The theater's auditorium has 15 rows, with 30 seats in each row.
To represent the seats, the TicketManager class should have a
two-dimensional array of SeatStructures. Each of these structures
should have data members to keep track of the seat's price and
whether or not it is available or already sold.
• The data for the program is to be read in from two files located
in the Chapter 8 programs folder on this book's companion website.
The first one, SeatPrices.dat, contains 15 values representing the
price for each row. All seats in a given row are the same price,
but different rows have different prices. The second file,
SeatAvailability. dat, holds the seat availability information. It
contains 450 characters (15 rows with 30 characters each),
indicating which seats have been sold (' • ') and which are
available ( '#' ). Initially all seats are available. However, once
the program runs and the file is updated, some of the seats will
have been sold. The obvious function to read in the data from these
files and set up the array is the constructor that runs when the
TicketManager object is first created.
• The client program should be a menu-driven program that provides
the user with a menu of box office options, accepts and validates
user inputs, and calls appropriate class functions to carry out
desired tasks. The menu should have options to display the seating
chart, request tickets, print a sales report, and exit the
program.
• When the user selects the display seats menu option, a
TicketManager function should be called that creates and returns a
string holding a chart, similar to the one shown here. It should
indicate which seats are already sold ( *) and which are still
available for purchase (#) . The client program should then display
the string.
Seats 1234567890 12345678901234567890
Row 1 ***###***###******############
Row 2 ####*************####*******##
Row 3 **###**********########****###
Row 4 **######**************##******
Row 5 ********#####*********########
Row 6 ##############************####
Row 7 #######************###########
Row 8 ************##****############
Row 9 #########*****############****
Row 10 #####*************############
Row 11 #**********#################**
Row 12 #############********########*
Row 13 ###***********########**######
Row 14 ##############################
Row 15 ##############################
• When the user selects the request tickets menu option , the
program should prompt for the number of seats the patron wants, the
desired row number, and the desired starting seat number. A
TicketManager ticket request function should then be called and
passed this information so that it can handle the ticket request.
If any of the requested seats do not exist, or are not available,
an appropriate message should be returned to be displayed by the
client program. If the seats exist and are available, a string
should be created and returned that lists the number of requested
seats, the price per seat in the requested row, and the total price
for the seats. Then the user program should ask if the patron
wishes to purchase these seats.
• If the patron indicates they do want to buy the requested seats ,
a TicketManager purchase tickets module should be called to handle
the actual sale. This module must be able to accept money, ensure
that it is sufficient to continue with the sale, and if it is, mark
the seat(s) as sold, and create and return a string that includes a
ticket for each seat sold (with the correct row, seat number, and
price on it).
• When the user selects the sales report menu option, a
TicketManager report module should be called. This module must
create and return a string holding a report that tells how many
seats have been sold, how many are still available, and how much
money has been collected so far for the sold seats. Think about how
your team will either calculate or collect and store this
information so that it will be available when it is needed for the
report.
• When the day of ticket sales is over and the quit menu choice is
selected, the program needs to be able to write the updated seat
availability data back out to the file. The obvious place to do
this is in the TicketManager destructor.
In: Computer Science