Homework 1

Due 9/6/2024 Friday before the class begins.

Instruction: First, you need to download and install them. Second, you need to install R Markdown. You can install the rmarkdown package in RStudio using the following code:

install.packages(“rmarkdown”, dep = TRUE)

Once you installed R, RStudio, and R Markdown, work out the following problems either by typing in the answer with any relevant work or using R code chunks. When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document.

Your Name:

Problem 1: What day and time do we meet in our class?

Problem 2: What is your instructor’s name?

Problem 3: What is the official programming language for this course?

  1. R and RStudio
  2. Python
  3. C and C++

Problem 4 How should you learn the programming language?

  1. Your instructor will teach you everything from installing to all syntax you need to know, so you can just relax and let him teach you how to use it.
  2. You are responsible to learn it on your own. Your instructor will guide you from time to time.

Problem 5. Suppose that you forget about a homework and wonder what would happen if you want to submit it after the due time. What would happen?

  1. Your instructor will accept it and grade it normally.
  2. You lose a partial credit for a late submission.
  3. Late homework will not be collected or graded.

Problem 6. When does the office hour take place? What dates and what time is it?

Problem 7. How many midterms do we have? When do they take place? (write down all dates for midterms)

Problem 8. Do we have a final exam?

Problem 9. What is the best title for an email to your professor when you have questions on homework?

  1. Hey dude, what’s up?
  2. Questions on our homework
  3. MAT 493: Homework question

Problem 10. You need to send an email to your professor. You have two email accounts, email provider and a New Paltz account, which email account should you use?

  1. It does not matter. Your professor will open it even though it is sent from someone the professor doesn’t know and looks like a spam mail.
  2. It is better to use the university email. It lets your professor see that your email is legitimate and not a spam.

Problem 11. You want to use your phone to check your SNS during the class. What is the best option for you?

  1. You can just check it during the class. Your instructor is cool about it.
  2. You must not use your phone device during class except note-taking purpose. You can leave the classroom to use it and come back after use.