Business law, please write a short court cases on cases below.
Stephen A. Wheat v. Sparks
J.T. ex rel. Thode v. Monster Mountain.
Clark’s Sales and Service v. Smith
Browning v. Poirer
Sogeti USA v. Scariano
Killian v. Ricchetti
In: Accounting
HIMT 345
Homework 05: Functions
Overview: Examine PyCharm’s “Introduction to Python”
samples for Functions. Use PyCharm to work along with exercises
from Chapter 4. Modify the grade assignment program of Hwk 04 to
utilize a function by copying the Hwk04 project and creating the
Hwk05 project.
Prior Task Completion:
1. Read Chapter 04
2. View Chapter 04’s video notes.
3. As you view the video, work along with each code sample in
PyCharm. The examples used in the video are available for you to
experiment with if you downloaded the complete Severance source
files for Chapters 3-10.
a) With PyCharm open, locate the .zip file entitled Ch 4
Functions PPT Code Samples.zip.
b) Open each of the project files for that chapter in PyCharm.
Note: The code samples are numbered in the order they are covered
in the video.
c) Start the video and follow along.
4. Complete Exercises 4.1 – 4.5 (not handed in).
Specifics: PyCharm’s “Introduction to Python” project contains
multiple examples giving the basics of conditional expressions (see
list at right). Follow the instructions to complete them. (Not
handed in.)
Use PyCharm to work along with the video solution for Exercise 4.6
from the textbook. Try to make the same mistakes (and fixes) made
by the author. (Not handed in.)
Create a copy of your Hwk04 project file, calling it
Hwk05.
1. Highlight the Hwk04 project, select
Refactor/Copy.
Important: Do not skip the process of following along with
the videos. It is a very important part of the learning
process!
2. Give it a New name: of Hwk05 and leave the To directory:
in its default state.
Leave the “Open copy in editor” box checked.
3. After clicking OK, if the project fails to open, just open it
manually as you would
any project (File | Open | Hwk05 project).
You may immediately delete Hwk04b as it is not needed in this
assignment. You may
need to Refactor | Rename both the project name and the existing
Hwk04a.py file, as
only the directory was renamed by PyCharm in creating the
copy.
Having renamed Hwk04a to Hwk05_YourLastName.py, your task is to
determine the
letter grade using a function.
Here is some pseudocode* to guide the process:
(NOTE: The assign_grade function must be declared at the top of the
Python file.)
Prompt for the test score, using try-except to verify it is
valid
Invoke (call) the function, supplying it the test score and it
returning the appropriate
letter grade;
e.g. letter_grade = assign_grade(test_score)
Display the test score and appropriate letter grade.
What to hand in:
Take screen shots of the console window verifying correct
handling of bad input as well
as letter grades for one test score in each grade range. Copy the
screen shots into a
Word document (filename Hwk05_YourLastName_Screenshots.doc) with
your name and
date in the upper right hand corner. Upload the Word doc and the
Python program file
(Hwk05_YourLastName.py) to the appropriate assignment in the
LMS.
NOTE: As was described in the previous assignment, each Python file
you create should
be documented with (minimally) the following three lines at
the top of each file:
# Filename: Hwk03.py
# Author:
# Date Created: 2016/09/05
# Purpose:
(*) pseudocode: a notation resembling a simplified programming
language, used in
program design.
HERE IS HOMEWORK4
# main function
def main():
test_score = int(input('Enter Your Test Score in the range (0-100) inclusively: '))
# for incorrect input
if test_score<0 or test_score>100:
print('Sorry, Your Input Score is not in the given Range!!! Try another time!!!')
else:
# find grade
if test_score>=90:
print("Your Grade:", 'A')
elif test_score>=80:
print("Your Grade:", 'B')
elif test_score>=70:
print("Your Grade:", 'C')
elif test_score>=60:
print("Your Grade:", 'D')
else:
print("Your Grade:", 'F')
# execution of program starts from here
if __name__ == '__main__':
main()
OUTPUT
(base) avianjjai@avianjjai-Vostro-3578:~/Desktop/Chegg$ python chegg100.py Enter Your Test Score in the range (0-100) inclusively: -8 Sorry, Your Input Score is not in the given Range!!! Try another time!!! (base) avianjjai@avianjjai-Vostro-3578:~/Desktop/Chegg$ python chegg100.py Enter Your Test Score in the range (0-100) inclusively: 105 Sorry, Your Input Score is not in the given Range!!! Try another time!!! (base) avianjjai@avianjjai-Vostro-3578:~/Desktop/Chegg$ python chegg100.py Enter Your Test Score in the range (0-100) inclusively: 54 Your Grade: F (base) avianjjai@avianjjai-Vostro-3578:~/Desktop/Chegg$ python chegg100.py Enter Your Test Score in the range (0-100) inclusively: 64 Your Grade: D (base) avianjjai@avianjjai-Vostro-3578:~/Desktop/Chegg$ python chegg100.py Enter Your Test Score in the range (0-100) inclusively: 75 Your Grade: C (base) avianjjai@avianjjai-Vostro-3578:~/Desktop/Chegg$ python chegg100.py Enter Your Test Score in the range (0-100) inclusively: 85 Your Grade: B (base) avianjjai@avianjjai-Vostro-3578:~/Desktop/Chegg$ python chegg100.py Enter Your Test Score in the range (0-100) inclusively: 95 Your Grade: A (base) avianjjai@avianjjai-Vostro-3578:~/Desktop/Chegg$ python chegg100.py Enter Your Test Score in the range (0-100) inclusively: 100 Your Grade: A (base) avianjjai@avianjjai-Vostro-3578:~/Desktop/Chegg$ python chegg100.py Enter Your Test Score in the range (0-100) inclusively: 0 Your Grade: F (base) avianjjai@avianjjai-Vostro-3578:~/Desktop/Chegg$
# main() function
def main():
# prompt first name
first_name = input('First name : ')
try:
# prompt current age
cur_age = int(input("Current Age (in years) : "))
except:
print("Sorry you didn't inputted correct current age value!!! Try another time")
return
try:
# prompt expected life span
life_span = int(input("Expected life span (in years) : "))
except:
print("Sorry you didn't inputted correct expected life span value!!! Try another time")
return
# calculate age in days
age_days = cur_age * 365
# calculate days left to live
days_left = (life_span * 365) - age_days
# print final message
print(first_name + " you are " + str(age_days) + " days old. You have " + str(days_left) + " days left to live.")
# execution of program starts from here
if __name__ == '__main__':
main()
OUTPUT
(base) avianjjai@avianjjai-Vostro-3578:~/Desktop/Chegg$ python chegg101.py First name : Chegg Expert Current Age (in years) : Fifty-Five Sorry you didn't inputted correct current age value!!! Try another time (base) avianjjai@avianjjai-Vostro-3578:~/Desktop/Chegg$ python chegg101.py First name : Chegg Expert Current Age (in years) : 26 Expected life span (in years) : Fifty-Five Sorry you didn't inputted correct expected life span value!!! Try another time (base) avianjjai@avianjjai-Vostro-3578:~/Desktop/Chegg$ python chegg101.py First name : Chegg Expert Current Age (in years) : 26 Expected life span (in years) : 75 Chegg Expert you are 9490 days old. You have 17885 days left to live. (base) avianjjai@avianjjai-Vostro-3578:~/Desktop/Chegg$
In: Computer Science
The Fitzhugh-Nagumo model for the electrical impulse in a neuron states that, in the absence of relaxation effects, the electrical potential in a neuron v(t) obeys the differential equation
dv/dt = −v[v2 − (1 + a)v + a]
where a is a positive constant such that 0 < a < 1.
(a) For what values of v is v unchanging (that
is, dv/dt = 0)? (Enter your answers as a comma-separated
list.)
v = ______
(b) For what values of v is v increasing? (Enter your answer using interval notation.)
______
(c) For what values of v is v decreasing? (Enter
your answer using interval notation.)
______
Please show all work neatly, line by line, and justify steps so I can learn.
Thank you!
In: Math
EXPERIMENT ONE
On a standard test of attention span in children, Dr. Niederjohn wants to know whether attention span is different in children who play video games extensively. He selects a sample of children who regularly play video games and those who do not and obtains the following attention-span data:
|
Video |
No Video |
|
23 |
19 |
|
19 |
17 |
|
28 |
24 |
|
21 |
21 |
|
24 |
27 |
|
27 |
21 |
|
28 |
23 |
|
23 |
18 |
|
25 |
19 |
|
23 |
22 |
1. Give the M and SD for each group:
|
Video |
No Video |
|
|
M (Experiment 1) |
24.1 |
21.1 |
|
SD (Experiment 1) |
2.961 |
3.035 |
2. Using SPSS compute the appropriate test. Paste SPSS output here.
|
t-Test: Two-Sample |
||
|
Video |
No Video |
|
|
Mean |
24.1 |
21.1 |
|
Variance |
8.766667 |
9.211111 |
|
Observations |
10 |
10 |
|
Hypothesized Mean Difference |
0 |
|
|
df |
18 |
|
|
t Stat |
2.23745 |
|
|
P(T<=t) one-tail |
0.019072 |
|
|
t Critical one-tail |
1.734064 |
|
|
P(T<=t) two-tail |
0.038144 |
|
|
t Critical two-tail |
2.100922 |
|
EXPERIMENT TWO
Dr. Marek wants to replicate the previous study. She selects a different sample of children who regularly play video games and those who do not and obtains the following attention-span data:
|
Video |
No Video |
|
20 |
16 |
|
19 |
20 |
|
31 |
24 |
|
18 |
21 |
|
24 |
27 |
|
27 |
21 |
|
31 |
23 |
|
23 |
21 |
|
25 |
16 |
|
23 |
22 |
3. Give the Mand SDfor each group:
|
Video |
No Video |
|
|
M (Experiment 2) |
24.1 |
21.1 |
|
SD (Experiment 2) |
4.56 |
3.35 |
4. The difference between the means in experiment 1 is the same asthe difference between the means in experiment 2.
5. The variability in experiment 1 is less thanthe variability in experiment 2.
6a. Given your answer to numbers 4 and 5, the results of EXPERIMENT TWOare less likely
to be significant compared to the results of EXPERIMENT ONE?
6b. Why? How will the numerator and denominator of the t-obtained formula be affected by the answers to questions 4 and 5? Note: you will be graded in part on the clarity of your answer. When you make comparisons between the two experiments, clearly identify which experiment you are referring to.
7. Using SPSS compute the appropriate test. Paste SPSS output here.
With alpha set at .05, write a conclusion of the findings.
Be sure to report the appropriate statistic in APA style.
EXPERIMENT THREE
Dr. Ziegler wants to replicate the previous study once again. She selects a different sample of children who regularly play video games and those who do not and obtains the following attention-span data:
|
Video |
No Video |
|
25 |
21 |
|
21 |
19 |
|
30 |
26 |
|
23 |
23 |
|
26 |
29 |
|
29 |
23 |
|
30 |
25 |
|
25 |
20 |
|
27 |
21 |
|
25 |
24 |
8. Give the Mand SDfor each group.
|
Video |
No Video |
|
|
M (Experiment 3) |
||
|
SD (Experiment 3) |
9. The difference between the means in experiment 1 is _________ the difference between the means in experiment 3.
less than
greater than
the same as
10. The variability in experiment 1 is _________ the variability in experiment 3.
less than
greater than
the same as
11a. Given your answer to numbers 9 and 10, the results of EXPERIMENT THREEare _________ to be significant compared to the results of EXPERIMENT ONE?
a.less likely
b.more likely
c.equally likely
11b. Why? How will the numerator and denominator of the t-obtained formula be affected by the answers to questions 9 and 10? Note: you will be graded in part on the clarity of your answer. When you make comparisons between the two experiments, clearly identify which experiment you are referring to.
12. The difference between the means in experiment 2 is _________ the difference between the means in experiment 3.
less than
greater than
the same as
13. The variability in experiment 2 is _________ the variability in experiment 3.
less than
greater than
the same as
14a. Given your answer to numbers 12 and 13, the results of EXPERIMENT THREEare _________ to be significant compared to the results of EXPERIMENT TWO?
a.less likely
b.more likely
c.equally likely
14b. Why? How will the numerator and denominator of the t-obtained formula be affected by the answers to questions 12 and 13? Note: you will be graded in part on the clarity of your answer. When you make comparisons between the two experiments, clearly identify which experiment you are referring to.
15. Using SPSS compute the appropriate test. Paste SPSS output here.
With alpha set at .05, write a conclusion of the findings.
Be sure to report the appropriate statistic in APA style.
In: Statistics and Probability
You are the senior system administrator in your company and are known for your Active Directory expertise. Your specialty is Group Policy Objects (GPO) and tracking changes. Your boss tells everyone about a tool developed by Microsoft called “Policy Analyzer” for tracking changes and troubleshooting GPO. He would like you to conduct a “lunch and learn” about Policy Analyzer for your Windows Administration Team. You realize that the product’s name has been changed to “Microsoft Security Configuration Toolkit”. Diplomatically conduct the lunch and learn and discuss the history of the tool, the name change, the features of the product and the benefits to your Windows Administration team in managing GPO.
A minimum of two references is required one of which can be your textbook.
<Insert your 1-2 page Lunch and Learn document with references cited in APA format>
Textbook info
Windows Server 2016 Administration Fundamentals
ISBN: 9781788626569
please provide a full new answer
In: Computer Science
Provide a PARAGRAPH description of each of the three experiments below: 1.) Asch Conformity Experiment. 2.) Milgram Obedience Experiment. 3.) The Stanford Prison Experiment. ALL THREE HAVE TO BE ANSWERED TO EARN CREDIT.
In: Psychology
What is the major advantage to constructing a paired difference experiment when comparing two population means?
a) The paired difference experiment accounts for dependence between data pairs.
b) The paired difference experiment benefits from the fact that selecting samples independently is always optimal
c) The test statistic is easier to calculate
d)The paired difference experiment guarantees a strong linear correlation
In: Statistics and Probability
Learning Task 12-01
The Enzyme Lactase Experiment Design
Check off the items in this list that you would use for this experiment. You may add any items you feel you would need.
|
|
|
|
|
|
|
|
|
|
|
|
|
Other items you feel you would need to use for this experiment. |
|
Describe what you would do in your experiment. For each step, explain why the step is important. Add more steps if required.
|
Step: |
Why this step is important: |
If you actually conducted this experiment, what safety issues would you need to identify?
If you actually conducted this experiment, what appropriate precautions would you take to ensure that you performed the experiment safely?
If you actually conducted this experiment, what results would you expect to see?
Why would you expect these results?
In: Biology
verify that the function det has the following properties
1. det(... ,v,..., v,...)=0
2. det(...,cv+dw,...)=c*det(...,v,...)+d*det(...,w,...)
3. use the above properties and normalization to prove that
A= det(...,v+cw,...w,...)=det(...,v,...,w,...)
B=det(...,v,...,w,...)= (-1)*det(...,w,...,v,...) and
C= det [diag (λ1, ... , λn ) ] = Πiλi
In: Advanced Math
C++
Suppose the vector v = [4 -6 7]. Create three vectors:
1. p, which is twice as long as v and points in the same
direction as v
2. q, which has the same length as v and points in the opposite
direction of v
3. r, which is three quarters the length of v and points in the
same direction as v
Print out the results of each vector calculation.
In: Computer Science