写点数学

  • 1104 字
  • 次阅读
  • 条评论
  1. 1. 安装
  2. 2. 语法
  3. 3. 随便写写
    1. 3.1. 机车启动

来点数学呐,可香了。

傅里叶变换镇楼:

安装

安装hexo-filter-mathjax

1
2
npm install hexo-filter-mathjax
hexo clean

_config.yml添加配置:

1
2
3
4
5
6
7
8
9
10
11
12
mathjax:
tags: none # 或 'ams' 或 'all'
single_dollars: true # enable single dollar signs as in-line math delimiters 使用单对美元号行内输入
cjk_width: 0.9 # relative CJK char width 相对CJK(中日韩)文字宽度
normal_width: 0.6 # relative normal (monospace) width 相对空格宽度
append_css: true # add CSS to pages rendered by MathJax 把MathJax的CSS样式添加到页面内
every_page: false # if true, every page will be rendered by MathJax regardless the `mathjax` setting in Front-matter
# 若 true,每个页面都会由MathJax渲染公式,且无视Front-matter的`mathjax`设置
packages: # extra packages to load
extension_options: {}
# you can put your extension options here
# see http://docs.mathjax.org/en/latest/options/input/tex.html#tex-extension-options for more detail

文章头添加mathjax: true:

1
2
3
4
5
6
---
title: 写点数学
date: 2023-11-26 20:21:03
categories: 写点数学
mathjax: true
---

语法

要么查
要么直接在线编辑https://www.latexlive.com/

随便写写

机车启动

我高一时的微分方程启蒙:

机车从静止启动,已知功率为, 地面摩擦力为,求曲线。
解: 已知:

其中为牵引力,由牛顿第二运动定律得:

代入( 1 )式:

整理得到:

两边积分:

得:

代入初始条件,,得:

所以最终结果为:

分享这一刻
让朋友们也来瞅瞅!