28-06-2010, 11:29 AM
|
#558
|
تاريخ التسجيل: Jul 2008
كلية: كلية الحاسبات وتقنية المعلومات
التخصص: IT
نوع الدراسة: عضو هيئة تدريس
المستوى: متخرج
البلد: جــــدة
الجنس: ذكر
المشاركات: 2,477
|
رد: [cpcs 202 - برمجة 1] لديك سؤال , شيء غير مفهوم ,,, تفضل هنا , موضوع مفيد
السلام عليكم ورحمة الله وبركاته
أخي احمد اذا ممكن تحللي هذا السؤال
1. The distance from the center of the earth to the center of the moon is 343711 km.
2. The moon’s orbit around the earth is completely circular.
3. The moon takes one whole month to finish a complete rotation around the earth.
Write a c program that finds and prints the distance and speed explained below using the following functions:
1. Function called dist_thous_yrs that receives the distance from the center of the earth to the center of the moon and returns the distance ( in km ) the moon covers orbiting around the earth for a thousand consecutive years.
2. Function called day_speed that receives the distance resulting from the first function ( dist_thous_yrs ) and returns the speed (in km/sec) needed to cover the same distance in a single day
وجزاك الله خيراً لمجهودك
بالتوفيق
|
وعليكم السلام ورحمة الله وبركاته .
السؤال يحتاج علم بطرق حساب المسافات بين الأرض والقمر.
لذلك ربما من أخذ مادة فلك قد يعرف الإجابة .
|
|
سبحان الله وبحمد ,,, سبحان الله العظيم الحمد لله كما ينبغي لجلال وجهه وعظيم سلطانه . اللهم صل على محمد وعلى آل محمد كما صليت على إبراهيم وعلى آل إبراهيم إنك حميد مجيد . اللهم بارك على محمد وعلى آل محمد كما باركت على إبراهيم وعلى آل إبراهيم إنك حميد مجيد.
|
|
|
|