# Category Archives: Samples

## DAO Pattern in Java Sample

DAO Pattern in Java

In order to continue the topic of database connectivity in Java, it is necessary to look at the DAO pattern, which facilitates operation with the database.

The main idea of the Data Access Object (DAO) pattern is to hide all backend operations of the connection to the database and unite them in one main class. This may be necessary when the program consists of multiple entities interconnected with each other, and it would be very complex and of poor practice to make connection from each entity every time. Continue reading

## How to Connect MySQL in Netbeans IDE – A Complete Tutorial

Connecting MySQL to NetBeans

When learning any programming language, at some point it may be necessary to extend your skills and knowledge by learning databases and connecting one to the IDE.

In this tutorial we are going to discuss how to connect a MySQL database to NetBeans IDE to work with it using Java. Continue reading

## Separable Differential Equations: An In-Depth Analysis

Solve the following separable differential equations:

## Differential Equations for Mechanical Pendulum Oscillations

The main goal of this paper is to analyze the mechanical oscillations of a pendulum using MATLAB software. Continue reading

## Second Order Differential Equation Example

Solve the following second order differential equation:

## Bisection Method Example: Hand Solution and Python Code

Find the solution of the following equation using the bisection method:

## Secant Method Example: Solution for Equation

Find the solution of the following equation using the secant method:

## Speed of Falling Object Problem

An object that has a mass of m kg was thrown straight up from a platform which is h m above the ground. The initial velocity was

The air resistance is proportional to the velocity of the object and is equal to av N. Write down the equation for the distance traveled by the object at any time. Find the velocity of the object at the ground level for

## Newton Raphson Method Analysis

Find the solution of the following equation using the Newton Raphson Method:

## Addiction to Social Networking Sites Sample

Artificial intelligence and machine learning are the booming areas of computer science. Almost all sectors such as finance and healthcare use artificial intelligence for better productivity. The impact of artificial intelligence, however, is not confined within these industries. Continue reading