当前位置:网站首页>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)
边栏推荐
- Detailed explanation of conv2d of pytorch
- 图纸加密如何保障我们的核心图纸安全
- 10 airbags are equipped as standard, and Chery arizer 8 has no dead corner for safety protection
- [golang] golang实现截取字符串函数SubStr
- composer
- 云游戏| 云计算推动游戏行业进入“新纪元”
- 206 page Shanghai BIM Technology Application and development report 2021
- 理想中的接口自动化项目
- 分享十万级TPS的IM即时通讯综合消息系统的架构
- Achieve secure data sharing among multiple parties and solve the problem of asymmetric information in Inclusive Finance
猜你喜欢

5G智慧建筑解决方案2021

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

Architecture of IM integrated messaging system sharing 100000 TPS

Netease cloud sign in lottery? That year I could sign in for 365 days. No? Look.

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

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

Cas classique multithreadé

JMeter cross thread parameter association requires no script

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

Redis - 01 缓存:如何利用读缓存提高系统性能?
随机推荐
leetcode:104. Maximum depth of binary tree
「团队训练赛」ShanDong Multi-University Training #3
What are the contents and processes of software validation testing? How much does it cost to confirm the test report?
5G智慧建筑解决方案2021
Fastjson V2 simple user manual
基金銷售行為規範及信息管理
The sandbox is being deployed on the polygon network
flutter - sort List排序
Understand target detection in one article: r-cnn, fast r-cnn, fast r-cnn, Yolo, SSD "suggestions collection"
hot-fix、cherry-pick怎么提
[golang] golang implements the string interception function substr
In depth analysis of Apache bookkeeper series: Part 4 - back pressure
What does the &?
"Paddle + camera" has become a "prefabricated dish" in the AI world, and it is easier to implement industrial AI quality inspection
[Android, kotlin, tflite] mobile device integration deep learning light model tflite (object detection)
Cesiumjs 2022 ^ source code interpretation [6] - new architecture of modelempirical
未来十年世界数字化与机器智能展望
Cesiumjs 2022 ^ source code interpretation [6] - new architecture of modelempirical
Braces on the left of latex braces in latex multiline formula
零样本和少样本学习