EssayGhost Assignment代写,Essay代写,网课代修,Quiz代考

EssayGhost-Essay代写,作业代写,网课代修代上,cs代写代考

一站式网课代修,论文代写

高质量的Assignment代写、Paper代写、Report代写服务

EG1hao
网课代修代上,cs代写代考
物理代写案例
您的位置: 主页 > 理科代写案例 > 物理代写案例 >
物理代写:Physics2代写 Homework代写 project代写 computer program代写 - 物理作业代写/物理代考
发布时间:2021-07-25 16:27:02浏览次数:
Physics 307 Homework 4Physics2代写 Note: See the notes on symplectic integrators for summaries of the different solvers used in this project.Now we will graduate Due Thursday, 11 October, by 5 PMNote: Physics2代写 See the notes on symplectic integrators for summaries of the different solvers used in this project.Now we will graduate to second-order differential equations, and solve a DE that we can’t do with pen and paper. The equation of motion for a pendulum is (1)In mechanics class you solved this by taking the small-angle approximation sin θ θ; the equation then has a solutionPhysics2代写where ω = . gθ(t) = A sin(ωt + φ) (2)giving a period T = 2π. L .  This is valid only in the limit θ → 0.This equation is very difficult to solve without making this approximation using pen and paper, but you have a computer!In this project, you will create and animate a computer simulation of a swinging pendulum,and study how its swing period depends on the angle at which it is swinging. In order to do this, you will need to be able to distinguish small effects caused by physics (a small shift in the period of your simulation caused by the change in amplitude) from small effects caused by numerical artifacts (a small shift in the period of your simulation caused by the fact that numerical solutions are always approximations). The first one is what we are interested in studying; the second one is just a distraction.Physics2代写Physics2代写Nota bene: While I’ve asked you to do a few other things, the primary purpose of this project is the last question – to examine the nonlinearities in a swinging pendulum. Your report should focus on this. The overarching question is: How does the period of a swinging pendulum depend on its amplitude, and how can  computer simulations answer this question    in a way that pen-and-paper calculations cannot?Without making the small-angle approximation, write a computer program that solves Newton’s law (rotational form) to compute the oscillation of a swinging pendulum usingthe Euler-Cromer algorithm, which is a first-order symplectic  (It is perhaps the easiest to code of all of them.)Physics2代写Animate your pendulum usinganim.Use your program to make graphs of θ(t) and ω(t) as a function of time for a few periods, and plot them on top of each other. Do your data make sense? As a note, familiarizeyourself with the ! bypass feature of anim, which will make it easy for you to get both animation and graphical output at the sameModifyyour program to determine the period of the pendulum and print it  You can determine when a period has elapsed by looking for sign changes in ω; look at the graphs you made in the last step for a reminder of how to do this.5.Doesyour program give you the result you expect (e. T ≈ 2π. L ) in the limit where the initial amplitude is small?Physics2代写Suppose a pendulum clock keeps accurate time when θmax= 5◦. How many seconds will it gain or lose per day if it is swinging at an angle of θmax = 20◦?Modifyyour program to use the leapfrog algorithm, which is a second-order symplectic integrator that you will use for the rest of the  (This should be an easy, fast modification.) Note that if you want the added precision from the use of a second-order solver, you should use the second-order interpolation mechanism for ω that you worked out in Project 2.Physics2代写Make a plot of the fractional deviation in the period, defined as ∆ =τ−τ0 . Here τ0 is the small-angle-limiting period, τ0 = 2π L. Calculate this for a range of θmax from 10−5 to 2 (radians). Make a log-log plot of ∆ vs. θmax. Your plot should cover amplitudes from around 10−6 to 2 radians. Here you might see deviations from the small-angleperiod from two sources: actual physical effects, and error in your numerical solution. You should take whatever steps you can to minimize the latter (using a reasonable stepsize, using interpolation to determine the period as you did in HW3, etc.), and then correctly interpret your data in light of the fact that you may still have errors related to your numerical solution.Physics2代写Based on what you know about the power series expansion of sin(x), comment on its appearance. Is it what you expect?Physics2代写其他代写:考试助攻 计算机代写 java代写 function代写 paper代写  web代写 编程代写 report代写 数学代写 algorithm代写 python代写 java代写 code代写 project代写 Exercise代写 dataset代写 analysis代写 C++代写 代写CS 金融经济统计代写 C语言代写 北美代写 物理代写合作平台:315代写 315代写 写手招聘 Essay代写

所有物理代写范围:essayghost为美国、加拿大、英国、澳洲的留学生提供物理代写、物理作业代写、物理代考等留学生物理作业代写、exam代考服务。