# Category Archives: Samples

## 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

## How to Work With Symbolic Toolbox in MATLAB Software Package

Task: get basic knowledge of how to work with Symbolic Toolbox in the MATLAB software package (Part 3).

Solution:

Differentiation

The MATLAB function for performing symbolic differentiation is diff(f,’t’,n) where f is the symbolic expression to differentiate. Continue reading

## 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

## Shear Stress Analysis Example for College Students

A 400 kg mass is supported by a frictionless pulley with a radius of 0.50 m. The pulley is attached to pin-connected frame members

The length of the 5.80 mm diameter cable ( E = 124 GPa) is 7.50 m. The diameter of the pins is 28.40 mm. The pins are in double shear. Continue reading

## Work With Text Files in C++: A Guide in Programming

In this guide, we will learn the features of text files and learn how to use them in C++ programming.

Opening and closing text files

A text file is a collection of strings with the character of a changeable length. Each line ends with the end marker of the string – a special pair of control characters, the codes of which are: 13 (carriage return) and 10 (newline). At the end of the file, there is always an end of file marker – a control character with code 26. Continue reading

## Python Email Example – An Easy Instruction

In our Python email example, we write about creating email using Python. In the modern world people get a lot of letters, and some even have several mailboxes. All this complicates the process of administration, which forces us to seek solutions to the problem. Motherboard editor Michael Byrne wrote a story on how to send emails to different mailboxes using Python. Even if you do not want to create a letter sorting program, managing emails as a set of data is quite interesting. Byrne decided to use Python to solve the problem, since this language is good for easy and intuitive creation of such things, and is suitable even for non-programmers. Continue reading

## Spectral Graph Theory Sample

The spectral graph theory studies the properties of graphs by means of an analysis of eigenvalues / eigenvectors / of characteristic polynomials of matrices that are connected with graphs (conjugacy matrix, Laplace matrix, unsigned Laplace matrix, etc.). The theory was actively developed in the 1970s, but now finds application in the analysis of graphs of social networks. The theory is related to the detection of communities and the partitioning of graphs. The sample that you will find below will be devoted to theoretical aspects (even proofs), and will be useful for applicants to understand why certain methods of generating features (based on spectra) are working. Continue reading