Publications by Ahmed Elsaeyed

AElsaeyed_Discussion4

18.02.2024

Find the matrix representation of: T: \(T: C^3 -> C^4, T \left(\begin{bmatrix} x \\ y \\ z \end{bmatrix} \right) = \begin{bmatrix} 3x + 2y +z \\ x + y + z \\ x-3y \\ 2x + 3y + z \end{bmatrix}\) The matrix on the right side can be written as: \(\begin{bmatrix} 3x \\ x \\ x \\ 2x \end{bmatrix} + \begin{bmatrix} 2y \\ y \\ -3y \\ 3y \end{bmatrix} + \b...

1103 sym

Aelsaeyed_HW3

11.02.2024

Problem Set 1 1. What is the rank of the matrix A? A = \(\begin{bmatrix} 1 & 2 & 3 & 4 \\ -1 & 0 & 1 & 3 \\ 0 & 1 & -1 & 1 \\ 5 & 4 & -2 & -3 \\ \end{bmatrix}\) Answer: I will find the reduced row-echelon form in order to determine the rank. Here I will do it by hand and then use the RREF function from pracma to confirm. Add row 1 to row 2 A = \...

6681 sym

AElsaeyed_Discussion3

08.02.2024

Find the characteristic polynomial of the matrix A= \(\begin{bmatrix} 3 & 2 & 1 \\ 0 & 1 & 1 \\ 1 & 2 & 0 \\ \end{bmatrix}\) \(pA(x) = det \left( \begin{bmatrix} 3 & 2 & 1 \\ 0 & 1 & 1 \\ 1 & 2 & 0 \\ \end{bmatrix} - \begin{bmatrix} x & 0 & 0 \\ 0 & x & 0 \\ 0 & 0 & x \\ \end{bmatrix} \right)\) \(= det \left(\begin{bmatrix} 3-x & 2 & 1 \\ 0 & 1-x &...

714 sym

Document

24.01.2022

Pulling in the data from my github library(RCurl) my_git_url <- getURL("https://raw.githubusercontent.com/aelsaeyed/BridgeR/main/datasets/hw3/flights.csv") flights <- read.csv(text = my_git_url, quote = "") #flights <- read.csv("/Users/aelsaeyed/BridgeR/datasets/hw3/flights.csv", quote = "" ) #airports <- read.csv("/Users/aelsaeyed/BridgeR/datas...

2776 sym R (10122 sym/44 pcs) 6 img

Homework2

16.01.2022

Pulling in the data from my github library(RCurl) my_git_url <- getURL("https://raw.githubusercontent.com/aelsaeyed/BridgeR/main/datasets/hw2/HealthInsurance.csv") # hinsurance_csv <- read.csv("/Users/aelsaeyed/BridgeR/datasets/hw2/HealthInsurance.csv", quote = "" ) hinsurance_csv <- read.csv(text = my_git_url, quote = "") Question 1 Use the sum...

1165 sym R (5981 sym/29 pcs)

Homework 1

09.01.2022

Question 1 Write a loop that calculates 13-factorial. Bonus - try to do it two different ways (for example use a for loop and a while loop). Do not use the standard factorial function. The goal is to learn about how R uses loops. count = 1 for(i in 13:1) count<- count * i print(count) ## [1] 6227020800 count=1 x<-1 while(x<=13) { count = coun...

598 sym R (678 sym/8 pcs)

AhmedElsaeyed-607Lab1

07.02.2022

Pulling in the data from my github library(RCurl) my_git_url <- getURL("https://raw.githubusercontent.com/aelsaeyed/Data607/main/vote_predictions.csv") trump_vote_predictions <- read.csv(text = my_git_url, quote = "") my_git_url2 <- getURL("https://raw.githubusercontent.com/aelsaeyed/Data607/main/averages.csv") vote_averages <- read.csv(text = m...

1332 sym R (6776 sym/16 pcs)

Document

14.03.2022

Setting Up Libraries I will mainly be using tidyr and dplyr here to do the analysis. Analysis Questions Thanks to Moiya Josephs for the analysis questions: 1- Find the state with the highest and lowest deaths. 2- Compare the death rate both before and after the vaccine was released. Pull in the Data from Github To answer the questions above I wil...

1637 sym R (1969 sym/9 pcs) 1 img

AhmedElsaeyed-607Project2-Restaurants

14.03.2022

Setting Up Libraries I will mainly be using tidyr and dplyr here to do the analysis. Analysis Questions Thanks to Vyanna Hill for the analysis prompt: Find out if there is a trend of type of facilities and their risk level given by the inspector. Pull in the Data from Github To answer the questions above I will be doing a lot of sorting and group...

1617 sym R (1139 sym/6 pcs)

AhmedElsaeyed-607Project2-Heroes

14.03.2022

Setting Up Libraries I will mainly be using tidyr and dplyr here to do the analysis. Analysis Questions Thanks to Deepa Sharma for the analysis questions: 1- What is the highest-rated TV show of each year? 2- What is the highest rated TV show from each category in the data set? Pull in the Data from Github For the first question, I will have to ...

3001 sym R (2042 sym/12 pcs)