Loading...如加载时间过长,请尝试科学上网。

棺と花束

「计算物理」下的文章


使用Python画考虑Magnus效应的棒球的轨迹

Flappy Baseball with Magnus Effect Problem Calculate the trajectory of a batted ball hit with side spin. That is, let the rotation axis be vertical, correspending to a ball that is hit so that it "hooks" or "slices."This is commonly encountered in a ball hit near one of the foul lines. Calculate how much a spin angular velocity of 2000 rpm would cause a line drive to curve. Is this consistent with your experiences? If not,calculate what angular velocity would be required. 用到的递归函数 考虑空气阻力和Magnus效应: $$\frac{dx}{dt} = v_x$$ $$\frac{dv_x}{dt} = -\frac{B_2}{m} v v_x$$ $$\frac{dy......

使用Python画带空气阻力的抛体运动的轨迹

Projectile Motion with Air Resistance Problem 2.9 Calculate the trajectory of your cannon shell including both air drag and the Reduced air density at high altitudes so that you can reproduce the results in Figure2.5.Perform your calculation for different firing angles and determine the Value of the angle that gives the maximum range. Solution with Python 同样由上一周Euler's Method的思路解决 Step.1 引入需要的作图包import math import numpy as np from matplotlib import pyplot as plt Step.2 定义函数与初值 由于需要考虑等温过程与绝热过程......

使用Python来解决一个欧拉法画图的问题

Euler's Method with Python Exercise 1.1 (Page 15) The velocity of a freely falling ball near Earth's surface is described by the equation $$\frac{\mathrm{d}v}{\mathrm{d}t} = -g$$ calculate $v$ as a function of $t$ For simplicity, assume that the initial velocity is zero, and calculate the solution for times $t=0$ to $t=10$ s Euler's Method in Problem 1.1 我决定还是用中文写了,英文水平不好…… 方程和初始条件为 $$\frac{\mathrm{d}v}{\mathrm{d}t} = -g, v(0) = 0$$ 对$t_0 = 0$附近的$t_1$,有: $$v(t_1) = v......