02 Apr Stars can be classified into color groups called spectral classes. Stars can also be classified by their magnitude, which me
Part 1
Stars can be classified into color groups called spectral classes. Stars can also be classified by their magnitude, which measures their brightness. The lower the magnitude, the brighter the star. Magnitudes can range from -7 to 15. The table below lists some common brightest stars and their distance from Earth in light-years. Write a CLIPS program that asks the user for the spectral class and the magnitude of a star. The program should then list all stars matching both the spectral class and the magnitude with their distance from Earth in light-years.
Part 2
Once you have Part 1 working, add a new feature. If no star is found that matches both spectral class and magnitude, list all stars having the specified spectral class, followed by all stars having the specified magnitude. Label each section of output accordingly.
Hint for development:
Because an expert system is not modular or object-oriented, testing cannot be done in the manner you have learned in other classes. If you write the entire program and try to run it, errors will be difficult to locate. Since Part 2 has 2 distinct phases, get each phase working before proceeding to the next phase. It is advisable to context limiting for each of the components in Part 2.
Part 3
If you have everything working in Parts 1 and 2 but find yourself still wanting more, you can take the challenge. Spectral classes correspond to temperature ranges for the stars as in the table below:
Allow the user to enter the star’s temperature rather than spectral class. Use the temperature to determine the spectral class and proceed with listing the stars as in the previous sections.
Charts are attached
Part 1
|
Star |
Spectral Class |
Magnitude |
Distance |
|
Sirius |
A |
1 |
8.8 |
|
Canopus |
F |
-3 |
98 |
|
Arcturus |
K |
0 |
36 |
|
Vega |
A |
1 |
26 |
|
Capella |
G |
-1 |
46 |
|
Rigel |
B |
-7 |
880 |
|
Procyon |
F |
3 |
11 |
|
Betelgeuse |
M |
-5 |
490 |
|
Altair |
A |
2 |
16 |
|
Aldebaran |
K |
-1 |
68 |
|
Spica |
B |
-3 |
300 |
|
Antares |
M |
-4 |
250 |
|
Pollux |
K |
1 |
35 |
|
Deneb |
A |
-7 |
1630 |
Part 3
|
Spectral Class |
Temperature Range (°F) |
|
O |
more than 37,000 |
|
B |
17,001-37,000 |
|
A |
12,501-17,000 |
|
F |
10,301-12,500 |
|
G |
8,001-10,300 |
|
K |
5,501-8,000 |
|
M |
5,500 or less |
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteEdu. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
Do you need help with this question?
Get assignment help from WriteEdu.com Paper Writing Website and forget about your problems.
WriteEdu provides custom & cheap essay writing 100% original, plagiarism free essays, assignments & dissertations.
With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Chat with us today! We are always waiting to answer all your questions.