A child weighs 22 kg. The doctor orders ceftriaxone at a do…
A child weighs 22 kg. The doctor orders ceftriaxone at a dosage of 50 mg/kg to be administered intravenously once daily. The medication on hand is 1,000 mg/10 mL. What is the total dose of ceftriaxone the child should receive in mg? How many milliliters of the medication should be administered to provide the correct dose?
Read DetailsAssume there exists a variable myStr. Write a regular expres…
Assume there exists a variable myStr. Write a regular expression to test if the string held within myStr is exactly a non-negative number of 1 to 3 digits. For example, 0, 1, 21, 021, and 341 should all return true, whereas -1, 1.2, abc, 1332, a21, and 21b should all return false.
Read DetailsUse declarative array function(s) to print the names of TAs,…
Use declarative array function(s) to print the names of TAs, one-by-one, who have > 3 semesters of teaching experience. In other words, for each TA that has > 3 semesters of teaching experience, print their name on a new console line. const TAs = [ {name: “Jill”, semesters: 3}, {name: “Jess”, semesters: 5}, {name: “Jack”, semesters: 4}, {name: “John”, semesters: 2}];
Read Details