To calculate the indeces acurately


Question:

To calculate the indeces acurately

The graph of a person's emotional cycly y=f(x) is a sinc curve having an amplitude of 1 and a period of 28 days. On a given day, the person's emotional index is f(age), where age is his or her age in days. Similarly, the physical and intellectual cycles are sine curves having an amplitude of 1 and periods of 23 and 33 days, respectively. Write a function that receives a person's age and returns his or her physical, intellectual, and emotional indices for the current day. Write another function to compute a person's biorhythm index, which is the sum of the physical, intellectual, and emotion cycles. Write a driver progem to test your functions.

Solution Preview :

Prepared by a verified Expert
Other Subject: To calculate the indeces acurately
Reference No:- TGS01937534

Now Priced at $20 (50% Discount)

Recommended (92%)

Rated (4.4/5)