Implementation in CLIPS programming language for thefollowing problem
Acme Electronics makes a device called the Thing 2000. Thisdevice is available in five different models distinguished by thechassis. Each chassis provides a number of bays for optional gizmosand is capable of generating a certain amount of power. Thefollowing table sumarizes the chassis attributes:
Chassis --------- Gizmo Bays provided --- Power Provided-----Price($)
C100--------------------------- 1---------------------------4------------------ 2000
C200------------------------- 2 --------------------------5------------------ 2500
C300--------------------------- 3---------------------------7------------------3000
C400---------------------------2----------------------------8------------------3000
C500-------------------------- 4 ---------------------------9------------------3500
Each gizmo that can be installed in the chassis requires acertain amount of power to operate. The following table summarizesthe gizmo attributes
Gizmo-------------------- Power Used--------------------Price($)
Zaptron ------------------------ 2------------------------------100
Yatmizer ----------------------- 6------------------------------800
Phenerator--------------------- 1------------------------------300
Malcifier----------------------- 3------------------------------200
Zeta-shield------------------- 4------------------------------150
Warnosynchronizer---------- 2-------------------------------50
Dynoseparator---------------- 3------------------------------400
Given as input facts representing the chassis and any gizmosthat have been selected, write a program that generates factsrepresenting the number of gizmos used, the total amount of powerrequired for the gizmo, and the total price of the chassis and allgizmos selected