Clarissa M.

asked • 06/15/21

NEED HELP ASAP JAVA CODE

Design an mHealth system that consists of 2 biometric devices:

1) temperature sensor device, and

2) oxygen saturation device (𝑆po2).

the mHealth class has the following properties and behaviors:

• productName: the name of the product based on the brand (e.g., SparkFun Pulse Oximeter, BiosignalPlux 𝑆po2).

• biodata: the type of the data (e.g., 𝑆po2, temperature).

• accuracy: this is compared to the gold standard device (e.g., +-2% for the 𝑆po2, 0.02 Celsius for the temperature).

• computeOutput() with no implementation.

• Accessor and mutator methods


For the oxygen saturation device, it is an mHealth device which computes the (𝑆po2) from the partial pressure of oxygen (𝑝𝑂2) based on the following formula: 𝑆po2 = (23,400 ∗ ((𝑝𝑂2)3 + 150 ∗ 𝑝𝑂2)-1 + 1)-1


For each of the two 𝑆po2 devices, ask for the 𝑝𝑂2 in torr (unit of pressure) and compute the 𝑆po2. You also need to compare the two devices if they are equal in terms of the computed 𝑆po2 and display the information for each of those devices. The OxygenSaturation class has the following properties and behaviors:

• partPressOx: partial pressure of oxygen in torr.

• oxygenSat: oxygen saturation as a percentage (e.g., 99%).

• Constants.

• computeOutput(): this method compute 𝑆po2.

• Accessor and mutator methods.

• Any properties and methods from the mHealth class.

The temperature device is also an mHealth device which computes the temperature in Celsius from x Fahrenheit formula: 𝑇emperature (𝐶elcius) = (𝑥 − 32) ∗ 5 / 9


For each of the two temperature devices, you need to compare if the temperature measurements are equal on both devices. In addition, need to display the biometric information for each of the devices. the Temperature class has the following properties and behaviors:

• temperValue: temperature is originally in Fahrenheit and can be modified to Celsius

• Constants

• computeOutput(): the method converts the value of the temperValue to Celsius.

• Accessor and mutator methods.

• Any properties and methods from the mHealth class. You will have a test class (i.e., main class) that invokes the methods and creates objects. In addition, the methods that compare the biometric data and display the biometric information need to be implemented in the main class (i.e., only two methods). In other words, you must only have two methods, and not two methods for one type of object and two methods for the other object.

1 Expert Answer

By:

Patrick B. answered • 06/15/21

Tutor
4.7 (31)

Math and computer tutor/teacher

Patrick B.

that would be the class that contains main(), which I will leave for you.
Report

06/15/21

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.