当前位置:网站首页>高等数学建模
高等数学建模
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)
边栏推荐
- The superficial understanding of the industrial Internet finally brought the development of the industrial Internet into the strange circle of the consumer Internet
- 智慧路灯| 云计算点亮智慧城市的“星星之火”
- Introduction to machine learning compilation course learning notes lesson 2 tensor program abstraction
- JMeter cross thread parameter association requires no script
- HP 惠普笔记本电脑 禁用触摸板 在插入鼠标后
- "More Ford, more China" saw through the clouds, and the orders of Changan Ford's flagship products exceeded 10000
- Meet the StreamNative | 杨子棵:是什么让我放弃了大厂 Offer
- [Android, kotlin, tflite] mobile device integration depth learning light model tflite (image classification)
- Online customer service system code_ H5 customer service_ Docking with official account_ Support app_ Support for multiple languages
- flutter - sort List排序
猜你喜欢

JMeter cross thread parameter association requires no script
![[无线通信基础-13]:图解移动通信技术与应用发展-1-概述](/img/1d/62e55f1b5445d7349ec383879f4275.png)
[无线通信基础-13]:图解移动通信技术与应用发展-1-概述

Cas classique multithreadé

微信小程序中的数据双向绑定

Two dots on the top of the latex letter

深入解析 Apache BookKeeper 系列:第四篇—背压

一次革命、两股力量、三大环节:《工业能效提升行动计划》背后的“减碳”路线图

76页智慧物流园区综合解决方案2022(附下载)

企业出海数字化转型解决方案介绍

Zero sample and small sample learning
随机推荐
Solve arm_ release_ ver of this libmali is ‘g2p0-01eac0‘,rk_ so_ Ver is' 4 ', libgl1 mesa dev will not be installed, and there are unsatisfied dependencies
Qt笔记(七十四)之QLineEdit指定输入类型
What are the contents and processes of software validation testing? How much does it cost to confirm the test report?
Jmeter跨线程参数关联无需脚本
Spark - understand partitioner in one article
异步過渡方案—Generator
“飞桨+辨影相机”成为AI界的“预制菜”,工业AI质检落地更简单
CesiumJS 2022^ 源码解读[6] - 三维模型(ModelExperimental)新架构
Doker的容器数据卷
深入解析 Apache BookKeeper 系列:第四篇—背压
hot-fix、cherry-pick怎么提
在线客服聊天系统源码_美观强大golang内核开发_二进制运行傻瓜式安装_附搭建教程...
微信小程序中的数据双向绑定
Achieve secure data sharing among multiple parties and solve the problem of asymmetric information in Inclusive Finance
35 giant technology companies jointly form the meta universe standard Forum Organization
Classic case of multithreading
Fund customer service
In depth analysis of Apache bookkeeper series: Part 4 - back pressure
MIT doctoral dissertation optimization theory and machine learning practice
D compile time count