Programming people...!
3 مشترك
صفحة 1 من اصل 1
Programming people...!
programming people...!
need help.
just solve it...
Satellite sensors can be used to measure many different pieces of information that help us understand more about the atmosphere. It is composed of a number of layers around the earth. A satellite experiment was launched on the NIMBUS 7 spacecraft in 1978 to collect data on the composition and structure of the middle atmosphere. The instrumentation and sensors collected data from October 25, 1978, to May 28, 1979, returning more than 7,000 sets of data to the earth each day. These data were used to determine temperature, ozone, water vapor, nitric acid, and nitrogen dioxide distributions in the stratosphere and mesosphere.
Consider a problem in which we have collected a set of data measuring the ozone-mixing ratio in parts per million volume (ppmv). Over small regions, these data are nearly linear, and thus we can use a linear model (mixing ratio = slope * altitude + intercept) to estimate the ozone at altitudes other than ones for which we have specific data. Write a program that reads a data containing the altitude in km and the corresponding ozone mixing ratios in ppmv in the form x1 y1, x2 y2, …, xn yn for a region over which we want to determine a linear model. Use the least-squares technique presented below to determine and print the model. Also, print the beginning and ending altitudes to indicate the region over which the model is accurate.
need help.
just solve it...
Satellite sensors can be used to measure many different pieces of information that help us understand more about the atmosphere. It is composed of a number of layers around the earth. A satellite experiment was launched on the NIMBUS 7 spacecraft in 1978 to collect data on the composition and structure of the middle atmosphere. The instrumentation and sensors collected data from October 25, 1978, to May 28, 1979, returning more than 7,000 sets of data to the earth each day. These data were used to determine temperature, ozone, water vapor, nitric acid, and nitrogen dioxide distributions in the stratosphere and mesosphere.
Consider a problem in which we have collected a set of data measuring the ozone-mixing ratio in parts per million volume (ppmv). Over small regions, these data are nearly linear, and thus we can use a linear model (mixing ratio = slope * altitude + intercept) to estimate the ozone at altitudes other than ones for which we have specific data. Write a program that reads a data containing the altitude in km and the corresponding ozone mixing ratios in ppmv in the form x1 y1, x2 y2, …, xn yn for a region over which we want to determine a linear model. Use the least-squares technique presented below to determine and print the model. Also, print the beginning and ending altitudes to indicate the region over which the model is accurate.
رد: Programming people...!
include<stdio.h>
int
main(void)
{
int x ,z,y = 0,n=1;
duble slope , intercept;
printf(" the bigginning altitude is ");
scanf("%d",&x);
printf(" the ending altitude is ");
scanf("%d",&z);
while (x<= z)
{
y = y + 7000;
x = x + 1
}
أنا وقفت هني
بس لاحظت أن إلي داخل السيغما يكون من ضمن اللوب يعني بكل بساطة إنتي تكتبينهم في اللوب و اللوب بيطلع لج إياهم حبة حبة
و بعدين مجموع إلي طلعوا يطلع لما ينتهي اللوب
فإنتي لما تنهين اللوب حطي المعادلات عشان يطلع لج
slope , intercept
بس أنا وقفت بسببت
n
ما عرفت شو هي فوقفت سوري كالووووي هذا إلي قدرت عليه
int
main(void)
{
int x ,z,y = 0,n=1;
duble slope , intercept;
printf(" the bigginning altitude is ");
scanf("%d",&x);
printf(" the ending altitude is ");
scanf("%d",&z);
while (x<= z)
{
y = y + 7000;
x = x + 1
}
أنا وقفت هني
بس لاحظت أن إلي داخل السيغما يكون من ضمن اللوب يعني بكل بساطة إنتي تكتبينهم في اللوب و اللوب بيطلع لج إياهم حبة حبة
و بعدين مجموع إلي طلعوا يطلع لما ينتهي اللوب
فإنتي لما تنهين اللوب حطي المعادلات عشان يطلع لج
slope , intercept
بس أنا وقفت بسببت
n
ما عرفت شو هي فوقفت سوري كالووووي هذا إلي قدرت عليه
Evil girl- عدد المساهمات : 233
نقآط..} : 255
السٌّمعَة : 2
تاريخ التسجيل : 09/02/2012
رد: Programming people...!
خفو علينا انزين ..
قلب الاوقرو لا يتحمل
قلب الاوقرو لا يتحمل
شوفي شموخي- عدد المساهمات : 589
نقآط..} : 647
السٌّمعَة : -1
تاريخ التسجيل : 26/01/2012
العمر : 31
الموقع : لا يوجد ..افكر اشتري بيت ع المريخ
رد: Programming people...!
شووووكرن حبيبتي...بعطيج سؤال غيره.. عاد ما صدقت
write a program which reads two possitive integers number and limit, then produce the multipication table of the number up to the limit. Use the following function: void product(int,int);.................the main program reads the two integers number and limit
the function product produces the multipication table of number to limit.
شموخي شو وراك استانس قبل لا يشيب شعر راسك...
write a program which reads two possitive integers number and limit, then produce the multipication table of the number up to the limit. Use the following function: void product(int,int);.................the main program reads the two integers number and limit
the function product produces the multipication table of number to limit.
شموخي شو وراك استانس قبل لا يشيب شعر راسك...
رد: Programming people...!
عيبتني النظاره
شوفي شموخي- عدد المساهمات : 589
نقآط..} : 647
السٌّمعَة : -1
تاريخ التسجيل : 26/01/2012
العمر : 31
الموقع : لا يوجد ..افكر اشتري بيت ع المريخ
رد: Programming people...!
سوري حياتاتي و الله ماما قلعتني من الغرفة
Evil girl- عدد المساهمات : 233
نقآط..} : 255
السٌّمعَة : 2
تاريخ التسجيل : 09/02/2012
صفحة 1 من اصل 1
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى