The perfect choice of one-stop service for diversification of architecture.
If the only expression you evaluate is Newton's law in bare form then there is no approximation in the formula's themselves. Then only one source of error remains, the precision level of the numerical integration. You have a trade-off there. Higher precision level may limit you to, say, computing only a couple of thousand years of Moon motion. Lower precision level may allow you to compute millions of years, but probably by that time accumulation of error has made the end state meaningless.(Also, over time the distance between the Earth and the Moon is increasing. There are tidal effects that result in the Earth slowing down and the Moon being pulled to a higher orbit. So a long term model would have include that gravitational interaction.)So it's good to be aware of the trade-offs that apply in your case, and to try and make sensible decisions.One important trade-off, I think: the simpler the expressions that the numerical integration evaluates, the more debuggable the simulation is. Newton's law of gravity is a simple, transparent expression.Displaying the resultsAgain, since your computing power is effectively limitless you can display the results of the computation in any way you want. For instance, you can choose to set up a side by side display of the motion with respect to some particular inertial coordinate system, and next to it the motion with respect to some particular rotating coordinate system. The required coordinate transformation for that is trivial.That is, given your limitless computing power the decision on how to display the results is independent from the decision of how to execute the numerical integration itself.There is no such thing as: "I want to visualize the results as motion with respect to this rotating coordinate system so I must do all the computation in that rotating coordinate system.
" Obviously the two are independent.
⢠Related Questions
Quantum version of the Galton BoardYou might like this 110-page paper by me and Alex Arkhipov, which is all about a quantum bosonic analogue of Galton's board (we even use the same graphic you did -- see Section 1.1!). In particular, we gave strong evidence that such a board (with an arbitrary configuration of "pegs," and with multiple entry points for the "balls") is exponentially hard even to simulate using a classical computer. This suggests that such a quantum Galton's board (which is now called a "BosonSampler") could be used as a rudimentary, proof-of-principle quantum computer. And indeed, within the last year the first BosonSampling experiments were done in linear optics (see here), although so far only with 3 photons.To make our argument for computational hardness work, we needed two crucial assumptions:(1) The "balls" have to be indistinguishable particles. If they're distinguishable, then the distribution for any one individual ball could still exhibit interference fringes. But once you knew the probability distribution for one ball, the distribution for n balls would just be obtained by sampling from that distribution n times independently -- thereby producing "conventional, classical" Law of Large Numbers behavior. By contrast, identical quantum particles can famously become "correlated" even if they've never explicitly interacted, as seen for example in the Hong-Ou-Mandel dip.(2) The "balls" have to be bosons. In that case, their transition amplitudes are given by nxn matrix permanents, the calculation of which is a famous hard problem in computer science. By contrast, if the balls are fermions, then their transition amplitudes are given by nxn determinants, which are easy to calculate classically.Of course, there's also a "narrower" way to interpret your question, which might be closer to what you were actually asking about! Namely, rather than an "arbitrary" Galton-like board, we could consider the specific geometry from the figure: so let's say, a network of 50/50 interferometers arranged in a diamond pattern in the plane, with a single source of particles at the top. And we could then calculate (or, if we're lazier, numerically simulate.
..) the particular probability distribution over n-particle outcomes that that configuration leads to, under two different assumptions:(1) That the particles are distinguishable. (In this case, of course, the problem reduces to working out the distribution for a single particle.)(2) That the particles are indistinguishable bosons.
(Note that a third case, that the particles are indistinguishable fermions, never arises -- for by the Pauli exclusion principle, n identical fermions couldn't even "fit" simultaneously through the single source at the top.)If I have some time later, I might work out the answers and post them here -- but in the meantime, anyone else should feel free to do so first.Addendum: OK, so let's consider the case of a single quantum particle passing through a "diamond-shaped" network of 50/50 interferometers. In that case, the probability distribution after n steps will be determined, not by the nth row of Pascal's triangle (as in the classical case), but by the nth row of what we might call the "interferometric Pascal's triangle." The latter is defined as follows: let A(i,j) be the jth entry in row i. Then:A(0,0)1A(0,j)0 for all j0For ij positive and odd: A(i,j)A(i-1,j)A(i-1,j1)For ij positive and even: A(i,j)A(i-1,j-1)-A(i-1,j)I'm almost certain that the result will asymptotically approximate the standard behavior for the "quantum random walk on the line": see here or here for good overviews. In particular, the distribution will not look anything like the Gaussian one: instead it should be nearly uniform, except with a bunch of oscillating peaks near the two edges, with the size of the peaks getting damped as you move closer to the center. (See the linked papers for example images.)A slight caveat is that usual analyses of quantum random walks assume there's a "coin" (i.
e.
, a spin-1/2 internal degree of freedom), whereas I've used a staggered arrangement of interferometers to remove the need for the coin. I don't think that affects the walk's qualitative behavior, but I don't have a proof
{"site":{"site_id":3483,"site_type":1,"site_domain":"digahousing.com","domain_mode":1,"original_domain":"digahousing.com","language_code":"ar","is_init_domain":0,"is_shop":false,"is_ssl":1,"lang_prefix":"/","animate_name":"animate__fadeIn"},"page":{"page_id":32236,"page_type":"ai_article_detail","page_code":423,"page_url":"/ai-article/modelling-lunar-motion-in-python-closed.html","page_source":"","allowAnimat":0,"content_id":3096,"content_type":5,"detail_thumb":"https://img.yfisher.com/1620815740208.jpg","detail_title":"Modelling Lunar Motion in Python Closed","moq":1},"translateList":{"A new item has been added to your Shopping Cart":"تمت إضافة عنصر جديد إلى سلة التسوق الخاصة بك","account":"الحساب","Account Name":"أسم الحساب","Account Number":"رقم حساب","Account is not exists":"الحساب ليس موجودا","account security":"أمن الحساب","Active Commission":"لجنة نشطة","Add a review on the product":"أضف مراجعة على المنتج","Add to":"اضف إليه","Add to Cart":"أضف إلى السلة","address book":"دليل العناوين","affiliate links":"روابط تابعة","all":"الكل","All Orders":"جميع الطلبات","Already commented":"وعلق بالفعل","Are you sure to cancel this withdrawal?":"هل أنت متأكد من إلغاء هذا الانسحاب؟","Are you sure to delete the selected items?":"هل من المؤكد أنك تحذف العناصر المحددة؟","Are you sure you want to delete it?":"هل أنت متأكد أنك تريد حذف ذلك؟","Awaiting Payment":"انتظار الدفع","Awaiting Shipment":"في انتظار الشحن","Back":"خلف","Bank Transfer":"حوالة بنكية","bank address":"عنوان البنك","basic information":"معلومات اساسية","Buy":"يشتري","Buy Now":"اشتري الآن","bank name":"اسم البنك","city":"مدينة","Copy successful":"نسخ ناجحة","Copy failed":"فشل النسخة","Can Extract":"يمكن استخراج","Currency Type":"نوع العملة","Cancel":"إلغاء","Cancel the success":"إلغاء النجاح","Cancelled":"ألغيت","Choose a country":"اختر بلد","Choose Coupon":"اختر كوبون","Choose items":"اختر العناصر","Clear":"صافي","Clear Search":"مسح البحث","Comment Successful!":"التعليق ناجح!","Comment Failed!":"فشل التعليق!","Commission Details":"تفاصيل اللجنة","Commission":"عمولة","Commission Status":"حالة اللجنة","commodity payment":"دفع السلع","completed":"completed","Completed":"منجز","Condition not met":"الحالة لم تتحقق","Confirm":"يتأكد","Confirm password is inconsistent with new password":"تأكيد كلمة المرور غير متناسقة بكلمة مرور جديدة","Congratulations":"تهانينا","Congratulations! You are got a coupon.":"تهانينا! لديك قسيمة.","Congratulations! You are got all coupons.":"تهانينا! لديك كل كوبونات.","Continue":"استمر","Continue Shopping":"مواصلة التسوق","Copy the code and use it directly in the shopping cart.":"انسخ التعليمات البرمجية واستخدامها مباشرة في عربة التسوق.","Country":"بلد","Coupon code":"رمز الكوبون","Coupon List":"قائمة الكوبون","Date":"تاريخ","days after receiving":"أيام بعد استلامها","Design customization":"تصميم التخصيص","Do not use any discount":"لا تستخدم أي خصم","Earliest":"باكرا جدا","Export successful":"تصدير ناجح","Export failed":"فشل التصدير","email":"البريد الإلكتروني","email format does not match":"تنسيق البريد الإلكتروني غير متطابق","Estimated Delivery Time":"يقدر وقت التسليم","Effective Order Count":"عدد الطلبات الفعالة","Effective Sale Amount":"مبلغ البيع الفعال","Expense":"مصروف","expired":"منتهية الصلاحية","export a report?":"تصدير تقرير؟","Failed to upload files.":"Failed to upload files.","FAQ":"FAQ","Find Parts":"العثور على أجزاء","for order over":"للطلب أكثر من ذلك","Free":"حر","Free Quote & Information Request":"طلب اقتباس مجاني ومعلومات","Free Shipping":"الشحن مجانا","Get":"احصل على","Get coupons":"الحصول على كوبونات","Get discount":"الحصول على خصم","Get it":"احصل عليه","Get it after logging in and use it in the shopping cart.":"احصل عليه بعد تسجيل الدخول واستخدامها في عربة التسوق.","Go to Page":"انتقل إلى صفحة","Highest Price":"اغلى سعر","home":"الصفحة الرئيسية","Hot Sale":"عرض ساخن","Income":"دخل","Incorrect form format":"تنسيق شكل غير صحيح","inquiry":"استفسار","join guide":"دليل الانضمام","Last 30 days":"آخر 30 يومًا","Last 7 days":"اخر 7 ايام","Links report":"تقرير الروابط","Loading":"جار التحميل","Lowest Price":"أقل سعر","Match Product":"تطابق المنتج","Merchant Free Shipping":"التاجر شحن مجاني","message":"رسالة","Most Popular":"الأكثر شعبية","my account":"حسابي","my coupons":"كوبونات بلدي","my inquiry":"استفساري","my orders":"طلباتي","my reviews":"مشاريعي","my wishlist":"قائمة امنياتي","name":"اسم","New Arrival":"قادم جديد","Newest":"الأحدث","No Quotation":"لا اقتباس","No time limit":"لا يوجد حد زمني","Not deleted":"لم يتم حذفها","not valid yet":"غير صالح بعد","Off":"عن","Offers and Discounts":"العروض والخصومات","ok":"موافق","Only DOC,DOCX,PDF,PNG,JPEG and JPG files can be uploaded":"يمكن تحميل ملفات DOC و DOCX و PDF و PNG و JPEG و JPG فقط","optional":"اختياري","order notes":"ترتيب ملاحظات","Order over":"النظام","order id":"رقم التعريف الخاص بالطلب","order status":"حالة الطلب","order amount":"كمية الطلب","Orders Report":"تقرير الأوامر","Other":"آخر","Password contains at least numbers and letters length should be 6-20":"تحتوي كلمة المرور على الأرقام على الأقل ويجب أن يكون طول الحروف 6-20","Password is invalid":"كلمة المرور غير صالحة","Password length should be 6-20":"يجب أن يكون طول كلمة المرور 6-20","Paypal":"باي بال","paypal payment":"الدفع باي بال","Pending":"قيد الانتظار","Pending Commission":"اللجنة المعلقة","personal info":"معلومات شخصية","Please click ’click to continue’ to retry.":"يرجى النقر فوق \"انقر للمتابعة\" لإعادة المحاولة.","Please contact customer service for cash withdrawal":"يرجى الاتصال بخدمة العملاء للحصول على السحب النقدي","Please enter a valid email address":"يرجى إدخال عنوان بريد إلكتروني صالح","Please enter the verification code":"الرجاء إدخال رمز التحقق","Please login in first":"يرجى تسجيل الدخول أولا","Please select attribute":"يرجى اختيار السمة","Please select country/region":"يرجى اختيار البلد / المنطقة","Please select superior":"يرجى اختيار متفوقة","Please select the number of ratings.":"يرجى اختيار عدد التصنيفات.","Please select your country":"الرجاء تحديد بلدك","Please upload the invoice file":"يرجى تحميل ملف الفاتورة","Processing":"يعالج","Product Name":"اسم المنتج","Please fill in the delivery address before selecting the payment method":"يرجى ملء عنوان التسليم قبل اختيار طريقة الدفع","promotion center":"مركز الترويج","Promotion Link Click Amount":"رابط الترويج انقر فوق مبلغ","Promoted link clicks":"نقرات الارتباط التي تمت ترقيتها","Promotion Order Count":"عدد أوامر الترويج","Promotion Reports":"تقارير الترويج","read more":"اقرأ أكثر","Received commission":"تلقت عمولة","Refund":"استرداد","Refuse":"رفض","Region":"منطقة","Register Success":"سجل النجاح","Remittance":"التحويلات","Reviews":"المراجعات","reports":"تقارير","Sale ends in":"بيع ينتهي في","Save in wishlist":"حفظ في قائمة الأمنيات","Search":"بحث","swift code":"رمز السرعة","Select how to share":"حدد كيفية المشاركة","Select premium items to increase your chances of making money":"حدد العناصر المتميزة لزيادة فرصك في كسب المال","Share items to your channels.when other purchase a from your link, you can get commission.":"مشاركة العناصر إلى قنواتك. عند الشراء الآخر A من الرابط الخاص بك ، يمكنك الحصول على العمولة.","Share Product":"مشاركة المنتج","shipment successful":"شحنة ناجحة","Shipping":"الشحن","Shipping Address":"عنوان الشحن","Size guide":"دليل المقاسات","Small Text":"نص صغير","Small Title":"عنوان صغير","Sort By":"صنف حسب","Sales Amount":"مبلغ المبيعات","State/Province/Territory":"الدولة / المقاطعة / الإقليم","Successfully delete":"حذف بنجاح.","Successfully save":"حفظ بنجاح.","Thank you for trying":"شكرا على المحاولة","The account has been deactivated, please contact customer service to activate":"تم إلغاء تنشيط الحساب ، يرجى الاتصال بخدمة العملاء لتفعيلها","the content can not be blank":"المحتوى لا يمكن أن يكون فارغا","The coupon code has been copied and used in the shopping cart.":"تم نسخ رمز القسيمة وتستخدم في عربة التسوق.","The file name cannot exceed 100 characters":"لا يمكن أن يتجاوز اسم الملف 100 حرف","The file size cannot exceed 2MB":"لا يمكن أن يتجاوز حجم الملف 2 ميجابايت","The number of withdrawals on the day has been capped":"تم توج عدد عمليات السحب في اليوم","The subscription is successful, thank you for your participation":"الاشتراك ناجح، شكرا لك على مشاركتك","The user center is out of service. Please contact customer service":"مركز المستخدم خارج الخدمة. يرجى الاتصال بخدمة العملاء","There is no amount to withdraw":"لا يوجد مبلغ للانسحاب","There is no data to export":"لا توجد بيانات للتصدير","This is Text":"هذا هو النص","This is title":"هذا هو العنوان","This transaction has failed.":"فشلت هذه المعاملة.","Time to shop":"الوقت للتسوق","Tips":"نصائح","To be commented":"ليتم تعليقها","Total":"المجموع","Tutorial":"الدورة التعليمية","This Supplier/Shipping Company does not deliver to your selected Country/Region.":"لا تقدم هذه الشركة/شركة الشحن إلى بلدك/منطقتك المختارة.","Update password success":"تحديث نجاح كلمة المرور","Upload Image":"تحميل الصور","Upload up to 6 pictures":"تحميل ما يصل إلى 6 صور","uploading":"تحميل","used":"تستخدم","user center":"مركز المستخدم","Upload Invoice":"تحميل فاتورة","valid now":"صالح الآن","Validity period":"فترة الصلاحية","View Cart & Checkout":"عرض العربة","views":"الآراء","Valid for":"صالحة ل","Welcome to the website":"مرحبا بكم في الموقع","Western Union":"الاتحاد الغربي","When your buyers received and confirmed orders, you can get commission right now!":"عندما تلقى المشترين أوامر مؤكدة ، يمكنك الحصول على العمولة الآن!","Withdrawal":"انسحاب","Withdrawal success":"نجاح الانسحاب","Withdrawal Method":"طريقة السحب","Write a Review":"أكتب مراجعة","Withdrawal Amount":"كمية السحب","Yes":"نعم","Yesterday":"في الامس","You are clicking too fast":"أنت تنقر بسرعة كبيرة","You are got a coupon.":"لديك قسيمة.","You can select a maximum of 90 days":"يمكنك تحديد 90 يومًا كحد أقصى","You can withdraw the commission to your Paypal account.":"يمكنك سحب اللجنة إلى حساب PayPal الخاص بك.","You haven’t chosen an address yet":"لم تختار عنوان حتى الآن","You haven’t selected a product yet":"أنت لم تختار منتج حتى الآن","Your rating":"تقييمك","Your review":"مراجعتك","Your shipping address error":"خطأ عنوان الشحن الخاص بك"}}