摘要:
4.3 import matplotlib.pyplot as plt import numpy as np import cvxpy as cp x=cp.Variable(6,pos=True) obj=cp.Minimize(x[5]) a1=np.array([0.025, 0.015, 0 阅读全文
摘要:
3.2 import sympy as sp def solve_difference_equation(): n = sp.symbols('n', integer=True) x = sp.Function('x') eq = sp.Eq(x(n + 2) - x(n + 1) - 2 * x( 阅读全文