QUESTION 6:  in the TEXTBOX PROVIDED: WRITE the CODING for t…

QUESTION 6:  in the TEXTBOX PROVIDED: WRITE the CODING for the FORMULAS * use the following Code for variable names & types in the formulas DECLARE the variable names & Data type= ===================== QUESTION 6- FORMULAS // VARIABLES AND VALUES TO USE: float markRate = 0.15;                                // markup rate float taxRate = 0.03;                                   // tax Rate float comRate = 0.05;                                 // commission Rate float baseDiscRate = 0.01;                         // base Discount Rate int carCost = 20000;                                         // car Cost int noOfDisc = 1;                                             // no of Discounts // ***********************************   FORMULAS NEEDED ARE AS FOLLOWS: FINAL PRICE Found by : Subtract the DISCOUNT AMOUNT ..FROM.. the SUB PRICE   ================================ DISCOUNT AMOUNT Found by :   MULTIPLY the Customer Discount Rate by the Sub Price. ======================= CUSTOMER DISCOUNT RATE Found by :   MULTIPLY the Base Discount Rate by the No of Discounts ======================= SUB PRICE Found by :  Add TOGETHER: the Car Price, Commission Amount and Tax Amount. =======================   TAX AMOUNT Found by :   MULTIPLY the Car Price by the Tax Rate. =======================   COMMISSION AMOUNT  Found by :  MULTIPLY the Car Price by the Commission Rate. =======================   CAR PRICE  Found by :    FIRST .. ADD 1 to the Markup Rate..        THEN.. MULTIPLY this by the  Car Cost.

QUESTION 6:  in the TEXTBOX PROVIDED: WRITE the CODING for t…

QUESTION 6:  in the TEXTBOX PROVIDED: WRITE the CODING for the FORMULAS * use the following Code for variable names & types in the formulas DECLARE the variable names & Data type= ===================== QUESTION 6- FORMULAS // VARIABLES AND VALUES TO USE: float markRate = 0.15;                                // markup rate float taxRate = 0.03;                                   // tax Rate float comRate = 0.05;                                 // commission Rate float baseDiscRate = 0.01;                         // base Discount Rate int carCost = 20000;                                         // car Cost int noOfDisc = 1;                                             // no of Discounts // ***********************************   FORMULAS NEEDED ARE AS FOLLOWS: FINAL PRICE Found by : Subtract the DISCOUNT AMOUNT ..FROM.. the SUB PRICE   ================================ DISCOUNT AMOUNT Found by :   MULTIPLY the Customer Discount Rate by the Sub Price. ======================= CUSTOMER DISCOUNT RATE Found by :   MULTIPLY the Base Discount Rate by the No of Discounts ======================= SUB PRICE Found by :  Add TOGETHER: the Car Price, Commission Amount and Tax Amount. =======================   TAX AMOUNT Found by :   MULTIPLY the Car Price by the Tax Rate. =======================   COMMISSION AMOUNT  Found by :  MULTIPLY the Car Price by the Commission Rate. =======================   CAR PRICE  Found by :    FIRST .. ADD 1 to the Markup Rate..               THEN.. MULTIPLY this by the  Car Cost.

QUESTION 4:  in the TEXTBOX PROVIDED: WRITE the CODING for t…

QUESTION 4:  in the TEXTBOX PROVIDED: WRITE the CODING for the user interactive input * DECLARE the variable names & Data types ==================================== User INTERACTIVE INPUT: Student name (non-numeric) No of courses enrolled (no dec) Book fee (decimal value)   ================

John arrived at the emergency department with complaints of…

John arrived at the emergency department with complaints of chest pain. He is certain this is the “big heart attack” his father had. He is taken to the main emergency department, which is one large area with stretchers aligned side by side with only a curtain between each stretcher offering minimal to no privacy. It seems that someone appears every five minutes to check his blood pressure, draw blood or ask him more questions about his health history. The noise of the other patients, staff and monitoring equipment is so loud it is difficult for him to hear the providers’ questions. Time passes. Now John has been in the emergency room for over 12 hours and he has not rested. When he finally starts to close his eyes and relax the nurse’s aide begins placing him on a different monitoring device, with no explanation, just the statement, “You are going upstairs.” The cardiac floor where he arrives is not much quieter. John is placed in a four-person room. Both patients on the other side of the room have their televisions on and one of the IV pumps continuously alarms. John is feeling discomfort in his chest similar to what he felt in the Emergency Department. He has been unable to contact his wife because the battery on his cell phone went dead. He is anxious about what will eventually happen to him. What can the nurse do to care for John using all four contexts of Katharine Kolcaba’s theory of comfort?