Ensure A++ Grade With Biorhythm - Python Script Assignment Help and Online Tutor Services!!

Home   Course  
Previous << || >> Next

DO WANT TO HIRE TUTOR FOR ORIGINAL BIORHYTHM - PYTHON SCRIPT ASSIGNMENT SOLUTION? AVAIL QUALITY BIORHYTHM - PYTHON SCRIPT ASSIGNMENT WRITING SERVICE AT BEST RATES!

Question: Provide a Python script which will calculate the Biorhythms for an individual and present the data graphically using libraries and a common algorithm.

Answer:

Biorhythm

Biorhythm is an application to predict the life style activities of a person using simple mathematical calculations. During his/her life time, a person has different activities which are related to physical, mental and emotions of a person. These values can be predicted using simple mathematical logics from user's date of birth and target date. The mathematical formulas which are used for predicting physical, emotional and Intellectual skills of an individual are given below.

a. Physical = sin(2πt/23)

b. emotional = sin(2πt /28)

c. Intellectual skills = sin(2πt /33)

Where t is the number of day difference between the date of birth and Target date

Learning Outcomes

The following course learning outcomes are assessed by completing this assessment:

K1. Identify and use the correct syntax of a common programming language.

K2. Recall and use typical programming constructs to design and implement simple software solutions.

K3. Reproduce and adapt commonly used basic algorithms.

K4. Explain the importance of programming style concepts (documentation, mnemonic names, indentation)

S2. Write and implement a solution algorithm using basic programming constructs.

S3. Demonstrate debugging and testing skills whilst writing code.

A1. Develop self-reliance and judgement in adapting algorithms to diverse contexts.

A2. Design and write program solutions to identified problems using accepted design constructs.

GET ASSURED A++ GRADE IN EACH BIORHYTHM - PYTHON SCRIPT ASSIGNMENT ORDER - ORDER FOR ORIGINALLY WRITTEN SOLUTIONS!

Pseudo code:

1. Start the program

2. Import numpy, datetime and matplotlib.pyplot modules

3. Read date of birth of an individual from user

4. Read target date from user

5. Calculate the difference between Date of birth and target date in days using datetime module

6. Calculate Physical skill of the individual using sin(2πt/23) formula. Store the result in a list for different t values

7. Calculate Emotional skill of the individual using sin(2πt/28) formula. Store the result in a list for different t values

8. Calculate intellectual skill of the individual using sin(2πt/33) formula. Store the result in a list for different t values

9. Plot a curve for Physical skill using the list of values calculated in step-6.

10. Plot a curve for Emotional skill using the list of values calculated in step-7.

11. Plot a curve for intellectual skill using the list of values calculated in step-8.

12. Add title for the graph using title method from matplotlib.pyplot module

13. Display the graph using show() method from matplotlib.pyplot module

14. Stop the program

ARE YOU LOOKING FOR RELIABLE BIORHYTHM - PYTHON SCRIPT ASSIGNMENT HELP SERVICES? EXPERTSMINDS.COM IS RIGHT CHOICE AS YOUR STUDY PARTNER!

Program Code:
#importing required builtin modules

import datetime as dt
from numpy import *
import matplotlib.pyplot as plt

#reading Date of birth from user
d,m,y=map(int,input("enter your Date of Birth : (DD-MM-YYYY)").strip().split("-"))
dob=dt.date(y,m,d)

#reading target date from user
d,m,y=list(map(int,input("enter your Target date : (DD-MM-YYYY)").strip().split("-")))
target=dt.date(y,m,d)

difference=(target-dob).days
rangeofDays=[]
for i in range(difference-10,difference+10):
rangeofDays.append(i)

physicalline=[]
emotionalline=[]
intellectualline=[]
for i in rangeofDays:
#calculating physical values
physicalline.append(100*sin(2*3.14*i/23))
#calculating emotional values
emotionalline.append(100*sin(2*3.14*i/28))
#calculating intellectual values
intellectualline.append(100*sin(2*3.14*i/33))
#Calculating values for x-axis
xaxis=[dt.date.fromordinal(i) for i in rangeofDays ]

#ploting curve for physical values
plt.plot(xaxis,physicalline)
#ploting curve for emotional values
plt.plot(xaxis,emotionalline)
#ploting curve for intellectual values
plt.plot(xaxis,intellectualline)

#displaying legend for the graph
plt.legend([' Physical', 'Emotional','Intellectual'])
#displaying title for the graph
plt.title('My BioRhythms graph')
#making graph visible on the screen
plt.show()

Conclusion:
Biorhythm is a model for predicting different biological skills of an individual. By doing this experiment, I understood that how to calculate different skill of a person such are physical, emotional and intellectual from the date of birth of the person. Also I understood how to plot sin curves in python graph. I used matplotlib.pyplot module to plot curves and datetime module for manipulating dates.

WE HELP STUDENTS TO IMPROVE THEIR GRADES! AVAIL TOP QUALITY BIORHYTHM - PYTHON SCRIPT ASSIGNMENT HELP AND HOMEWORK WRITING SERVICES AT CHEAPER RATE!

Access our Federation University Assignment Help Services for its related ITECH units such as:-

  • ITECH 5000 Programming Assignment Help
  • ITECH 1004 Multimedia Communication Assignment Help
  • ITECH 5006 Database Management Systems Assignment Help
  • ITECH 1001 Communication and Technology Assignment Help
  • ITECH 5004 Multimedia Communication Assignment Help
  • ITECH 1006 Database Management Systems Assignment Help
  • ITECH 5401 Professional Communication Assignment Help
  • ITECH 2250 IT Project Management Techniques Assignment Help
  • ITECH 2004 Data Modelling Assignment Help
  • ITECH 1104 Cloud and Enterprise Computing Assignment Help

Tag This :- EM19512AVN2305CS_1, Biorhythm - Python Script Assignment Help

get assignment Quote

Assignment Samples

    DuPont Analysis Assignment Help

    dupont analysis assignment help - Using the DuPont Analysis, how well is each company performing over time? For 2017, how do the companies compare to each other

    Friction Force Assignment Help

    friction force assignment help - Federation University, Australia. Determine the pipe friction factor for flow of water through a 1m diameter old PVC pipe

Get Academic Excellence with Best Skilled Tutor! Order Assignment Now! Submit Assignment