Search In This Website

Jumat, 25 Juli 2025

AsciiDoctor Block Content

AsciiDoctor Block Content consist of: Blockquote Block, Comment Block, Delimited Passthrough Blocks

AsciiDoctor Quoted Block (Blockquote) Example

If the quote or excerpt is more than one paragraph, place the text between delimiter lines consisting of four underscores (____).

AsciiDoctor Syntax Quote Block
[quote,attribution,citation title and information]
____
Quote or excerpt text
____

AsciiDoctor Example Quote Block
[quote,Monty Python and the Holy Grail]
____
Dennis: Come and see the violence inherent in the system. Help! Help! I'm being repressed!

King Arthur: Bloody peasant!

Dennis: Oh, what a giveaway! Did you hear that? Did you hear that, eh? That's what I'm on about! Did you see him repressing me? You saw him, Didn't you?
____

AsciiDoctor Example Quote Block Output
AsciiDoctor Example Quote Block Output


AsciiDoctor Comment Block Example

AsciiDoctor Comment Block is defined by a text that’s prefixed by one or more . 
consists of an arbitrary number of text lines bounded on either side by //// four slash delimiter lines.

//// 
A comment block.

Notice it's a delimited block.
////
or you can type AsciiDoctor Comment Block:
[comment]
--
Notice it's a comment block
--

AsciiDoctor Example Block

AsciiDoctor Block Content or AsciiDoctor Block Macro is defined by a single line that matches the block macro syntax.
The opening and closing delimiter in AsciiDoctor Block Content must match exactly, both in length and in sequence of characters.

====
Here's a sample AsciiDoc document:
====

AsciiDoctor Delimited Passthrough Block

A passthrough block is delimited by four plus signs (++++).

++++
<del>strike this</del> is marked as deleted.
++++


Bibliography

https://docs.asciidoctor.org/
https://www.adoc-studio.app/
https://www.udemy.com/

How To Check AsciiDoctor Gem Dependencies

How To Check AsciiDoctor Has Installed Locally

Syntax: gem list <ruby-gem-name> --local

1. Open Command Prompt.

2. Type gem list asciidoctor --local

3. Press Enter on keyboard.

Step 2 and Step 3 To Check AsciiDoctor Has Installed Locally


How To Check AsciiDoctor Ruby Gem Dependencies

Syntax: gem dependency <ruby-gem-name> --reverse-dependencies --local

1. Open Command Prompt.

2. Type gem dependency asciidoctor --reverse-dependencies --local

3. Press Enter on keyboard.

4. Sample Output:

Gem asciidoctor-2.0.23

  concurrent-ruby (~> 1.1.0, development)

  cucumber (~> 3.1.0, development)

  erubi (~> 1.10.0, development)

  haml (~> 6.1.0, development)

  minitest (~> 5.22.0, development)

  nokogiri (~> 1.13.0, development)

  rake (~> 12.3.0, development)

  slim (~> 4.1.0, development)

  tilt (~> 2.0.0, development)

Step 2 To Check AsciiDoctor Ruby Gem Dependencies

Step 3 After Press Enter on keyboard


<< back to Study About AsciiDoctor


<< back to Study About Ruby


<< back to Study About Java 1


Bibliography

https://guides.rubygems.org/ ( manual ebook )

https://rubygems.org/

https://www.ruby-lang.org/  ( manual ebook )

Study About Ruby

Getting Started



Kamis, 24 Juli 2025

How to Creating A JAR File Using the Command Line

Prerequisites

Before you begin, ensure you have the following tools on your system:
  • Java Development Kit (JDK) installed and configured in your system's PATH. You must download JDK from the official Java website, if you don't have JDK. JDK is required for compiling Java code (javac) and running JAR files (java).
    If you want to learn default Java Path For Windows And Linux Environment, click Default Java Path Environment >
    You must setup PATH environment, click Set The JAVA_HOME variable >
    To check the Java version, click How To Check Your Java Version >
  • A Text Editor, for example Notepad: To write your Java code and potentially to write a manifest file.
  • A Terminal or Command Prompt: To execute compilation and JAR creation commands.

Assumption

  • Ensure you have a Java class with a main method ( after You compiled a Java source code File ), which serves as the entry point for your Java simple application (JAR) or Java simple program (JAR). You can use this Java exercise, click Hello World In Java and then you must compile the Java Program, click How To Compile Java 1.
  • Ensure you understand to using Text Editor and a Terminal or Command Prompt.

The Steps

1. First we navigate to the root directory of your Java class files project directory. In this example the directory is D:\demo\java\GettingStarted\HelloWorld.

navigate to the root directory
of your Java class files project directory

list your root directory
of your Java class files project directory

2. Create a Manifest File: Open your Text Editor and then create a text file (e.g., manifest.txt) and add the Main-Class entry. Make sure there's a newline at the end of the Main-Class line. The full contents Of Manifest.txt example:
Main-Class: helloWorld
Class-Path: helloWorld.jar

Notepad program show

Type Manifest.txt example contents

3. Save file As Manifest.txt in directory D:\demo\java\GettingStarted\HelloWorld\.

click File > Save As menu

Navigate to D:\demo\java\GettingStarted\HelloWorld\.
And then type Manifest.txt in File name box.

click Save button

file Manifest.txt has saved

4. Create the JAR File
Now, use the jar command to package your compiled .class file(s) and the manifest file (if applicable) into a single .jar file, for example:
jar cvfm helloWorld.jar helloWorld helloWorld.class
The options and arguments used in this command are: 
-c: Creates a new archive.
-v: Provides verbose output, listing the files as they are added.
-f: Specifies the filename of the JAR archive (helloWorld.jar).
-m: Specifies the manifest file to use (manifest.txt).

Create the JAR File

The JAR file has created

5. Run the Executable JAR
If you created an executable JAR, you can run it directly from the Command Prompt:
java -jar helloWorld.jar
You should see the output: Hello World

Run the Executable JAR

The Executable JAR has succeed to run

Notes


<< back to  Study About Java 1

Bibliography

https://docs.oracle.com/ ( manual ebook )
https://www.cmu.edu/ ( university )
https://www.helsinki.fi/ ( university )
https://www.coursera.org/
https://www.iitk.ac.in/ ( university )
https://www.ntu.edu.sg/ ( university )

How To Launch Notepad In Windows 8

1. Click the Start button to open the "Start menu"
Start Menu
2. and click "All apps" down arrow button in the bottom-left corner.
All apps shown

3. Scroll through the list of apps and click mouse to the "Notepad" on the "Windows Accessories". The Notepad program will appear on the screen.

click on the Notepad program

Notepad program show


Rabu, 23 Juli 2025

Command Prompt Path And Most Common Program

Command Prompt Path / Terminal Path And The Most Common Command Prompt Program

Alternative Command Prompt Path to running Command Prompt:
  • %windir%\system32\cmd.exe /k
  • "C:\Windows\SysWOW64\cmd.exe" /k
  • "C:\Windows\System32\cmd.exe" /k
To learn about open Microsoft Windows Command Prompt, click:
Then you can type one of this following example of Command Prompt Program with common arguments:
  • Running Apache HTTP Server
    • C:\Program Files\Apache Software Foundation\Apache<version>\httpd.exe
  • Running A 32 bit Java Application Class
    • C:\Program Files (x86)\Java\jdk<version>\bin\java -cp . mainClassName
  • Running A 64 bit Java Application Class
    • C:\Program Files\Java\jdk<version>\bin\java -cp . mainClassName
  • Running A PlantUML Java Software (JAR)
    • C:\Program Files\Java\jdk<version>\bin\java -jar "C:\Program Files\PlantUML\plantuml.jar"
  • Login To 32 bit MySQL Command Prompt
    • C:\Program Files (x86)\MySQL\MySQL Server <version>\bin\mysql -u root -p
  • Login To 64 bit MySQL Command Prompt
    • C:\Program Files\MySQL\MySQL Server <version>\bin\mysql -u root -p
  • Running A 32 bit NodeJS Application Main File / NodeJS Application Script
    • C:\Program Files (x86)\nodejs\node app.js
  • Running A 64 bit NodeJS Application Main File / NodeJS Application Script
    • C:\Program Files\nodejs\node app.js
  • Running PHP Server
    • C:\Program Files\PHP\PHP -S localhost:8000
  • Executing PHP Files
    • C:\Program Files\PHP\PHP -f "php_script_name.php"
  • Running Python Script File Using Current User Account ( method 1 )
    • %USERPROFILE%\AppData\Local\Microsoft\WindowsApps\python.exe "python_script_name.py"
  • Running Python Script File Using Current User Account ( method 2 )
    • C:\Users\<username>\AppData\Local\Programs\Python\Python<version>\python.exe "python_script_name.py"
  • Running Python Script File Using Current User Account ( method 3 )
    • C:\Python<version>\python.exe "python_script_name.py"
  • Running Python Script File Using All User Account
    • C:\Program Files\Python<version>\python "python_script_name.py"
  • Running XAMPP Shell Command Prompt
    • C:\xampp\xampp_shell.bat
  • Running SumatraPDF with certain page
    • C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe -page <pageNo> <file_path\file.pdf>

 << back to  Learn Microsoft Windows ( Road Map )

Bibliography

https://dev.mysql.com/ ( manual ebook )
https://docs.oracle.com/ ( manual ebook )
https://docs.python.org/ ( manual ebook )
https://httpd.apache.org/ ( manual ebook )
https://idcloudhost.com/
https://itpln.ac.id/ ( university )
https://learn.microsoft.com/ ( manual ebook )
https://nodejs.org/ ( manual ebook )
https://stackoverflow.com/
https://www.apachefriends.org/ ( manual ebook )
https://www.dell.com/
https://www.digitalocean.com/
https://www.php.net/ ( manual ebook )
https://www.sumatrapdfreader.org/ ( manual ebook )

Selasa, 22 Juli 2025

Healthy Food Menu In JList Java

Healthy Food Menu In JList Java Programming

1. Type this following java programming code on your java programming IDE:
import java.awt.Font;
import javax.swing.JFrame;
import javax.swing.JList;
import javax.swing.DefaultListModel;
import javax.swing.JScrollPane;
import javax.swing.SwingUtilities;
import javax.swing.ListSelectionModel;

public class simpleJList1 extends JFrame {
// constructor
public simpleJList1() {
    // configure JList
  listmodel = new DefaultListModel();
  list1 = new JList(listmodel);
  list1.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
  list1.setFont(new Font("Tahoma", Font.PLAIN, 14));
  
  // Adding new items using addElement method of the DefaultListModel class
  ((DefaultListModel) list1.getModel()).addElement("Beans, Nut, Nut Butters, And Seeds");
  ((DefaultListModel) list1.getModel()).addElement("Calcium Fortified Plant Milks And Yogurts");
  ((DefaultListModel) list1.getModel()).addElement("Choline Foods");
  ((DefaultListModel) list1.getModel()).addElement("Fruits");
  ((DefaultListModel) list1.getModel()).addElement("Hemp, Flax, And Chia Seeds ");
  ((DefaultListModel) list1.getModel()).addElement("Legumes");
  ((DefaultListModel) list1.getModel()).addElement("Nutritional Yeast");
  ((DefaultListModel) list1.getModel()).addElement("Seaweed");
  ((DefaultListModel) list1.getModel()).addElement("Spinach, Sprouted Plant, And Vegetables");
  ((DefaultListModel) list1.getModel()).addElement("Tofu And Tempe");
  ((DefaultListModel) list1.getModel()).addElement("Whole Grains, Cereals, And Pseudocereals");

  // add JList to JScrollPane
  scroll1 = new JScrollPane(list1);
      
  // add JScrollPane to JFrame container
  getContentPane().add(scroll1);
      
  // configure JFrame
  this.setDefaultLookAndFeelDecorated(false);
  this.setLocationRelativeTo(null);
  this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  this.pack();
  this.setVisible(true);
}

public static void main (String[] args) {
  SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
simpleJList1 prog = new simpleJList1();
}
});
}

//Define Swing components
private JList list1;
// input parameter using DefaultListModel
private DefaultListModel listmodel;
// container JScrollPane if JList content is too long
private JScrollPane scroll1;
}
2. Save as  simpleJList1.java.
3. Compile and run Java source code from above.
javac simpleJList1.java
java -cp . simpleJList1

Result

JList in Java Swing Component
JList in Java Swing Component

<< back to Study About Java 1

Bibliography

http://auckland.ac.nz/ ( university )
https://mkyong.com/
https://teamtreehouse.com/
https://www.codejava.net/
https://www.healthline.com/
https://www.siloamhospitals.com/

Senin, 21 Juli 2025

Restaurant Menu List In Web Page

These are restaurant menu list in webpage exercise :
1. Open your web editor.
2. Type this following Webpage source code in your web editor:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title>Restaurant Menu Unordered List In Web Page</title>
</head>
<body>
<ul>
  <li>Ayam Bakar</li>
  <li>Ayam Goreng</li>
  <li>Ayam Gulai</li>
  <li>Ayam Panggang</li>
  <li>Bakmie Ayam</li>
  <li>Bakmie Goreng</li>
  <li>Bihun Goreng</li>
  <li>Batagor</li>
  <li>Bubur Ayam</li>
  <li>Cireng</li>
  <li>Gulai Kambing</li>
  <li>Ikan Bakar</li>
  <li>Ikan Panggang</li>
  <li>Ikan Goreng</li>
  <li>Kentang Goreng</li>
  <li>Kentang Rebus</li>
  <li>Nasi Campur</li>
  <li>Nasi Goreng</li>
  <li>Pepes Ikan</li>
  <li>Roti Bakar</li>
  <li>Salad</li>
  <li>Sapi Bakar</li>
  <li>Sapi Panggang</li>
  <li>Sapi Goreng</li>
  <li>Sereal</li>
  <li>Sop Jagung</li>
  <li>Sop Wortel</li>
  <li>Soto Ayam</li>
  <li>Telur Dadar</li>
  <li>Tumis Bayam</li>
  <li>Tumis Brokoli</li>
  <li>Tumis Jamur</li>
  <li>Tumis Kangkung</li>
</ul>
</body>
</html>
3. Save as your webpage source code as restaurantmenu1.html
4. Open in your internet browser.

Output ( similar like this )

Restaurant Menu List In Web Page
Restaurant Menu List In Web Page

Notes

To see the more clear picture, click on the picture.




HTML source code, internet webpage, website page

Bibliography

https://codegym.cc/
https://tantri.id/
https://www.dicoding.com/
https://www.halodoc.com/
https://www.nestle.co.id/
https://www.unileverfoodsolutions.co.id/

Minggu, 20 Juli 2025

Netbeans IDE Parts With Picture 2

 The following list are Netbeans IDE parts list:

  1. Title Bar;
  2. Menu Bar;
  3. Quick Launch Bar And Toolbar;
  4. Reference Bar / Reference Tab;
  5. Status Bar;


  1. The Design Button;
  2. Assist Icons;
  3. The Palette Window / The UI (User Interface) Design Palette Panel;
  4. Selected Component / Selected Control;
  5. The Inspector Window / The Inspector Panel;
  6. Design Area / UI (User Interface) Design Board;
  7. The Component Properties Window;

<< back to   Netbeans IDE parts


Bibliography

https://bunghatta.ac.id/ ( university )
https://docs.oracle.com/ ( manual ebook )
https://www.sethi.org/
https://telkomuniversity.ac.id/ ( university )
https://www.helsinki.fi/ ( university )
https://www.auckland.ac.nz/ ( university )
https://netbeans.apache.org/tutorial/ ( manual ebook )

Latihan FPB Dalam Dokumen Latex Preview

1. Open the Latex editor
2. Type this following Latex code in your Latex editor:

% !TEX TS-program = pdflatex


%% File Description:

%% GCD (Great Common Divisor)

%% using Prime Factorization Division Method Table


\documentclass{article}

%% Loading the package

%------------------------

\usepackage{bookman}

\usepackage{array}

\usepackage{multirow}

\usepackage{makecell}

\usepackage{amsmath}

\usepackage{amsthm}

\usepackage{bm}

\usepackage{fullpage}

%------------------------


%% custom theorem environment

%---------------------------

%% define theorem style

\newtheoremstyle{definition}

 {\topsep} % Space above

 {\topsep} % Space below

 {} % Body font

 {} % Indent amount

 {\bfseries} % Theorem head font

 {.} % Punctuation after theorem head

 {.5em} % Space after theorem head

 {} % Theorem head spec ( can be left empty, meaning `normal` )


\theoremstyle{definition}

%\redeclaretheorem[style=normalhead]{theorem}

%% define theorem environment

\newtheorem{theorem}{Langkah}[section]

%---------------------------


%% custom table properties

%---------------------------

%% resize row height

%% use one of this command below:

%\setlength\extrarowheight{2.5pt}

\renewcommand{\arraystretch}{2}

%% resize border width can be more thick or thin

\setlength{\arrayrulewidth}{1.5pt}

%% resize space between columns and border

\setlength{\tabcolsep}{5pt}

%% new centering column type

\newcolumntype{P}[1]{>{\centering\Large{}\arraybackslash}p{#1}}

%---------------------------


%% custom preview package

\usepackage[active,floats,tightpage,multi]{preview}

\setlength\PreviewBorder{0.25pt}

\PreviewEnvironment{minipage}

%---------------------------


\begin{document}

\Large{}

\begin{minipage}{0.5\linewidth}

\section{Menentukan FPB}

Menentukan Faktor Persekutuan Terbesar (FPB) dari dua bilangan.\\[-0.75em]


Marilah kita menentukan FPB dari masalah sebagai berikut:\\

\end{minipage}


\begin{minipage}{0.5\linewidth}

\textbf{Contoh:}\\[-0.5em]


Pak Yudi memiliki 12 apel dan 18 jeruk. Apel dan jeruk tersebut akan dimasukkan ke dalam kantong plastik. Berapa kantong plastik yang dibutuhkan, jika setiap kantong berisi apel dan jeruk dengan jumlah yang sama?\\

\end{minipage}


\begin{minipage}{0.5\linewidth}

\textbf{Jawab:}\\[-0.5em]


\begin{theorem} % Langkah 1

Menentukan faktorisasi prima dari bilangan-bilangan itu:

\end{theorem}

\end{minipage}


\begin{minipage}{0.5\linewidth}

\centering

\hspace{1em}

\begin{minipage}{0.25\linewidth}

$$\begin{array}{|r}

\llap{\textbf{2}~~~~} \textbf{12} \\ \hline

\llap{\textbf{2}~~~~~~} \textbf{6} \\ \hline

\llap{\textbf{3}~~~~~~} \textbf{3} \\ \hline

\textbf{1} \\

\end{array}$$

\end{minipage}

\qquad\qquad

\begin{minipage}{0.25\linewidth}

$$

\begin{array}{|r}

\llap{\textbf{2}~~~~} \textbf{18} \\ \hline

\llap{\textbf{3}~~~~~~} \textbf{9} \\\hline

\llap{\textbf{3}~~~~~~} \textbf{3} \\ \hline

\textbf{1} \\

\end{array}

$$

\end{minipage}\bigskip

\end{minipage}


\begin{minipage}{0.5\linewidth}

\bigskip

Faktorisasi prima dari 12 adalah \\$12 = 2 \times 2 \times 3 = \mathbf{2^{2}} \times \mathbf{3}$\\

Faktorisasi prima dari 18 adalah \\$18 = 2 \times 3 \times 3 = \mathbf{2} \times \mathbf{3^{2}}$\\

\end{minipage}


\begin{minipage}{0.5\linewidth}\smallskip

\begin{theorem} %Langkah 2

Mengambil faktor yang sama dari bilangan-bilangan itu.

\end{theorem}

\hspace{0.75em} Mengambil faktor 2 dari $\textbf{2}^{\textbf{2}}$,\ $\textbf{2}$\\

\indent\hspace{0.75em} Mengambil faktor 3 dari $\textbf{3}$,\ $\textbf{3}^{\textbf{2}}$\\

\end{minipage}


\begin{minipage}{0.5\linewidth}

\indent\hspace{0.75em} FPB dari 12 dan 18 adalah\\

\indent\hspace{0.75em} 2 $\boldsymbol\times$ 3 = 6 \\[-0.5em]


Jadi, kantong plastik yang diperlukan adalah 6 buah. Setiap kantong plastik memuat 2 apel dan 3 jeruk. %, seperti terlihat pada gambar berikut.\hfill\\

\end{minipage}

\end{document}

3. Save Latex code file as mFPB1prvw.tex

4. Then build or typeset the Latex code file.
5. Then you can see the output below.

Output











Faktor Suatu Bilangan Matematika Dalam Latex Preview

1. Open the Latex editor
2. Type this following Latex code in your Latex editor:

% !TEX TS-program = pdflatex


%% File Description:

%% Number Factor 1 table

\documentclass{article}


%% Loading the package

%------------------------

\usepackage{bookman}

\usepackage{array}

\usepackage{amsmath}

\usepackage{bm}

%------------------------


%% custom table properties

%---------------------------

%% resize row height

%% use one of this command below:

%\setlength\extrarowheight{2.5pt}

\renewcommand{\arraystretch}{2}

%% resize border width, can be thicker or thinner

\setlength{\arrayrulewidth}{1.5pt}

%% new centering column type

%\newcolumntype{P}[1]{>{\centering\Large{}\arraybackslash}p{#1}}

%---------------------------


\usepackage[active,floats,tightpage,multi]{preview}

\setlength\PreviewBorder{0.25pt}

\PreviewEnvironment{page}


\begin{document}\Large{}

\begin{page}

\indent\hspace{0.75em}\vspace{-1em}

\section{ Faktor Suatu Bilangan}

\indent\hspace{0.75em}Faktor suatu bilangan adalah bilangan yang \indent\hspace{0.75em}dapat membagi habis bilangan yang lain.\\


\indent\hspace{0.75em}Cara mencari Faktor dari suatu bilangan sebagai berikut:\\


\indent\hspace{0.75em}\textbf{Contoh:}\\


\indent\hspace{0.75em}Faktor dari 8 = $\ldots$ \\

\end{page}


\begin{page}\hfill\\[0.75em]

\indent\hspace{0.75em}\textbf{Jawab:}\\


\indent\hspace{0.75em}Menentukan faktor 8 diperoleh dengan cara:\\

\end{page}


\begin{page}\hfill\\[-1.75em]

\begin{center}\LARGE{}

$\mathbf{8} \boldsymbol\div \mathbf{1} = \mathbf{8}$ \\

$\mathbf{8} \boldsymbol\div \mathbf{2} = \mathbf{4}$ \\

$\mathbf{8} \boldsymbol\div \mathbf{4} = \mathbf{2}$ \\

$\mathbf{8} \boldsymbol\div \mathbf{8} = \mathbf{1}$ \\\smallskip

\end{center}\Large{}\hfill\\[-2em]

\end{page}


\begin{page}\hfill\\[0.75em]

\indent\hspace{0.75em}atau dibuat kotak perkalian sebagai berikut:\\

%\end{page}


%\begin{table}[!htb]

\centering

\begin{tabular}{|c|c|c|c|}\hline

\LARGE{}\bfseries{Factor} & \LARGE{}\bfseries 8 & \LARGE{}\bfseries{Factor}\\\hline

 1 & $\boldsymbol\times$ & 8\\\hline

 2 & $\boldsymbol\times$ & 4\\\hline

\end{tabular}

%\caption{}

%\label{}

%\end{table}


%\begin{page}

\hfill\\[0.75em]

\indent\hspace{0.75em}Jadi, faktor dari 8 adalah 1, 2, 4, dan 8.\hfill\\

\end{page}

\end{document}

3. Save Latex code file as mFPB1prvw.tex

4. Then build or typeset the Latex code file.
5. Then you can see the output below.

Output







Jumat, 18 Juli 2025

Soal Latihan Menentukan FPB Dalam Matematika

Menentukan Faktor Persekutuan Terbesar (FPB) dari dua bilangan.

Marilah kita menentukan FPB dari masalah sebagai berikut.

Contoh Soal Latihan Matematika FPB:

Pak Yudi memiliki 12 apel dan 18 jeruk. Apel dan jeruk tersebut akan dimasukkan ke dalam kantong plastik. Berapa kantong plastik yang dibutuhkan, jika setiap kantong berisi apel dan jeruk dengan jumlah yang sama?

Jawaban Latihan Soal Matematika Dan Pembahasan Soal Matematika:

Langkah 1  Menentukan faktorisasi prima dari bilangan-bilangan itu:

12 ÷ 2 = 6
 6  ÷ 2 = 3

18  ÷ 2 = 9
  9  ÷ 3 = 3

Faktorisasi prima dari 12 adalah 12 = 2 × 2 × 3 = 22 × 3
Faktorisasi prima dari 18 adalah 18 = 2 × 3 × 3 = 2 × 32

Langkah 2  Mengambil faktor yang sama dari bilangan-bilangan itu.

22 × 3 × 2 × 32

FPB dari 12 dan 18 adalah 2 × 3 = 6

Jadi, kantong plastik yang diperlukan adalah 6 buah. Setiap kantong plastik memuat 2 apel dan 3 jeruk.





soal matematika, latihan soal, pelajaran sekolah, pelajaran matematika, kpk, fpb, bimbel matematika

Related Post