Recent Posts

[Note] How to Style code in WordPress?

In WordPress, the edition of posts supports <code> tag. We can add <code> block by clicking Add block button.

 

Then, the default <code > style in WordPress looks like the following:

<!DOCTYPE html>
<html>
<head>
    <title>TITLE</title>
</head>
<body>
    <p>Test</p>
</body>
</html>

To add .class in Additional CSS can style the code block. We can click Appearance > Customize to arrive Additional CSS.

              

Read more[Note] How to Style code in WordPress?

(Visited 8 times, 1 visits today)

[SQL]CREATE DATABASE

Syntax

CREATE DATABASE "database name";

Example

CREATE DATABASE ShemDB;

(Visited 23 times, 1 visits today)

[HTML] Headings

Code

<!DOCTYPE html>
<html>
<head>
    <title>TITLE</title>
</head>
<body>
    <h1>Heading 1</h1>
    <h2>Heading 2</h2>
    <h3>Heading 3</h3>
    <h4>Heading 4</h4>
    <h5>Heading 5</h5>
    <h6>Heading 6</h6>
</body>
</html>

Read more[HTML] Headings

(Visited 16 times, 1 visits today)

Expected Value

Introduction

The expected value E(X) is the arithmetic mean of a random variable X.

Definition

1. Let X be a discrete random variable and the range is  , then

E(X)=\sum_{x\in R_{X}}^{}xf_{x}(x)

2. Let X be a continuous random variable and the range is  , then

E(X)=\int_{x\in R_{X}}^{}xf_{x}(x)dx

(Visited 11 times, 1 visits today)
(Visited 455 times, 1 visits today)