/
phalcon.tex
executable file
·531 lines (405 loc) · 12.5 KB
/
phalcon.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
\documentclass{wileySix}
\makeatletter
\def\endthebibliography{%
\def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}%
\endlist
}
\makeatother
\usepackage{graphicx}
\usepackage{array}
\usepackage{listings}
\usepackage{w-bookps}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{2}
\newcommand{\VT}[1]{\ensuremath{{V_{T#1}}}}
\newbox\sectsavebox
\setbox\sectsavebox=\hbox{\boldmath\VT{xyz}}
\begin{document}
\booktitle{Belajar Phalcon}
\subtitle{Buku Phalcon Untuk Pemula}
\authors{Rolly M. Awangga\\
\affil{Politeknik Pos Indonesia}
}
\offprintinfo{Belajar Phalcon, First Edition}{Rolly M. Awangga}
\halftitlepage
\titlepage
\begin{copyrightpage}{2007}
\input{info/copyrightpage}
\end{copyrightpage}
\dedication{To my parents}
\begin{contributors}
\input{info/contributors}
\end{contributors}
\contentsinbrief
\tableofcontents
\listoffigures
\listoftables
\begin{foreword}
\input{info/foreword}
\end{foreword}
\begin{preface}
\input{info/preface}
\end{preface}
\begin{acknowledgments}
\input{info/acknowledgements}
\end{acknowledgments}
\begin{acronyms}
\input{info/acronyms}
\end{acronyms}
\begin{glossary}
\input{info/glossary}
\end{glossary}
\begin{symbols}
\input{info/symbols}
\end{symbols}
\begin{introduction}
\input{info/introduction}
\end{introduction}
\chapter{Phalcon - Overview}
\input{chapters/1}
\chapter{Enviromental Setup}
\input{chapters/2}
\chapter{Struktur Aplikasi}
\input{chapters/3}
\chapter{Second Edited Book Sample Chapter Title}
\chapterauthors{George Smeal, Ph.D.\affilmark{1}, Sally Smith,
M.D.\affilmark{2} and Stanley Kubrick\affilmark{1}
\chapteraffil{\affilmark{1}AT\&T Bell Laboratories
Murray Hill, New Jersey\\
\affilmark{2}Harvard Medical School,
Boston, Massachusetts}
}
\section{Sample Section}
Here is some sample text.
\newpage
\section{Example, Figure and Tables}
\vskip6pt
\begin{example}[Optional Example Name]
Use Black's law [Equation (6.3)] to estimate the reduction in useful product
life if a metal line is initially run at 55$^\circ$C at a maximum line
current density.
\end{example}
\begin{figure}[ht]
illustration here
%\centerline{\includegraphics[width=.5\textwidth]{filename}}
\caption{Short figure caption.}
\end{figure}
\begin{figure}[ht]
\vskip2pt
\caption{Oscillograph for memory address access operations,
showing 500 ps
address access time and superimposed signals
of address access in 1 kbit
memory plane.}
\end{figure}
\begin{table}[ht]
\caption{Small Table}
\centering
\begin{tabular}{cccc}
\hline
one&two&three&four\\
\hline
C&D&E&F\\
\hline
\end{tabular}
\end{table}
\begin{table}[ht]
\caption{Effects of the two types of $\alpha\beta\sum^A_B$ scaling proposed by Dennard \newline
and
co-workers$^{a,b}$}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}lcc}
\hline
Parameter& $\kappa$ Scaling & $\kappa$, $\lambda$ Scaling\cr
\hline
Dimension&$\kappa^{-1}$&$\lambda^{-1}$\cr
Voltage&$\kappa^{-1}$&$\kappa^{-1}$\cr
Currant&$\kappa^{-1}$&$\lambda/\kappa^{2}$\cr
Dopant Concentration&$\kappa$&$\lambda^2/\kappa$\cr
\hline
\end{tabular*}
\begin{tablenotes}
$^a$Refs.~19 and 20.
$^b\kappa, \lambda>1$.
\end{tablenotes}
\end{table}
\subsection{Side by Side Tables and Figures}
\begin{figure}[ht]
\sidebyside{
Space for figure...
\caption{This caption will go on the left side of
the page. It is the initial caption of two side-by-side captions.}
}
{
Space for second figure...
\caption{This caption will go on the right side of
the page. It is the second of two side-by-side captions.}
}
\end{figure}
The command \verb+\sidebyside{}{}+ works similarly for tables:
\begin{table}[ht]
\sidebyside{
\caption{Table Caption}
\begin{tabular}{cccc}
one&two&three&four\\
a &little&sample&table
\end{tabular}
}
{
\caption{Table Caption}
\begin{tabular}{cccc}
A&B&C&D\\
a &second little& sample&table
\end{tabular}
}
\end{table}
When using \verb+\sidebyside+, one must
use the cross referencing command \verb+\label{}+ after and {\it outside}
of \verb+\caption{}+:
\begin{verbatim}
\begin{table}
\sidebyside{\caption{Table Caption}\label{tab1}
first table}
{\caption{Table Caption}\label{tab2} second table}
\end{table}
\end{verbatim}
or,
\begin{verbatim}
\begin{figure}
\sidebyside{\vskip<dimen>\caption{fig caption}\label{fig1}}
{\vskip<dimen>\caption{fig caption}\label{fig2}}
\end{figure}
\end{verbatim}
\section{Algorithm}
This is a sample algorithm.
\begin{algorithm}
{\bf state\_transition algorithm} $\{$
\ for each neuron $j\in\{0,1,\ldots,M-1\}$
\ $\{$
\ calculate the weighted sum $S_j$ using Eq. (6);
\ if ($S_j>t_j$)
\ $\{$turn ON neuron; $Y_1=+1\}$
\ else if ($S_j<t_j$)
\ $\{$turn OFF neuron; $Y_1=-1\}$
\ else
\ $\{$no change in neuron state; $y_j$ remains %
unchanged;$\}$
\ $\}$
$\}$
\end{algorithm}
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
Here is some normal text.
\begin{quote}
This is a sample of extract or quotation.
This is a sample of extract or quotation.
This is a sample of extract or quotation.
\end{quote}
\begin{enumerate}
\item
This is the first item in the numbered list.
\item
This is the second item in the numbered list.
This is the second item in the numbered list.
This is the second item in the numbered list.
\end{enumerate}
\begin{itemize}
\item
This is the first item in the itemized list.
\item
This is the first item in the itemized list.
This is the first item in the itemized list.
This is the first item in the itemized list.
\end{itemize}
\begin{itemize}
\item[]
This is the first item in the itemized list.
\item[]
This is the first item in the itemized list.
This is the first item in the itemized list.
This is the first item in the itemized list.
\end{itemize}
\begin{problems}
\prob
For Hooker's data, Problem 1.2, use the Box and Cox and Atkinson procedures to determine a appropriate transformation of PRES
in the regression of PRES on TEMP. find $\hat\lambda$, $\tilde\lambda$,
the score test, and the added variable plot for the score.
Summarize the results.
\prob
The following data were collected in a study of the effect of dissolved sulfur
on the surface tension of liquid copper (Baes and Killogg, 1953).
{\centering
\vskip6pt
\begin{tabular}{rlcc}
\hline
&&\multicolumn2c{$Y$= Decrease in Surface Tension}\\
\multicolumn2c{$x$ = Weight \% sulfur}
&\multicolumn2c{(dynes/cm), two Replicates}\\
\hline
0.&034&301&316\\
0.&093&430&422\\
0.&30&593&586\\
\hline
\end{tabular}
\vskip6pt
}
\subprob
Find the transformations of $X$ and $Y$ sot that in the transformed scale
the regression is linear.
\subprob
Assuming that $X$ is transformed to $\ln(X)$, which choice of $Y$ gives
better results,
$Y$ or $\ln(Y)$? (Sclove, 1972).
\sidebysidesubprob{In the case of $\alpha_1$?}{In the case of $\alpha_2$?}
\prob
Examine the Longley data, Problem 3.3, for applicability of assumptions of the
linear model.
\sidebysideprob{In the case of $\Gamma_1$?}{In the case of $\Gamma_2$?}
\end{problems}
\begin{exercises}
\exer
For Hooker's data, Exercise 1.2, use the Box and Cox and Atkinson procedures to determine a appropriate transformation of PRES
in the regression of PRES on TEMP. find $\hat\lambda$, $\tilde\lambda$,
the score test, and the added variable plot for the score.
Summarize the results.
\exer
The following data were collected in a study of the effect of dissolved sulfur
on the surface tension of liquid copper (Baes and Killogg, 1953).
{\centering
\vskip6pt
\begin{tabular}{rlcc}
\hline
&&\multicolumn2c{$Y$= Decrease in Surface Tension}\\
\multicolumn2c{$x$ = Weight \% sulfur}
&\multicolumn2c{(dynes/cm), two Replicates}\\
\hline
0.&034&301&316\\
0.&093&430&422\\
0.&30&593&586\\
\hline
\end{tabular}
\vskip6pt
}
\subexer
Find the transformations of $X$ and $Y$ sot that in the transformed scale
the regression is linear.
\subexer
Assuming that $X$ is transformed to $\ln(X)$, which choice of $Y$ gives
better results,
$Y$ or $\ln(Y)$? (Sclove, 1972).
\sidebysidesubexer{In the case of $\Delta_1$?}{In the case of $\Delta_2$?}
\exer
Examine the Longley data, Problem 3.3, for applicability of assumptions of the
linear model.
\sidebysideexer{In the case of $\Gamma_1$?}{In the case of $\Gamma_2$?}
\end{exercises}
\section{Summary}
This is a summary of this chapter.
Here are some references: \cite{xkilby}, \cite{xberen}.
\begin{chapreferences}{5.}
\bibitem{xkilby}J. S. Kilby,
``Invention of the Integrated Circuit,'' {\it IEEE Trans. Electron Devices,}
{\bf ED-23,} 648 (1976).
\bibitem{xhamming}R. W. Hamming,
{\it Numerical Methods for Scientists and
Engineers}, Chapter N-1, McGraw-Hill,
New York, 1962.
\bibitem{xHu}J. Lee, K. Mayaram, and C. Hu, ``A Theoretical
Study of Gate/Drain Offset in LDD MOSFETs''
{\it IEEE Electron Device Lett.,} {\bf EDL-7}(3). 152
(1986).
\bibitem{xberen}A. Berenbaum,
B. W. Colbry, D.R. Ditzel, R. D Freeman, and
K.J. O'Connor, ``A Pipelined 32b Microprocessor with 13 kb of Cache Memory,''
{it Int. Solid State Circuit Conf., Dig. Tech. Pap.,} p. 34 (1987).
\end{chapreferences}
\chapappendix{This is the Chapter Appendix Title}
This is an appendix with a title.
\begin{equation}
\alpha\beta\Gamma\Delta
\end{equation}
\begin{figure}[ht]
\caption{This is an appendix figure caption.}
\end{figure}
\begin{table}[ht]
\caption{This is an appendix table caption}
\centering
\let\hline\savehline
\begin{tabular}{@{\vrule height 11pt depth 4pt width0pt}|l|p{.65\textwidth}|c}
\hline
{\bf Date} & \multicolumn1{c|}{\bf Event} \\
\hline \hline
1867 & Maxwell speculated the existence of electromagnetic waves.\\
1887 & Hertz showed the existence of electromagnetic waves. \\
1890 & Branly developed technique for detecting radio waves. \\
1896 & Marconi demonstrated wireless telegraph. \\
1897 & Marconi patented wireless telegraph. \\
1898 & Marconi awarded patent for tuned communication. \\
1898 & Wireless telegraphic connection between England and France established. \\
\hline
\end{tabular}
\end{table}
\chapappendix{}
This is a Chapter Appendix without a title.
Here is a math test to show the difference between using Computer Modern
math fonts and MathTimes math fonts. When MathTimes math fonts are used
the letters in an equation will match TimesRoman italic in the text.
({\it g, i, y, x, P, F, n, f, etc.}) Caligraphic fonts, used for
$\cal ABC$ below, will stay the same
in either case.
\begin{equation}
g_i(y|f)=\sum_x P(x|F_n)f_i(y|x){\cal ABC}
\end{equation}
where $g_i(y|F_n)$ is the function specifying the probability an object will
display a value $y$ on a dimension $i$ given $F_n$ the observed feature
structure of all the objects.
%% ok
\appendix{This is the Appendix Title}
\markboth{Short appendix title}{Short appendix title}
This is an appendix with a title.
\begin{equation}
\alpha\beta\Gamma\Delta
\end{equation}
\begin{figure}[ht]
\caption{This is an appendix figure caption.}
\end{figure}
\begin{table}[ht]
\caption{Appendix table caption}
\centering
\begin{tabular}{cccc}
\hline
Alpha&Beta&Gamma&Delta\\
\hline
$\alpha$&$\beta$&$\Gamma$&$\Delta$\\
\hline
\end{tabular}
\end{table}
\appendix{}
This is an appendix without a title.
Here is a math test to show the difference between using Computer Modern
math fonts and MathTimes math fonts. When MathTimes math fonts are used
the letters in an equation will match TimesRoman italic in the text.
({\it g, i, y, x, P, F, n, f, etc.}) Caligraphic fonts, used for
$\cal ABC$ below, will stay the same
in either case.
\begin{equation}
g_i(y|f)=\sum_x P(x|F_n)f_i(y|x){\cal ABC}
\end{equation}
where $g_i(y|F_n)$ is the function specifying the probability an object will
display a value $y$ on a dimension $i$ given $F_n$ the observed feature
structure of all the objects.
\appendix{Alternate Reference Styles}
\bibliographystyle{IEEEtran}
\bibliography{references}
\printindex
\end{document}