Space Elevator

Space Elevator theory and calculations

A space elevator is a proposed type of planet-to-space transportation system. The main component would be a cable (also called a tether) anchored to the surface and extending into space. The design would permit vehicles to travel along the cable from a planetary surface, such as the Earth’s, directly into space or orbit, without the use of large rockets. An Earth-based space elevator would consist of a cable with one end attached to the surface near the equator and the other end in space beyond geostationary orbit (35,786 km altitude). The competing forces of gravity, which is stronger at the lower end, and the outward/upward centrifugal force, which is stronger at the upper end, would result in the cable being held up, under tension, and stationary over a single position on Earth. With the tether deployed, climbers could repeatedly climb the tether to space by mechanical means, releasing their cargo to orbit. Climbers could also descend the tether to return cargo to the surface from orbit.

Continue reading “Space Elevator”

Electromagnetic Simulator

Magnetic and Electrosatatic simulator in UE4 and C++

Lorentz force

In physics (particularly in electromagnetism) the Lorentz force (or electromagnetic force) is the combination of electric and magnetic force on a point charge due to electromagnetic fields. A particle of charge q moving with a velocity v in an electric field E and a magnetic field B experiences a force.

    \[\vec{F}=q\vec{E} +q\vec{v}\times \vec{B} \]

Continue reading “Electromagnetic Simulator”

Gradient Descent Algorithm

Mini-batch, Stochastic & Batch Gradient Descent

There are 3 gradient descent algorithms used for backpropagation in neural networks: stochastic, batch and mini-batch.

    1. L_i: loss function (calculate error)
    1. y_i: neural network output (predicted data)
    1. x_i: real output (train label)

Continue reading “Gradient Descent Algorithm”

Stock Market & Deep Learning

C++ Neural Network implementation in stock market

I have used C++ in this project, the program attempts to predict updated stock market data. I have used a neural network library created by myself to train our model an used it to predict Stock market data.

The data is obtained from IEX trading that is an API for investors and it is updated via HTTP requests. The web-scraping program is built from scratch. Once we have trained the neural net, it reaches a high accuracy, 96%. Continue reading “Stock Market & Deep Learning”

Spacetime Curvature Simulator

Spacetime real-time simulator in UE4 and C++

In this video, I show you a real-time simulation of space-time distortions that produce gravity because of its mass. The simulator is made in Unreal Engine 4 and C++.

In 1905, Albert Einstein determined that the laws of physics are the same for all non-accelerating observers and that the speed of light in a vacuum was independent of the motion of all observers. This was the theory of special relativity. It introduced a new framework for all of physics and proposed new concepts of space and time.

Einstein then spent 10 years trying to include acceleration in the theory and published his theory of general relativity in 1915. In it, he determined that massive objects cause a distortion in space-time, which is felt as gravity.

Gravitational time dilation formula:

    \[ T=\frac{T_0}{\sqrt{1-\frac{2GM}{R c^2}}} \]

3D Neural Network Simulator

Neural Network implementation in UE4

Our neural network implementation in Unreal Engine 4 can have different purposes, educational or as a tool for data scientist developers.

This tool is really easy to be used: you can change the number of layers and the neurons per layer. In the example showed I have used the MNIST dataset for number recognition, furthermore, I can use different datasets.

If you want to use this tool for educational purposes, you can debug and see how the neural networks work. It is really practical and I recommend whoever wants to start AI. This application is progress, although you would be able to see the advances.

Continue reading “3D Neural Network Simulator”