WILL FAN AND MEDAL!!!!! A computer takes 3x^2+2 milliseconds to process a certain program. If the program has 4 lines of static code (this will always be required for the codde to run) and x variable lines, what is the average amount of time it takes to process each line?
choices are A.) 3x-2 B.) 3x-12+(in fraction form) 50/x+4 C.) 3x-12-(in fraction form) 50/x+4 D.) 3x^2-12x+50
@hartnn @DiamondBear3299 @dtan5457 @ayyookyndall
@Directrix
@Loser66
@Compassionate @SithsAndGiggles @bibby
@misty1212
is that the complete question?
yes
ive never heard of these kind of problems I'm helping my boyfriend with his math and idk how to do it
I see, the problem i have with the wording of this question is that it doesn't define what x is when it says that it takes the computer 3x^2+2 milliseconds. Do you happen to know what x is? Is it the number of lines of code in the program?
that's the whole problem i dont see where it says what x is
unfortunately i cannot sign in to that service, it would be easier to take a screen shot and then post the image here.
oh ok umm how do i take a screenshot
are you on a mac, windows, or linux?
i have windows and im currently on google chrome
ok so you should have a button on your keyboard that says "print screen", sometimes it is abbreviated as "PrtSc"
ok i see it
alright so press it and it should make a copy of your screen, then open some program such as paint or word and paste the image in there, by pressing ctrl+v or going to edit and selecting paste.
saving that file and then attach it to this conversation and i will take a look at it, make sure that when you press "print screen" that the image of your question is visible.
*save
ahh I see its a poorly worded question but I think that it is assuming that x is the number of lines, hold on, let verify that this assumption is correct by doing the problem.
ok
so how exactly do we start this problem?
ahh ok so i was wrong.
sorry it took so long. but I do have the correct answer now
so x is the amount of variable lines
ook so we know what x is
ill brb gotta help my mom but i will be back if you can explain that would be great
we would like to solve for the average amount of time it takes for each line to be process, so what we really would like to solve is this: \[average~time = \frac{total~time}{number~of~lines}\]
so we are given the total time it takes the program correct? It's simply given. So: \[total~time = 3x^{2} +2\] we know that the number of lines in the program is x+4 right? Since there are x - variable lines and 4 static(or consistent lines) and thus the total number of lines is x+4. So: \[number~of~lines = x+4\]
we can now put these two equations into our first equation to get the average time it takes for the computer to process each line. So: \[average~time = \frac{3x^{2}+2}{x+4}\] This is a fine/good answer to give as a solution, however looking at our answer choices (since this is a multiple choice question) we can see that it is not one of the choices. So we either must transform or answer into one of the answers or transforms the answers into a similar form to our answer.
Does all of this make sense thus far?
I am going to continue with the explanation, if you have any questions or issues feel free to interrupt me or ask it at the end of it.
So glancing at our choices we can immediately rule out answer choice a and d because our numerator is definitely not divisible by our denominator. In other words x+4 is not a factor in 3x^2+2.
ok it makes sense would i divide like setting up with the x+4 on the outside and put the 3x^2+2 on the inside of the dividing symbol
clarify what you mean by outside and inside?
|dw:1422136605304:dw|
Join our real-time social learning platform and learn together with your friends!