Sunday, September 24, 2023

Bahasa Pemrograman Java - Belajar 3

 Bahasa pemrograman Java mendefinisikan delapan tipe data primitif. Mereka diantaranya adalah boolean (untuk bentuk logika), char (untuk bentuk tekstual), byte, short, int, long (integral), double and float (floating point).

Variabel adalah item yang digunakan data untuk menyimpan pernyataan objek. Variabel memiliki tipe data dan nama. Tipe data menandakan tipe nilai yang dapat dibentuk oleh variabel itu sendiri. Nama variabel harus mengikuti aturan untuk identifier.

Dalam Java, ada beberapa tipe operator. Ada operator aritmatika, operator relasi, operator logika, dan operator kondisi. Operator ini mengikuti bermacam-macam prioritas yang pasti sehingga kompilernya akan tahu yang mana operator untuk dijalankan lebih dulu dalam kasus beberapa operator yang dipakai bersama-sama dalam satu pernyataan. Tipe operator antara lain Operator Aritmatika, Operator Increment dan Decrement, Operator Relasi, Operator logika, Operator Kondisi(?:), Operator Precedence.

Komentar adalah catatan yang ditulis pada kode dengan tujuan sebagai bahan dokumentasi. Teks tersebut bukan bagian dari program dan tidak mempengaruhi jalannya program. Java mendukung tiga jenis komentar: C++ style komentar satu baris, C style beberapa baris, dan komentar javadoc khusus.

Pernyataan adalah satu atau lebih baris kode yang diakhiri dengan semicolon. Sebagai contoh untuk pernyataan tunggal adalah
System.out.println(“Hello world”);

Blok adalah satu atau lebih pernyataan yang terbentang antara kurung kurawal buka dan kurung kurawal tutup yaitu sekumpulan pernyataan sebagai satu unit kesatuan. Blok pernyataan dapat dikumpulkan akan tetapi tidak secara pasti mempunyai keterkaitan fungsi. Beberapa jumlah spasi kosong diijinkan terdapat di dalamnya, sebagai contoh dari suatu blok adalah:
public static void main( String[] args ){
    System.out.println("Hello ");
    System.out.println("world");
}

Java Identifier adalah suatu tanda yang mewakili nama-nama variabel, method, class, dsb. Contoh dari Identifier adalah: Hello, main, System, out.

Kata kunci (keyword) adalah identifier yang telah dipesan untuk didefinisikan sebelumnya oleh Java untuk tujuan tertentu. Anda tidak dapat menggunakan keyword sebagai nama variabel, class, method Anda, dsb.

Source code:
public class truthtable {  
  public static void main(String[] args) {  
    boolean a, b;
   
    System.out.println( "a\tb\tNOT a\ta AND b\ta OR b\ta XOR b" );
    a = true; b = true;
    System.out.print(a + "\t" + b + "\t");
    System.out.println((!a) + "\t" + (a&b) + "\t" + (a|b) + "\t" + (a^b));
   
    a = true; b = false;
    System.out.print(a + "\t" + b + "\t");
    System.out.println((!a) + "\t" + (a&b) + "\t" + (a|b) + "\t" + (a^b));
   
    a = false; b = true;
    System.out.print(a + "\t" + b + "\t");
    System.out.println((!a) + "\t" + (a&b) + "\t" + (a|b) + "\t" + (a^b));
   
    a = false; b = false;
    System.out.print(a + "\t" + b + "\t");
    System.out.println((!a) + "\t" + (a&b) + "\t" + (a|b) + "\t" + (a^b));
  }  
}

Monday, September 11, 2023

Bahasa Pemrograman Java - Belajar 2

Apache NetBeans merupakan Integrated Development Environment atau IDE. Suatu IDE adalah lingkup pemrograman yang diintegrasikan ke dalam suatu aplikasi perangkat lunak yang menyediakan pembangun GUI, suatu text atau kode editor, suatu compiler atau interpreter dan suatu debugger. Ada 3 java builder tools yang sering digunakan saat ini dan sudah ada di dalam Apache Netbeans. Build tools adalah program yang mengotomatiskan proses eksekusi aplikasi dari suatu source code.




Ant adalah java builder legendaris bawaan hampir semua IDE java seperti netbeans dan eclipse. Namun ketika butuh library seperti pengolahan data berbasis tabular (table saw) yang menggunakan Maven dan Gradle untuk repository, ini jadi kesulitan di Ant.

/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Main.java to edit this template
 */
package javaapplication1;

/**
 *
 * @author dell
 */
public class JavaApplication1 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        System.out.println("Hello, World!");
    }
   
}


Maven menggunakan XML untuk melakukan pengaturan dependencies-nya tidak sepraktis gradle. Namun ketika kita akan buat package *.jar memang agak susah, tidak seperti di Ant dengan klik Build saja. 

/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 */

package com.webiotid.mavenproject1;

/**
 *
 * @author dell
 */
public class Mavenproject1 {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}


Gradle juga digunakan pada android bila kalian buat aplikasi berbasis android, maka tools builder ini yang digunakan. Gradle adalah build tools yang tidak spesifik terhadap satu bahasa pemrograman tertentu, sedangkan Maven spesifik untuk membantu membuat project yang kita buat menggunakan Java. Gradle sering disebut sebagai build-tool, secara umum menggunakan bahasa pemrograman Groovy.

/*
 * This Java source file was generated by the Gradle 'init' task.
 */
package gradleproject1;

public class App {
    public String getGreeting() {
        return "Hello World!";
    }

    public static void main(String[] args) {
        System.out.println(new App().getGreeting());
    }
}




Sunday, September 10, 2023

Bahasa Pemrograman Java - Belajar1

Java adalah bahasa pemrograman tujuan umum yang kuat. Ini digunakan untuk mengembangkan aplikasi desktop dan seluler, pemrosesan data besar, sistem tertanam, dan sebagainya. Menurut Oracle, perusahaan pemilik Java, Java berjalan di 3 miliar perangkat di seluruh dunia, menjadikan Java salah satu bahasa pemrograman paling populer.


Java adalah bahasa pemrograman yang populer.

Java digunakan untuk mengembangkan aplikasi seluler, aplikasi web, aplikasi desktop, game, dan banyak lagi.


Java adalah bahasa pemrograman dan platform komputasi yang pertama kali dirilis oleh Sun Microsystems pada tahun 1995. Java telah berevolusi dari awal yang sederhana hingga memberdayakan sebagian besar dunia digital saat ini, dengan menyediakan platform yang andal di mana banyak layanan dan aplikasi dibangun. Produk-produk baru dan inovatif serta layanan digital yang dirancang untuk masa depan juga terus mengandalkan Java.



Langkah pertama dalam pembuatan sebuah program berbasis Java adalah menuliskan kode program pada text editor. Contoh text editor yang dapat digunakan antara lain: notepad, vi, emacs dan lain sebagainya. Kode program yang dibuat kemudian tersimpan dalam sebuah berkas berekstensi .java.

Setelah membuat dan menyimpan kode program, kompilasi file yang berisi kode program tersebut dengan menggunakan Java Compiler. Hasil dari kompilasi berupa berkas bytecode dengan ekstensi .class.

Berkas yang mengandung bytecode tersebut kemudian akan dikonversikan oleh Java Interpreter menjadi bahasa mesin sesuai dengan jenis dan platform yang digunakan.



Code:

public class helloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}

Friday, June 23, 2023

Resolve problem of MySQL on XAMPP

7:47:48 PM  [mysql] Error: MySQL shutdown unexpectedly.

7:47:48 PM  [mysql] This may be due to a blocked port, missing dependencies, 

7:47:48 PM  [mysql] improper privileges, a crash, or a shutdown by another method.

7:47:48 PM  [mysql] Press the Logs button to view error logs and check

7:47:48 PM  [mysql] the Windows Event Viewer for more clues

7:47:48 PM  [mysql] If you need more help, copy and post this

7:47:48 PM  [mysql] entire log window on the forums

___________________________________________________________________________

2023-06-23 19:47:48 0 [Note] Starting MariaDB 10.4.28-MariaDB source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7 as process 17424
2023-06-23 19:47:48 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2023-06-23 19:47:48 0 [Note] InnoDB: Uses event mutexes
2023-06-23 19:47:48 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2023-06-23 19:47:48 0 [Note] InnoDB: Number of pools: 1
2023-06-23 19:47:48 0 [Note] InnoDB: Using SSE2 crc32 instructions
2023-06-23 19:47:48 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2023-06-23 19:47:48 0 [Note] InnoDB: Completed initialization of buffer pool
2023-06-23 19:47:48 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2023-06-23 19:47:48 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2023-06-23 19:47:48 0 [Note] InnoDB: Setting file 'D:\xampp8\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2023-06-23 19:47:48 0 [Note] InnoDB: File 'D:\xampp8\mysql\data\ibtmp1' size is now 12 MB.
2023-06-23 19:47:48 0 [Note] InnoDB: Waiting for purge to start
2023-06-23 19:47:49 0 [Note] InnoDB: 10.4.28 started; log sequence number 4909603; transaction id 5570
2023-06-23 19:47:49 0 [Note] InnoDB: Loading buffer pool(s) from D:\xampp8\mysql\data\ib_buffer_pool
2023-06-23 19:47:49 0 [Note] Plugin 'FEEDBACK' is disabled.
2023-06-23 19:47:49 0 [Note] InnoDB: Buffer pool(s) load completed at 230623 19:47:49
2023-06-23 19:47:49 0 [Note] Server socket created on IP: '::'.






AND How to resolve this problem is:
Go to xampp/mysql directory
Rename the /data folder to /data_old
Copy the /backup folder and paste in same place
Rename the /backup_copy folder to /data
Go to /data_old folder and copy all your database folder expect phpmyadmin, mysql, performance_schema
Go to /data folder and paste all database folder copied from /data_old
Go to /data_old folder again and copy ibdata1 file
Go to /data folder again and paste ibdata1 file here
Restart MySQL button server again. twice in my case to make it work.



Saturday, May 27, 2023

How to copy files fast over network or LAN using cmd robocopy on Windows

Before run robocopy, you must know source and destination network or LAN

open CMD and run

ex copy 

from D:\

to \\YOUR-PC\D\

robocopy D:\ \\YOUR-PC\D\ /E /Z /ZB /XO /R:5 /W:5 /TBD /NP /V /MT:16



Notes:

/E — Copy Subdirectories, including empty ones.

/Z — Copy files in restart-able mode.

/ZB — Uses restart-able mode. If access is denied, use backup mode.

/XO — Exclude files that are older than those they're being copied over (skip for existing files)

/R:5 — Retry 5 times (you can specify a different number, the default is 1 million).

/W:5 — Wait 5 seconds before retrying (you can specify a different number, the default is 30 seconds).

/TBD — Wait for share names To Be Defined (retry error 67).

/NP — No Progress – don’t display percentage copied.

/V — Produce verbose output, showing skipped files.

/MT:16 — Do multithreaded copies with n threads (default is 8).

/compress — Enables SMB compression to speed up transfers over the network.

Wednesday, May 17, 2023

Modul dan Sistem informasi aplikasi Berbasis web full source code framework Codeigniter

 7 Paket dan 3 Paket Modul dan Sistem informasi aplikasi Berbasis web full source code framework Codeigniter versi 3


Kami menyediakan sistem aplikasi berbasis web dengan framework codeigniter. 3 modul masuk dalam 7 folder controller, model dan view.


Kami akan kirimkan link contoh aplikasi via chat.

Jika ada pengiriman, itu hanya amplop link coding. Namun jika sudah ACC tanpa pengiriman, maka segera untuk klik Selesaikan pesanan dan kami harapkan bintang 5


kunjungi dan chat kami untuk informasi lebih lanjut. jangan lupa nantikan versi 9 Paket CI.


Welcome to CodeIgniter!

The page you are looking at is being generated dynamically by CodeIgniter.


If you would like to edit this page you'll find it located at:


application/views/welcome_message.php

The corresponding controller for this page is found at:


application/controllers/Welcome.php


BERIKUT 3 PILIHAN MODUL APLIKASI SISTEM INFORMASI BERBASIS WEB FRAMEWORK CODEIGNITER VERSI 3


- Aplikasi Hak Akses


- Aplikasi Log Activity


- Aplikasi Ajax dan SSP(Server Side Processing)



BERIKUT 7 PILIHAN MODUL APLIKASI SISTEM INFORMASI BERBASIS WEB FRAMEWORK CODEIGNITER VERSI 3


- Aplikasi User/ Pengguna


- Aplikasi Hak Akses


- Aplikasi Log Activity


- Aplikasi Ajax dan SSP(Server Side Processing)


- Aplikasi Laporan Document (Upload Excel - Print Pdf)


- Aplikasi Wisuda


- Aplikasi Inventory (Purchasing, Gudang, Produksi, Finish Good)


* Ubah application/config/routes -> $route['default_controller'] = 'welcome'; sesuai dengan aplikasi yang akan anda tuju menjadi indeks

try it

Full source code

free and bayar

https://shope.ee/AyXGy1x4c 


<?php
defined('BASEPATH') or exit('No direct script access allowed');

/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
|   example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
|   http://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There are three reserved routes:
|
|   $route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
|   $route['404_override'] = 'errors/page_missing';
|
| This route will tell the Router which controller/method to use if those
| provided in the URL cannot be matched to a valid route.
|
|   $route['translate_uri_dashes'] = FALSE;
|
| This is not exactly a route, but allows you to automatically route
| controller and method names that contain dashes. '-' isn't a valid
| class or method name character, so it requires translation.
| When you set this option to TRUE, it will replace ALL dashes in the
| controller and method URI segments.
|
| Examples: my-controller/index -> my_controller/index
|       my-controller/my-method -> my_controller/my_method
*/
$route['default_controller'] = 'welcome';
$route['akses'] = 'akses/home';
$route['users'] = 'users/home';
$route['log'] = 'log/home';
$route['ssp'] = 'ssp/home';
$route['doc'] = 'doc/home';
$route['wisuda'] = 'wisuda/home';
$route['inventory'] = 'inventory/home';
$route['404_override'] = 'My404';
$route['translate_uri_dashes'] = TRUE;

Saturday, April 8, 2023

Aneka Aplikasi dengan Bahasa Pemrograman C++ (cpp/ c plus plus)

 C++ adalah salah satu bahasa pemrograman yang populer dan dibuat oleh Bjarne Stroustrup. C++ telah mendukung konsep Pemrograman Berorientasi Objek (Object Oriented Programming) inilah yang membedakan C++ dengan bahasa C.

Bahasa pemrograman C adalah bahasa pemrograman komputer yang bertujuan secara umum untuk Sistem Operasi Unix di Bell Telephone Laboratories yang dibuat pada tahun 1972 oleh Dennis Ritchie. Secara desainnya, fitur C jelas memiilki target yang mencerminkan kemampuan CPU.


C++ pada awalnya disebut sebagai "C dengan Kelas" (C With Classes) dan diciptakan untuk memiliki fitur pemrograman berorientasi objek. Karena C++ berdasarkan dari C, maka kebanyakan kode C bisa dirakit di kompilator C++ dengan mudah. Perbedaan keduanya seperti kata "new" dan "delete" terdapat di kode C dan tidak bisa dirakit di C++ karena kata-kata ini adalah bentuk (message) C++. Pustaka C biasanya bisa diimpor ke pustaka C++, tapi karena kompilator C dan C++ memiliki "name mangling" yang berbeda, maka perubahan kecil di kode C perlu dilakukan.


Kompilasi di C++ merupakan proses mengubah code menjadi bahasa komputer sebagaimana komputer hanya mengerti instruksi 1 dan 0. Standarisasi C++ telah dikeluarkan mulai tahun 1998 hingga yang terbaru pada tanggal 12 Agustus 2011 yang diterbitkan sebagai C++. 

Berikut compiler yang telah menggunakan C++:


IDE Platform Command

GCC Linux g++ -std=c++0x example.cpp -o example_program


Clang OS X clang++ -std=c++11 -stdlib=libc++ example.cpp -o example_program



Untuk memudahkan pengguna mengkompilasi program C++ dengan menggunakan Integrated Development Environment (IDE). Berikut beberapa IDE yang mendukung bahasa C++:


IDE Platform

Code::Blocks Windows, Linux, macOS

Dev-C++ Windows

Visual Studio Code Windows, Linux, macOS

Visual Studio Windows



There are good free C++ compilers available for all major OS platforms:

Gnu Compiler Collection: Includes g++, a popular C++ compiler. A build for Windows is available here, builds for other platforms are likely available via your platform’s package manager, or you can build it yourself using instructions here.

Clang: A new open-source C++ compiler for various platforms.

Visual C++ 2017 Community: A free Windows C++ compiler by Microsoft.

Embarcadero: A free Clang-based C++ compiler by Embarcadero.

Oracle Solaris Studio C++ Compiler: A C++ compiler for Solaris and some distributions of Linux, free for all commercial and non-commercial use.

IBM XL C/C++ Compiler: A Clang-based Community Edition is available for Linux on Power, free for production use.




Struktur Dasar Struktur adalah susunan, dasar adalah bagian paling bawah, dapat disimpulkan bahwa struktur dasar adalah yang paling mendasar dari C++. Input Output Proses input dan output merupakan hal yang penting agar kita dapat berinteraksi dengan program. Di dalam C++ terdapat beberapa fungsi untuk melakukan input dan output. Tipe Data Setiap tipe data digunakan untuk menampung konten yang berbeda. Tipe data yang menentukan jenis dari konten yang akan diisikan ke dalam variabel.


Operator

Operator meliputi operasi aritmatika dasar seperti penambahan, pengurangan, perkalian, dan pembagian. Selain aritmatika dasar, terdapat juga operator-operator lainnya yaitu assignment, unary, equality and relational, dan condition.


Percabangan

Jalannya suatu program pasti akan bergantung pada kondisi yang dipilih. Untuk itu kita memerlukan percabangan yang berfungsi sebagai control flow statement atau statement yang dapat mengontrol alur jalan suatu kode berdasarkan kondisinya.


Perulangan

Perulangan adalah kode yang bisa kita gunakan untuk mengulang beberapa instruksi kode, seperti for, while, dan do-while.


Array

Array adalah kumpulan data yang dimasukkan ke dalam satu objek.


Fungsi

Fungsi adalah kumpulan dari beberapa statement yang melakukan tugas tertentu dan dapat dipanggil di dalam fungsi lainnya.


Header

Header adalah file yang berisi kumpulan fungsi dan variabel yang digunakan ke dalam program C++.



__________________________________________________________________________
Problem
CodeBlocks C++ program not running
Resolve
go to "Compiler Settings" ("Settings" -> "Compiler" -> Global compiler settings), and Click "Reset Defaults". Ini akan mencari lokasi minGW yang sudah ada di komputer. Pastikan MinGW sudah terinstall sebelumnya.



Saturday, March 25, 2023

How to install Android SDK platform tools and AVD on Windows 10 with Apache Netbeans

Android SKD (Software Development Kit) merupakan alat yang digunakan oleh para developer aplikasi mobile untuk mengembangkan aplikasi berbasis Android. Perangkat lunak ini dikembangkan oleh Google untuk platform Android. Di dalamnya, terdapat beberapa tools seperti debugger, emulator, documentations, sample code, software libraries, dan tutorial-tutorial yang memudahkan pengembang aplikasi.

Java SE Development kit salah satu contoh dari Android SDK dan menjadi bahasa pemrograman yang paling sering digunakan untuk mengembangkan aplikasi Android. Ada beberapa bahasa lainnya seperti C++, Go, Groovy, Java, dan Kotlin yang dapat menjadi bahasa pemrograman yang memudahkan pengembang dalam membuat aplikasi berbasis mobile.




Sebagai bahan bacaan, kawan-kawan dapat mencarinya pada beberapa link berikut:

https://github.com/NBANDROIDTEAM/NBANDROID-V2 

https://www.oracle.com/java/technologies/downloads/#java11-windows

https://netbeans.apache.org/download/nb111/nb111.html

https://developer.android.com/studio/releases/gradle-plugin#compatibility-7-4-0 

https://developer.android.com/distribute/google-play/resources/icon-design-specifications 

https://developer.android.com/studio/run/emulator-acceleration#vm-windows-whpx 

https://learn.microsoft.com/id-id/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v 


Build Android Studio app via command line

Android Studio automatically creates a Gradle wrapper in the root of your project, which is how it invokes Gradle. The wrapper is basically a script that calls through to the actual Gradle binary and allows you to keep Gradle up to date, which makes using version control easier. To run a Gradle command, you can simply use the gradlew script found in the root of your project (or gradlew.bat on Windows) followed by the name of the task you want to run. For instance, to build a debug version of your Android application, you can run ./gradlew assembleDebug or gradlew debug from the root of your repository. In a default project setup, the resulting apk can then be found in app/build/outputs/apk/app-debug.apk. On a *nix machine, you can also just run find . -name '*.apk' to find it, if it's not there.


Failed to resolve: com.android.support:appcompat-v7:33.++

My suggestion is implement com.android.support:appcompat-v7:28.0.0 refer to https://dl.google.com/dl/android/maven2/com/android/support/appcompat-v7/maven-metadata.xml or by enable jetifire by adding the line below to your gradle.properties file

android.enableJetifier=true


error: package android.support.v7.widget does not exist import

use AndroidX library, add implementation 'androidx.appcompat:appcompat:1.1.0' in your app build.gradle (in app folder/ sub project). Then write

import androidx.appcompat.widget.Toolbar in class and replace <android.support.v7.widget.Toolbar/> with <androidx.appcompat.widget.Toolbar/> in XML layout.


error: method does not override or implement a method from a supertype     @Override



Android Gradle Plugin with Gradle version

When you update Android Studio, you may receive a prompt to also update Gradle to the latest available version. You can choose to accept the update or manually specify a version based on your project's build requirements. https://developer.android.com/studio/releases/gradle-plugin#updating-gradle . The following example sets the Gradle version to 7.5 using the Gradle Wrapper. Note, you need to run this command twice to upgrade both Gradle and the Gradle Wrapper itself (for more information, see Upgrading the Gradle Wrapper).

gradle wrapper --gradle-version 7.5

However this might fail in some cases, for example if you've just updated AGP and it's no longer compliant with the current Gradle version. In this case, you need to edit the Gradle distribution reference in the gradle/wrapper/gradle-wrapper.properties file. The following example sets the Gradle version to 7.5 in the gradle-wrapper.properties file.

...

distributionUrl = https\://services.gradle.org/distributions/gradle-7.5-bin.zip

...


Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file 

SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable

Open local.properties file and paste your Android SDK path like below:

For Windows users:

sdk.dir=C:\\Users\\User-PC\\AppData\\Local\\Android\\sdk

or (for newer versions of Android Studio / IntelliJ IDEA):

sdk.dir=C\:\\Users\\User-PC\\AppData\\Local\\Android\\sdk

Make sure the folder is sdk or Sdk.

For Mac users:

sdk.dir = /Users/USERNAME/Library/Android/sdk

Where USERNAME is your OSX username.

For Linux (Ubuntu) users:

sdk.dir = /home/USERNAME/Android/Sdk

Where USERNAME is your linux username (Linux paths are case-sensitive: make sure the case of S in Sdk matches) 


java source base version 4 netbeans plugins

Downgrade to Apache Netbeans-11.1 nd JDK 11 https://www.oracle.com/java/technologies/downloads/#java11-windows https://netbeans.apache.org/download/nb111/nb111.html


send file to android emulator or How to copy files to Android emulator instance or transfer files to android emulator from pc

One easy way is to drag and drop. It will copy files to /sdcard/Download. You can copy whole folders or multiple files. Make sure that "Enable Clipboard Sharing" is enabled. (under ...-> Settings)


buildtoolsversion for compilesdkversion or Android gradle: buildtoolsVersion vs compileSdkVersion

compileSdkVersion is the API version of Android that you compile against. buildToolsVersion is the version of the compilers (aapt, dx, renderscript compiler, etc...) that you want to use. For each API level (starting with 18), there is a matching .0.0 version.

At IO 2014, we release API 20 and build-tools 20.0.0 to go with it. see it in build.gradle:

android {
  compileSdkVersion 32
  buildToolsVersion '30.0.3'
....
}

Between Android releases we will release updates of the compilers, and so we'll release version .0.1, .0.2, etc... Because we don't want to silently update these version under you, it's up to you to move to the new version when it's convenient for you. You can use a higher version of the build-tools than your compileSdkVersion, in order to pick up new/better compiler while not changing what you build your app against.


Configure VM acceleration using Windows Hypervisor Platform

https://developer.android.com/studio/run/emulator-acceleration#vm-windows-whpx or https://learn.microsoft.com/id-id/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v 
https://github.com/intel/haxm, https://github.com/intel/haxm/releases, https://github.com/intel/haxm/blob/master/docs/manual-windows.md, https://learn.microsoft.com/en-us/windows-hardware/drivers/other-wdk-downloads?source=recommendations


Can I run Android Studio (Android SDK emulator) in a Microsoft hyper-v virtual machine?

Refer to this link: How to run Android Studio on Windows without disabling Hyper-V. The solution (if you do not want to disable Hyper-V) is to use Microsoft’s Android emulator, which is a free download here. In order to use this with Android Studio, you need to run the emulator first. Then, in Android Studio, go to Run > Edit Configurations... and select Show Device Chooser Dialog under Deployment Target Options. Run your project, and select the VS Emulator, ignoring the invitation to “Turn off Hyper-V”.


Fully change package name including company domain

current package : com.company.name 
New package : com.mycomapny.name 
Steps: 1) Suppose you are at this screen which is shown below. 
enter image description here
2) Open project pane and click on settings icon.
3) Deselect Compact Empty Middle Packages.
4) Then your package is now broken into individual parts as shown below.
5) right click on "company" select Refactor -> select rename ->rename directory.
6) Now your "company" has been changed to new "mycomapny" and changes.
7) Now change the package name in AndroidManifest.xml file.
8) Open app level build.gradle and change package name.
9) you will get errors as Cannot resolve symbol "R".
10) Remove line which gives this error and studio will import new R file automatically.
11) If you have multiple files then use find and replace option by pressing " Cntrl+Shift+R ".
Or " Select Edit->Find->Replace in path.."
12) select Replace All.

or change the package name manually in the manifest file. Click on your R.java class and the press F6 (Refactor->Move...). It will allow you to move the class to other package, and all references to that class will be updated.


Saturday, March 11, 2023

Kisi-kisi Soal UTS dan UAS Kalkulus Beserta Jawaban

1. Diketahui y = ln(x5+5), maka y′ adalah ....

a) 5x4+5

b) x4 / (x5+5)

c) x5+5 / (x5+5)

d) x5+5

e) (5x4) / (x5+5)


2. Diketahui y = ln(x+1), maka y′ adalah ....

a) 1 / (x2+1)

b) x2 / (x)

c) x / (x+1)

d) x2 / (x2+1)

e) 1 / (x+1)


3. Solusi y’ untuk persamaan y = ln(sin x + 1) adalah ....

a) sin x / (cos x + 1)

b) 1 / (sin x)

c) -cos x / (x+1)

d) sin x / (x+1)

e) cos x / (sin x +1)


4. Diketahui y =x2+3y-24, maka y′ adalah ....

a) x2+3 (dy/dx)

b) x+3 (dy/dx)

c) 2x-3 (dy/dx)

d) x-3 (dy/dx)

e) 2x+3 (dy/dx)


5. Diketahui y =x2+5xy+4, maka y′ adalah ....

a) 2 (x (dy/dx) + y)

b) 5 (x (dy/dx) + y)

c) x-5 (x (dy/dx) + y)

d) x2 + 5 (x (dy/dx) + y)

e) 2x + 5 (x (dy/dx) + y)


6. Solusi turunan dari x2+y2 = 16 adalah ....

a) 2x+2y (dy/dx)

b) 2x2+2y (dy/dx)

c) 2x+2y2 (dy/dx)

d) 2x2+2y2 (dy/dx)

e) x2+2y (dy/dx)


7. Solusi turunan dari x2+y2 = 8xy adalah ....

a) 2x + 2y(dy/dx) - 8(y+x(dy/dx))

b) 2x + 2y(dy/dx) - (8y+8x(dy/dx))

c) x2 + y2(dy/dx) - 8(y+x(dy/dx))

d) 2x + 2y(dy/dx) - (y+x(dy/dx))

e) 2x + 2y(dy/dx) - (y2+x2(dy/dx))


8. Solusi untuk ∫ (5x2)2 dx adalah ....

a) x5 + c

b) (2x5/5) + c

c) (2x5) + c

d) (1/5)x + c

e) (x5) + 2x3 + c


9. Solusi untuk ∫ (x2 + 3)2 dx adalah ....

a) (x5/5) + 2x3 + 9x + c

b) (2x5/5) + 2x3 + 9x + c

c) (2x5) + 2x3 + 9x + c

d) (1/5) + 2x3 + 9x + c

e) (x5) + 2x3 + 9x + c


10. Solusi untuk ∫ (√x) + 3 dx adalah ....

a) (⅔)x3/2 + 3x + c

b) (2/x5) + 3x + c

c) (2x5/2) + 3x + c

d) (⅓)x + 3x + c

e) (x5/2) + 3x + c


11. Solusi untuk ∫ ∛x2 dx adalah ....

a) (⅔)x5 + c

b) (2x5/5) + c

c) (⅗)x5/3 + c

d) (⅕)x3 + c

e) (x5/3) + c


12. Solusi untuk ∫ 1/(√x2+1) dx adalah ....

a) (1/2x) + x + c

b) ln (2x) + x + c

c) ln |(√x2+1) + x| + c

d) √2x3 + x + c

e) 2x3 + x + c


13. Solusi untuk ∫ (x3) / (x4+1) dx adalah ....

a) (¼)x5 + 2x4 + x + c

b) (⅓)x4 + 2x3 + x + c

c) ¼ ln |x4+1| + c

d) (⅕)x4 + ln 2x3 + x + c

e) ln (x5) + x + c


14. Solusi untuk ∫ (2x + 3) / (√3x2+9x-1) dx adalah ....

a) (√3x2+9x-1) + c

b) (√3x2+9x-1) + x + c

c) ⅔ (√3x2+9x-1) + c

d) (3x2+9x-1) + c

e) (1 / (√3x2+9x-1)) + c


15. Solusi untuk ∫ (√3x2) dx adalah ....

a) (x) / 3 + c

b) (√3x2) / 2 + c

c) ((√3) x2) / 2) + c

d) (1/5)x + c

e) (3 / 2x) + c


16. Perhatikan gambar berikut!

Persamaan yang tepat untuk mencari luas daerah a dan b adalah ....

a) ∫ab (f(x)) dx b) ∫ab (f(b) + f(a)) dx c) ∫ab (f(b) - f(a)) dy

d) ∫ab (f(y) - f(x)) dx e) ∫ab (f(y)) dy


17. Perhatikan gambar berikut!

Persamaan yang tepat untuk mencari luas daerah seperti grafik di atas adalah ....

a) ∫03 (∛x) dx b) ∫03 (∛x + 3) dx c) ∫03 (2x∛x) dx

d) ∫03 (x∛x) dx e) ∫03 (3∛x) dx


18. Perhatikan gambar berikut!

Persamaan yang tepat untuk mencari luas daerah seperti grafik di atas adalah ....

a) ∫01 (x2) dx b) ∫01 (x + 1) dx c) ∫01 (x∛2x) dx

d) ∫01 (x∛x) dx e) ∫01 (x) dx


19. Luas daerah yang dibatasi oleh y = x dan y = x2 - 4x +4 serta dibatasi oleh sumbu x adalah ....

a) 5/6 satuan luas

b) ⅔ satuan luas

c) 2 satuan luas

d) 0 satuan luas

e) 4 satuan luas


20. Volume daerah yang dibatasi oleh y = x3 , y = 0 , x = 2 diputar terhadap garis x = 2 adalah ....

a) 16/5 π satuan volume

b) ⅔ π satuan volume

c) π satuan volume

d) 2π satuan volume

e) 3π satuan volume


21. Volume benda putar yang terjadi jika daerah yang dibatasi oleh kurva y = x + 2 , x = 0 , x = 3, diputar mengelilingi sumbu x adalah ....

a) 3π satuan volume

b) 13π satuan volume

c) 23π satuan volume

d) 30π satuan volume

e) 39π satuan volume


22. Solusi untuk ∫01x2x (x2 + y) dydx adalah ....

a) 2

b) 1 ½ 

c) 1 ¾

d) 1

e) ¾


23. Solusi untuk ∫01y2y (x2) dxdy adalah ....

a) ⅛

b) ⅔

c) 6/10

d) 7/10

e) 7/12


24. Solusi untuk ∫x2=0yx=0 z2x=0 (2xyz) dxdydz adalah ....

a) x

b) 4x

c) 4x2

d) 4x3

e) 4x4


25. Solusi untuk ∫x4=0yx=0 zy=0 (xyz) dxdydz adalah ....

a) x/4

b) x

c) x2

d) x3

e) x4


1. Nilai x yang memenuhi x2 - 3x - 2 < 4 - 2x adalah....

a) 2 < x < 3

b) -3 < x < 2

c) -3 < x < -2

d) 2 < x ≤ 3

e) -2 < x < 3


2. Nilai x yang memenuhi pertidaksamaan x2 - 6x - 2 ≥ 4 - 2x2 adalah....

a) x ≤ (-√3) atau x ≥ (√3)

b) x ≤ (-√3) + 6 atau x ≥ (√3) + 6

c) x ≤ -2 atau x ≥ 2

d) x ≤ -1 atau x ≥ 1

e) x ≤ (-√3) + 1 atau x ≥ (√3) + 1


3. Perhatikan gambar berikut!

Pertidaksamaan yang tepat untuk garis bilangan di atas adalah....

a) x2 + 1 ≥ 2 - x

b) x2 + 2 ≥ 2 - x

c) x2 ≥ 2 + x2

d) x2 ≥ 1 - x

e) x2 ≥ 2 - x


4. Nilai x yang memenuhi pertidaksamaan x2 - x < 6 adalah....

a) 2 < x < 3

b) -3 < x < 2

c) -3 < x < -2

d) 2 < x ≤ 3

e) -2 < x < 3


5. Nilai x yang memenuhi pertidaksamaan ((x2 - 2x) / x) < 6 adalah....

a) 0 < x ≤ 2

b) 0 < x < 6

c) 0 < x ≤ 6

d) x < 0 atau 0 < x < 6

e) x < 0 atau 0 < x < 8


6. Nilai x yang memenuhi pertidaksamaan y - x + 1 < 0 dan 2x + y > 2 adalah....

a) x > 1 b) x < 1 c) y < 1 d) y > 1 e) x > 3


7. Nilai x yang memenuhi pertidaksamaan |5x + 4| < -3 adalah ….

a) Tidak ada solusi

b) -1 < x < 0

c) -1 < x < 5

d) -3 < x < 0

e) 0 < x ≤ 2


8. Nilai x yang memenuhi pertidaksamaan |((x2 - 2x) / x)| < 2 adalah....

a) 0 < x < 4

b) 0 < x < 2

c) -2 < x < 2

d) 1 < x < 4

e) Tidak ada solusi


9. Persamaan lingkaran dengan pusat (-3,1) dan menyinggung 4x − 3y + 5 = 0 adalah….

a) x2 + y2 + 6x − 2y + 6 = 0

b) x2 + y2 + 3x − 2y + 6 = 0

c) x2 + y2 + x − 2y + 6 = 0

d) x2 + y2 + 6x − y + 6 = 0

e) x2 + y2 + 3x − y + 6 = 0


10. Perhatikan gambar berikut!

Persamaan lingkaran yang tepat sesuai dengan gambar di atas adalah….

a) x2 + y2 = 1

b) x + y = 1

c) 2x2 + 2y2 = 1

d) 2x2 + y2 = 2

e) x2 + 2y2 = 1


11. Persamaan salah satu garis singgung pada lingkaran x2 + y2 = 12 yang melalui titik p(0,4) adalah....

a) (√3)x + 3y = 12

b) (√3) + 3y = 12

c) x + y = 12

d) (√3)x2 + 3y = 12

e) (√3)x + y = 4


12. Perhatikan gambar berikut!

Fungsi yang tepat untuk grafik di atas adalah....

a) f(x) = |x + 1|

b) f(x) = |x|

c) f(x) = |x - 1|

d) f(x) = x + 10

e) f(x) = x + 5


13. Daerah asal (domain) untuk fungsi f(x) = 3x - 1 dari daerah hasil (kodomain/ range) (-8,5) adalah....

a) 0 < x < 1

b) -∞ < x ≤ 6

c) -2 < x < 2

d) 0 < x ≤ 2

e) 0 < x < ∞


14. Suatu fungsi f: R → R dan g: R → R dimana f(x) = 3x2 – 5 dan g(x) = 2x + 7, maka hasil dari (f o g)(-3) adalah....

a) -4 b) -2 c) 3 d) 124 e) 502


15. Jika diketahui f(x) = 2x + 7 dan f(g(x)) = 5x – 3, maka nilai g(8) adalah....

a) 34 b) 28 c) 24 d) 14 e) 15


16. Solusi untuk ∫ (sin2 x) dx adalah ....

a) ½(x - ½(sin 2x)) + c

b) cos x + c

c) x - ½ sin (2x) + c

d) x - ½ sin (x) + c

e) x - sin (2x) + c


17. Solusi untuk ∫ (cos2 3x) dx adalah ....

a) ½(x + ⅙(sin 6x)) + c

b) x + ⅙(sin 6x) + c

c) x + ⅙(sin 12x) + c

d) ¼(x + ⅙(sin 6x)) + c

e) 1/12(x + ⅙(sin 6x)) + c


18. Solusi untuk ∫ (sin2 2x) dx adalah ....

a) ½(x - ¼ (sin 2x)) + c

b) ½(x - ½(sin 2x)) + c

c) x - ½(sin 2x) + c

d) x - ¼(sin 2x) + c

e) ¼(sin 2x) + c


19. Solusi untuk ∫ 2x3 (√1+x4) dx adalah ....

a) ⅓ (1+x4)3/2 + c

b) √3x4 + c

c) ⅓ x + 2x3 + c

d) (√1+x4) + c

e) (√1+x4) + x + c


20. Solusi untuk ∫ (x5) / (2x6+5) dx adalah ....

a) (1/12) (ln |2x6+5|) + c

b) (2x6+5) + c

c) (⅕ x5) (2x6+5) + c

d) (1/5) (2x6+5) + c

e) x5 + 2x6 + 5 + c


21. Solusi untuk ∫ (dx) / (e5 -5) adalah ....

a) (e5/5) - 5x + c

b) ((e5 -5) / x) + c

c) ⅕ (e5 -5)x + c

d) (e5 -5)x + c

e) (1 / (e5 -5))x + c


22. Solusi untuk ∫ ln(x) dx adalah ....

a) x + c

b) x ln(x) + c

c) ln(x) + c

d) (1) / ln(x) + c

e) x ln(x) - x + c


23. Solusi untuk ∫ x ln(x) dx adalah ....

a) x ln(x) + c

b) x ln(x) + c

c) ln(x) + c

d) x ln(x) - ¼ (x2) + c

e) ½ (x2) ln(x) - ¼ (x2) + c


24. Solusi untuk ∫ x sin ax dx adalah ....

a) -sin ax + c

b) -cos ax + c

c) x + sin ax + c

d) ⅕ x - cos (a) + c

e) ⅓ x3 sin (a) + c


25. Solusi untuk ∫ (e)¼ x dx adalah ....

a) (x5) + e + c

b) ¼ (ex) + c

c) 4(ex) + c

d) ¼ x + e¼ x + c

e) 4e¼ x + c



1. Diketahui f(x) = 2x(cosx), maka ∫ f(x) dx adalah ....

a) 2x sinx + 2x cosx + c

b) 2x sinx + c

c) 2x sinx + x + c

d) 2x sinx + x2 + c

e) 2x sinx + 2cosx + c


2. Diketahui f(x) = x2(cos3x), maka ∫ f(x) dx adalah ....

a) ⅓ (x2 sinx) + 2/9 (x cosx) + 2/27 (sinx) + c

b) ⅓ (x2 sin3x) + 2/9 (cos2x) + 2/27 (sin3x) + c

c) ⅓ (x2 sin3x) + 2/9 (cos3x) + 2/27 (sin3x) + c

d) ⅓ (x2 sin3x) + 2/9 (x cosx) + 2/27 (sinx) + c

e) ⅓ (x2 sin3x) + 2/9 (x cos3x) + 2/27 (sin3x) + c


3. Konvergen akan terjadi ketika terdapat limit pada integral tak sebenarnya dan nilai limit adalah nilai integral itu. Namun jika limitnya tidak ada, maka integral tak sebenarnya akan ....

a) hyperbola

b) parabola

c) sejajar

d) non linier

e) divergen


4. Solusi ∫ f(x) dx untuk persamaan f(x) = 5x4 / x2 adalah ....

a) 5/3 (5x3) + c

b) 5/3 (4x3) + c

c) 5/3 (3x3) + c

d) 5/3 (2x3) + c

e) 5/3 (x3) + c


5. Solusi ∫ f(x) dx untuk persamaan f(x) = ⅔ (x sin3x) adalah ....

a) -⅔ (x cos3x) + ⅔ (sin3x) + c

b) 2/9 (x cosx) + 2/27 (sin2x) + c

c) -2/9 (x cosx) + 2/27 (sin2x) + c

d) 2/9 (x cos3x) + 2/27 (sin3x) + c

e) -2/9 (x cos3x) + 2/27 (sin3x) + c


6. Solusi ∫ f(x) dx untuk persamaan f(x) = 2x (4x + 1)3 adalah ....

a) ⅛ (x)(4x + 1)4 - 1/160 (4x + 1)5 + c

b) ⅛ (4x + 1)4 - 1/160 (4x + 1)5 + c

c) ⅛ (4x + 1)4 + 1/160 (2x + 1)5 + c

d) ⅛ (4x + 1)4 + 1/160 (x)5 + c

e) ⅛ (4x + 1)4 + 1/160 (x + 1)5 + c


7. Solusi untuk ∫ 2x(√x) dx adalah ....

a) 4/5 (x2(√x)) + c

b) ⅘ x(√2x) + c

c) ⅘ 2x(√2x) + c

d) ⅘ x(√x) + c

e) 4/5 x + c


8. Berikut ini bentuk umum integral tertentu yang benar adalah ....

a) ∫ab f ‘(x) dx = f(b) - f(a)

b) ∫ab f(x) dx = f(a) - f(b)

c)  ∫ f ‘(x) dx = ax + c

d) ∫ab f(x) dx = f(b) - f(a)

e) ∫ ax dx = ax + c


9. Solusi untuk ∫13 (3 - 2x) dx adalah ....

a) -2

b) -3

c) 0

d) 3

e) 2


10. Solusi untuk ∫-22 (e) dx adalah ....

a) -2 ((1/e) - e)

b) (2/e) - e

c) 2 ((1/e) - e)

d) (1/e) - e

e) 0


11. Solusi untuk ∫03 (∛x) dx adalah ....

a) (9∛3) / 4

b) (9∛3)

c) (9∛2) / 2

d) (1∛3) / 2

e) (1∛3)


12. Solusi untuk ∫0π (sin x) dx adalah ....

a) 1

b) 2

c) 0

d) 0,5

e) ¼


13. Solusi untuk ∫11 (x2) dx adalah ....

a) 2 b) 1 c) 0

d) -1 e) 2


14. Solusi untuk ∫0π/2 (cos2x sin x) dx adalah ....

a) 0 b) ½ c) ¼

d) ⅓ e) 1


15. Solusi untuk ∫48 (x / (√x2 - 15)) dx adalah ....

a) 1 b) 2 c) 4

d) 5 e) 6


16. Suatu fungsi f: R → R dan g: R → R dimana f(x) = 2x + 4 dan g(x) = x3, maka hasil dari (f o g)(x) adalah....

a) 2x3 + 4

b) 2x2 + 4

c) 2x + 4

d) x3 + 4

e) x2 + 4


17. Suatu fungsi f: R → R dan g: R → R dimana f(x) = 2x + 4 dan g(x) = x3, maka hasil dari (g o f)(x) adalah....

a) (2x + 4)3

b) (2x + 4)2

c) 2x + 4

d) x3 + 4

e) x3 + 64


18. Berikut yang termasuk dalam fungsi tidak genap ataupun tidak ganjil adalah....

a) f(x) = 2 / (x - 1)

b) f(x) = (x3 + 3x) / (x4 - 3x2 + 4)

c) f(x) = x3 - 2x

d) f(x) = |2x|

e) f(x) = x2 - x


19. Berikut merupakan bentuk yang ekuivalen dengan sin 30° adalah....

a) sin π/6 b) 1/3 c) (1/3) √2 d) (1/2)√3 e) sin π


20. Hasil nilai dari limx2 ( (x2 - 8) / (x - 4) ) adalah....

a) 2 b) 4 c) 6 d) 8 e) 0


21. Hasil nilai dari limx3 ( (5x2 – 8x - 13) / (x2 - 5) ) adalah....

a) 0 b) 1 c) 2 d) 3 e) 4


22. Hasil nilai dari limx0 ( (sin x) / (x) ) adalah....

a) -1 b) 0 c) 1 d) √2 e) ∞


23. Hasil nilai dari limx ( (sin x) / (x) ) adalah....

a) -∞ b) -1 c) 0 d) 1 e) ∞


24. Hasil nilai dari limx0 (sin x2) adalah....

a) -∞ b) -1 c) 0 d) 1 e) ∞


25. Hasil nilai dari limx0 ( (1 - cos x) / (x2) ) adalah....

a) 0 b) (1/2)√3 c) 1/2 d) 1 e) ∞


 1.Jikapertidaksamaan mempunyai penyelesaian x > 5, nilai a adalah….

  1. c. e.

  2. d.

2,Penyelesaianpertidaksamaan adalah…

  1. c. jika p < q e. x = 1

  2. d. jika p < q

3.Nilai x yang memenuhipertidaksamaan y - x + 1 < 0 dan 2x + y > 2 adalah ….

  1. x > 0 c. x > 2 e. x < 1

  2. x > 1 d. x < 0

4.P, Q, dan R memancingikan. Jikahasil Q lebihsedikitdarihasil R, sedangkanjumlahhasil P dan Q lebihbanyakdaripadadua kali hasil R, yang terbanyakmendapatikanadalah ….

  1. P dan R c. P e. R

  2. P dan Q d. Q


5,Diketahulingkaran melalui titik Persamaan lingkaran yang sepusat tetapi panjang jari-jarinya dua kali panjang jari-jari lingkaran tadi adalah ……


6.Garissinggung di titik (12, -5) padalingkaran menyinggung Nilai sama dengan ….

  1. 207 d. 19

  2. 169 e. 13

  3. 117

7.Persamaangarissinggungpadalingkaran yang melalui titik (3,  -2) adalah …..

  1. d. 3

  2. e.


8.Persamaangarissinggunglingkaran di titik adalah

  1. d.

  2. e.

9.Salahsatupersamaangarissinggunglingkaran yang tegak lurus garis adalah ….

  1. d.

  2. e.

10.Fungsiditentukanoleh dan fungsi sehingga maka adalah …. 

  1. d.

  2. e.

11.Diketahui Nilai untuk adalah ….

  1. -54 d. 6

  2. -36 e. 18

  3. -18

12.Darifungsidan diketahui dan Agar nilai yang positif adalah ….

  1. d.

  2. e.

13. Hitunglah         lim         X 2 -  4

                    x →3      X - 2 

   A.3            B. 5           C. 4     D. 7   E. 9

14. Turunan Y=4 sin 2X adalah :

a. cos 2X. b. 4 cos 2X.            c. 8 cos 2X d. -4 cos 2X e. semuasalah


15.Turunanfungsi Y= e-4xadalah …

a. e-4x . b. 2e-4x     c. -4e-4x.         d. (e-4x)/4 e. semuasalah


  1. Nilai x yang memenuhi adalah….

  1. x < 4

  2. b > -3

  3. -3 < x < 4

  4. -4 < x < -3

  5. X > 4 atau x < -3

2    Jika nilai yang memenuhi adalah ……

  1. d.

  2. e.


3.Nilai x yang memenuhi pertidaksamaan y - x + 1 < 0 dan 2x + y > 2 adalah ….

  1. x > 0 c. x > 2 e. x < 1

  2. x > 1 d. x < 0

4.Fungsi dan Diketahui dan Nilai dari adalah ….

  1. 0 d. 8

  2. 1 e. 11

  3. 7

5.Dari fungsi dan diketahui bahwa dan maka adalah ….


6.  Fungsi ditentukan oleh dan fungsi sehingga maka adalah …. 

  1. d.

  2. e.


7.Persamaan lingkaran dengan pusat dan menyinggung adalah ….

8.Garis singgung di titik (12, -5) pada lingkaran menyinggung Nilai sama dengan ….

  1. 207 d. 19

  2. 169 e. 13

  3. 117


9.Persamaan garis singgung lingkaran di titik adalah …..

10.Persamaan salah satu garis singgung pada lingkaran yang melalui titik adalah ….


11.Nilai x yang memenuhi pertidaksamaan


  1. x < 3 c. x < -3 e. -3 < x < 3

  2. x > -3 d. x >3

12. Persamaan garis singgung lingkaran yang tegak lurus garis adalah ….

  1. dan  

  2. dan

  3. dan

  4. dan

  5. dan



13. Dikatehui dengan dan Rumus untuk adalah ….

  1.  

14. Jika x dan y memenuhi pertidaksamaan dan persamaan , memenuhi pertaksamaan…………

15. Penyelesaian dari adalah ….

  1. atau



  1. Tentukannilaidari Lim 2 - √ X  +1     Adalah :

                             X        3      X - 3


  1. Nilai balik minimum darifungsi ƒ( x) =  X3 - 3X2  + 7,Adalah:

  2. Persamaangarislingkaran yang berpusat P (1,4 ) danmenyinggunggaris 3X -4Y-2 = 0 Adalah  :                                                                     

  3. BerapakahNilai g (x), jikadiketahuihasildari ( fg)(x) =  X2 + 2x + 9 dan ƒ( x) = X + 2adalah

  4. PenyelesaiandaripertidaksamaanX2 – X -12 ≤ 0 adalah :

  5. Turunanke 2 darifungsi ƒ( x) =  4X3 + 6X2 – 8X + 7Adalah :

  6. Akar – akarpersamaankuadratdariX2 – 6X + 5 Adalah :

  7. Tentukan Nilai maksimum dan nilai minimum dari fungsi Y= X3  + 3 X2 - 24X Adalah:

  8. Turunan pertama dari fungsi ƒ( x) = 6 sin x cos x Adalah :

  9. Hasildariperhitungan (ƒ0 g ) ( 5 ) dengan ƒ( x)  = 4X – 6 dan g (x) = X2  + 3 X- 18   Adalah  :                 

  10. Titik pusat dari persamaan X2  + Y2 + 6 X + 10 Y – 15 = 0adalah :

  11. Penyelesaianyang tepatdari Integral ∫ 5 dx Adalah :

  12. Tentukanpenyelesaiandari ∫ 3X2 + 10 X + 5 dx Adalah :

  13. HitunglahNilai Integral dari integral dari ∫3  2X dx Adalah  :

                                                                                                     1

  1. Carilahluasdaerah yang dibatasiolehkurva Y = X2sumbu X  danOrdinat  X = 1 dan X = 3  Adalah  :


  1. Luasdaerah yang terletakdiatassumbu X dandibawah parabola  Y = 4X – X2 Adalah  :                                


  1. Tentukan Daerah tertutup yang dibatasiolehkurva yang bisadigambarkanluasnya

A =  ∫1  ( 2X - X2 - X4 ) dx Adalah  :

          0