SlideShare a Scribd company logo
1 of 2
# print the total payments at the end
Functions
Create functions that take five arguments and multiplies them according to the type of object
they are: Scalar, Vector, Matrix, Plot each of the functions that you have constructed.
Deliverables
Markdown Documents to include appropriate screenshots (with descriptions).
Then, in 250-500 words, explain each control statement and function in your own words. Make
sure to address when and why each would be used in data science practices as well as justify
your rationale using sound statistical arguments and associated formulas.
APA style is not required, but solid academic writing is expected
Assessment Description It is essential in data science and related disciplines to understand the
most basic decision-making processes in computing as well as to distinguish when, why and how
these specific practicesitools should be employed. For example, consider the following scenario
of a real-werid case study. Immigration is a controversial topic. Policies are made, enacted, and
entorced based upon what the voters want and civil rights. To figure out if a policy is effective
such as the Dreamers Act, a firm is hired to conduct a statistical analysis on how well
participants are faring in comparison to those not in the program. By using the R programming
fundamentals to create an R program, the firm can evaluate the effectiveness of potential
policy(s) Practice The exercises below include various aspects of R programing that allow one to
perform statistical operations in various applications. Arhough they are unrelated to any one
scenario, they are practice examples you can use in your toolbox to evaluate data in a statistical
analysis. Read Chapters 5 and 6 in "An Introduction to Statistical Programming Methods with
R," located in the topic Resources. Access R Studio. Then, demonstrate how to work with each
control statement and function as outlined below. Take appropriate screenshots (with
descriptions) as needed. All documentation should be completed with the necessary markdown
documents. Lotical Oneraters Choose five logical operators. In a table, write up the following
and then execute your example. The Command, The Description, Your Own Example, The
Result Selection Operaters Create your own if statement where there are five Code Blocks (e.g.,
Code block A, Code block B, etc.). Construct a diagram of the if statement that you created (use
correct flowchart symbols). Create your own itlelse statement where there are five Code Blocks
(e.g. Code block A, Code block B, etc.) Construct a diagram of the iflelse statement that you
created (use correct flowchart symbols). Create your own iflelseifielse statement where there are
five Code Blocks (e.g., Code block A, Code block B, etc.). Construct a diagram of the
iffelseitfelse statement that you created (use correct flowchart symbols). Create your own switch
condition where there are five statements (e.g. create a story of wearing clothes based upon the
weather]. Construct a diagram of the switch condition that you created (use correct flowchart
symbols)- Loops Create a for loop where the output increments by a single digit 20 times. Create
a for loop that utilizes the next command where the output increments to 35 with only the odd
numbers showing in the output. Ubizize the following scenario and pseudocode to construct an R
script, then run the script and display the results: There is a nice young couple who needs to
borrow $500 , 000 from their local bank to purchase a home. The annual interest rate is 4.75%
annually. The lifetime of the mortgage is a 30-year loan, so they need to pay it off within 360
months. The couple decides that paying $1 , 750 per month would be best tor them as their
monthly mortgage payment. Will they pay the loan off in time with those numbers? Pseudocode
example (the pseudocode below are some basic components you should consider...you can
construct as you see fili): # setup H convert annual interest to a monthly multiplier # keep
looping until the loan is paid off.. It print the results on screen I. end of loop
# print the total payments at the end Functions Create functions that.docx

More Related Content

More from JakeAB0Hodgest

#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx
#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx
#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx
JakeAB0Hodgest
 

More from JakeAB0Hodgest (20)

(a) State the nit and afternotive hroothines- (Entes is for as treednd.docx
(a) State the nit and afternotive hroothines- (Entes is for as treednd.docx(a) State the nit and afternotive hroothines- (Entes is for as treednd.docx
(a) State the nit and afternotive hroothines- (Entes is for as treednd.docx
 
(a) Show that n is o(nlogn)-.docx
(a) Show that n is o(nlogn)-.docx(a) Show that n is o(nlogn)-.docx
(a) Show that n is o(nlogn)-.docx
 
(a) Jelaskan pembentukan dan pengekalan potensi membran rehat dalam ne.docx
(a) Jelaskan pembentukan dan pengekalan potensi membran rehat dalam ne.docx(a) Jelaskan pembentukan dan pengekalan potensi membran rehat dalam ne.docx
(a) Jelaskan pembentukan dan pengekalan potensi membran rehat dalam ne.docx
 
(a) Jelaskan tiga (3) faktor yang menyumbang kepada kebendaliran membr.docx
(a) Jelaskan tiga (3) faktor yang menyumbang kepada kebendaliran membr.docx(a) Jelaskan tiga (3) faktor yang menyumbang kepada kebendaliran membr.docx
(a) Jelaskan tiga (3) faktor yang menyumbang kepada kebendaliran membr.docx
 
(a) If the knowledge that an event A has occurred implies that a secon.docx
(a) If the knowledge that an event A has occurred implies that a secon.docx(a) If the knowledge that an event A has occurred implies that a secon.docx
(a) If the knowledge that an event A has occurred implies that a secon.docx
 
(a) Generalize the Borel-Cantelli lemmas- Suppose Xn are nonnegative I.docx
(a) Generalize the Borel-Cantelli lemmas- Suppose Xn are nonnegative I.docx(a) Generalize the Borel-Cantelli lemmas- Suppose Xn are nonnegative I.docx
(a) Generalize the Borel-Cantelli lemmas- Suppose Xn are nonnegative I.docx
 
(a) Auditors (Internal -& External) are required to deal with fraud an.docx
(a) Auditors (Internal -& External) are required to deal with fraud an.docx(a) Auditors (Internal -& External) are required to deal with fraud an.docx
(a) Auditors (Internal -& External) are required to deal with fraud an.docx
 
(a) - compaci bens - medullary cavity - metaphysia - proximal eplptiva.docx
(a) - compaci bens - medullary cavity - metaphysia - proximal eplptiva.docx(a) - compaci bens - medullary cavity - metaphysia - proximal eplptiva.docx
(a) - compaci bens - medullary cavity - metaphysia - proximal eplptiva.docx
 
(a) (2 Points) Given the following chart for the s(t) signal which con.docx
(a) (2 Points) Given the following chart for the s(t) signal which con.docx(a) (2 Points) Given the following chart for the s(t) signal which con.docx
(a) (2 Points) Given the following chart for the s(t) signal which con.docx
 
(5 points) Suppose the government raises both taxes and spending by $2.docx
(5 points) Suppose the government raises both taxes and spending by $2.docx(5 points) Suppose the government raises both taxes and spending by $2.docx
(5 points) Suppose the government raises both taxes and spending by $2.docx
 
(4 Points) Explain the differences between Capitalism and a Command ec.docx
(4 Points) Explain the differences between Capitalism and a Command ec.docx(4 Points) Explain the differences between Capitalism and a Command ec.docx
(4 Points) Explain the differences between Capitalism and a Command ec.docx
 
(3) Parse the string- n+n.docx
(3) Parse the string- n+n.docx(3) Parse the string- n+n.docx
(3) Parse the string- n+n.docx
 
$500 million- and investors want to spend $400 million at every level (8).docx
$500 million- and investors want to spend $400 million at every level (8).docx$500 million- and investors want to spend $400 million at every level (8).docx
$500 million- and investors want to spend $400 million at every level (8).docx
 
( 1 point) In a certain community- 30- of the families own a dog- and.docx
( 1 point) In a certain community- 30- of the families own a dog- and.docx( 1 point) In a certain community- 30- of the families own a dog- and.docx
( 1 point) In a certain community- 30- of the families own a dog- and.docx
 
$500 million- and investors want to spend $400 million at every level (3).docx
$500 million- and investors want to spend $400 million at every level (3).docx$500 million- and investors want to spend $400 million at every level (3).docx
$500 million- and investors want to spend $400 million at every level (3).docx
 
( 2 points) How are the xylem and phloem distinct- a- Water moves in t.docx
( 2 points) How are the xylem and phloem distinct- a- Water moves in t.docx( 2 points) How are the xylem and phloem distinct- a- Water moves in t.docx
( 2 points) How are the xylem and phloem distinct- a- Water moves in t.docx
 
#8 PLEASE HELP +11-1302-11-130c11015001+150.docx
#8 PLEASE HELP  +11-1302-11-130c11015001+150.docx#8 PLEASE HELP  +11-1302-11-130c11015001+150.docx
#8 PLEASE HELP +11-1302-11-130c11015001+150.docx
 
#5 PLEASE HELP 1281201311418614119315119042174174 2- Thantes pequatse.docx
#5 PLEASE HELP  1281201311418614119315119042174174 2- Thantes pequatse.docx#5 PLEASE HELP  1281201311418614119315119042174174 2- Thantes pequatse.docx
#5 PLEASE HELP 1281201311418614119315119042174174 2- Thantes pequatse.docx
 
#10 Using your version of the SAMS tables- write one insert statement.docx
#10 Using your version of the SAMS tables- write one insert statement.docx#10 Using your version of the SAMS tables- write one insert statement.docx
#10 Using your version of the SAMS tables- write one insert statement.docx
 
#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx
#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx
#1-6 Cindy wrote a Java program and compiled it- A new file named Hell.docx
 

Recently uploaded

IATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdffIATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdff
17thcssbs2
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
中 央社
 
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdfFinancial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
MinawBelay
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
ashishpaul799
 

Recently uploaded (20)

How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17
 
IATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdffIATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdff
 
The Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptxThe Ball Poem- John Berryman_20240518_001617_0000.pptx
The Ball Poem- John Berryman_20240518_001617_0000.pptx
 
Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024
 
Essential Safety precautions during monsoon season
Essential Safety precautions during monsoon seasonEssential Safety precautions during monsoon season
Essential Safety precautions during monsoon season
 
“O BEIJO” EM ARTE .
“O BEIJO” EM ARTE                       .“O BEIJO” EM ARTE                       .
“O BEIJO” EM ARTE .
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
Removal Strategy _ FEFO _ Working with Perishable Products in Odoo 17
 
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdfFinancial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
 
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
How to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryHow to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 Inventory
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptx
 
philosophy and it's principles based on the life
philosophy and it's principles based on the lifephilosophy and it's principles based on the life
philosophy and it's principles based on the life
 
Word Stress rules esl .pptx
Word Stress rules esl               .pptxWord Stress rules esl               .pptx
Word Stress rules esl .pptx
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 

# print the total payments at the end Functions Create functions that.docx

  • 1. # print the total payments at the end Functions Create functions that take five arguments and multiplies them according to the type of object they are: Scalar, Vector, Matrix, Plot each of the functions that you have constructed. Deliverables Markdown Documents to include appropriate screenshots (with descriptions). Then, in 250-500 words, explain each control statement and function in your own words. Make sure to address when and why each would be used in data science practices as well as justify your rationale using sound statistical arguments and associated formulas. APA style is not required, but solid academic writing is expected Assessment Description It is essential in data science and related disciplines to understand the most basic decision-making processes in computing as well as to distinguish when, why and how these specific practicesitools should be employed. For example, consider the following scenario of a real-werid case study. Immigration is a controversial topic. Policies are made, enacted, and entorced based upon what the voters want and civil rights. To figure out if a policy is effective such as the Dreamers Act, a firm is hired to conduct a statistical analysis on how well participants are faring in comparison to those not in the program. By using the R programming fundamentals to create an R program, the firm can evaluate the effectiveness of potential policy(s) Practice The exercises below include various aspects of R programing that allow one to perform statistical operations in various applications. Arhough they are unrelated to any one scenario, they are practice examples you can use in your toolbox to evaluate data in a statistical analysis. Read Chapters 5 and 6 in "An Introduction to Statistical Programming Methods with R," located in the topic Resources. Access R Studio. Then, demonstrate how to work with each control statement and function as outlined below. Take appropriate screenshots (with descriptions) as needed. All documentation should be completed with the necessary markdown documents. Lotical Oneraters Choose five logical operators. In a table, write up the following and then execute your example. The Command, The Description, Your Own Example, The Result Selection Operaters Create your own if statement where there are five Code Blocks (e.g., Code block A, Code block B, etc.). Construct a diagram of the if statement that you created (use correct flowchart symbols). Create your own itlelse statement where there are five Code Blocks (e.g. Code block A, Code block B, etc.) Construct a diagram of the iflelse statement that you created (use correct flowchart symbols). Create your own iflelseifielse statement where there are five Code Blocks (e.g., Code block A, Code block B, etc.). Construct a diagram of the iffelseitfelse statement that you created (use correct flowchart symbols). Create your own switch condition where there are five statements (e.g. create a story of wearing clothes based upon the weather]. Construct a diagram of the switch condition that you created (use correct flowchart symbols)- Loops Create a for loop where the output increments by a single digit 20 times. Create a for loop that utilizes the next command where the output increments to 35 with only the odd numbers showing in the output. Ubizize the following scenario and pseudocode to construct an R script, then run the script and display the results: There is a nice young couple who needs to borrow $500 , 000 from their local bank to purchase a home. The annual interest rate is 4.75% annually. The lifetime of the mortgage is a 30-year loan, so they need to pay it off within 360 months. The couple decides that paying $1 , 750 per month would be best tor them as their monthly mortgage payment. Will they pay the loan off in time with those numbers? Pseudocode example (the pseudocode below are some basic components you should consider...you can construct as you see fili): # setup H convert annual interest to a monthly multiplier # keep looping until the loan is paid off.. It print the results on screen I. end of loop