Free Sample
Python script to calculate biorhythms and present the data graphically using libraries
Solution.pdfBiorhythms
Overview
In this assignment you will provide a Python script which will calculate the Biorhythms for an individual and present the data graphically using libraries and a common algorithm.
Minimum time expectation: 20 hours
Learning Outcomes Assessed 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.
Assessment Details
- Incomplete implementation(s), and
- Incomplete submissions (e.g. missing files), and
- Poor spelling and grammar.
Feedback
Plagiarism:
------------------------------------------------------------------------------------------
Expert Solution Preview :
Output
import datetime as dt
from numpy import *
import matplotlib.pyplot as plt
pi=3.14
bdate_in=list(map(int,input("enter your birth date : (yyyy-m-day)").strip().split("-")))
tdate_in=list(map(int,input("enter the target date : (yyyy-m-day)").strip().split("-")))
bdate=dt.datetime(bdate_in[0],bdate_in[1],bdate_in[2])# createing date object datetime(y,m,d)
tdate=dt.datetime(tdate_in[0],tdate_in[1],tdate_in[2])
delta=tdate-bdate #difference between days gives number of days between birthdate and target date
num_days=delta.days #to get only days and not time
t=arange(num_days-14,num_days+14,1) #time values with 14 days spread around target date
Get Assignment Help Now...!
Subjects We Offer
- Engineering Assignment Help
- MATLAB Assignment Help
- Mechanical Engineering Assignment Help
- Civil Engineering Assignment Help
- Computer Science Assignment Help
- Electrical Engineering Assignment Help
- Electronics Assignment Help
- Economics Assignment Help
- Management Assignment Help
- Do My Assignment
- Cheap Assignment Help
- Programming Assignment Help
- Law Assignment Help
- Assignment Provider
- Finance Assignment Help
- Python Assignment help
- Healthcare Management Assignment Help
- Computer Network Assignment Help
- History Assignment Help
- Industrial Engineering Homework Help
- IT Management Assignment Help
- Nursing Assignment Help
- Operating System Assignment Help
- Statistics Assignment Help
- Material Science Assignment Help
- Mechanical Engineering Homework Help
- University Assignment Help
- Agriculture Engineering Homework Help
- ATHE Courses Assignment Help
- Capital Budgeting Assignment Help
- BTEC Assignment Help
- HND Assignment Help
- Material Science Assignment Help
- Psychology Assignment Help
- Resit Assignment Help
- Computer Architecture Assignment Help
- Data Structure Assignment Help
- Database Assignment Help
- PHP Assignment Help