<｜begin▁of▁sentence｜>### Instruction:
As a computer programmer, you're tasked with developing software solutions to various problems. Imagine you're working on a project that involves analyzing network structures. You're using the `igraph` library, which offers powerful tools for graph manipulation and analysis.

In this project, you're specifically dealing with tree graphs representing hierarchical data, such as organizational structures or family trees. Let's say you have a simple tree graph with 3 vertices, where each non-leaf vertex has 2 children. Now, you're interested in computing the Laplacian matrix of this graph to further analyze its properties.

Your task involves utilizing the `GraphBase.laplacian` function provided by the `igraph` library to obtain the Laplacian matrix of the given tree graph. This matrix will be crucial for various analyses and computations within your software application.
### Response:
import igraph as ig

# Create a simple graph
g = ig.Graph.Tree(3, 2)

# Get the laplacian matrix of the graph
laplacian_matrix = g.laplacian()

# Output the matrix
print('Laplacian matrix:\n', laplacian_matrix)
<|EOT|>
