*In this article, I will explain a simple mathematical calculation for perceptrons to represent a logical XOR-Gate.*

# Introduction

Though this is a simple concept, a beginner will find it as an interesting start of mathematical relation to the multilayer perceptron.

# Prerequisite

- Understanding perceptron.
- Understanding step function.
- Understanding weight,input,output.

# Explanation

The truth table for…