Stars can be classified into color groups called spectral classes

Stars can be classified into color groups called spectral classes

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

"96% of our customers have reported a 90% and above score. You might want to place an order with us."

Essay Writing Service
Affordable prices

You might be focused on looking for a cheap essay writing service instead of searching for the perfect combination of quality and affordable rates. You need to be aware that a cheap essay does not mean a good essay, as qualified authors estimate their knowledge realistically. At the same time, it is all about balance. We are proud to offer rates among the best on the market and believe every student must have access to effective writing assistance for a cost that he or she finds affordable.

Caring support 24/7

If you need a cheap paper writing service, note that we combine affordable rates with excellent customer support. Our experienced support managers professionally resolve issues that might appear during your collaboration with our service. Apply to them with questions about orders, rates, payments, and more. Contact our managers via our website or email.

Non-plagiarized papers

“Please, write my paper, making it 100% unique.” We understand how vital it is for students to be sure their paper is original and written from scratch. To us, the reputation of a reliable service that offers non-plagiarized texts is vital. We stop collaborating with authors who get caught in plagiarism to avoid confusion. Besides, our customers’ satisfaction rate says it all.

© 2022 Homeworkcrew.com provides writing and research services for limited use only. All the materials from our website should be used with proper references and in accordance with Terms & Conditions.

Scroll to Top