当前位置:网站首页>高等数学建模
高等数学建模
2022-06-30 23:11:00 【大力力无穷】
这里写自定义目录 在这里插入代码片
在这里插入代码片
在这里插入代码片
from sympy import *
n=symbols('n')
y=1250*(2-exp(-(n-5000)**2))
func1=diff(y,n)
print(func1)
stag=solve(diff(y,n),n)
print("该函数驻点为",stag)
func2=diff(y,n,2)
print(func2)
print(func2.evalf(subs={
n:5000}))
func2.evalf(sub={
n:5000})>0
y.evalf(sub={
n:5000})
在这里插入代码片
import scipy.optimize as opt
from scipy import fmin
import numpy as np
def func0(cost,x,a):
return cost*x*(2-exp(-(x-a)**2))
func=lambda x:(2000*x[0]+3000*x[1]+4500*x[2])
bnds((1,10000),(1,10000),(1,10000))
res=opt.minimize(fun=func,x0=np.array([2,1,1]),bounds=bnds)
print(res)
在这里插入代码片
```from scipy import integrate
from scipy import pi
def f(h):
return 88.2*pi*(5-h)
v,err=integrate.quant(f,0,5)
print(v)
边栏推荐
- Fund managers' corporate governance and risk management
- 机器学习编译入门课程学习笔记第二讲 张量程序抽象
- CesiumJS 2022^ 源码解读[6] - 三维模型(ModelExperimental)新架构
- HP 惠普笔记本电脑 禁用触摸板 在插入鼠标后
- conv2d详解--在数组和图像中的使用
- Qlineedit of QT notes (74) specifies the input type
- Youfu network hybrid cloud accelerates enterprise digital transformation and upgrading
- 35家巨头科技公司联合组成元宇宙标准论坛组织
- Smart streetlights | cloud computing lights up the "spark" of smart cities
- The sandbox is being deployed on the polygon network
猜你喜欢

The Sandbox 正在 Polygon 网络上进行部署

2022-06-30: what does the following golang code output? A:0; B:2; C: Running error. package main import “fmt“ func main() { ints := make

Deployment of microservices based on kubernetes platform
![[无线通信基础-13]:图解移动通信技术与应用发展-1-概述](/img/1d/62e55f1b5445d7349ec383879f4275.png)
[无线通信基础-13]:图解移动通信技术与应用发展-1-概述

latex中 & 号什么含义?

Jmeter跨线程参数关联无需脚本

MIT博士论文 | 优化理论与机器学习实践

As the public cloud market enters the deep water, can the calm Amazon cloud still sit still?

In 2022, the latest JCR officially released the list of the latest global impact factors (top 600)

分享十万级TPS的IM即时通讯综合消息系统的架构
随机推荐
分享十万级TPS的IM即时通讯综合消息系统的架构
Asynchronous transition scenario - generator
Fund clients and sales agencies
RIDE:获取图片base64
The superficial understanding of the industrial Internet finally brought the development of the industrial Internet into the strange circle of the consumer Internet
图纸加密如何保障我们的核心图纸安全
How do I open a stock account on my mobile phone? In addition, is it safe to open a mobile account?
Braces on the left of latex braces in latex multiline formula
深入解析 Apache BookKeeper 系列:第四篇—背压
智慧路灯| 云计算点亮智慧城市的“星星之火”
5g smart building solution 2021
电商秒杀系统
The sandbox is being deployed on the polygon network
Spark - understand partitioner in one article
shell 同时执行多任务下载视频
One revolution, two forces and three links: the "carbon reduction" road map behind the industrial energy efficiency improvement action plan
异步过渡方案—Generator
In depth analysis of Apache bookkeeper series: Part 4 - back pressure
软件测试报告包含哪些内容?如何获取高质量软件测试报告?
pytorch 的Conv2d的详细解释