Are You In Need Of ITECH1400 Biorhythms Assignment Help And Assessment Writing Service? Get Help From Skilled Tutors!

Home   Course
Previous << || >> Next

ITECH1400 Biorhythms, Federation University, Australia

Foundations Of Programming

ARE YOU LOOKING FOR RELIABLE ITECH1400 BIORHYTHMS ASSIGNMENT HELP SERVICES? EXPERTSMINDS.COM IS RIGHT CHOICE AS YOUR STUDY PARTNER!

Question: Develop a Python application that can display Biorhythms for a person given their date of birth and the target date.

Answer: Biorhtyhms are an attempt to predict various aspects of a person's life through simple mathematical cycles. It was postulated that there exist three cycles - physical, emotional and intellectual, with time periods of 23,28 and 33 days.

The cycles are sine waves, and go from +ve to -ve and vice versa. Biorhtyhms used to be of much interest earlier, but it is settled to be a pseudo-science now.

The positive phase of each cycle is a period when the person will experience +ve aspects in his life. For instance, if his emotional cycle is above the axis, he will experience a sense of happiness. The same is the case with other cycles too.

Biorhythms are calculated based on the number of days elapsed from the date of birth. This is done by the python program.

The python program asks the user to enter his date of birth, and then sketches the three cycles over a spread of dates entered by the user. The output is plotted to the text file biorhythm.txt.

Please find the output in the .txt file.

PSEUDOCODE

import datetime
from math import *
import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt

phy = [] #physical values
emo =[] #emotional values
intl= [] #intellectual values

dob = Get date of birth from user
datespread = Get count from user

for i = date1 to date2
phy(i) = 15*sin(2*pi*(i-dob)/23)
emo(i) = 15*sin(2*pi*(i-dob)/28)
intl(i) = 15*sin(2*pi*(i-dob)/33)

Plot graphs of phy(i), emo(i), intl(i) versues i

SOURCE CODE

import datetime
from math import *

import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt

pi = 3.141592653589793

phy = [] #physical values
emo =[] #emotional values
intl= [] #intellectual values
d = [] #dates

dob = input('Enter date of birth mm/dd/yyyy: ').split('/')
dspread = int(input('Enter number of dates: '))+20
bday = datetime.date(int(dob[2]), int(dob[0]), int(dob[1]))
today = datetime.date.today()
dcount = (today-bday).days

date = datetime.datetime.now() - datetime.timedelta(days=20)
a = float(15*sin(2*pi*temp/23))
b = float(15*sin(2*pi*temp/28))
c = float(15*sin(2*pi*temp/33))

phy.append(a)
emo.append(b)
intl.append(c)
d.append(date)
date = date + datetime.timedelta(days=1)

print('-'*60)
print('Biorhythm for person with dob: ',bday.strftime('%d %b %Y'))
print('Today is ',today.strftime('%d %b %Y'))
print('# of days from dob = ',dcount)
print('-'*60)

fig = plt.figure(figsize=(10, 8))
fig.suptitle('Biorhythm chart (Blue - phy, Red - emo, Green - intl)', fontsize=20)
plt.xlabel('Dates', fontsize=18)
plt.ylabel('P/I/E levels', fontsize=16)

ax.plot(d,phy)
ax.plot(d,emo)
ax.plot(d,intl)

fig.savefig('graph.png')

EXPERTSMINDS.COM ACCEPTS INSTANT AND SHORT DEADLINES ORDER FOR ITECH1400 BIORHYTHMS ASSIGNMENT - ORDER TODAY FOR EXCELLENCE!

Graph:

ORDER NEW ITECH1400 BIORHYTHMS ASSIGNMENT AND GET 100% ORIGINAL SOLUTION AND QUALITY WRITTEN CONTENTS IN WELL FORMATS AND PROPER REFERENCING!

Conclusion: A python program was written to accept the date of birth from the user, and plot the physical, emotional and intellectual sine curves over a spread of dates around the present date. The curves are sine curves going from positive to negative, and vice versa and have been scaled to -15,+15.

Acquire reliable and genuine online Federation University, Australia assignment help service for its related courses and units, such as:

• ITECH1300 - Mobile Computing Platforms And Development Fundamentals Assignment Help
• ITECH2000 - Mobile Development Fundamentals Assignment Help
• ITECH2001 - Game Development Fundamentals Assignment Help
• ITECH2002 - Systems Modelling Assignment Help
• ITECH2003 - Web Design Assignment Help
• ITECH2004 - Data Modelling Assignment Help
• ITECH2100 - Programming Assignment Help
• ITECH2102 - Digital Image Manipulation Assignment Help
• ITECH2103 - Open Source & Linux Assignment Help
• ITECH2104 - Industry Awareness Assignment Help
Tag This :- EM19187ASH2905PYTH ITECH1400 Biorhythms Assignment Help

Assignment Samples

 SEHS3302 Dynamics and Vibrations Assignment Help From this assignment shows the calculations of displacement,velocity and acceleration. It also give relative velocity. These calculations are for truck and car. SCM 540 Operations and Supply Chain Management Assignment Help scm 540 operations and supply chain management assignment help - Abu Dhabi University, UAE. Project- Improving Operations and Supply Chain in Production Systems Organizational Strategy Assignment Help organizational strategy assignment help - Kaplan Business School, Australia. Clearly articulates the organisations strategy and business model Holistic Approaches for Dementia Patients Assignment Help The current assignment sheds light on the prevalence of dementia worldwide and its impacts on the global mental health of the current aged population. B628 Organisations and People b628 organisations and people - this study provides information about the leadership aspects important in an organisational context. Sara Lee Corporations Eurobonds - Case Study Assignment Help sara lee corporations eurobonds - case study assignment help - Read case study and give answers and opinions related to speculator's profit. HUMN 4001 Creating Community Resources Assignment Help humn 4001 creating community resources assignment help - the following paper analyses three given case studies related to mental health and mental illnesses.

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