Publications by Vyanna Hill
Data609_A3
Data 609 Module 3 Vyanna Hill 2023-02-05 1) Newton’s Method on \[f(x)=3x^4-4x^3)12\] on range [-10,10] For the question below, we need to find x_0 when we set the function equal to zero \[f(x)=\frac{1}{4}x^4-\frac{1}{3}x^3=0\] Looping through our interval, we will notice the lowest x_0 is at x_0=1 \[\frac{1}{4}1^4-\frac{1}{3}1^3=\frac{-1}{12}...
1894 sym
Data609_A1
Chapter 1 Homework Vyanna Hill 2023-01-27 1) \[F(x,y)=x^2+xy+y^2\] To Find the minimum of the polynomial above, we first have take the partial derivatives of the polynomial and input into the Hessian matrix. First, let’s find the partial derivative of x and y \[\frac{df}{dx}=2x+y\] \[\frac{df}{dy}=x+2y\] When we look at the minimum solution, ...
2384 sym
Data609_A2
Homework 2 Vyanna Hill 2023-01-29 1) Prove \[x^2+e^x+2x^4+1\] is convex A convex function means that two points are selected and a line segment is created, any points on the graph are below the segment line. Requirement for a convex function: there is one global minimum on the graph, its double derivative is greater than zero, and any tangent...
2905 sym 2 img
Data 605 Final
Data 605 Final Vyanna Hill 2022-12-26 #libraries for the final library(matlib) library(igraph) library(expm) library(ggplot2) library(dplyr) library(nnet) library(stats) library(matrixcalc) library(ggpubr) Part 1 (Hi Larry! I might be very tired but I’m going to assume to you mean the page rank matrix given in the final. ) #Lets for...
1026 sym Python (39748 sym/57 pcs) 42 img
Homework_3
Hello! As a new Openintro employee I was assigned the tasks of reorganizing the company’s website data from our parent company. Our company is deciding if the openintro’s website generates enough traffic and ROI to keep the site online. The web domain costs 25k annual to retain web domain and a extra 3k for upkeep. In order to gauge site acti...
2921 sym R (3293 sym/19 pcs) 5 img
Homework_1
For the 13th factorial, there are two ways to approach the situation without factorial() For Loop: ans<-1 for(i in 13:1){ ans<- ans*i } print(ans) ## [1] 6227020800 While Loop: ans<-1 i<-13 while(i!=1){ ans<-ans*i i<-i-1 } print(ans) ## [1] 6227020800 To create a vector that has a sequence, we will use the seq() nums<-seq(10,50,by=...
300 sym R (492 sym/8 pcs)
Homework_2
To retrieve a summary of the data set, we read the .csv and place the data inside a data frame. Let’s say a user wants to see the median and mean of columns four and five! setwd("C:/Users/walki/Documents/") data<-read.csv("datasets.csv") summary(data) ## Package Item Title Rows ## Length:...
978 sym R (6574 sym/17 pcs)
Data607_Lab1
Introduction For our project we are given a text file that contains a chart of chess player’s stats. Unlike the other files where this information is separated by commas, the charts is separated by two symbols “|” & “_“. Reading the text file First, I will use the read.delim2() function to read the text file. The file does not have the...
2316 sym R (5933 sym/15 pcs)
Data606_Lab3
library(tidyverse) library(openintro) Exercise 1 For a streak of length one, there was one hit shot and one miss shot. For a streak length that is zero, Kobe missed on his first basket. glimpse(kobe_basket) ## Rows: 133 ## Columns: 6 ## $ vs <fct> ORL, ORL, ORL, ORL, ORL, ORL, ORL, ORL, ORL, ORL, ORL, ORL~ ## $ game <int> 1, ...
5699 sym R (1647 sym/19 pcs) 3 img
Data606_Lab2
library(tidyverse) library(openintro) data(nycflights) Exercise 1 The difference between these three histograms is the size of the bins. The bin size determines the size of the range each bar has, so binwidth=15 had smaller ranges divided up compared to binwidth=20 ggplot(data = nycflights, aes(x = dep_delay)) + geom_histogram() ## `stat_bi...
6142 sym R (2964 sym/22 pcs) 6 img