Publications by Jordan Glendrange
Data 605 Discussion 13
Find the area of the shaded region between pi/4 and 5pi/4 \[ y=cos(x), y=sin(x) \] We taking the integral in the desired range for the difference between the 2 functions \[ \int_{\frac{\pi}{4}}^{\frac{5\pi}{4}} sin(x) - cos(x) \] \[ = cos(x) + sin(x) \] Now we need to evaluate: \[ (cos(\frac{5\pi}{4}) + sin (\frac{5\pi}{4})) - (cos(\frac{\pi}{4})...
552 sym
Data 605 Homework 14
Problem 1 \[f(x) = \frac{1}{(1-x)}\] First we want to determine a pattern when taking the derivative \[f'(x) = \frac{1}{(1-x)^2}\] \[f''(x) = \frac{2}{(1-x)^3}\] \[f'''(x) = \frac{6}{(1-x)^3}\] \[f^{(4)}(x) = \frac{18}{(1-x)^4}\] So now that we can see a parttern we can figure out f^n(x) \[f^{(n)}(x) = \frac{n!}{(1-x)^n}\] Plugging that in the th...
1509 sym
Data 605 Discussion 14
Chapter 8.8 Problem 12 Find a formula for the nth term of the Taylor series of f(x), centered at c \[f(x)=\frac{1}{x}; c=1\] \[f'(x)=\frac{-1}{x^2}\] \[f''(x)=\frac{2}{x^3}\] \[f'''(x)=\frac{-6}{x^4}\] \[f^{(4)}(x)=\frac{24}{x^5}\] Now we can solve for f^n \[f^{(n)}(x) = (-1)^{(n+1)}\frac{1}{x^n}\] \[f^{(n)}(c) = (-1)^{(n+1)}\] ...
337 sym
Data 605 homework 15
Problem 1 Find the equation of the regression line for the given points. Round any final values to the nearest hundredth, if necessary To solve this we will plug the points into a linear model function. x <- c(5.6, 6.3, 7, 7.7, 8.4) y <- c(8.8, 12.4, 14.8, 18.2, 20.8) m <- lm(y~x) summary(m) ## ## Call: ## lm(formula = y ~ x) ## ## Residuals: ...
2169 sym R (797 sym/6 pcs)
Data 621 Homework 2
Download Dataset library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ── ## ✓ ggplot2 3.3.5 ✓ purrr 0.3.4 ## ✓ tibble 3.1.4 ✓ dplyr 1.0.7 ## ✓ tidyr 1.1.3 ✓ stringr 1.4.0 ## ✓ readr ...
496 sym R (4221 sym/42 pcs) 2 img
Data 608 Homework 1
Principles of Data Visualization and Introduction to ggplot2 I have provided you with data about the 5,000 fastest growing companies in the US, as compiled by Inc. magazine. lets read this in: library(tidyverse) ## ── Attaching packages ───────────────────────────────────�...
1761 sym R (3439 sym/15 pcs) 3 img
Data 621 Homework 4
Data Exploration training <- read.csv('/Users/jordanglendrange/Documents/Data 621/insurance_training_data.csv') head(training) ## INDEX TARGET_FLAG TARGET_AMT KIDSDRIV AGE HOMEKIDS YOJ INCOME PARENT1 ## 1 1 0 0 0 60 0 11 $67,349 No ## 2 2 0 0 0 43 0 11 $91,44...
1328 sym R (26301 sym/54 pcs) 5 img
Data 621 Homework 4
Data Exploration train <- read.csv('/Users/jordanglendrange/Documents/Data 621/Homework4/wine-training-data.csv') test <- read.csv('/Users/jordanglendrange/Documents/Data 621/Homework4/wine-evaluation-data.csv') head(train) ## INDEX TARGET FixedAcidity VolatileAcidity CitricAcid ResidualSugar Chlorides ## 1 1 3 3.2 ...
1795 sym R (18466 sym/46 pcs) 2 img
Data 621 Final Project
## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ── ## ✓ ggplot2 3.3.5 ✓ purrr 0.3.4 ## ✓ tibble 3.1.4 ✓ dplyr 1.0.7 ## ✓ tidyr 1.1.3 ✓ stringr 1.4.0 ## ✓ readr 2.0.1 ✓ forcats 0.5.1 ## ─...
102 sym R (6467 sym/30 pcs) 9 img 1 tbl
Data 621 Homework 3
Data Exploration training <- read.csv('/Users/jordanglendrange/Documents/Data 621/insurance_training_data.csv') head(training) ## INDEX TARGET_FLAG TARGET_AMT KIDSDRIV AGE HOMEKIDS YOJ INCOME PARENT1 ## 1 1 0 0 0 60 0 11 $67,349 No ## 2 2 0 0 0 43 0 11 $91,44...
1327 sym R (26301 sym/54 pcs) 5 img