当前位置:网站首页>Advanced mathematical modeling
Advanced mathematical modeling
2022-06-30 23:12:00 【Infinite force】
Here is the custom directory Insert a code chip here
Insert a code chip here
Insert a code chip here
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(" The stagnation point of this function is ",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})
Insert a code chip here
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)
Insert a code chip here
```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)
边栏推荐
- DNS server setup, forwarding, master-slave configuration
- 在线客服系统代码_h5客服_对接公众号_支持APP_支持多语言
- CNN classic network model details -lenet-5 (pytorch Implementation)
- AtCoder Beginner Contest 255
- 基金管理人公司治理和风险管理
- Fund customer service
- Fund managers' corporate governance and risk management
- Meet the streamnational | yangzike: what made me give up Dachang offer
- Redis的缓存穿透、缓存击穿和缓存雪崩
- HP 惠普笔记本电脑 禁用触摸板 在插入鼠标后
猜你喜欢

"Paddle + camera" has become a "prefabricated dish" in the AI world, and it is easier to implement industrial AI quality inspection

Redis - 01 cache: how to use read cache to improve system performance?

RIDE:获取图片base64

KubeVela 1.4:让应用交付更安全、上手更简单、过程更透明

206页上海BIM技术应用与发展报告2021

【Android,Kotlin,TFLite】移动设备集成深度学习轻模型TFlite(物体检测篇)

Two dots on the top of the latex letter

Braces on the left of latex braces in latex multiline formula

Prospects of world digitalization and machine intelligence in the next decade

Swift 5.0 - creation and use of swift framework
随机推荐
CesiumJS 2022^ 源码解读[6] - 三维模型(ModelExperimental)新架构
基于kubernetes平台微服务的部署
Strictly minor spanning tree
企业出海数字化转型解决方案介绍
shell 同时执行多任务下载视频
5G智慧建筑解决方案2021
MIT博士论文 | 优化理论与机器学习实践
基金客户和销售机构
有孚网络混合云,加速企业数字化转型升级
How to mention hot fix and cherry pick
Redis - 01 缓存:如何利用读缓存提高系统性能?
Sm2246en+ SanDisk 15131
Shell multitasking to download video at the same time
Dell r720 server installation network card Broadcom 5720 driver
Deployment of microservices based on kubernetes platform
Cas classique multithreadé
Kubevela 1.4: make application delivery safer, easier to use, and more transparent
Redis' transaction and locking mechanism
AtCoder Beginner Contest 255
多線程經典案例