diff --git a/Practicals/Hsuan/Assignment 1/My Info.txt b/Practicals/Hsuan/Assignment 1/My Info.txt new file mode 100644 index 0000000..3f18ffd --- /dev/null +++ b/Practicals/Hsuan/Assignment 1/My Info.txt @@ -0,0 +1 @@ +I am from Taiwan, the pronounciation of my name is the same as Shuan. \ No newline at end of file diff --git a/Practicals/Hsuan/Exercise 1/Exercise_1_HsuanLee.Rmd b/Practicals/Hsuan/Exercise 1/Exercise_1_HsuanLee.Rmd new file mode 100644 index 0000000..3998439 --- /dev/null +++ b/Practicals/Hsuan/Exercise 1/Exercise_1_HsuanLee.Rmd @@ -0,0 +1,76 @@ +--- +title: "Exercise 1" +author: "Hsuan Lee" +output: + html_document: + css: style.css +--- + +**8 Monte Carlo Simulation Exercise** + +Question a and b + +```{r} +set.seed(9252568) + +# n.sample is number of samples that we wanna sample +# size is the sample size of each sample +# mean is the sample mean of each sample that we sampled form +# sd is the sample sd of each sample that we sampled from + +sample_samples <- function(n.sample, size, mean, sd){ + + # create the matrix to store each values in each sample + samples <- matrix(0, nrow = size, ncol = n.sample) + colnames(samples) <- c(1:n.sample) + + # create the matrix to store means, absolute bias, SE, 95% CI, sample bias for each sample + info_sample <- data.frame(matrix(0, nrow = n.sample, ncol = 6)) + colnames(info_sample) <- c("means", "abs_bias", "SE", "low_95_CI", "high_95_CI", + "sample_bias") + + # sample samples + for (i in 1:n.sample) { + samples[,i] <- rnorm(n = size, mean = mean, sd = sd) + } + + # display the info of each sample + for (i in 1:n.sample) { + info_sample[i,1] <- mean(samples[,i]) + info_sample[i,2] <- abs(info_sample[i,1] - mean) + info_sample[i,3] <- sd(samples[,i]) / sqrt(size) + info_sample[i,4] <- mean(samples[,i]) - 1.96*info_sample[i,3] + info_sample[i,5] <- mean(samples[,i]) + 1.96*info_sample[i,3] + info_sample[i,6] <- ifelse((info_sample[i,4] > mean) | (info_sample[i,5] < mean), + "Biased", "Correct") + } + + return(info_sample) +} + +# draw the samples +my_draw <- sample_samples(100, 1000, 2, 0.8) +``` + +Question c + +```{r, results='hide', message=F, warning=FALSE} +library(tidyverse) +``` + +```{r, warning = FALSE, message = FALSE, error = FALSE, results='hide', fig.keep = 'all', out.width = "100%", fig.align = 'center'} +ggplot(data = my_draw, aes(x = 1:100, y = means)) + + geom_point(color = "#585858") + + geom_errorbar(aes(ymin = low_95_CI, ymax = high_95_CI, colour = sample_bias)) + + scale_color_manual(values=c("Blue", "#383838"), name = "Biased Sample", ) + + geom_hline(yintercept = 2, color = "Red", linetype = "dashed") + + labs(x="Simulations", y = "95% Confident Interval") + + theme_classic() +``` + +Question d + +```{r} +my_draw %>% filter(sample_bias == "Biased") +``` + diff --git a/Practicals/Hsuan/Exercise 1/Exercise_1_HsuanLee.html b/Practicals/Hsuan/Exercise 1/Exercise_1_HsuanLee.html new file mode 100644 index 0000000..72a5d83 --- /dev/null +++ b/Practicals/Hsuan/Exercise 1/Exercise_1_HsuanLee.html @@ -0,0 +1,284 @@ + + + + + + + + + + + + + + +Exercise 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +

8 Monte Carlo Simulation Exercise

+

Question a and b

+
set.seed(9252568)
+
+# n.sample is number of samples that we wanna sample
+# size is the sample size of each sample
+# mean is the sample mean of each sample that we sampled form
+# sd is the sample sd of each sample that we sampled from
+
+sample_samples <- function(n.sample, size, mean, sd){
+  
+  # create the matrix to store each values in each sample
+  samples <- matrix(0, nrow = size, ncol = n.sample)
+  colnames(samples) <- c(1:n.sample)
+  
+  # create the matrix to store means, absolute bias, SE, 95% CI, sample bias for each sample
+  info_sample <- data.frame(matrix(0, nrow = n.sample, ncol = 6))
+  colnames(info_sample) <- c("means", "abs_bias", "SE", "low_95_CI", "high_95_CI",
+                             "sample_bias")
+  
+  # sample samples
+  for (i in 1:n.sample) {
+    samples[,i] <- rnorm(n = size, mean = mean, sd = sd)
+  }
+  
+  # display the info of each sample
+  for (i in 1:n.sample) {
+    info_sample[i,1] <- mean(samples[,i])
+    info_sample[i,2] <- abs(info_sample[i,1] - mean)
+    info_sample[i,3] <- sd(samples[,i]) / sqrt(size)
+    info_sample[i,4] <- mean(samples[,i]) - 1.96*info_sample[i,3]
+    info_sample[i,5] <- mean(samples[,i]) + 1.96*info_sample[i,3]
+    info_sample[i,6] <- ifelse((info_sample[i,4] > mean) | (info_sample[i,5] < mean),
+                               "Biased", "Correct")
+  }
+  
+  return(info_sample)
+}
+
+# draw the samples
+my_draw <- sample_samples(100, 1000, 2, 0.8) 
+

Question c

+
library(tidyverse)
+
ggplot(data = my_draw, aes(x = 1:100, y = means)) +
+  geom_point(color = "#585858") +
+  geom_errorbar(aes(ymin = low_95_CI, ymax = high_95_CI, colour = sample_bias)) +
+  scale_color_manual(values=c("Blue", "#383838"), name = "Biased Sample", ) +
+  geom_hline(yintercept = 2, color = "Red", linetype = "dashed") +
+  labs(x="Simulations", y = "95% Confident Interval") +
+  theme_classic()
+

+

Question d

+
my_draw %>% filter(sample_bias == "Biased")
+
##      means   abs_bias         SE low_95_CI high_95_CI sample_bias
+## 1 1.946501 0.05349950 0.02553148  1.896459   1.996542      Biased
+## 2 1.936868 0.06313216 0.02524686  1.887384   1.986352      Biased
+## 3 2.057306 0.05730614 0.02516567  2.007981   2.106631      Biased
+## 4 2.055018 0.05501774 0.02533916  2.005353   2.104682      Biased
+## 5 1.947215 0.05278480 0.02577351  1.896699   1.997731      Biased
+ + + + +
+ + + + + + + + + + + + + + + diff --git a/Practicals/Hsuan/Exercise 1/style.css b/Practicals/Hsuan/Exercise 1/style.css new file mode 100644 index 0000000..baa827b --- /dev/null +++ b/Practicals/Hsuan/Exercise 1/style.css @@ -0,0 +1,14 @@ +/* Whole document: */ +body{ + font-family: Times New Roman; + font-size: 16pt; +} +/* Headers */ +h1{ +text-align: center; +font-size: 20pt; +font-weight: bold; +} +h2,h3,h4,h5,h6{ +text-align: center; +font-size: 16pt;} diff --git a/Practicals/Hsuan/Exercise 2/HsuanLee_Exercise_2.Rmd b/Practicals/Hsuan/Exercise 2/HsuanLee_Exercise_2.Rmd new file mode 100644 index 0000000..c37668c --- /dev/null +++ b/Practicals/Hsuan/Exercise 2/HsuanLee_Exercise_2.Rmd @@ -0,0 +1,72 @@ +--- +title: "Exercise 2" +author: "Hsuan Lee" +output: html_document +--- + +## Introduction + +The study is concerned with whether the number of rat sighting is tied to the population of a city and the waste of food thrown on the streets. + + +The data analyzed are simulated with 4 variables, they are: + +*city_id*: ID number of each city +*popu*: population of a city in millions. +*was_food*: the amount of food thrown on the street an year, in tons +*rat_sight*: the number of rat sighting an year + +```{r} +library(truncnorm) # for function rtruncnorm() that allow to set the max and min for normal dist +options(scipen = 999) +``` + + +**Simulate the data** +```{r} +set.seed(9252568) +city_id <- c(1:2000) +popu <- rtruncnorm(n = 2000, a = 0.05, mean = 1, sd = 1) +was_food <- rtruncnorm(2000, a = 10, mean = 30, sd = 20) + +rat_sight <- round(700.5 + 8.7*popu + 12.7*was_food + rnorm(2000, mean = 0.5),1) + +rat <- data.frame(city_id, popu, was_food, rat_sight) +``` + +**Analysis** +```{r} +# operate the linear regression for analyzing +rat_model <- lm(rat_sight~ popu + was_food, data = rat) + +summary(rat_model) +``` + +## Replication + +**Simulation** +```{r} +set.seed(92525568) + +city_id <- c(1:2000) +popu <- rtruncnorm(n = 2000, a = 0.05, mean = 1, sd = 1) +was_food <- rtruncnorm(2000, a = 10, mean = 30, sd = 20) + +rat_sight <- round(700.5 + 8.7*popu + 12.7*was_food + rnorm(2000, mean = 0.5),1) + +rat_rep <- data.frame(city_id, popu, was_food, rat_sight) +``` + +**Analysis** +```{r} +rep <- lm(rat_sight~ popu + was_food, data = rat_rep) +summary(rep) +``` + +The results are quite similar after changing the seed. + +```{r} +sessionInfo() +``` + + diff --git a/Practicals/Hsuan/Exercise 2/HsuanLee_Exercise_2.html b/Practicals/Hsuan/Exercise 2/HsuanLee_Exercise_2.html new file mode 100644 index 0000000..6d3f8b1 --- /dev/null +++ b/Practicals/Hsuan/Exercise 2/HsuanLee_Exercise_2.html @@ -0,0 +1,527 @@ + + + + + + + + + + + + + + +Exercise 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+

Introduction

+

The study is concerned with whether the number of rat sighting is +tied to the population of a city and the waste of food thrown on the +streets.

+

The data analyzed are simulated with 4 variables, they are:

+

city_id: ID number of each city popu: population of +a city in millions. was_food: the amount of food thrown on the +street an year, in tons rat_sight: the number of rat sighting +an year

+
library(truncnorm) # for function rtruncnorm() that allow to set the max and min for normal dist
+options(scipen = 999)
+

Simulate the data

+
set.seed(9252568)
+city_id <- c(1:2000)
+popu <- rtruncnorm(n = 2000, a = 0.05, mean = 1, sd = 1)
+was_food <- rtruncnorm(2000, a = 10, mean = 30, sd = 20)
+
+rat_sight <- round(700.5 + 8.7*popu + 12.7*was_food + rnorm(2000, mean = 0.5),1)
+
+rat <- data.frame(city_id, popu, was_food, rat_sight)
+

Analysis

+
# operate the linear regression for analyzing
+rat_model <- lm(rat_sight~ popu + was_food, data = rat)
+
+summary(rat_model)
+
## 
+## Call:
+## lm(formula = rat_sight ~ popu + was_food, data = rat)
+## 
+## Residuals:
+##     Min      1Q  Median      3Q     Max 
+## -2.8992 -0.6873  0.0055  0.6723  3.5858 
+## 
+## Coefficients:
+##               Estimate Std. Error t value            Pr(>|t|)    
+## (Intercept) 701.046782   0.067300 10416.7 <0.0000000000000002 ***
+## popu          8.675431   0.028409   305.4 <0.0000000000000002 ***
+## was_food     12.699526   0.001381  9194.8 <0.0000000000000002 ***
+## ---
+## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
+## 
+## Residual standard error: 0.9905 on 1997 degrees of freedom
+## Multiple R-squared:      1,  Adjusted R-squared:      1 
+## F-statistic: 4.229e+07 on 2 and 1997 DF,  p-value: < 0.00000000000000022
+
+
+

Replication

+

Simulation

+
set.seed(92525568)
+
+city_id <- c(1:2000)
+popu <- rtruncnorm(n = 2000, a = 0.05, mean = 1, sd = 1)
+was_food <- rtruncnorm(2000, a = 10, mean = 30, sd = 20)
+
+rat_sight <- round(700.5 + 8.7*popu + 12.7*was_food + rnorm(2000, mean = 0.5),1)
+
+rat_rep <- data.frame(city_id, popu, was_food, rat_sight)
+

Analysis

+
rep <- lm(rat_sight~ popu + was_food, data = rat_rep)
+summary(rep)
+
## 
+## Call:
+## lm(formula = rat_sight ~ popu + was_food, data = rat_rep)
+## 
+## Residuals:
+##     Min      1Q  Median      3Q     Max 
+## -3.8009 -0.6931  0.0073  0.6500  3.3009 
+## 
+## Coefficients:
+##               Estimate Std. Error t value            Pr(>|t|)    
+## (Intercept) 701.024240   0.066896   10479 <0.0000000000000002 ***
+## popu          8.688244   0.028120     309 <0.0000000000000002 ***
+## was_food     12.698665   0.001419    8949 <0.0000000000000002 ***
+## ---
+## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
+## 
+## Residual standard error: 0.9992 on 1997 degrees of freedom
+## Multiple R-squared:      1,  Adjusted R-squared:      1 
+## F-statistic: 4.005e+07 on 2 and 1997 DF,  p-value: < 0.00000000000000022
+

The results are quite similar after changing the seed.

+
sessionInfo()
+
## R version 4.2.1 (2022-06-23 ucrt)
+## Platform: x86_64-w64-mingw32/x64 (64-bit)
+## Running under: Windows 10 x64 (build 22000)
+## 
+## Matrix products: default
+## 
+## locale:
+## [1] LC_COLLATE=English_United States.utf8 
+## [2] LC_CTYPE=English_United States.utf8   
+## [3] LC_MONETARY=English_United States.utf8
+## [4] LC_NUMERIC=C                          
+## [5] LC_TIME=English_United States.utf8    
+## 
+## attached base packages:
+## [1] stats     graphics  grDevices utils     datasets  methods   base     
+## 
+## other attached packages:
+## [1] truncnorm_1.0-8
+## 
+## loaded via a namespace (and not attached):
+##  [1] digest_0.6.29   R6_2.5.1        jsonlite_1.8.0  magrittr_2.0.3 
+##  [5] evaluate_0.16   stringi_1.7.8   cachem_1.0.6    rlang_1.0.4    
+##  [9] cli_3.3.0       rstudioapi_0.14 jquerylib_0.1.4 bslib_0.4.0    
+## [13] rmarkdown_2.16  tools_4.2.1     stringr_1.4.1   xfun_0.31      
+## [17] yaml_2.3.5      fastmap_1.1.0   compiler_4.2.1  htmltools_0.5.3
+## [21] knitr_1.40      sass_0.4.2
+
+ + + + +
+ + + + + + + + + + + + + + + diff --git a/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.aux b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.aux new file mode 100644 index 0000000..d9630a5 --- /dev/null +++ b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.aux @@ -0,0 +1,55 @@ +\relax +\providecommand\hyper@newdestlabel[2]{} +\providecommand\HyperFirstAtBeginDocument{\AtBeginDocument} +\HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined +\global\let\oldnewlabel\newlabel +\gdef\newlabel#1#2{\newlabelxx{#1}#2} +\gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}} +\AtEndDocument{\ifx\hyper@anchor\@undefined +\let\newlabel\oldnewlabel +\fi} +\fi} +\global\let\hyper@last\relax +\gdef\HyperFirstAtBeginDocument#1{#1} +\providecommand\HyField@AuxAddToFields[1]{} +\providecommand\HyField@AuxAddToCoFields[2]{} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{1}{1/1}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {1}{1}}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{2}{2/2}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {2}{2}}} +\newlabel{working<1>}{{3}{3}{}{Doc-Start}{}} +\@writefile{snm}{\beamer@slide {working<1>}{3}} +\newlabel{working}{{3}{3}{}{Doc-Start}{}} +\@writefile{snm}{\beamer@slide {working}{3}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{3}{3/3}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {3}{3}}} +\newlabel{aligning<1>}{{4}{4}{}{Doc-Start}{}} +\@writefile{snm}{\beamer@slide {aligning<1>}{4}} +\newlabel{aligning}{{4}{4}{}{Doc-Start}{}} +\@writefile{snm}{\beamer@slide {aligning}{4}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{4}{4/4}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {4}{4}}} +\newlabel{omit<1>}{{5}{5}{}{Doc-Start}{}} +\@writefile{snm}{\beamer@slide {omit<1>}{5}} +\newlabel{omit}{{5}{5}{}{Doc-Start}{}} +\@writefile{snm}{\beamer@slide {omit}{5}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{5}{5/5}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {5}{5}}} +\newlabel{ugly<1>}{{6}{6}{}{Doc-Start}{}} +\@writefile{snm}{\beamer@slide {ugly<1>}{6}} +\newlabel{ugly}{{6}{6}{}{Doc-Start}{}} +\@writefile{snm}{\beamer@slide {ugly}{6}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{6}{6/6}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {6}{6}}} +\newlabel{discussion<1>}{{7}{7}{}{Doc-Start}{}} +\@writefile{snm}{\beamer@slide {discussion<1>}{7}} +\newlabel{discussion}{{7}{7}{}{Doc-Start}{}} +\@writefile{snm}{\beamer@slide {discussion}{7}} +\@writefile{nav}{\headcommand {\slideentry {0}{0}{7}{7/7}{}{0}}} +\@writefile{nav}{\headcommand {\beamer@framepages {7}{7}}} +\@writefile{nav}{\headcommand {\beamer@partpages {1}{7}}} +\@writefile{nav}{\headcommand {\beamer@subsectionpages {1}{7}}} +\@writefile{nav}{\headcommand {\beamer@sectionpages {1}{7}}} +\@writefile{nav}{\headcommand {\beamer@documentpages {7}}} +\@writefile{nav}{\headcommand {\gdef \inserttotalframenumber {7}}} +\gdef \@abspage@last{7} diff --git a/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.log b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.log new file mode 100644 index 0000000..4f47b52 --- /dev/null +++ b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.log @@ -0,0 +1,1020 @@ +This is pdfTeX, Version 3.141592653-2.6-1.40.24 (MiKTeX 22.10) (preloaded format=pdflatex 2023.1.13) 13 JAN 2023 12:50 +entering extended mode + restricted \write18 enabled. + %&-line parsing enabled. +**./HsuanLee_Exercise3.tex +(HsuanLee_Exercise3.tex +LaTeX2e <2022-11-01> patch level 1 +L3 programming layer <2022-12-17> +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamer.cls +Document Class: beamer 2022/09/13 v3.68 A class for typesetting presentations + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasemodes. +sty +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/etoolbox\etoolbox.sty +Package: etoolbox 2020/10/05 v2.5k e-TeX tools for LaTeX (JAW) +\etb@tempcnta=\count185 +) +\beamer@tempbox=\box51 +\beamer@tempcount=\count186 +\c@beamerpauses=\count187 + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasedecode +.sty +\beamer@slideinframe=\count188 +\beamer@minimum=\count189 +\beamer@decode@box=\box52 +) +\beamer@commentbox=\box53 +\beamer@modecount=\count190 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/iftex\iftex.sty +Package: iftex 2022/02/03 v1.0f TeX engine tests +) +\headdp=\dimen140 +\footheight=\dimen141 +\sidebarheight=\dimen142 +\beamer@tempdim=\dimen143 +\beamer@finalheight=\dimen144 +\beamer@animht=\dimen145 +\beamer@animdp=\dimen146 +\beamer@animwd=\dimen147 +\beamer@leftmargin=\dimen148 +\beamer@rightmargin=\dimen149 +\beamer@leftsidebar=\dimen150 +\beamer@rightsidebar=\dimen151 +\beamer@boxsize=\dimen152 +\beamer@vboxoffset=\dimen153 +\beamer@descdefault=\dimen154 +\beamer@descriptionwidth=\dimen155 +\beamer@lastskip=\skip48 +\beamer@areabox=\box54 +\beamer@animcurrent=\box55 +\beamer@animshowbox=\box56 +\beamer@sectionbox=\box57 +\beamer@logobox=\box58 +\beamer@linebox=\box59 +\beamer@sectioncount=\count191 +\beamer@subsubsectionmax=\count192 +\beamer@subsectionmax=\count193 +\beamer@sectionmax=\count194 +\beamer@totalheads=\count195 +\beamer@headcounter=\count196 +\beamer@partstartpage=\count197 +\beamer@sectionstartpage=\count198 +\beamer@subsectionstartpage=\count199 +\beamer@animationtempa=\count266 +\beamer@animationtempb=\count267 +\beamer@xpos=\count268 +\beamer@ypos=\count269 +\beamer@ypos@offset=\count270 +\beamer@showpartnumber=\count271 +\beamer@currentsubsection=\count272 +\beamer@coveringdepth=\count273 +\beamer@sectionadjust=\count274 +\beamer@toclastsection=\count275 +\beamer@tocsectionnumber=\count276 + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbaseoption +s.sty +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/graphics\keyval.sty +Package: keyval 2022/05/29 v1.15 key=value parser (DPC) +\KV@toks@=\toks16 +)) +\beamer@paperwidth=\skip49 +\beamer@paperheight=\skip50 + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/geometry\geometry.sty +Package: geometry 2020/01/02 v5.9 Page Geometry + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/iftex\ifvtex.sty +Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead. +) +\Gm@cnth=\count277 +\Gm@cntv=\count278 +\c@Gm@tempcnt=\count279 +\Gm@bindingoffset=\dimen156 +\Gm@wd@mp=\dimen157 +\Gm@odd@mp=\dimen158 +\Gm@even@mp=\dimen159 +\Gm@layoutwidth=\dimen160 +\Gm@layoutheight=\dimen161 +\Gm@layouthoffset=\dimen162 +\Gm@layoutvoffset=\dimen163 +\Gm@dimlist=\toks17 + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/geometry\geometry.cfg)) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/pgf/math\pgfmath.sty +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/pgf/utilities\pgfrcs.st +y +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/utilities\pgfutil +-common.tex +\pgfutil@everybye=\toks18 +\pgfutil@tempdima=\dimen164 +\pgfutil@tempdimb=\dimen165 + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/utilities\pgfutil +-common-lists.tex)) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/utilities\pgfutil +-latex.def +\pgfutil@abb=\box60 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/utilities\pgfrcs. +code.tex +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf\pgf.revision.tex) +Package: pgfrcs 2021/05/15 v3.1.9a (3.1.9a) +)) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/pgf/utilities\pgfkeys.s +ty +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/utilities\pgfkeys +.code.tex +\pgfkeys@pathtoks=\toks19 +\pgfkeys@temptoks=\toks20 + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/utilities\pgfkeys +filtered.code.tex +\pgfkeys@tmptoks=\toks21 +))) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfmath.code +.tex +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfmathcalc. +code.tex +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfmathutil. +code.tex +\pgf@x=\dimen166 +\pgf@xa=\dimen167 +\pgf@xb=\dimen168 +\pgf@xc=\dimen169 +\pgf@y=\dimen170 +\pgf@ya=\dimen171 +\pgf@yb=\dimen172 +\pgf@yc=\dimen173 +\c@pgf@counta=\count280 +\c@pgf@countb=\count281 +\c@pgf@countc=\count282 +\c@pgf@countd=\count283 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfmathparse +r.code.tex +\pgfmath@dimen=\dimen174 +\pgfmath@count=\count284 +\pgfmath@box=\box61 +\pgfmath@toks=\toks22 +\pgfmath@stack@operand=\toks23 +\pgfmath@stack@operation=\toks24 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfmathfunct +ions.code.tex +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfmathfunct +ions.basic.code.tex) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfmathfunct +ions.trigonometric.code.tex) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfmathfunct +ions.random.code.tex) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfmathfunct +ions.comparison.code.tex) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfmathfunct +ions.base.code.tex) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfmathfunct +ions.round.code.tex) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfmathfunct +ions.misc.code.tex) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfmathfunct +ions.integerarithmetics.code.tex))) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfmathfloat +.code.tex +\c@pgfmathroundto@lastzeros=\count285 +))) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/base\size11.clo +File: size11.clo 2022/07/02 v1.4n Standard LaTeX file (size option) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/pgf/basiclayer\pgfcore. +sty +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/graphics\graphicx.sty +Package: graphicx 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR) + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/graphics\graphics.sty +Package: graphics 2022/03/10 v1.4e Standard LaTeX Graphics (DPC,SPQR) + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/graphics\trig.sty +Package: trig 2021/08/11 v1.11 sin cos tan (DPC) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/graphics-cfg\graphics.c +fg +File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration +) +Package graphics Info: Driver file: pdftex.def on input line 107. + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/graphics-def\pdftex.def +File: pdftex.def 2022/09/22 v1.2b Graphics/color driver for pdftex +)) +\Gin@req@height=\dimen175 +\Gin@req@width=\dimen176 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/pgf/systemlayer\pgfsys. +sty +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/systemlayer\pgfsy +s.code.tex +Package: pgfsys 2021/05/15 v3.1.9a (3.1.9a) + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/utilities\pgfkeys +.code.tex) +\pgf@x=\dimen177 +\pgf@y=\dimen178 +\pgf@xa=\dimen179 +\pgf@ya=\dimen180 +\pgf@xb=\dimen181 +\pgf@yb=\dimen182 +\pgf@xc=\dimen183 +\pgf@yc=\dimen184 +\pgf@xd=\dimen185 +\pgf@yd=\dimen186 +\w@pgf@writea=\write3 +\r@pgf@reada=\read2 +\c@pgf@counta=\count286 +\c@pgf@countb=\count287 +\c@pgf@countc=\count288 +\c@pgf@countd=\count289 +\t@pgf@toka=\toks25 +\t@pgf@tokb=\toks26 +\t@pgf@tokc=\toks27 +\pgf@sys@id@count=\count290 + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/systemlayer\pgf.c +fg +File: pgf.cfg 2021/05/15 v3.1.9a (3.1.9a) +) +Driver file for pgf: pgfsys-pdftex.def + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/systemlayer\pgfsy +s-pdftex.def +File: pgfsys-pdftex.def 2021/05/15 v3.1.9a (3.1.9a) + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/systemlayer\pgfsy +s-common-pdf.def +File: pgfsys-common-pdf.def 2021/05/15 v3.1.9a (3.1.9a) +))) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/systemlayer\pgfsy +ssoftpath.code.tex +File: pgfsyssoftpath.code.tex 2021/05/15 v3.1.9a (3.1.9a) +\pgfsyssoftpath@smallbuffer@items=\count291 +\pgfsyssoftpath@bigbuffer@items=\count292 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/systemlayer\pgfsy +sprotocol.code.tex +File: pgfsysprotocol.code.tex 2021/05/15 v3.1.9a (3.1.9a) +)) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/xcolor\xcolor.sty +Package: xcolor 2022/06/12 v2.14 LaTeX color extensions (UK) + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/graphics-cfg\color.cfg +File: color.cfg 2016/01/02 v1.6 sample color configuration +) +Package xcolor Info: Driver file: pdftex.def on input line 227. +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/graphics\mathcolor.ltx) +Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1353. +Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1357. +Package xcolor Info: Model `RGB' extended on input line 1369. +Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1371. +Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1372. +Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1373. +Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1374. +Package xcolor Info: Model `Gray' substituted by `gray' on input line 1375. +Package xcolor Info: Model `wave' substituted by `hsb' on input line 1376. +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +e.code.tex +Package: pgfcore 2021/05/15 v3.1.9a (3.1.9a) + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfmath.code +.tex) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/math\pgfint.code. +tex) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +epoints.code.tex +File: pgfcorepoints.code.tex 2021/05/15 v3.1.9a (3.1.9a) +\pgf@picminx=\dimen187 +\pgf@picmaxx=\dimen188 +\pgf@picminy=\dimen189 +\pgf@picmaxy=\dimen190 +\pgf@pathminx=\dimen191 +\pgf@pathmaxx=\dimen192 +\pgf@pathminy=\dimen193 +\pgf@pathmaxy=\dimen194 +\pgf@xx=\dimen195 +\pgf@xy=\dimen196 +\pgf@yx=\dimen197 +\pgf@yy=\dimen198 +\pgf@zx=\dimen199 +\pgf@zy=\dimen256 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +epathconstruct.code.tex +File: pgfcorepathconstruct.code.tex 2021/05/15 v3.1.9a (3.1.9a) +\pgf@path@lastx=\dimen257 +\pgf@path@lasty=\dimen258 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +epathusage.code.tex +File: pgfcorepathusage.code.tex 2021/05/15 v3.1.9a (3.1.9a) +\pgf@shorten@end@additional=\dimen259 +\pgf@shorten@start@additional=\dimen260 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +escopes.code.tex +File: pgfcorescopes.code.tex 2021/05/15 v3.1.9a (3.1.9a) +\pgfpic=\box62 +\pgf@hbox=\box63 +\pgf@layerbox@main=\box64 +\pgf@picture@serial@count=\count293 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +egraphicstate.code.tex +File: pgfcoregraphicstate.code.tex 2021/05/15 v3.1.9a (3.1.9a) +\pgflinewidth=\dimen261 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +etransformations.code.tex +File: pgfcoretransformations.code.tex 2021/05/15 v3.1.9a (3.1.9a) +\pgf@pt@x=\dimen262 +\pgf@pt@y=\dimen263 +\pgf@pt@temp=\dimen264 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +equick.code.tex +File: pgfcorequick.code.tex 2021/05/15 v3.1.9a (3.1.9a) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +eobjects.code.tex +File: pgfcoreobjects.code.tex 2021/05/15 v3.1.9a (3.1.9a) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +epathprocessing.code.tex +File: pgfcorepathprocessing.code.tex 2021/05/15 v3.1.9a (3.1.9a) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +earrows.code.tex +File: pgfcorearrows.code.tex 2021/05/15 v3.1.9a (3.1.9a) +\pgfarrowsep=\dimen265 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +eshade.code.tex +File: pgfcoreshade.code.tex 2021/05/15 v3.1.9a (3.1.9a) +\pgf@max=\dimen266 +\pgf@sys@shading@range@num=\count294 +\pgf@shadingcount=\count295 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +eimage.code.tex +File: pgfcoreimage.code.tex 2021/05/15 v3.1.9a (3.1.9a) + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +eexternal.code.tex +File: pgfcoreexternal.code.tex 2021/05/15 v3.1.9a (3.1.9a) +\pgfexternal@startupbox=\box65 +)) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +elayers.code.tex +File: pgfcorelayers.code.tex 2021/05/15 v3.1.9a (3.1.9a) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +etransparency.code.tex +File: pgfcoretransparency.code.tex 2021/05/15 v3.1.9a (3.1.9a) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +epatterns.code.tex +File: pgfcorepatterns.code.tex 2021/05/15 v3.1.9a (3.1.9a) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/basiclayer\pgfcor +erdf.code.tex +File: pgfcorerdf.code.tex 2021/05/15 v3.1.9a (3.1.9a) +))) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/pgf/utilities\xxcolor.s +ty +Package: xxcolor 2003/10/24 ver 0.1 +\XC@nummixins=\count296 +\XC@countmixins=\count297 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/base\atbegshi-ltx.sty +Package: atbegshi-ltx 2021/01/10 v1.0c Emulation of the original atbegshi +package with kernel methods +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/hyperref\hyperref.sty +Package: hyperref 2022-11-13 v7.00u Hypertext links for LaTeX + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/ltxcmds\ltxcmds.sty +Package: ltxcmds 2020-05-10 v1.25 LaTeX kernel commands for general use (HO) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pdftexcmds\pdftexcmds +.sty +Package: pdftexcmds 2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO +) + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/infwarerr\infwarerr.s +ty +Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO) +) +Package pdftexcmds Info: \pdf@primitive is available. +Package pdftexcmds Info: \pdf@ifprimitive is available. +Package pdftexcmds Info: \pdfdraftmode found. +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/kvsetkeys\kvsetkeys.sty +Package: kvsetkeys 2022-10-05 v1.19 Key value parser (HO) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/kvdefinekeys\kvdefine +keys.sty +Package: kvdefinekeys 2019-12-19 v1.6 Define keys (HO) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/pdfescape\pdfescape.s +ty +Package: pdfescape 2019/12/09 v1.15 Implements pdfTeX's escape features (HO) +) (C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/hycolor\hycolor.sty +Package: hycolor 2020-01-27 v1.10 Color options for hyperref/bookmark (HO) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/letltxmacro\letltxmacro +.sty +Package: letltxmacro 2019/12/03 v1.6 Let assignment for LaTeX macros (HO) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/auxhook\auxhook.sty +Package: auxhook 2019-12-17 v1.6 Hooks for auxiliary files (HO) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/hyperref\nameref.sty +Package: nameref 2022-05-17 v2.50 Cross-referencing by name of section + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/refcount\refcount.sty +Package: refcount 2019/12/15 v3.6 Data extraction from label references (HO) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/gettitlestring\gettit +lestring.sty +Package: gettitlestring 2019/12/15 v1.6 Cleanup title references (HO) + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/kvoptions\kvoptions.sty +Package: kvoptions 2022-06-15 v3.15 Key value format for package options (HO) +)) +\c@section@level=\count298 +) +\@linkdim=\dimen267 +\Hy@linkcounter=\count299 +\Hy@pagecounter=\count300 + (C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/hyperref\pd1enc.def +File: pd1enc.def 2022-11-13 v7.00u Hyperref: PDFDocEncoding definition (HO) +Now handling font encoding PD1 ... +... no UTF-8 mapping file for font encoding PD1 +) (C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/intcalc\intcalc.sty +Package: intcalc 2019/12/15 v1.3 Expandable calculations with integers (HO) +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/etexcmds\etexcmds.sty +Package: etexcmds 2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO) +) +\Hy@SavedSpaceFactor=\count301 + (C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/hyperref\puenc.def +File: puenc.def 2022-11-13 v7.00u Hyperref: PDF Unicode definition (HO) +Now handling font encoding PU ... +... no UTF-8 mapping file for font encoding PU +) +Package hyperref Info: Option `bookmarks' set `true' on input line 4045. +Package hyperref Info: Option `bookmarksopen' set `true' on input line 4045. +Package hyperref Info: Option `implicit' set `false' on input line 4045. +Package hyperref Info: Hyper figures OFF on input line 4162. +Package hyperref Info: Link nesting OFF on input line 4167. +Package hyperref Info: Hyper index ON on input line 4170. +Package hyperref Info: Plain pages OFF on input line 4177. +Package hyperref Info: Backreferencing OFF on input line 4182. +Package hyperref Info: Implicit mode OFF; no redefinition of LaTeX internals. +Package hyperref Info: Bookmarks ON on input line 4410. +\c@Hy@tempcnt=\count302 + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/url\url.sty +\Urlmuskip=\muskip16 +Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc. +) +LaTeX Info: Redefining \url on input line 4748. +\XeTeXLinkMargin=\dimen268 + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/bitset\bitset.sty +Package: bitset 2019/12/09 v1.3 Handle bit-vector datatype (HO) + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/bigintcalc\bigintcalc +.sty +Package: bigintcalc 2019/12/15 v1.5 Expandable calculations on big integers (HO +) +)) +\Fld@menulength=\count303 +\Field@Width=\dimen269 +\Fld@charsize=\dimen270 +Package hyperref Info: Hyper figures OFF on input line 6027. +Package hyperref Info: Link nesting OFF on input line 6032. +Package hyperref Info: Hyper index ON on input line 6035. +Package hyperref Info: backreferencing OFF on input line 6042. +Package hyperref Info: Link coloring OFF on input line 6047. +Package hyperref Info: Link coloring with OCG OFF on input line 6052. +Package hyperref Info: PDF/A mode OFF on input line 6057. +\Hy@abspage=\count304 + + +Package hyperref Message: Stopped early. + +) +Package hyperref Info: Driver (autodetected): hpdftex. + (C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/hyperref\hpdftex.def +File: hpdftex.def 2022-11-13 v7.00u Hyperref driver for pdfTeX + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/base\atveryend-ltx.sty +Package: atveryend-ltx 2020/08/19 v1.0a Emulation of the original atveryend pac +kage +with kernel methods +) +\Fld@listcount=\count305 +\c@bookmark@seq@number=\count306 + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/rerunfilecheck\rerunfil +echeck.sty +Package: rerunfilecheck 2022-07-10 v1.10 Rerun checks for auxiliary files (HO) + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/generic/uniquecounter\uniquec +ounter.sty +Package: uniquecounter 2019/12/15 v1.4 Provide unlimited unique counter (HO) +) +Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2 +85. +)) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbaserequir +es.sty +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasecompat +ibility.sty) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasefont.s +ty (C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/amsfonts\amssymb.sty +Package: amssymb 2013/01/14 v3.01 AMS font symbols +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/amsfonts\amsfonts.sty +Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support +\@emptytoks=\toks28 +\symAMSa=\mathgroup4 +\symAMSb=\mathgroup5 +LaTeX Font Info: Redeclaring math symbol \hbar on input line 98. +LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' +(Font) U/euf/m/n --> U/euf/b/n on input line 106. +)) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/sansmathaccent\sansmath +accent.sty +Package: sansmathaccent 2020/01/31 + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/koma-script\scrlfile.st +y +Package: scrlfile 2022/10/12 v3.38 KOMA-Script package (file load hooks) + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/koma-script\scrlfile-ho +ok.sty +Package: scrlfile-hook 2022/10/12 v3.38 KOMA-Script package (using LaTeX hooks) + + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/koma-script\scrlogo.sty +Package: scrlogo 2022/10/12 v3.38 KOMA-Script package (logo) +))))) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasetransl +ator.sty +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/translator\translator.s +ty +Package: translator 2021-05-31 v1.12d Easy translation of strings in LaTeX +)) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasemisc.s +ty) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasetwoscr +eens.sty) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbaseoverla +y.sty +\beamer@argscount=\count307 +\beamer@lastskipcover=\skip51 +\beamer@trivlistdepth=\count308 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasetitle. +sty) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasesectio +n.sty +\c@lecture=\count309 +\c@part=\count310 +\c@section=\count311 +\c@subsection=\count312 +\c@subsubsection=\count313 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbaseframe. +sty +\beamer@framebox=\box66 +\beamer@frametitlebox=\box67 +\beamer@zoombox=\box68 +\beamer@zoomcount=\count314 +\beamer@zoomframecount=\count315 +\beamer@frametextheight=\dimen271 +\c@subsectionslide=\count316 +\beamer@frametopskip=\skip52 +\beamer@framebottomskip=\skip53 +\beamer@frametopskipautobreak=\skip54 +\beamer@framebottomskipautobreak=\skip55 +\beamer@envbody=\toks29 +\framewidth=\dimen272 +\c@framenumber=\count317 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbaseverbat +im.sty +\beamer@verbatimfileout=\write4 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbaseframes +ize.sty +\beamer@splitbox=\box69 +\beamer@autobreakcount=\count318 +\beamer@autobreaklastheight=\dimen273 +\beamer@frametitletoks=\toks30 +\beamer@framesubtitletoks=\toks31 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbaseframec +omponents.sty +\beamer@footins=\box70 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasecolor. +sty) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasenotes. +sty +\beamer@frameboxcopy=\box71 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasetoc.st +y) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasetempla +tes.sty +\beamer@sbttoks=\toks32 + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbaseauxtem +plates.sty +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbaseboxes. +sty +\bmb@box=\box72 +\bmb@colorbox=\box73 +\bmb@boxwidth=\dimen274 +\bmb@boxheight=\dimen275 +\bmb@prevheight=\dimen276 +\bmb@temp=\dimen277 +\bmb@dima=\dimen278 +\bmb@dimb=\dimen279 +\bmb@prevheight=\dimen280 +) +\beamer@blockheadheight=\dimen281 +)) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbaselocals +tructure.sty +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/tools\enumerate.sty +Package: enumerate 2015/07/23 v3.00 enumerate extensions (DPC) +\@enLab=\toks33 +) +\beamer@bibiconwidth=\skip56 +\c@figure=\count319 +\c@table=\count320 +\abovecaptionskip=\skip57 +\belowcaptionskip=\skip58 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasenaviga +tion.sty +\beamer@section@min@dim=\dimen282 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasetheore +ms.sty +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/amsmath\amsmath.sty +Package: amsmath 2022/04/08 v2.17n AMS math features +\@mathmargin=\skip59 + +For additional information on amsmath, use the `?' option. +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/amsmath\amstext.sty +Package: amstext 2021/08/26 v2.01 AMS text + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/amsmath\amsgen.sty +File: amsgen.sty 1999/11/30 v2.0 generic functions +\@emptytoks=\toks34 +\ex@=\dimen283 +)) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/amsmath\amsbsy.sty +Package: amsbsy 1999/11/29 v1.2d Bold Symbols +\pmbraise@=\dimen284 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/amsmath\amsopn.sty +Package: amsopn 2022/04/08 v2.04 operator names +) +\inf@bad=\count321 +LaTeX Info: Redefining \frac on input line 234. +\uproot@=\count322 +\leftroot@=\count323 +LaTeX Info: Redefining \overline on input line 399. +LaTeX Info: Redefining \colon on input line 410. +\classnum@=\count324 +\DOTSCASE@=\count325 +LaTeX Info: Redefining \ldots on input line 496. +LaTeX Info: Redefining \dots on input line 499. +LaTeX Info: Redefining \cdots on input line 620. +\Mathstrutbox@=\box74 +\strutbox@=\box75 +LaTeX Info: Redefining \big on input line 722. +LaTeX Info: Redefining \Big on input line 723. +LaTeX Info: Redefining \bigg on input line 724. +LaTeX Info: Redefining \Bigg on input line 725. +\big@size=\dimen285 +LaTeX Font Info: Redeclaring font encoding OML on input line 743. +LaTeX Font Info: Redeclaring font encoding OMS on input line 744. +\macc@depth=\count326 +LaTeX Info: Redefining \bmod on input line 905. +LaTeX Info: Redefining \pmod on input line 910. +LaTeX Info: Redefining \smash on input line 940. +LaTeX Info: Redefining \relbar on input line 970. +LaTeX Info: Redefining \Relbar on input line 971. +\c@MaxMatrixCols=\count327 +\dotsspace@=\muskip17 +\c@parentequation=\count328 +\dspbrk@lvl=\count329 +\tag@help=\toks35 +\row@=\count330 +\column@=\count331 +\maxfields@=\count332 +\andhelp@=\toks36 +\eqnshift@=\dimen286 +\alignsep@=\dimen287 +\tagshift@=\dimen288 +\tagwidth@=\dimen289 +\totwidth@=\dimen290 +\lineht@=\dimen291 +\@envbody=\toks37 +\multlinegap=\skip60 +\multlinetaggap=\skip61 +\mathdisplay@stack=\toks38 +LaTeX Info: Redefining \[ on input line 2953. +LaTeX Info: Redefining \] on input line 2954. +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/amscls\amsthm.sty +Package: amsthm 2020/05/29 v2.20.6 +\thm@style=\toks39 +\thm@bodyfont=\toks40 +\thm@headfont=\toks41 +\thm@notefont=\toks42 +\thm@headpunct=\toks43 +\thm@preskip=\skip62 +\thm@postskip=\skip63 +\thm@headsep=\skip64 +\dth@everypar=\toks44 +) +\c@theorem=\count333 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerbasethemes +.sty)) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerthemedefau +lt.sty +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerfontthemed +efault.sty) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamercolortheme +default.sty) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamerinnertheme +default.sty +\beamer@dima=\dimen292 +\beamer@dimb=\dimen293 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beameroutertheme +default.sty))) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer\beamercolortheme +beaver.sty) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/l3backend\l3backend-pdf +tex.def +File: l3backend-pdftex.def 2022-10-26 L3 backend support: PDF output (pdfTeX) +\l__color_backend_stack_int=\count334 +\l__pdf_internal_box=\box76 +) (HsuanLee_Exercise3.aux) +\openout1 = `HsuanLee_Exercise3.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. + +*geometry* driver: auto-detecting +*geometry* detected driver: pdftex +*geometry* verbose mode - [ preamble ] result: +* driver: pdftex +* paper: custom +* layout: +* layoutoffset:(h,v)=(0.0pt,0.0pt) +* modes: includehead includefoot +* h-part:(L,W,R)=(28.45274pt, 398.3386pt, 28.45274pt) +* v-part:(T,H,B)=(0.0pt, 256.0748pt, 0.0pt) +* \paperwidth=455.24408pt +* \paperheight=256.0748pt +* \textwidth=398.3386pt +* \textheight=227.62207pt +* \oddsidemargin=-43.81725pt +* \evensidemargin=-43.81725pt +* \topmargin=-72.26999pt +* \headheight=14.22636pt +* \headsep=0.0pt +* \topskip=11.0pt +* \footskip=14.22636pt +* \marginparwidth=4.0pt +* \marginparsep=10.0pt +* \columnsep=10.0pt +* \skip\footins=10.0pt plus 4.0pt minus 2.0pt +* \hoffset=0.0pt +* \voffset=0.0pt +* \mag=1000 +* \@twocolumnfalse +* \@twosidefalse +* \@mparswitchfalse +* \@reversemarginfalse +* (1in=72.27pt=25.4mm, 1cm=28.453pt) + + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/context/base/mkii\supp-pdf.mk +ii +[Loading MPS to PDF converter (version 2006.09.02).] +\scratchcounter=\count335 +\scratchdimen=\dimen294 +\scratchbox=\box77 +\nofMPsegments=\count336 +\nofMParguments=\count337 +\everyMPshowfont=\toks45 +\MPscratchCnt=\count338 +\MPscratchDim=\dimen295 +\MPnumerator=\count339 +\makeMPintoPDFobject=\count340 +\everyMPtoPDFconversion=\toks46 +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/epstopdf-pkg\epstopdf-b +ase.sty +Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf +Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4 +85. + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/00miktex\epstopdf-sys.c +fg +File: epstopdf-sys.cfg 2021/03/18 v2.0 Configuration of epstopdf for MiKTeX +)) +Package hyperref Info: Link coloring OFF on input line 8. + (HsuanLee_Exercise3.out) (HsuanLee_Exercise3.out) +\@outlinefile=\write5 +\openout5 = `HsuanLee_Exercise3.out'. + +LaTeX Font Info: Overwriting symbol font `operators' in version `normal' +(Font) OT1/cmr/m/n --> OT1/cmss/m/n on input line 8. +LaTeX Font Info: Overwriting symbol font `operators' in version `bold' +(Font) OT1/cmr/bx/n --> OT1/cmss/b/n on input line 8. +\symnumbers=\mathgroup6 +\sympureletters=\mathgroup7 +LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `normal' +(Font) OT1/cmss/m/n --> OT1/cmr/m/n on input line 8. +LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal' +(Font) OT1/cmr/bx/n --> OT1/cmss/b/n on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold' +(Font) OT1/cmr/bx/n --> OT1/cmss/b/n on input line 8. +LaTeX Font Info: Redeclaring math alphabet \mathsf on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal' +(Font) OT1/cmss/m/n --> OT1/cmss/m/n on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold' +(Font) OT1/cmss/bx/n --> OT1/cmss/m/n on input line 8. +LaTeX Font Info: Redeclaring math alphabet \mathit on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal' +(Font) OT1/cmr/m/it --> OT1/cmss/m/it on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold' +(Font) OT1/cmr/bx/it --> OT1/cmss/m/it on input line 8. +LaTeX Font Info: Redeclaring math alphabet \mathtt on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal' +(Font) OT1/cmtt/m/n --> OT1/cmtt/m/n on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold' +(Font) OT1/cmtt/m/n --> OT1/cmtt/m/n on input line 8. +LaTeX Font Info: Overwriting symbol font `numbers' in version `bold' +(Font) OT1/cmss/m/n --> OT1/cmss/b/n on input line 8. +LaTeX Font Info: Overwriting symbol font `pureletters' in version `bold' +(Font) OT1/cmss/m/it --> OT1/cmss/b/it on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `bold' +(Font) OT1/cmss/b/n --> OT1/cmr/b/n on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold' +(Font) OT1/cmss/b/n --> OT1/cmss/b/n on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold' +(Font) OT1/cmss/m/n --> OT1/cmss/b/n on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold' +(Font) OT1/cmss/m/it --> OT1/cmss/b/it on input line 8. +LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold' +(Font) OT1/cmtt/m/n --> OT1/cmtt/b/n on input line 8. +LaTeX Font Info: Redeclaring symbol font `pureletters' on input line 8. +LaTeX Font Info: Overwriting symbol font `pureletters' in version `normal' +(Font) OT1/cmss/m/it --> OT1/mathkerncmss/m/sl on input line 8 +. +LaTeX Font Info: Overwriting symbol font `pureletters' in version `bold' +(Font) OT1/cmss/b/it --> OT1/mathkerncmss/m/sl on input line 8 +. +LaTeX Font Info: Overwriting symbol font `pureletters' in version `bold' +(Font) OT1/mathkerncmss/m/sl --> OT1/mathkerncmss/bx/sl on inp +ut line 8. + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/translator\translator-b +asic-dictionary-English.dict +Dictionary: translator-basic-dictionary, Language: English +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/translator\translator-b +ibliography-dictionary-English.dict +Dictionary: translator-bibliography-dictionary, Language: English +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/translator\translator-e +nvironment-dictionary-English.dict +Dictionary: translator-environment-dictionary, Language: English +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/translator\translator-m +onths-dictionary-English.dict +Dictionary: translator-months-dictionary, Language: English +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/translator\translator-n +umbers-dictionary-English.dict +Dictionary: translator-numbers-dictionary, Language: English +) +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/translator\translator-t +heorem-dictionary-English.dict +Dictionary: translator-theorem-dictionary, Language: English +) (HsuanLee_Exercise3.nav) + +Package hyperref Warning: Option `pdfauthor' has already been used, +(hyperref) setting the option has no effect on input line 11. + +LaTeX Font Info: Trying to load font information for U+msa on input line 18. + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/amsfonts\umsa.fd +File: umsa.fd 2013/01/14 v3.01 AMS symbols A +) +LaTeX Font Info: Trying to load font information for U+msb on input line 18. + + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/amsfonts\umsb.fd +File: umsb.fd 2013/01/14 v3.01 AMS symbols B +) +LaTeX Font Info: Trying to load font information for OT1+mathkerncmss on inp +ut line 18. + +(C:\Users\HsuanLee\AppData\Roaming\MiKTeX\2.9\tex/latex/sansmathaccent\ot1mathk +erncmss.fd +File: ot1mathkerncmss.fd 2020/01/31 Fontinst v1.933 font definitions for OT1/ma +thkerncmss. +) [1 + +{C:/Users/HsuanLee/AppData/Local/MiKTeX/2.9/fonts/map/pdftex/pdftex.map}] [2 + +] [3 + +] [4 + +] [5 + +] [6 + +] [7 + +] +\tf@nav=\write6 +\openout6 = `HsuanLee_Exercise3.nav'. + +\tf@toc=\write7 +\openout7 = `HsuanLee_Exercise3.toc'. + +\tf@snm=\write8 +\openout8 = `HsuanLee_Exercise3.snm'. + + (HsuanLee_Exercise3.aux) +Package rerunfilecheck Info: File `HsuanLee_Exercise3.out' has not changed. +(rerunfilecheck) Checksum: D41D8CD98F00B204E9800998ECF8427E;0. + ) +Here is how much of TeX's memory you used: + 21658 strings out of 478341 + 428120 string characters out of 2840495 + 1856787 words of memory out of 3000000 + 41298 multiletter control sequences out of 15000+600000 + 523617 words of font info for 73 fonts, out of 8000000 for 9000 + 0 hyphenation exceptions out of 8191 + 128i,12n,122p,442b,447s stack positions out of 10000i,1000n,20000p,200000b,80000s + +Output written on HsuanLee_Exercise3.pdf (7 pages, 97339 bytes). +PDF statistics: + 118 PDF objects out of 1000 (max. 8388607) + 25 named destinations out of 1000 (max. 500000) + 43 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.nav b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.nav new file mode 100644 index 0000000..359ead1 --- /dev/null +++ b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.nav @@ -0,0 +1,19 @@ +\headcommand {\slideentry {0}{0}{1}{1/1}{}{0}} +\headcommand {\beamer@framepages {1}{1}} +\headcommand {\slideentry {0}{0}{2}{2/2}{}{0}} +\headcommand {\beamer@framepages {2}{2}} +\headcommand {\slideentry {0}{0}{3}{3/3}{}{0}} +\headcommand {\beamer@framepages {3}{3}} +\headcommand {\slideentry {0}{0}{4}{4/4}{}{0}} +\headcommand {\beamer@framepages {4}{4}} +\headcommand {\slideentry {0}{0}{5}{5/5}{}{0}} +\headcommand {\beamer@framepages {5}{5}} +\headcommand {\slideentry {0}{0}{6}{6/6}{}{0}} +\headcommand {\beamer@framepages {6}{6}} +\headcommand {\slideentry {0}{0}{7}{7/7}{}{0}} +\headcommand {\beamer@framepages {7}{7}} +\headcommand {\beamer@partpages {1}{7}} +\headcommand {\beamer@subsectionpages {1}{7}} +\headcommand {\beamer@sectionpages {1}{7}} +\headcommand {\beamer@documentpages {7}} +\headcommand {\gdef \inserttotalframenumber {7}} diff --git a/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.out b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.out new file mode 100644 index 0000000..e69de29 diff --git a/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.pdf b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.pdf new file mode 100644 index 0000000..6438e0c Binary files /dev/null and b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.pdf differ diff --git a/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.snm b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.snm new file mode 100644 index 0000000..4acd449 --- /dev/null +++ b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.snm @@ -0,0 +1,10 @@ +\beamer@slide {working<1>}{3} +\beamer@slide {working}{3} +\beamer@slide {aligning<1>}{4} +\beamer@slide {aligning}{4} +\beamer@slide {omit<1>}{5} +\beamer@slide {omit}{5} +\beamer@slide {ugly<1>}{6} +\beamer@slide {ugly}{6} +\beamer@slide {discussion<1>}{7} +\beamer@slide {discussion}{7} diff --git a/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.synctex.gz b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.synctex.gz new file mode 100644 index 0000000..d4598c0 Binary files /dev/null and b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.synctex.gz differ diff --git a/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.tex b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.tex new file mode 100644 index 0000000..fe27a66 --- /dev/null +++ b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.tex @@ -0,0 +1,79 @@ +\documentclass[11pt, aspectratio=169]{beamer} +\usetheme{default} +\usecolortheme{beaver} +\setbeamertemplate{navigation symbols}{} + +\usepackage{amsmath} + +\begin{document} + + \title{Example document to recreate with \texttt{beamer} in \LaTeX} + \author{Hsuan Lee} + \date{ + November 18, 2022 \\ + \vspace{1.5cm} \large FALL 2022 \\ + \large Markup Languages and Reproducible Programming in Statistics + } + + \maketitle + + \begin{frame}{Outline} + \hyperlink{working}{Working with equations} \\ + \hspace{5mm} \hyperlink{aligning}{Aligning the same equations} \\ + \hspace{5mm} \hyperlink{omit}{Omit equation numbering} \\ + \hspace{5mm} \hyperlink{ugly}{Ugly alignment} \\ + \vspace{10mm} + \hyperlink{discussion}{Discussion} +\end{frame} + +\begin{frame}[label=working]{Working with equations} + We define a set of equations as + \begin{equation} a = b + c^2, \end{equation} + \begin{equation} a - c^2 = b, \end{equation} + \begin{equation} \text{left side = right side,} \end{equation} + \begin{equation} \text{left side + something} \geq \text{right side,} \end{equation} + for all something $> 0$. +\end{frame} + +\begin{frame}[label=aligning]{Aligning the same equations} + Aligning the equations by the equal sign gives a much better view into the placements of the separate equation components. + \begin{align} + a &= b + c^2, \\ + a - c^2 &= b, \\ + \text{left side} &= \text{right side,} \\ + \text{left side + something} &\geq \text{right side,} + \end{align} +\end{frame} + +\begin{frame}[label=omit]{Omit equation numbering} + Alternatively, the equation numbering can be omitted. + \begin{align*} + a &= b + c^2 \\ + a - c^2 &= b \\ + \text{left side} &= \text{right side} \\ + \text{left side + something} &\geq \text{right side} + \end{align*} +\end{frame} + +\begin{frame}[label=ugly]{Ugly alignment} + Some components do not look well, when aligned. Especially equations with different heights and spacing. For example, + \begin{align} + E &= mc^2, \\ + m &= \frac{E}{c^2}, \\ + c &= \sqrt{\frac{E}{m}}. + \end{align} + Take that into account. +\end{frame} + +\begin{frame}[label=discussion]{Discussion} + This is where you’d normally give your audience a recap of your talk, where you could discuss e.g. the following + \begin{itemize} + \item Your main findings + \item The consequences of your main findings + \item Things to do + \item Any other business not currently investigated, but related to your talk + \end{itemize} +\end{frame} + + +\end{document} \ No newline at end of file diff --git a/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.toc b/Practicals/Hsuan/Exercise 3/HsuanLee_Exercise3.toc new file mode 100644 index 0000000..e69de29 diff --git a/Practicals/Hsuan/Exercise 5/Figures/Lisbon.jpg b/Practicals/Hsuan/Exercise 5/Figures/Lisbon.jpg new file mode 100644 index 0000000..1d21f2c Binary files /dev/null and b/Practicals/Hsuan/Exercise 5/Figures/Lisbon.jpg differ diff --git a/Practicals/Hsuan/Exercise 5/HsuanLee_Exercise_5.Rmd b/Practicals/Hsuan/Exercise 5/HsuanLee_Exercise_5.Rmd new file mode 100644 index 0000000..873d219 --- /dev/null +++ b/Practicals/Hsuan/Exercise 5/HsuanLee_Exercise_5.Rmd @@ -0,0 +1,75 @@ +--- +title: "Exercise 5" +author: "Hsuan Lee" +output: + ioslides_presentation: + logo: https://upload.wikimedia.org/wikipedia/en/thumb/2/26/Utrecht_University_logo.svg/1024px-Utrecht_University_logo.svg.png + smaller : T +bibliography: My_Library.bib +--- +```{r setup, include=FALSE} +library(DT) +library(plotly) +``` + +## A Centered Still Figure + +Lisbon +
+HTML5 Icon +
+ +## An Interactive Table + +```{r} +datatable(mtcars, options = list(pageLength = 5)) +``` + +## A moving figure, Interactive Figure or Movie + +- cached, executed, but not displayed r-code + +```{r cache=TRUE, echo=FALSE} +set.seed(123) + +df <- data.frame(x <- rchisq(1000, 5, 10), + group <- sample(LETTERS[1:5], size = 1000, replace = T)) + +p <- ggplot(df, aes(x, fill = group)) + + geom_density(alpha = 0.5, position = "stack") + + ggtitle("stacked density chart") + +ggplotly(p) +``` + +## A 2-Column Slide + +
+ +- Breakfast +- Lunch +- Dinner + +- Working +- Sleeping +- Entertainment + +
+ +## An Aligned Multi-Row Equation + +\[\begin{align} + \log \lambda(s,r,t) = \sum_{p} \beta_p x_p(s,r,t) \\ + BF = \dfrac{\int_{\beta \in H_{static}} \mathcal{N}(\beta|\hat{\beta}, \hat{\sum}_{\beta}) d\beta} + {\int_{\beta \in H_{static}} \mathcal{N}(\beta|\beta_P, \hat{\sum} ^p _{\beta}) d\beta} +\end{align}\] + +## R-code, Displayed But Not Executed + +```{r eval=FALSE} +a <- 3 +b <- 2 +a + b +``` + +## Refference diff --git a/Practicals/Hsuan/Exercise 5/My_Library.bib b/Practicals/Hsuan/Exercise 5/My_Library.bib new file mode 100644 index 0000000..fbf99ce --- /dev/null +++ b/Practicals/Hsuan/Exercise 5/My_Library.bib @@ -0,0 +1 @@ + @misc{killick_eckley_1970, title={Changepoint:an R package for changepoint analysis}, url={https://eprints.lancs.ac.uk/id/eprint/51975/}, journal={Lancaster EPrints}, publisher={Lancaster University}, author={Killick, Rebecca and Eckley, Idris}, year={1970}, month={Jan}} \ No newline at end of file diff --git a/Practicals/Hsuan/Exercise 6/Exercise_6/URL.txt b/Practicals/Hsuan/Exercise 6/Exercise_6/URL.txt new file mode 100644 index 0000000..463bb91 --- /dev/null +++ b/Practicals/Hsuan/Exercise 6/Exercise_6/URL.txt @@ -0,0 +1 @@ +http://hsuanlee.shinyapps.io/Exercise_6 \ No newline at end of file diff --git a/Practicals/Hsuan/Exercise 6/Exercise_6/app.R b/Practicals/Hsuan/Exercise 6/Exercise_6/app.R new file mode 100644 index 0000000..d5a7cc0 --- /dev/null +++ b/Practicals/Hsuan/Exercise 6/Exercise_6/app.R @@ -0,0 +1,51 @@ +library(shiny) +library(tidyverse) + +# Define UI for application that draws a histogram +ui <- fluidPage( + + # Application title + titlePanel("Petal Length Distribution of Three Distinct Species of Iris"), + + # Sidebar with a slider input for number of bins + sidebarLayout( + sidebarPanel( + selectInput("Species", + label = "Choose a Species to See Its Petal Length Distribution :", + choices = list("Setosa", + "Versicolor", + "Virginica"), + selected = "Setosa") + ), + + # Show a plot of the generated distribution + mainPanel( + plotOutput("distPlot") + ) + ) +) + +# Define server logic required to draw a histogram +server <- function(input, output) { + + output$distPlot <- renderPlot({ + if(input$Species == "Setosa") { + iris %>% + filter(Species == "setosa") %>% + ggplot(aes(x = Petal.Length)) + + geom_bar() + } else if (input$Species == "Versicolor") { + iris %>% + filter(Species == "versicolor") %>% + ggplot(aes(x = Petal.Length)) + + geom_bar() + } else { + iris %>% + filter(Species == "virginica") %>% + ggplot(aes(x = Petal.Length)) + + geom_bar()} + }) +} + +# Run the application +shinyApp(ui = ui, server = server) \ No newline at end of file