Description
Using 10/16/1984 How do you evaluate a^3-b^3 How do you evaluate (a-b)(a^2+ab+b^2) How do you evaluate (b-c) ----- (2b-a)
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Explanation & Answer
hi I would love to help you but can you be more specific with your question?
Completion Status:
100%
Review
Review
Anonymous
Great content here. Definitely a returning customer.
Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Most Popular Content
11 pages
20191115124755gerges Analysis Of Variance One Way Anova Start
The present study shows data for the weight lost by people who have been taking medications to treat overweight and obesit ...
20191115124755gerges Analysis Of Variance One Way Anova Start
The present study shows data for the weight lost by people who have been taking medications to treat overweight and obesity
Determine Z-Scores, statistics homework help
Please find the assignment document attached ("Assignment to be done"). I have attached a sample of my previous work just ...
Determine Z-Scores, statistics homework help
Please find the assignment document attached ("Assignment to be done"). I have attached a sample of my previous work just in case its helpful in determining the amount of detail i typically need to provide. Feel free to ignore. I am not on a computer with SPSS installed, so will have to send it from a different computer. Will send asap as soon as this assignment gets picked up.
OP Maths Binary Minimum and Maximum Values to Decimal Notation Worksheet
Hello hello hello I’m back again lol how’s it going? Can you have a look through and see if you can answer these quest ...
OP Maths Binary Minimum and Maximum Values to Decimal Notation Worksheet
Hello hello hello I’m back again lol how’s it going? Can you have a look through and see if you can answer these questions ok? I would rather give you the business than open it up to the floor
This question part asks you to apply what you have learned to a new situation.One way of dealing with the imprecision of floating-point numbers is to ‘sandwich’ the exact value between the two closest values on either side. So, for example, in a decimal system that can represent exactly 4 digits beyond the decimal point, the value 0.333333… would be ‘sandwiched’ between 0.3333 and 0.3334. When a calculation is performed, it is repeated with each of the sandwich values to give a range within which the exact result of the calculation lies. For example, the exact value of 3 × 0.333333... is somewhere between 0.3333 × 3 and 0.3334 × 3, so between the values 0.9999 and 1.0002. Although this does not give us the exact value of the calculation, this method tells us a minimum and maximum value for it, within the limits of the precision of the system.
i.Show that 0.0100112 is the binary representation of 0.29687510
ii.A computer system allows only 4 binary digits after the decimal point. Write the two binary values with exactly 4 digits after the decimal point that ‘sandwich’ 0.0100112.
iii.Using the two binary ‘sandwich’ values that you found in (ii), write down the minimum and maximum binary values that sandwich the result of 0.0100112 + 0.0100112
iv.Convert each of the binary values you found in (iii) to decimal notation. Give the minimum and maximum values in decimal notation.
v.Calculate, in decimal, the value of 0.29687510 + 0.29687510 (Your answer is the actual value so it should not be rounded). By what percentage, rounded to the nearest whole percent, does the maximum value exceed the actual value? Your answer should show the actual value, the percentage and your workings for full marks.
(10 marks)
c.This question part is based on truth tables and assesses your ability to form logic expressions.During the Coronavirus pandemic in 2020, a supermarket puts restrictions on fruit and veg combinations that people can leave the supermarket with on a Thursday. In particular, for apples (A), bananas (B) and carrots (C), the following two rules are issued:
Rule 1: No apples allowed. (translated into the logic expression NOT A)
Rule 2: Bananas or carrots are allowed. (translated into the logic expression B OR C)
To avoid any misinterpretation, the rules have been translated into logic expressions (as shown above).
i.Complete the following truth table. In the final column, show purchases that are acceptable on a Thursday according to both Rule 1 and Rule 2.
ABCNOT AB OR CACCEPTABLE000001010011100101110111
ii.Find a logic expression which is logically equivalent to the logic expression A?B in the following table. (Here, A?B is a logic expression featuring a new operation that we have named ‘?’.) Follow the method that is described in Block 1 Part 1. To obtain the logic expression for A?B, first obtain the logic expressions for the relevant rows of the table below. Then construct the logic expression for A?B from that. For full marks, show your working.
ABA?BLogic expression001011100110
(6 marks)
(Total 22 marks)
This part of the question involves calculations. For full marks, you must include your workings and explanations.
Consider the following two processors:
Processor 1 has a clock speed of 4.0 GHz with 32 KiB of L1 cache.
Processor 2 has a clock speed of 2.0 GHz with 64 KiB of L1 cache.
In order to decide which to buy, you estimate the time each processor will take to load a program with 10,000 RISC instructions into the processor’s registers and the time to execute the instructions.
Each RISC instruction has a size of 4 bytes.
Each RISC instruction takes one clock pulse to execute once it is in the registers.
i.Show that a program consisting of 10,000 RISC instructions will fit into 64 KiB of L1 cache, but will not fit into 32 KiB of L1 cache.
ii.It takes 1 nanosecond (1 x 10-9 s) to move an instruction from L1 cache to the registers and 9 nanoseconds to move an instruction from L2 cache to the L1 cache. Assume that for Processor 2, all of the instructions can be found in L1 cache and for Processor 1, all of the instructions that won’t fit in L1 cache can be found in L2 cache. How much time is needed to load all 10,000 instructions into the registers for each processor? Write your answers in seconds, using scientific notation.
iii.For each processor, calculate the time it takes to execute 10,000 RISC instructions. You should not include the time to load the instructions into the registers here. Write your answers in seconds, using scientific notation.
Based on your answers to parts i and ii of this question, you should now be able to make an estimate of which processor is faster overall, although you don’t need to provide your estimate in answer to this question.
(12 marks)
A program is required to compare three numbers to see if any of them is equal to the product of the other two.
The program will take three integers, between 1 and 100 inclusive.
The program should output one of the following strings:
a = b * c
b = a * c
c = a * b
No number is the product of the others
You are given the following test data and an incomplete and error-filled program.
Test Number
Inputs
Expected Outputabc1623a = b * c2362b = a * c3326c = a * b4789No number is product of the others
# Problem: Check if any of three numbers is product of others # Input: a as an integer from 1 to 100 # Input: b as an integer from 1 to 100 # Input: c as an integer from 1 to 100 a = 6 b = 2 c = 3 # Output: answer, a string if a == b + c answer = 'a = b * c' if b == a * c answer = 'b = a * c' if c == a + b : answer = 'c = a * b' if (a != b * c) and (b != a * c) and (c != a * b): answer = 'No number is product of others' print (answer)
a.
i.What are the inputs and outputs of this problem and their types?
ii.What are the admissible values for the inputs?
(5 marks)
b.
i.What are the syntax errors in this program? Consider no other errors at this point.
ii.Once they are corrected, which of the above tests would the program still fail and why? Refer to test cases using their Test Number from the first column.
iii.Give an explanation for the choice of input values in the test table.
(8 marks)
Grossmont College Module 14 Probability of Drawing a Random Sample Questions
You are studying with one of your classmates who is acing this class. She displays the following picture.
Then she pulls ...
Grossmont College Module 14 Probability of Drawing a Random Sample Questions
You are studying with one of your classmates who is acing this class. She displays the following picture.
Then she pulls out a new deck of cards. She removes the plastic wrap from the deck of new cards, opens the box, and pulls out the cards. She removes the jokers and any other cards not displayed in the picture above. Then she starts shuffling the cards - which is difficult because the cards are brand new and slippery. She continues to shuffle and reshuffle until you agree that the deck is well-shuffled. Then she sets the deck down.
To verify that you know how to calculate various probabilities for a randomly drawn card, she asks the following questions which you answer correctly.
If I randomly select a card, what is the probability of drawing a red card?
YOUR ANSWER: 26/52 = 0.5 or 50%
If I randomly select a card, what is the probability of drawing a 9?
YOUR ANSWER: 4/52 ?? 0.0769 or 7.69%
If I randomly select a sample of two cards, what is the probability that both cards are red?
YOUR ANSWER: (26/52)(25/51) ?? 0.2451 or 24.51%
In the above calculation you multiplied, (26/52)(25/51). Why?
YOUR ANSWER: Randomly selecting a sample of two cards means we draw two cards - one at a time without replacement. So a random sample of two red cards means the first card is red and the second card is red. When we randomly select the first card, the probability we draw a red card is 26 red cards out of 52 total cards, or 26/52. We set that first red card aside. So, when we randomly select the second card, there are only 25 red cards out of a total of 51 cards, so the probability we get a red card is 25/51. We need to calculate the probability that the first card is red AND the second card is red. So we multiply the two fractions together, (26/52)(25/51).
Then your classmate says, "O.K. Let's make a little bet. If you draw a black card, I will help you with all remaining homework in this class." If not, you must wash and wax my car for me. Since she opened a brand new deck of cards right in front of you and you verified they were well-shuffled, you know the probability of drawing a black card is 0.5 or 50%, so you agree to the bet.
She picks up the deck of cards, fans them out (face down of course), and asks you to randomly select a card. You select a card and turn it over. It's red - not black.
You set the card aside and ask to try again. She reluctantly agrees and warns that if you lose, you will have to wash and wax her car twice. But if you win, you will not have to wash and wax her car, and she will help you with your homework as promised. You draw another card. It's red - not black.
You set the card on top of the previously drawn red card and ask to try a third time. Again, she reluctantly agrees, and you draw another card. It's red - not black. You must now wash and wax her car three times. You decide to quickly calculate the probability of randomly selecting a sample of three red cards.
2652?2551?2450?0.11762652?2551?2450?0.1176 or 11.76%
You set the card on top of the previously drawn red cards and think, "The next card has to be black." You ask to try a fourth time. Again, she reluctantly agrees, and you draw another card. It's red - not black. You now have a random sample of 4 red cards, and you must wash and wax her car four times.
You set the card on the stack of previously drawn red cards, and ask to try again. Once again, she reluctantly agrees, and you draw another card.
Prompt
What is the probability of drawing a random sample of 4 red cards (write the probability as a decimal and a percentage)? Would you consider the random sample of 4 red cards unusual? Why or why not?
What is the probability of drawing a random sample of 5 red cards (write the probability as a decimal and a percentage)? Would you consider the random sample of 5 red cards unusual? Why or why not?
When your classmate began shuffling the deck of cards, what obvious assumption did you believe was true? If you draw a random sample of 5 red cards from the deck, should you reject that assumption? Why or why not?
Based on your responses to the previous question, what will you infer about the deck of cards?
Argosy University Statistics ANOVA Analysis of Variance Questions
Answer the following questions.
? Explain how the F distribution is constructed ...
Argosy University Statistics ANOVA Analysis of Variance Questions
Answer the following questions.
? Explain how the F distribution is constructed by combining two chi squared distributions. What are the properties of the F distribution?
? Explain what are the objectives of ANOVA and how it is formulated. What are the underlying assumptions? What is the sum of the squares of errors and mean sum of squares of errors in ANOVA? What is the test statistic in ANOVA? What is the criterion for rejecting the null hypothesis? How the p value is determined in ANOVA? Provide a hypothetical example of ANOVA formulation.
? What is the objective of the Fisher’s post-hoc test? How is it formulated? Are they non-directional or directional tests? What is the test statistic in Fisher’s test? What are the expected outcomes of the Fisher’s test?
Similar Content
Belchertown High School Marginal Relative Frequency Question
The table below shows the results of a poll in which randomly selected high school students were asked if they prefe...
multiple regression and the general linear model as well as further regression topics
The purpose of multiple regression analysis is to model the relationship between a dependent variable and multiple indepen...
he grades of a group of 1000 students in an exam are normally distributed with a mean of 70 and a
The grades of a group of 1000 students in an exam are normally distributed with a mean of 70 and a standard deviation of 1...
GCCCD What Is the Area of The Sector Formed by Triangle FOH Lesson Plan
very simple h.w for math 414 teaching math. It no needs to solve or write anything just you have to select 2 topics from t...
Factor the polynomial: x^2+13x+40
Factor the polynomial: x^2+13x+40...
Projects work (mathematics )
please read the description and follow the instructions ...
Related Tags
Book Guides
Their Eyes Were Watching God
by Zora Neale Hurston
Of Mice and Men
by John Steinbeck
Invisible Man
by Ralph Ellison
Epic of Gilgamesh
by Unknown
Unf*ck Yourself
by Gary John Bishop
The Scarlet Letter
by Nathaniel Hawthorne
The Knife of Never Letting Go
by Patrick Ness
The Kite Runner
by Khaled Hosseini
Get 24/7
Homework help
Our tutors provide high quality explanations & answers.
Post question
Most Popular Content
11 pages
20191115124755gerges Analysis Of Variance One Way Anova Start
The present study shows data for the weight lost by people who have been taking medications to treat overweight and obesit ...
20191115124755gerges Analysis Of Variance One Way Anova Start
The present study shows data for the weight lost by people who have been taking medications to treat overweight and obesity
Determine Z-Scores, statistics homework help
Please find the assignment document attached ("Assignment to be done"). I have attached a sample of my previous work just ...
Determine Z-Scores, statistics homework help
Please find the assignment document attached ("Assignment to be done"). I have attached a sample of my previous work just in case its helpful in determining the amount of detail i typically need to provide. Feel free to ignore. I am not on a computer with SPSS installed, so will have to send it from a different computer. Will send asap as soon as this assignment gets picked up.
OP Maths Binary Minimum and Maximum Values to Decimal Notation Worksheet
Hello hello hello I’m back again lol how’s it going? Can you have a look through and see if you can answer these quest ...
OP Maths Binary Minimum and Maximum Values to Decimal Notation Worksheet
Hello hello hello I’m back again lol how’s it going? Can you have a look through and see if you can answer these questions ok? I would rather give you the business than open it up to the floor
This question part asks you to apply what you have learned to a new situation.One way of dealing with the imprecision of floating-point numbers is to ‘sandwich’ the exact value between the two closest values on either side. So, for example, in a decimal system that can represent exactly 4 digits beyond the decimal point, the value 0.333333… would be ‘sandwiched’ between 0.3333 and 0.3334. When a calculation is performed, it is repeated with each of the sandwich values to give a range within which the exact result of the calculation lies. For example, the exact value of 3 × 0.333333... is somewhere between 0.3333 × 3 and 0.3334 × 3, so between the values 0.9999 and 1.0002. Although this does not give us the exact value of the calculation, this method tells us a minimum and maximum value for it, within the limits of the precision of the system.
i.Show that 0.0100112 is the binary representation of 0.29687510
ii.A computer system allows only 4 binary digits after the decimal point. Write the two binary values with exactly 4 digits after the decimal point that ‘sandwich’ 0.0100112.
iii.Using the two binary ‘sandwich’ values that you found in (ii), write down the minimum and maximum binary values that sandwich the result of 0.0100112 + 0.0100112
iv.Convert each of the binary values you found in (iii) to decimal notation. Give the minimum and maximum values in decimal notation.
v.Calculate, in decimal, the value of 0.29687510 + 0.29687510 (Your answer is the actual value so it should not be rounded). By what percentage, rounded to the nearest whole percent, does the maximum value exceed the actual value? Your answer should show the actual value, the percentage and your workings for full marks.
(10 marks)
c.This question part is based on truth tables and assesses your ability to form logic expressions.During the Coronavirus pandemic in 2020, a supermarket puts restrictions on fruit and veg combinations that people can leave the supermarket with on a Thursday. In particular, for apples (A), bananas (B) and carrots (C), the following two rules are issued:
Rule 1: No apples allowed. (translated into the logic expression NOT A)
Rule 2: Bananas or carrots are allowed. (translated into the logic expression B OR C)
To avoid any misinterpretation, the rules have been translated into logic expressions (as shown above).
i.Complete the following truth table. In the final column, show purchases that are acceptable on a Thursday according to both Rule 1 and Rule 2.
ABCNOT AB OR CACCEPTABLE000001010011100101110111
ii.Find a logic expression which is logically equivalent to the logic expression A?B in the following table. (Here, A?B is a logic expression featuring a new operation that we have named ‘?’.) Follow the method that is described in Block 1 Part 1. To obtain the logic expression for A?B, first obtain the logic expressions for the relevant rows of the table below. Then construct the logic expression for A?B from that. For full marks, show your working.
ABA?BLogic expression001011100110
(6 marks)
(Total 22 marks)
This part of the question involves calculations. For full marks, you must include your workings and explanations.
Consider the following two processors:
Processor 1 has a clock speed of 4.0 GHz with 32 KiB of L1 cache.
Processor 2 has a clock speed of 2.0 GHz with 64 KiB of L1 cache.
In order to decide which to buy, you estimate the time each processor will take to load a program with 10,000 RISC instructions into the processor’s registers and the time to execute the instructions.
Each RISC instruction has a size of 4 bytes.
Each RISC instruction takes one clock pulse to execute once it is in the registers.
i.Show that a program consisting of 10,000 RISC instructions will fit into 64 KiB of L1 cache, but will not fit into 32 KiB of L1 cache.
ii.It takes 1 nanosecond (1 x 10-9 s) to move an instruction from L1 cache to the registers and 9 nanoseconds to move an instruction from L2 cache to the L1 cache. Assume that for Processor 2, all of the instructions can be found in L1 cache and for Processor 1, all of the instructions that won’t fit in L1 cache can be found in L2 cache. How much time is needed to load all 10,000 instructions into the registers for each processor? Write your answers in seconds, using scientific notation.
iii.For each processor, calculate the time it takes to execute 10,000 RISC instructions. You should not include the time to load the instructions into the registers here. Write your answers in seconds, using scientific notation.
Based on your answers to parts i and ii of this question, you should now be able to make an estimate of which processor is faster overall, although you don’t need to provide your estimate in answer to this question.
(12 marks)
A program is required to compare three numbers to see if any of them is equal to the product of the other two.
The program will take three integers, between 1 and 100 inclusive.
The program should output one of the following strings:
a = b * c
b = a * c
c = a * b
No number is the product of the others
You are given the following test data and an incomplete and error-filled program.
Test Number
Inputs
Expected Outputabc1623a = b * c2362b = a * c3326c = a * b4789No number is product of the others
# Problem: Check if any of three numbers is product of others # Input: a as an integer from 1 to 100 # Input: b as an integer from 1 to 100 # Input: c as an integer from 1 to 100 a = 6 b = 2 c = 3 # Output: answer, a string if a == b + c answer = 'a = b * c' if b == a * c answer = 'b = a * c' if c == a + b : answer = 'c = a * b' if (a != b * c) and (b != a * c) and (c != a * b): answer = 'No number is product of others' print (answer)
a.
i.What are the inputs and outputs of this problem and their types?
ii.What are the admissible values for the inputs?
(5 marks)
b.
i.What are the syntax errors in this program? Consider no other errors at this point.
ii.Once they are corrected, which of the above tests would the program still fail and why? Refer to test cases using their Test Number from the first column.
iii.Give an explanation for the choice of input values in the test table.
(8 marks)
Grossmont College Module 14 Probability of Drawing a Random Sample Questions
You are studying with one of your classmates who is acing this class. She displays the following picture.
Then she pulls ...
Grossmont College Module 14 Probability of Drawing a Random Sample Questions
You are studying with one of your classmates who is acing this class. She displays the following picture.
Then she pulls out a new deck of cards. She removes the plastic wrap from the deck of new cards, opens the box, and pulls out the cards. She removes the jokers and any other cards not displayed in the picture above. Then she starts shuffling the cards - which is difficult because the cards are brand new and slippery. She continues to shuffle and reshuffle until you agree that the deck is well-shuffled. Then she sets the deck down.
To verify that you know how to calculate various probabilities for a randomly drawn card, she asks the following questions which you answer correctly.
If I randomly select a card, what is the probability of drawing a red card?
YOUR ANSWER: 26/52 = 0.5 or 50%
If I randomly select a card, what is the probability of drawing a 9?
YOUR ANSWER: 4/52 ?? 0.0769 or 7.69%
If I randomly select a sample of two cards, what is the probability that both cards are red?
YOUR ANSWER: (26/52)(25/51) ?? 0.2451 or 24.51%
In the above calculation you multiplied, (26/52)(25/51). Why?
YOUR ANSWER: Randomly selecting a sample of two cards means we draw two cards - one at a time without replacement. So a random sample of two red cards means the first card is red and the second card is red. When we randomly select the first card, the probability we draw a red card is 26 red cards out of 52 total cards, or 26/52. We set that first red card aside. So, when we randomly select the second card, there are only 25 red cards out of a total of 51 cards, so the probability we get a red card is 25/51. We need to calculate the probability that the first card is red AND the second card is red. So we multiply the two fractions together, (26/52)(25/51).
Then your classmate says, "O.K. Let's make a little bet. If you draw a black card, I will help you with all remaining homework in this class." If not, you must wash and wax my car for me. Since she opened a brand new deck of cards right in front of you and you verified they were well-shuffled, you know the probability of drawing a black card is 0.5 or 50%, so you agree to the bet.
She picks up the deck of cards, fans them out (face down of course), and asks you to randomly select a card. You select a card and turn it over. It's red - not black.
You set the card aside and ask to try again. She reluctantly agrees and warns that if you lose, you will have to wash and wax her car twice. But if you win, you will not have to wash and wax her car, and she will help you with your homework as promised. You draw another card. It's red - not black.
You set the card on top of the previously drawn red card and ask to try a third time. Again, she reluctantly agrees, and you draw another card. It's red - not black. You must now wash and wax her car three times. You decide to quickly calculate the probability of randomly selecting a sample of three red cards.
2652?2551?2450?0.11762652?2551?2450?0.1176 or 11.76%
You set the card on top of the previously drawn red cards and think, "The next card has to be black." You ask to try a fourth time. Again, she reluctantly agrees, and you draw another card. It's red - not black. You now have a random sample of 4 red cards, and you must wash and wax her car four times.
You set the card on the stack of previously drawn red cards, and ask to try again. Once again, she reluctantly agrees, and you draw another card.
Prompt
What is the probability of drawing a random sample of 4 red cards (write the probability as a decimal and a percentage)? Would you consider the random sample of 4 red cards unusual? Why or why not?
What is the probability of drawing a random sample of 5 red cards (write the probability as a decimal and a percentage)? Would you consider the random sample of 5 red cards unusual? Why or why not?
When your classmate began shuffling the deck of cards, what obvious assumption did you believe was true? If you draw a random sample of 5 red cards from the deck, should you reject that assumption? Why or why not?
Based on your responses to the previous question, what will you infer about the deck of cards?
Argosy University Statistics ANOVA Analysis of Variance Questions
Answer the following questions.
? Explain how the F distribution is constructed ...
Argosy University Statistics ANOVA Analysis of Variance Questions
Answer the following questions.
? Explain how the F distribution is constructed by combining two chi squared distributions. What are the properties of the F distribution?
? Explain what are the objectives of ANOVA and how it is formulated. What are the underlying assumptions? What is the sum of the squares of errors and mean sum of squares of errors in ANOVA? What is the test statistic in ANOVA? What is the criterion for rejecting the null hypothesis? How the p value is determined in ANOVA? Provide a hypothetical example of ANOVA formulation.
? What is the objective of the Fisher’s post-hoc test? How is it formulated? Are they non-directional or directional tests? What is the test statistic in Fisher’s test? What are the expected outcomes of the Fisher’s test?
Earn money selling
your Study Documents