支持数学公式
This commit is contained in:
parent
c737db897b
commit
9934271b08
@ -3,6 +3,8 @@ import tailwindcss from "@tailwindcss/vite";
|
|||||||
import sitemap from "@astrojs/sitemap";
|
import sitemap from "@astrojs/sitemap";
|
||||||
import remarkToc from "remark-toc";
|
import remarkToc from "remark-toc";
|
||||||
import remarkCollapse from "remark-collapse";
|
import remarkCollapse from "remark-collapse";
|
||||||
|
import remarkMath from "remark-math";
|
||||||
|
import rehypeKatex from "rehype-katex";
|
||||||
import { SITE } from "./src/config";
|
import { SITE } from "./src/config";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
@ -14,7 +16,8 @@ export default defineConfig({
|
|||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
markdown: {
|
markdown: {
|
||||||
remarkPlugins: [remarkToc, [remarkCollapse, { test: "Table of contents" }]],
|
remarkPlugins: [remarkToc, [remarkCollapse, { test: "Table of contents" }], remarkMath],
|
||||||
|
rehypePlugins: [rehypeKatex],
|
||||||
shikiConfig: {
|
shikiConfig: {
|
||||||
// For more themes, visit https://shiki.style/themes
|
// For more themes, visit https://shiki.style/themes
|
||||||
themes: { light: "min-light", dark: "night-owl" },
|
themes: { light: "min-light", dark: "night-owl" },
|
||||||
|
8732
package-lock.json
generated
Normal file
8732
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -19,7 +19,9 @@
|
|||||||
"@tailwindcss/vite": "^4.0.12",
|
"@tailwindcss/vite": "^4.0.12",
|
||||||
"astro": "^5.4.2",
|
"astro": "^5.4.2",
|
||||||
"lodash.kebabcase": "^4.1.1",
|
"lodash.kebabcase": "^4.1.1",
|
||||||
|
"rehype-katex": "^7.0.1",
|
||||||
"remark-collapse": "^0.1.2",
|
"remark-collapse": "^0.1.2",
|
||||||
|
"remark-math": "^6.0.0",
|
||||||
"remark-toc": "^9.0.0",
|
"remark-toc": "^9.0.0",
|
||||||
"satori": "^0.12.1",
|
"satori": "^0.12.1",
|
||||||
"sharp": "^0.33.5",
|
"sharp": "^0.33.5",
|
||||||
|
87
src/data/blog/learn/第一章 资金时间价值计算及应用.md
Normal file
87
src/data/blog/learn/第一章 资金时间价值计算及应用.md
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
---
|
||||||
|
title: 《工程经济》第一章 资金时间价值计算及应用
|
||||||
|
pubDatetime: 2025-03-21T23:26:06+8:00
|
||||||
|
description: 资金时间价值计算及应用,主要总结了公式。
|
||||||
|
slug: 《工程经济》第一章 资金时间价值计算及应用
|
||||||
|
tags:
|
||||||
|
- 工程经济
|
||||||
|
- 一级建造师
|
||||||
|
---
|
||||||
|
## 利率的影响因素
|
||||||
|
|
||||||
|
1. 社会平均利润率的高低
|
||||||
|
2. 资金市场供求对比状况
|
||||||
|
3. 借出资金的用途和使用方式
|
||||||
|
4. 借出资金期限的长短
|
||||||
|
5. 政府宏观调控政策
|
||||||
|
6. 经济周期所处阶段
|
||||||
|
|
||||||
|
## 公式总结
|
||||||
|
|
||||||
|
### 单利与复利
|
||||||
|
|
||||||
|
**单利计算公式**:$It=P×i×t$
|
||||||
|
|
||||||
|
It 为利息,P 为本金,i 为年利率,t 为时间(年)。
|
||||||
|
|
||||||
|
**复利计算公式**:$F=P×(1+i)^n$
|
||||||
|
|
||||||
|
F 为终值,P 为现值,i 为年利率,n 为计息期数。
|
||||||
|
|
||||||
|
### 名义利率与有效利率
|
||||||
|
|
||||||
|
**计息周期利率公式**:$i=mr$
|
||||||
|
|
||||||
|
r 为名义利率,m 为每年计息次数。
|
||||||
|
|
||||||
|
**年有效利率公式**:$i=(1+r/m)^m−1$
|
||||||
|
|
||||||
|
i为年有效利率。
|
||||||
|
|
||||||
|
### 终值与现值
|
||||||
|
|
||||||
|
**一次支付终值公式**:$F=P×(1+i)^n$
|
||||||
|
|
||||||
|
也可表示为:$F=P×(F/P,i,n)$
|
||||||
|
|
||||||
|
**一次支付现值公式**:
|
||||||
|
|
||||||
|
$$
|
||||||
|
P=\frac{F}{(1+i)^n}
|
||||||
|
$$
|
||||||
|
|
||||||
|
也可表示为:$P=F×(P/F,i,n)$
|
||||||
|
|
||||||
|
### 年金的终值与现值
|
||||||
|
|
||||||
|
**年金终值公式**:
|
||||||
|
|
||||||
|
$$
|
||||||
|
F = A \times \frac{(1+i)^n - 1}{i}
|
||||||
|
$$
|
||||||
|
|
||||||
|
也可表示为:$F=A×(F/A,i,n)$。
|
||||||
|
|
||||||
|
**年金现值公式**:
|
||||||
|
|
||||||
|
$$
|
||||||
|
P = A \times \frac{(1+i)^n - 1}{i(1+i)^n}
|
||||||
|
$$
|
||||||
|
|
||||||
|
也可表示为:$P = A \times (P/A, i, n)$。
|
||||||
|
|
||||||
|
### 偿债基金
|
||||||
|
|
||||||
|
$$
|
||||||
|
A=F×\frac{i}{(1+i)^n−1}
|
||||||
|
$$
|
||||||
|
|
||||||
|
A 为年金,F 为终值,i 为年利率,n 为计息期数。
|
||||||
|
|
||||||
|
### 资金回收
|
||||||
|
|
||||||
|
$$
|
||||||
|
A=P×\frac{i×(1+i)^n}{(1+i)^n-1}
|
||||||
|
$$
|
||||||
|
|
||||||
|
A 为年金,P 为现值,i 为年利率,n 为计息期数。
|
@ -61,6 +61,10 @@ const structuredData = {
|
|||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/avatar.jpg" />
|
<link rel="icon" type="image/svg+xml" href="/avatar.jpg" />
|
||||||
<link rel="canonical" href={canonicalURL} />
|
<link rel="canonical" href={canonicalURL} />
|
||||||
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="https://cdn.bootcdn.net/ajax/libs/KaTeX/0.16.9/katex.min.css"
|
||||||
|
/>
|
||||||
<meta name="generator" content={Astro.generator} />
|
<meta name="generator" content={Astro.generator} />
|
||||||
|
|
||||||
<!-- General Meta Tags -->
|
<!-- General Meta Tags -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user