Sabtu, 18 Januari 2025

Vocabulary Exercise 1

Learning Objectives: Practice speaking these following words.

Long Vowels

  • Manualˈmænjuːəl /
  • Turbulent /ˈtɜːbjʊlənt/
  • Mutual /ˈmjuːtʃuəl/

Primary Intonation

  • Bracket  /ˈbrækɪt/
  • Market  /ˈmɑː(r)kɪt/
  • Racket / ˈrækɪt /

Bibliography

https://www.bbc.co.uk/
https://www.neliti.com/ ( book )
https://www.uni-hamburg.de/ ( university )

Jumat, 17 Januari 2025

Using TexMaker To Compile Latex PSTricks

Learning Objective:

To write a LaTeX document with PSTricks or to do some PSTricks drawings with LaTeX, using TeXmaker.
  1. Before you run the Latex file using Tools menu -> Quick Build menu (usually F1 button), 
  2. Go to the Texmaker Options menu -> Configure Texmaker menu -> Quick Build and change the quick build command to "Latex+dvips+ps2pdf+View PDF".
  3. Go to Commands -> and add -shell-escape to PdfLaTeX box.
  4. Press OK button.

Related Post

Number Line In Latex 4

  1. type this following latex code in Latex editor for drawing a number line:
    % !TEX TS-program = pdflatex
    % !TEX encoding = UTF-8 Unicode
    %% Based on a TexWorks,TexMaker,TeXnicCenter-Template by Tino Weinkauf.
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


    \documentclass{report}


    %% Tikz Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \usepackage{tikz}
    \usetikzlibrary{arrows}
    \usetikzlibrary{patterns}
    \usetikzlibrary{positioning}


    %% Math Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \usepackage{amsmath}
    \usepackage{amsthm}
    \usepackage{amsfonts}


    \begin{document}

    \centering
    \begin{tikzpicture}% number line


    % edit here for the x-axis horizontal line
    \draw[latex-,very thick] (-5,0) -- (5,0);
    \draw[-latex,very thick] (-5,0) -- (5,0);


    %x axes vertical lines
    \foreach \x in {-4, -3, -2, -1, 0, 1, 2, 3, 4} \draw[shift={(\x,0)}, color=black] (0,0) node{$\bullet$};


    % edit here for the axes numbers below the x-axes horizontal line
    \foreach \x in {-4, -3, -2, -1, 0, 1, 2, 3, 4}
    \draw[shift={(\x,0)},color=black](0,0) node[below] {$\textbf{\x}$};


    %% draw arrow negative line
    \draw[shift={(0,-0.75)}, thick, -latex] (-0.9,0) |- (-5,-0.75);


    %% draw negative label
    \draw[shift={(-3,0)}] (-1, -2) node{\textbf{\normalsize{} Bilangan Bulat Negatif}};


    %% draw arrow zero line
    \draw[shift={(0,-0.75)}, thick, -latex] (0,0) -- (0,-0.75);


    %% draw zero label
    \draw (0,-2) node{\textbf{\normalsize{} Bilangan}};
    \draw (0,-2.2) node[below]{\textbf{\normalsize{} Nol}};

    %% draw arrow positive line
    \draw[thick,-latex] (1,-0.75) |- (5,-1.5);

    %% draw positive label
    \draw[shift={(3,0)}] (1, -2) node{\textbf{\normalsize{} Bilangan Bulat Positif}};
    \end{tikzpicture}
    \end{document}
  2. Save file as numberLine4.tex.

Output

Number Line 4 Latex


Linear Functions Graph in Latex 1

1. Type this following latex code in the latex editor:

% !TEX TS-program=pdflatex

% !TEX encoding=UTF-8 Unicode

%

% File name: linearGraphTypes1.tex

% Description:

% Linear Functions Graph

%

% Composer: private course and tutor course

\documentclass[12pt,a4paper]{report}

\usepackage{tikz}

\usepackage{amsmath}

\usepackage{bm}

\usepackage[active,tightpage]{preview}

\PreviewEnvironment{tikzpicture}

\setlength\PreviewBorder{0.25pt}

\usepackage{pgfplots}

\pgfplotsset{compat=1.18}

\pgfplotsset{%

    axis line origin/.style args={#1,#2}{

        x filter/.append code={ % Check for empty or filtered out numbers

            \ifx\pgfmathresult\empty\else\pgfmathparse{\pgfmathresult-#1}\fi

        },

        y filter/.append code={

            \ifx\pgfmathresult\empty\else\pgfmathparse{\pgfmathresult-#2}\fi

        },

        xticklabel=\pgfmathparse{\tick+#1}\pgfmathprintnumber{\pgfmathresult},

        yticklabel=\pgfmathparse{\tick+#2}\pgfmathprintnumber{\pgfmathresult}

    }

}


\makeatletter \newcommand{\pgfplotsdrawaxis}{\pgfplots@draw@axis} \makeatother


\pgfplotsset{

    every tick/.append style={color=black},

    after end axis/.append code={

        \pgfplotsset{

            axis line style=opaque,

            ticklabel style=opaque,

            tick style=opaque,

            grid=none

        }

        \pgfplotsdrawaxis

    },

} % applies to major and minor ticks,



\begin{document}

    \begin{tikzpicture}[scale=1]

        \begin{axis}[x=1cm,y=1cm,

            axis lines = middle,

            xlabel = {$\mathbf{x\ axis}$},

            ylabel = {$\mathbf{y\ axis}$},

            xtick = \empty,

            ytick = \empty,

            xmin=-3, xmax=3.5,

            ymin=-3, ymax=3.5,small, axis on top, grid=none, minor grid style={very thin,gray!30}, major grid style={very thin,gray!30},

    %% Draw the origin:

    after end axis/.code={

        \path (axis cs:0,0) 

            node [anchor=north east,yshift=-0.075cm] {0};

    } ]


            % Plot 1, type of slope: zero slope, y = constant, type of line: horizontal

            \addplot [

            domain = -1:5,

            samples = 1000,blue,very thick] coordinates {(-3,1.5)(3,1.5)} 

            node [pos=.75, above, black] {\bfseries $\mathbf{y=b=f(x)}$};

        \end{axis}                    

\end{tikzpicture}

\end{document}

2. Save file as linearGraphTypes1.tex
3. Then build or typeset the Latex code.

Output















Kamis, 16 Januari 2025

Motion In 2 Dimensions Physics

Resultant Length Using Cosine


where, 
  • R is the resultant force
  • A and B are the magnitudes or vector of the two forces
  • θ is the angle between the forces.
Notes To see more clear picture, click on the picture

Bibliography

https://www.geeksforgeeks.org/
https://www.nagwa.com/
https://www.pw.live/
https://www.udemy.com/

Use Cosine Law To Find The Resultant Force, Calculate The Magnitude Of The Resultant Force

Rabu, 15 Januari 2025

Eclipse IDE Parts

The workbench:

  • Window
  • Product / Icon
  • A Main Menu Bar
    • Menu
    • Submenu
      • Menu Item
    • Menu Item
    • Action
      • A label
      • A Tool Tip
      • An Action Image.
      • Global Action Format
      • Edit Action Format
      • Insert Action Format
      • Format Action Format
      • Perspective Action Format;
  • A Main Toolbar
  • One or More Perspectives.
    • Views
      • View Toolbar
      • View Pull Down Menu
      • Title Area
      • Embedded Control
      • Properties Dialog / Properties View
      • Explorer View
      • Object Properties View
      • Console View
    • Editor.
      • Editor Page
      • Editor Tab
      • Line Numbers
    • Context Menu
  • Shortcut Bar
  • Status Line
  • Wizard
    • Wizard Header
  • Tool Item
  • A Command Button
  • Perspective Button
  • Plugins

Eclipse SDK Standard Components

Navigator view
Outline view
Properties view
Tasks view
Bookmarks view.
Text Editor view
Resource perspective view.

Bibliography

https://eclipsescout.github.io/

https://www.eclipse.org/

Related Post

Working In Eclipse IDE 1

Bekerja Dengan Workspace Dan Project Di Eclipse

Study About Java 1

Selasa, 14 Januari 2025

CSV Format File In Microsoft Excel


Comma-separated values  or “comma delimited files” (CSV) is a text file format that uses commas to separate values, and newlines or line breaks to separate records.

‍What delimiter Excel uses for CSV files

To handle .csv files, Microsoft Excel uses the List separator defined in Windows Regional settings.

In North America and some other countries, the default list separator is a comma (,) punctuation, so you get CSV comma delimited.

In European countries, a comma is reserved for the decimal symbol, and the list separator is generally set to semicolon (;) punctuation.

Save Excel File As CSV With Different Delimiter / Separator

When your save a workbook as a .csv file, Excel separates values with your default List separator. To force it to use a different delimiter, proceed with the following steps:
  1. Click File menu > Options button > Advanced.
  2. Under Editing options, clear the Use system separators check box.
  3. Change the default Decimal separator. As this will change the way decimal numbers are displayed in your worksheets, choose a different Thousands separator to avoid confusion.
Depending on which separator you wish to use, configure the settings in one of the following ways.

To save Excel file as CSV comma delimited, set the decimal separator to a period (dot). This will make Excel use a comma for the List separator (CSV delimiter):
  • Set Decimal separator to period (.)
  • Set Thousands separator to comma (,)
To save Excel file as CSV semicolon delimited, set the decimal separator to a comma. This will make Excel use a semicolon for the List separator (CSV delimiter):
    • Set Decimal separator to comma (,)
    • Set Thousands separator to period (.)
    If you want to change a CSV separator only for a specific file, then tick the Use system settings check box again after exporting your Excel workbook to CSV.

    A CSV file structured

    For Microsoft Excel program to be able to read a CSV file with a field separator used in a given CSV file, you can specify the separator directly in that file. For this, open your file in any text editor, e.g. Notepad, and type the below (common separator) string before any other data:
    • To separate values with comma: sep=,
    • To separate values with semicolon: sep=;
    • To separate values with a pipe: sep=|
    In the CSV file format, a field separator are used to separate the values in different cells in a spreadsheet data format.

    For example, 

    • In the dataset "10001,Small Golden Bead Bars,$18.95", the semicolon (,) separates the three data items 10001, Small Golden Bead Bars, and $18.95.
    • In the dataset "10001;Small Golden Bead Bars;$18.95", the semicolon (;) separates the three data items 10001, Small Golden Bead Bars, and $18.95.
    • In the dataset “10001|Small Golden Bead Bars|$18.95” the pipes (|) separates the three data items 10001, Small Golden Bead Bars, and $18.95.
    CSV files often contain a header row at the top which specifies the titles of each column in the file.
    sep=,
    Order no.,Item,Price
    10001,Small Golden Bead Bars,$18.95
    10002,Geometric Demonstration Tray,$39.95
    10003,Color Tablets,$69.95

    CSV files end with the extension “.csv”, and the simple structure of CSV data makes it an efficient format for storing and transferring data between different applications.

    Understanding how to use delimiters seems fairly straightforward, but once you’re working with actual datasets, problems arise quickly. For example, how do you handle a comma in a value where commas are also being used as the delimiter for the file? One option would be to surround that value in double quotes, but what if the quote character is also being used inside that value? How about the situation where a newline is used to separate each record, but it’s also present inside of an entry?

    Properly handling these complications are often dependent on the platform, so depending on where the CSV data was exported from, a different set of rules in order needs to be applied to properly interpret the dataset.

    Notes

    • Remember, if you change CSV delimiter or separator with different delimiter / separator, it will be impact to Microsoft Excel number format ( Decimal separator and Thousands separator ).
    • Obviously, the changes you've made in Excel Options are limited to Excel. Other applications will keep using the default List separator defined in your Windows Regional settings.

    Bibliography

    https://www.ablebits.com/
    https://www.oneschema.co/

    Various Other Posts