Senin, 11 Juli 2022

Rumus Panjang Busur

Panjang busur AB=α×2 π r
360°
α = sudut pusat lingkaran
r = jari-jari
π = phi atau 22/7 atau 3,14

Daftar Pustaka:

Buku SMP/MTS Kl.7 8 9 Super Complete Rumus Matematika-Ipa

Buku Hafal Mahir Teori dan Rumus Matematika SMP/MTs Kelas 7, 8, 9

wikipedia

https://www.htmlhelp.com/reference/html40/entities/symbols.html

https://www.htmlsymbols.xyz/


Related Post:

Rumus Matematika Bilangan Bulat

Dua Segitiga Kongruen

Cara mudah menentukan dua segitiga yang kongruen adalah:

  • Tigi sisi sama.
  • Dua sisi dan satu sudut apit sama.
  • Satu sisi dan dua sudut sama.
  • Untuk segitiga siku-siku, hipotenusa dan dua sisi tegak sama.

Minggu, 03 Juli 2022

The MySQLi Extension Function Summary 2

The MySQLi Database Extension Function in PHP Summary 2

mysqli Class Methods

OOP InterfaceProcedural InterfaceDescription
mysqli::autocommit()mysqli_autocommit()Turns on or off auto-committing database modifications
mysqli::change_user()mysqli_change_user()Changes the user of the specified database connection
mysqli::character_set_name(), mysqli::client_encodingmysqli_character_set_name()Returns the default character set for the database connection
mysqli::close()mysqli_close()Closes a previously opened database connection
mysqli::commit()mysqli_commit()Commits the current transaction
mysqli::__construct()mysqli_connect()Open a new connection to the MySQL server [Note: static (i.e. class)method]
mysqli::debug()mysqli_debug()Performs debugging operations
mysqli::dump_debug_info()mysqli_dump_debug_info()Dump debugging information into the log
mysqli::get_charset()mysqli_get_charset()Returns a character set object
mysqli::get_connection_stats()mysqli_get_connection_stats()Returns client connection statistics. Available only with mysqlnd.
mysqli::get_client_info()mysqli_get_client_info()Returns the MySQL client version as a string
mysqli::get_client_stats()mysqli_get_client_stats()Returns client per-process statistics. Available only with mysqlnd.
mysqli::get_cache_stats()mysqli_get_cache_stats()Returns client Zval cache statistics. Available only with mysqlnd.
mysqli::get_server_info()mysqli_get_server_info()Returns a string representing the version of the MySQL server that the MySQLi extension is connected to
mysqli::get_warnings()mysqli_get_warnings()NOT DOCUMENTED
mysqli::init()mysqli_init()Initializes MySQLi and returns a resource for use with mysqli_real_connect. [Not called on an object, as it returns a $mysqli object.]
mysqli::kill()mysqli_kill()Asks the server to kill a MySQL thread
mysqli::more_results()mysqli_more_results()Check if there are any more query results from a multi query
mysqli::multi_query()mysqli_multi_query()Performs a query on the database
mysqli::next_result()mysqli_next_result()Prepare next result from multi_query
mysqli::options()mysqli_options()Set options
mysqli::ping()mysqli_ping()Pings a server connection, or tries to reconnect if the connection has gone down
mysqli::prepare()mysqli_prepare()Prepare an SQL statement for execution
mysqli::query()mysqli_query()Performs a query on the database
mysqli::real_connect()mysqli_real_connect()Opens a connection to a mysql server
mysqli::real_escape_string(), mysqli::escape_string()mysqli_real_escape_string()Escapes special characters in a string for use in an SQL statement, taking into account the current charset of the connection
mysqli::real_query()mysqli_real_query()Execute an SQL query
mysqli::refresh()mysqli_refresh()Flushes tables or caches, or resets the replication server information
mysqli::rollback()mysqli_rollback()Rolls back current transaction
mysqli::select_db()mysqli_select_db()Selects the default database for database queries
mysqli::set_charset()mysqli_set_charset()Sets the default client character set
mysqli::set_local_infile_default()mysqli_set_local_infile_default()Unsets user defined handler for load local infile command
mysqli::set_local_infile_handler()mysqli_set_local_infile_handler()Set callback function for LOAD DATA LOCAL INFILE command
mysqli::ssl_set()mysqli_ssl_set()Used for establishing secure connections using SSL
mysqli::stat()mysqli_stat()Gets the current system status
mysqli::stmt_init()mysqli_stmt_init()Initializes a statement and returns an object for use with mysqli_stmt_prepare
mysqli::store_result()mysqli_store_result()Transfers a result set from the last query
mysqli::thread_id()mysqli_thread_id()Returns the thread ID for the current connection
mysqli::thread_safe()mysqli_thread_safe()Returns whether thread safety is given or not
mysqli::use_result()mysqli_use_result()Initiate a result set retrieval


Related Post:

Three Classes Regex In Java.Util. Package

How Are Regular Expressions Represented in This Package?

The java.util.regex package primarily consists of three classes: Pattern, Matcher, and PatternSyntaxException.

A Pattern object is a compiled representation of a regular expression. The Pattern class provides no public constructors. To create a pattern, you must first invoke one of its public static compile methods, which will then return a Pattern object. These methods accept a regular expression as the first argument; the first few lessons of this trail will teach you the required syntax.

A Matcher object is the engine that interprets the pattern and performs match operations against an input string. Like the Pattern class, Matcher defines no public constructors. You obtain a Matcher object by invoking the matcher method on a Pattern object.

A PatternSyntaxException object is an unchecked exception that indicates a syntax error in a regular expression pattern.

Bibliography:

https://docs.oracle.com, https://www.iupui.edu/, Pemrograman Java; R.H. Sianipar, Pemrograman Java; Abdul Kadir, Pemrograman Java; Ir. Yuniar Supardi, Head First Java; Kathy Sierra, Java A Beginner's Guide; Herbert Schildt

Related Post:

The MySQLi Extension Function Summary 1

The MySQLi Database Extension Function in PHP programming language Summary 1

mysqli Class Properties

OOP InterfaceProcedural InterfaceDescription
$mysqli::affected_rowsmysqli_affected_rows()Gets the number of affected rows in a previous MySQL operation
$mysqli::client_infomysqli_get_client_info()Returns the MySQL client version as a string
$mysqli::client_versionmysqli_get_client_version()Returns MySQL client version info as an integer
$mysqli::connect_errnomysqli_connect_errno()Returns the error code from last connect call
$mysqli::connect_errormysqli_connect_error()Returns a string description of the last connect error
$mysqli::errnomysqli_errno()Returns the error code for the most recent function call
$mysqli::errormysqli_error()Returns a string description of the last error
$mysqli::field_countmysqli_field_count()Returns the number of columns for the most recent query
$mysqli::host_infomysqli_get_host_info()Returns a string representing the type of connection used
$mysqli::protocol_versionmysqli_get_proto_info()Returns the version of the MySQL protocol used
$mysqli::server_infomysqli_get_server_info()Returns the version of the MySQL server
$mysqli::server_versionmysqli_get_server_version()Returns the version of the MySQL server as an integer
$mysqli::infomysqli_info()Retrieves information about the most recently executed query
$mysqli::insert_idmysqli_insert_id()Returns the auto generated id used in the last query
$mysqli::sqlstatemysqli_sqlstate()Returns the SQLSTATE error from previous MySQL operation
$mysqli::warning_countmysqli_warning_count()Returns the number of warnings from the last query for the given link

Bibliography:

https://www.php.net/

https://www.mysql.com/

Related Post:

Various Other Posts