Publications by Fares A

605_week15_hw

11.05.2024

problem 1. Find the equation of the regression line for the given points. Round any final values to the nearest hundredth, if necessary. ( 5.6, 8.8 ), ( 6.3, 12.4 ), ( 7, 14.8 ), ( 7.7, 18.2 ), ( 8.4, 20.8 ) Solution: To find the equation of the regression line for the given set of points, I will be calculating the slope (m) and the y-intercept ...

6056 sym R (1856 sym/8 pcs)

605_M14_hw

04.05.2024

Solving these manually, I can go with: 1: \[ \begin{aligned} f(x) &= \frac{1}{1-x}, \\ f'(x) &= \frac{1}{(1-x)^2}, \\ f''(x) &= \frac{2}{(1-x)^3}, \\ f'''(x) &= \frac{6}{(1-x)^4}, \\ f^{(4)}(x) &= \frac{24}{(1-x)^5}, \\ \text{Taylor Series: } P(x) &= \sum_{n=0}^\infty \frac{f^{(n)}(0)}{n!} x^n = 1 + x + x^2 + x^3 + x^4 + \cdots. \end{alig...

1379 sym R (1898 sym/18 pcs)

605_M14_discussion

04.05.2024

Solving exercises 25-30 at the end of 8.8 of the calculus book: I’ll use the general formula for the binomial series expansion of \((1 + x)^k\): \[ (1 + x)^k = \sum_{n=0}^\infty \binom{k}{n} x^n \] where \(\binom{k}{n}\) is the binomial coefficient, calculated as: \[ \binom{k}{n} = \frac{k(k-1)(k-2)\ldots(k-n+1)}{n!} \] I’ll compute the f...

1108 sym

605_WEEK13_HM

19.04.2024

PROBLEM (1) Use integration by substitution to solve the integral below. \[ \int 4e^{-7x} \, dx \] SOLUTION: Let \(u = -7x\). Then we find the differential \(du\): \[ du = -7 \, dx \quad \Rightarrow \quad dx = \frac{du}{-7} \] Substitute \(dx\) with \(\frac{du}{-7}\) and \(-7x\) with \(u\): \[ \int 4e^{-7x} \, dx = \int 4e^{u} \left(\frac{du...

6777 sym R (2620 sym/18 pcs) 1 img

605_week13_discussion

18.04.2024

A set of plastic spheres are to be made with a diameter of 1cm. If the manufacturing process is accurate to 1mm, what is the propagated error in the volume of the spheres? The formula for the volume of a sphere: \[ V = \frac{4}{3} \pi r^3 \] where \(r\) is the radius of the sphere. The relationship between the radius and diameter \(d\) of the ...

988 sym

607_Project4

14.04.2024

I have chosen to use medical research papers to build a document.classifier. And I will be using the National Institutes of Health (NIH)’s PubMed Central (PMC) open access author manuscript database for this purpose. Loading the packages. library(tm) library(textTinyR) library(stringr) library(e1071) library(caret) Loading the documents....

3990 sym R (4316 sym/8 pcs) 2 img

605_week12_hm

14.04.2024

Packages. library(dplyr) library(ggplot2) Data. data <- read.csv(full_path) head(data) ## Country LifeExp InfantSurvival Under5Survival TBFree PropMD ## 1 Afghanistan 42 0.835 0.743 0.99769 0.000228841 ## 2 Albania 71 0.985 0.983 0.99974 0.001143127 ## 3 ...

5405 sym R (5109 sym/23 pcs) 6 img

605_wek12_discussion

14.04.2024

Packages. # Packages library(readxl) library(ggplot2) library(dplyr) library(tools) library(stringr) library(tidyr) library(lubridate) Data. Loading the dataset full_path <- paste0(path, "20200101-20240413_combined.xlsx") data <- read_excel(full_path, sheet = "Sheet1") full_path2 <- paste0(path2, "1980_combined.csv") data2 <- read.csv(...

4555 sym R (25264 sym/72 pcs) 26 img

607_week11_recommender_system_extraCredit

09.04.2024

library(readxl) library(dplyr) library(tidyr ) library(DT) library(shiny) library(shinythemes) # Read the Excel file movie_ratings <- read_excel("C:/Users/teraw/Dropbox/_CUNY SPS MSDS/-- DATA 607/5- Modules/Week 11/Week 11 extra credit/MovieRatings.xlsx", sheet = "MovieRatings") # Convert to long format for easier computation ratings_long ...

394 sym R (4956 sym/11 pcs)

607_week11_recommender_system

05.04.2024

Introduction YouTube, the world’s largest video sharing platform, uses an advanced recommendation system to personalize the viewing experience for its billions of users. YouTube aims to present relevant video suggestions, fostering discovery and continuous engagement across its vast content library. YouTube’s recommendation algorithm is a ...

5563 sym 1 img