Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Jupyter notebook Quiz2.ipynb

36 views
Kernel: Python 3
from Quiz2Script import *
FirstAnswer = FirstQuestion() FirstAnswer
Anohter name for the independent variable of a function is the? argument
11
SecondAnswer = SecondQuestion() SecondAnswer
With the following set of points {(50,-55), (-31,-71), (-93,-68), (-51,-89), (64,10), (81,13), (-73,2), (-68,45) } determine the domain and the range? Remember to use enter answer with {} for a set. What is the domain of the points? {-93,-73,-68,-51,-31,50,64,81} What is the range of the points? {-89,-71,-68,-55,2,10,13,45}
11
ThirdAnswer = ThirdQuestion() ThirdAnswer
With the following set of points {(-25,51), (6,-85), (8,-81), (-85,-14), (-71,-66), (-76,19), (20,-23), (-22,99) } determine whether this relation is a function? Yes
11
FourthAnswer = FourthQuestion() FourthAnswer
Is the equation y^2 = x a function? No
11
FifthAnswer = FifthQuestion() FifthAnswer
Apply the difference quotient to -x**2 + 89. -h - 2*x
11
SixthAnswer = SixthQuestion() SixthAnswer
With f(x) = x**6 + 59*x**3 + x**2 + 708 and g(x) = 228*x**5 + 741*x**3 + 171*x**2 What is f(x) + g(x)? x**6 + 228*x**5 + 800*x**3 + 172*x**2 + 708
11
SeventhAnswer = SeventhQuestion() SeventhAnswer
With f(x) = -42*x**6 + x**4 + x**2 - 504 and g(x) = -240*x**6 - 100*x**4 - 60*x**2 What is f(x) - g(x)? 198*x**6 + 101*x**4 + 61*x**2 - 504
11
EighthAnswer = EighthQuestion() EighthAnswer
With f(x) = 27*x**4 and g(x) = 264*x**5 + 198*x**2 + 858*x What is f(x) * g(x)? 7128*x**9 + 5346*x**6 + 23166*x**5
11
NinthAnswer = NinthQuestion() NinthAnswer
With f(x) = 88*x**5 and g(x) = -1020*x**5 - 340*x**3 - 85*x**2 - 255*x What is f(x)/g(x)? (22*x**5)/(-51*x**5 - 68*x**3 - 17*x**2 - 51*x)
00
TenthAnswer = TenthQuestion() TenthAnswer
/projects/fa21bd1f-a12d-4266-9dbd-04fc2b28df01/Quiz2Script.py:1011: RuntimeWarning: invalid value encountered in power plt.plot(x, (x)**(1/3), 'b') /projects/fa21bd1f-a12d-4266-9dbd-04fc2b28df01/Quiz2Script.py:1012: RuntimeWarning: invalid value encountered in power plt.plot(x, (-x)**(1/3), 'b')
Image in a Jupyter notebook
Does this graph pass the vertical-line test? Yes
11
ScoreReturner(FirstAnswer, SecondAnswer, ThirdAnswer, FourthAnswer, FifthAnswer, SixthAnswer, SeventhAnswer, EighthAnswer, NinthAnswer, TenthAnswer)
90.090.0