SlideShare a Scribd company logo
1 of 24
Position Analysis One-DOF Linkage
Vector Loop Representation of Linkage
Position Analysis
Position Analysis
Position Analysis
The Vector Loop Equation for a Fourbar Linkage
Position Analysis
The Vector Loop Equation for a Fourbar Linkage
Position Analysis
The Vector Loop Equation for a Fourbar Linkage
SUBJECT: DIMENSIONAL SYNTHESIS
Grashof’s Law for a Four Bar Linkage
REPORTS OF PROJECT
PROBLEM: Design a fourbar Grashof crank-rocker to give ?
(Everyone will determine the terms given by professor) of
rocker rotation with equal time forward and back, from a
constant speed motor input.
1- Obtain graphics of angulars �2 -Time, �3 -Time ,
�4 and µ (transmissions angle)-Time graphics by using Matlab
for crank-rocker.
Bring your designed Matlab program by CD or USB Memory.
NOT 1-You can bring to my office the day you want to reports
until December 2.
NOT 2- You can benefit from this book (Robert L. Norton:
Design of Machinery, Fourt Edition, SEE PAGES 102-103-104)
L
S
Q
P
· L is the longest link
· S identifies the shortest link
· P and Q are the other links
Grashof’s Law for a Four Bar Linkage
· L is the longest link
· S is the shortest link
· P and Q are the other links
Grashof’s law, states that if the sum of the shortest and longest
links is not greater than the sum of the remaining than two
links, at least one ofe the links will be revolving.
For the Class I case: S + L < P + Q
In this case, we get 3 different movements;
· Ground either link adjacent to the shortest and you get a
crank-rocker, in which the shortest link will fully rotate and the
other link fixed to ground will oscillate.
· Ground the shortest link and you will get a double- crank, in
which both links fixed to ground make complete revolutions as
does the coupler.
· Ground the link opposite the shortest and you will get a
double-rocker, in which both links fixed to ground oscillate and
only the coupler makes a full revolution.
For the Class I case: S + L < P + Q
The first movement;
· Ground either link adjacent to the shortest and you get a
crank-rocker, in which the shortest link (S) will fully rotate and
the other link fixed to ground (Q) will oscillate.
· At least one ofe the links will be revolving.
Crank-Rocker MechanismCrank-Rocker Mechanism
(Crank(S) makes a full revolution)(Crank(S) makes a full
revolution)
For the Class I case: S + L < P + Q
The second movement;
Ground the shortest link and you will get a double- crank, in
which both links fixed to ground (P and L) make complete
revolutions as does the coupler.
· At least one ofe the links will be revolving
Double-Crank Mechanism
(L and P make a full revolution)
For the Class I case: S + L < P + Q
The third movement;
Ground the link opposite the shortest and you will get a double-
rocker, in which both links fixed to ground oscillate and only
the coupler (S) makes a full revolution according to Q.
· At least one ofe the links will be revolving
Double-Rocker Mechanism
(Coupler(S) makes a full revolution)
Coupler (Connectig Rod): a link that has complex motion and is
not fixed to ground
Crank :
a link that makes a complete revolution
and is p
ivot
ed to ground
(
full rotation
-
no limit)
and (oscillatory)
Rocker:
a link that has oscillatory rotation and is
fix
ed to ground
(
full rotation
and oscillatory
)
Crank-Rocker MechanismCrank-Rocker Mechanism
(Crank(S) makes a full revolution)(Crank(S) makes a full
revolution)
Double-Crank MechanismDouble-Rocker Mechanism
(L and P make a full revolution)(Coupler(S) makes a full
revolution)
Grashof’s Law for a Four Bar Linkage
Grashof’s Law for a Four Bar Linkage
Grashof’s Law for a Four Bar Linkage
Transmission Angle in 4-Bar Linkage
Thank you for listening with patience a semester
©Regis University, All Rights Reserved
Unauthorized distribution (including uploading to any non-
Regis Internet website) violates copyright law
Regis University CC&IS
CS210 Introduction to Programming
Java Programming Assignment 6: Objects and Loops
Your previous Alice programs implemented the count (for) and
while loops.
This assignment will apply the same concepts to Java, along
with a third type of loop, the do-while loop.
You will again use an object to store data. Then looping
statements will be used to run some of the
statements repeatedly.
Problem Summary and Equations
Write a program to compare how long it will take to pay off a
credit card balance by paying only the
minimum required payment each month, or by paying a larger
amount each month. The program will
work for any credit card balance of $500 or more.
and 25%.
th
of the annual interest will be added to the
current balance each month.
to pay down anywhere from 6% to 33%
of the balance every month. The
payment made each month will always be at least the minimum
required payment, but will never
be more than the remaining balance.
Program Requirements
This program will implement a “generic” input reading method
called readPercent that can be used to
read and validate a percentage is within a specified range. The
method will include 3 parameters:
description of what percentage is being read from the
user
By passing in these values as parameters, you can re-use the
method to read any range of percentages
needed for any data value.
For example, if you were to call the method to read a mortgage
rate, which is a percentage between 3.5%
and 20%, the call would be:
double mortgageRate = readPercent(3.5, 20, "annual mortgage
rate");
Or to read a down payment percent, which is a percentage
between 10% and 30%, the call would be:
double downRate = readPercent(10, 30, "down payment
percent");
Required Classes and Methods
Two separate classes will be required for this program.
1. Define a Java class with properties and methods for a Credit
Card Account, named:
CreditCardAccount
©Regis University, All Rights Reserved
Unauthorized distribution (including uploading to any non-
Regis Internet website) violates copyright law
The class will have the following private properties:
centage – e.g. 12.5%)
Within the CreditCardAccount class you will define methods,
as follows:
entered values for only two of the
properties, the initial balance and annual interest rate.
o Use the parameters to initialize:
value
parameter value
o Initialize the percent to pay off each month to 0.
user entered values for all three of
the properties, and use them to initialize the property values.
of current balance to pay each
month.
minimum required payment for a month:
o Define and use three local constants:
A low balance limit ($1000)
o If the current balance is below the low balance limit, then the
minimum required payment
will be the low balance minimum payment.
o Otherwise, the minimum required payment will be the high
balance percentage of the
current balance.
o Return the correct minimum required payment
a payment for one month (note that
there will be no loops in this method). This method will:
o Calculate values and display one line of output, containing the
data about one month’s
payment, as follows:
for the month, and add
that interest to the current balance.
Display the interest charge and current balance (with
interest).
payment for the month, based on
the percent of current balance to pay each month data field.
ermine the minimum required
payment.
minimum required payment.
o If so, set the calculated payment to the minimum required
payment.
©Regis University, All Rights Reserved
Unauthorized distribution (including uploading to any non-
Regis Internet website) violates copyright law
balance. So check to see if
the calculated payment is higher than the remaining balance.
o If so, set the calculated payment to the remaining balance.
month.
(with interest).
after the payment has been
made).
information each month until the credit
card is paid off. This method will:
o Display a line describing the percent of current balance that
will be paid each month
percent.
o Display headers for the results (see sample output below).
o Use a while loop to update and display information about the
credit card account every
month, as follows:
Display the month number (starting with month 1, and
incrementing by 1 each time the
code loops).
display the data values for
the month.
o Stop looping when the current balance reaches 0.
o Return the number of months needed to pay off the card.
NOTE: When one instance method needs to call another
instance method, the second instance
method should be called using the this reference to reference
the current object.
2. Define a second class containing a main method, and
additional methods, to compare paying only the
minimum required payment each month with paying a larger
amount each month. Name the class:
PayoffComparison
Within the PayoffComparison class:
method to prompt for, read, and validate an
initial credit card balance.
The method will:
o Define and use a constant to hold the lowest initial balance
allowed ($500).
This constant should be used to specify the lowest value
allowed in the prompts,
and to test for it within conditions.
o Prompt for and read the initial balance.
o If the user enters an initial balance that is below the lowest
initial balance allowed:
-prompt the user and
read another value
o Loop until a valid value is entered.
o Return a valid initial balance.
©Regis University, All Rights Reserved
Unauthorized distribution (including uploading to any non-
Regis Internet website) violates copyright law
c static readPercent method described at the
top of this assignment, to prompt
for, read, and validate a percentage. This method will:
o Implement a loop that uses a boolean variable as the
condition.
o Prompt for and read a percentage.
mpt should use the parameters to specify the
percentage being read (description)
and the lowest and highest percentage rates allowed.
o If the percent entered is not valid (i.e. not between the lowest
and highest rate, inclusive):
ssage, and loop to re-prompt the user and
read another value
o Loop until the percent entered is valid.
o Return a valid percentage.
percentage of the balance to be paid
off each month. This method will:
o Define constants to hold the lowest and highest paydown
percentages allowed (6 and 33).
o Within a loop, until the user enter a valid choice:
minimum payment to make:
1 - 10% of remaining balance each month
2 - 20% of remaining balance each month
3 - 30% of remaining balance each month
4 – Some other percent of the balance each month between 6
and 33
read the percentage of the
balance to be paid off each month, between 6 and 33.
and read another choice.
o Return a valid percentage of the balance to be paid off each
month.
main method that will:
o Define constants to hold the lowest and highest annual
interest rates allowed (3 and 25).
o Display a description of what the program will do to the user.
o Read input from the user as follows:
read the initial balance.
rate.
pay off each month.
o After reading all the input, create two new objects of the
CreditCardAccount class
two user input values.
the user input values.
NOTE: After creating the objects, the variables used to store
the values read from the user
should not be used again.
©Regis University, All Rights Reserved
Unauthorized distribution (including uploading to any non-
Regis Internet website) violates copyright law
Sample Description and Input
o Display a couple of blank lines after reading all of the user
input.
o Call the payoff method with the first object, and store the
returned number of months.
o Call the payoff method with the second object, and store the
returned number of months.
o Display a statement comparing the number of months required
to pay off the credit card with
only the minimum monthly payments, vs paying off the credit
card with a larger monthly
payment (use a getter to get the payoff percentage per month).
(The figures in each column should line up with each other on
the right –
see Sample Output on next page for example)
3. The program must implement both a while and do-while loop
somewhere in the code.
4. The program must follow the CS210 Coding Standards from
Content section 6.10.
Be sure to include the following comments:
o Comments at the top of each code file describing what the
class does
the version of the
code (e.g. version 1.0, Java Assn 5)
o Comments at the top of each method, describing what the
method does
and return value.
WARNING: The objects, classes, and methods must be
implemented exactly as specified above.
If your program produces correct output, but you did not create
and use the object as specified,
and implement the required classes and methods, you will lose a
significant number of points.
Testing
ogram with different inputs,
until you are sure that all control
structures within your program work correctly.
test your program.
But be sure you thoroughly test it using other values as well.
This program calculates how long it will take to pay off your
credit
card balance with minimum payments vs. larger payments.
Enter the beginning balance (at least $500): 1111.11
the credit card's annual interest rate (between 3% and 25%): 7
What will the monthly payment will be?
1 - 10% of balance with interest
2 - 20% of balance with interest
3 - 30% of balance with interest
4 - Some other percent
Enter choice from Menu above: 2
©Regis University, All Rights Reserved
Unauthorized distribution (including uploading to any non-
Regis Internet website) violates copyright law
Sample Output
Results when paying minimum required payment per month
----------------------------------------------------------------
Initial Month's Balance End
Month Balance Interest w/Interest Payment Balance
----------------------------------------------------------------
1 1111.11 6.48 1117.59 55.88 1061.71
2 1061.71 6.19 1067.91 53.40 1014.51
3 1014.51 5.92 1020.43 51.02 969.41
4 969.41 5.65 975.06 50.00 925.06
5 925.06 5.40 930.46 50.00 880.46
6 880.46 5.14 885.59 50.00 835.59
7 835.59 4.87 840.47 50.00 790.47
8 790.47 4.61 795.08 50.00 745.08
9 745.08 4.35 749.43 50.00 699.43
10 699.43 4.08 703.51 50.00 653.51
11 653.51 3.81 657.32 50.00 607.32
12 607.32 3.54 610.86 50.00 560.86
13 560.86 3.27 564.13 50.00 514.13
14 514.13 3.00 517.13 50.00 467.13
15 467.13 2.72 469.86 50.00 419.86
16 419.86 2.45 422.30 50.00 372.30
17 372.30 2.17 374.48 50.00 324.48
18 324.48 1.89 326.37 50.00 276.37
19 276.37 1.61 277.98 50.00 227.98
20 227.98 1.33 229.31 50.00 179.31
21 179.31 1.05 180.36 50.00 130.36
22 130.36 0.76 131.12 50.00 81.12
23 81.12 0.47 81.59 50.00 31.59
24 31.59 0.18 31.78 31.78 0.00
Results when paying 20% of the balance per month
----------------------------------------------------------------
Initial Month's Balance End
Month Balance Interest w/Interest Payment Balance
----------------------------------------------------------------
1 1111.11 6.48 1117.59 223.52 894.07
2 894.07 5.22 899.29 179.86 719.43
3 719.43 4.20 723.63 144.73 578.90
4 578.90 3.38 582.28 116.46 465.82
5 465.82 2.72 468.54 93.71 374.83
6 374.83 2.19 377.02 75.40 301.62
7 301.62 1.76 303.37 60.67 242.70
8 242.70 1.42 244.12 50.00 194.12
9 194.12 1.13 195.25 50.00 145.25
10 145.25 0.85 146.10 50.00 96.10
11 96.10 0.56 96.66 50.00 46.66
12 46.66 0.27 46.93 46.93 0.00
Paying minimum required payment per month,
it will take 24 months to pay off the credit card.
Paying 20% of the balance per month,
it will take 12 months to pay off the credit card.
©Regis University, All Rights Reserved
Unauthorized distribution (including uploading to any non-
Regis Internet website) violates copyright law
Program Submission
This programming assignment is due by midnight of the date
listed in the Course Assignments by Week.
From this point in the course forward, programs that do not
compile without errors will not be accepted.
Again, you will submit a single zip file containing all of the
files in your project.
o Highlight the project name.
o Click on File from the top menu, and select Export Project.
o Select To ZIP
o Name your export file in the following format:
<lastname>Assn<x>.zip
For example:
SmithAssn6.zip
NOTE: Save this zip file to some other directory, not your
project directory.
submission folder (located under
the Assignments/Dropbox tab in the online course).
o Warning: Only NetBeans export files will be accepted.
Do not use any other kind of archive or zip utility.
Grading
This program will be graded using the rubric that is linked on
the same assignment page from which this
program requirements file was downloaded.
WARNING:
Programs submitted more than 5 days past the due date will not
be accepted,
and will receive a grade of 0.

More Related Content

Similar to Position Analysis One-DOF LinkageVector Loop Represent.docx

closing-the-hardware-design-loop-with-multisim-a-case-study
closing-the-hardware-design-loop-with-multisim-a-case-studyclosing-the-hardware-design-loop-with-multisim-a-case-study
closing-the-hardware-design-loop-with-multisim-a-case-studyAyush Bhardwaj
 
013 Research Paper Methods Section Social
013 Research Paper Methods Section Social013 Research Paper Methods Section Social
013 Research Paper Methods Section SocialNicole Williams
 
Lab 2Lab 2- Kinematics.pdf142017 Lab 2 Kinematicsh.docx
Lab 2Lab 2- Kinematics.pdf142017 Lab 2 Kinematicsh.docxLab 2Lab 2- Kinematics.pdf142017 Lab 2 Kinematicsh.docx
Lab 2Lab 2- Kinematics.pdf142017 Lab 2 Kinematicsh.docxsmile790243
 
Computational Estimation of Flow through the C-D Supersonic Nozzle and Impuls...
Computational Estimation of Flow through the C-D Supersonic Nozzle and Impuls...Computational Estimation of Flow through the C-D Supersonic Nozzle and Impuls...
Computational Estimation of Flow through the C-D Supersonic Nozzle and Impuls...IJMTST Journal
 
An Introduction to Computer Science with Java, Python an.docx
An Introduction to  Computer Science  with Java, Python an.docxAn Introduction to  Computer Science  with Java, Python an.docx
An Introduction to Computer Science with Java, Python an.docxamrit47
 
IRJET- Design and Analysis Material Handling System using Kinematic Mecha...
IRJET-  	  Design and Analysis Material Handling System using Kinematic Mecha...IRJET-  	  Design and Analysis Material Handling System using Kinematic Mecha...
IRJET- Design and Analysis Material Handling System using Kinematic Mecha...IRJET Journal
 
ObservabilityForModernApplications_Stockholm.pdf
ObservabilityForModernApplications_Stockholm.pdfObservabilityForModernApplications_Stockholm.pdf
ObservabilityForModernApplications_Stockholm.pdfAmazon Web Services
 
Introduction to cfd with Case Studies
Introduction to cfd with Case StudiesIntroduction to cfd with Case Studies
Introduction to cfd with Case StudiesAnubhav Singh
 
Summer Training 2015 at Alternate Hydro Energy Center
Summer Training 2015 at Alternate Hydro Energy CenterSummer Training 2015 at Alternate Hydro Energy Center
Summer Training 2015 at Alternate Hydro Energy CenterKhusro Kamaluddin
 
ObservabilityForModernApplications-Oslo.pdf
ObservabilityForModernApplications-Oslo.pdfObservabilityForModernApplications-Oslo.pdf
ObservabilityForModernApplications-Oslo.pdfAmazon Web Services
 
Assignment 2 Cloud SolutionsCloud-based computing allows busine.docx
Assignment 2 Cloud SolutionsCloud-based computing allows busine.docxAssignment 2 Cloud SolutionsCloud-based computing allows busine.docx
Assignment 2 Cloud SolutionsCloud-based computing allows busine.docxsherni1
 
MODELING OF DISTRIBUTED MUTUAL EXCLUSION SYSTEM USING EVENT-B
MODELING OF DISTRIBUTED MUTUAL EXCLUSION SYSTEM USING EVENT-B MODELING OF DISTRIBUTED MUTUAL EXCLUSION SYSTEM USING EVENT-B
MODELING OF DISTRIBUTED MUTUAL EXCLUSION SYSTEM USING EVENT-B cscpconf
 
Modeling of distributed mutual exclusion system using event b
Modeling of distributed mutual exclusion system using event bModeling of distributed mutual exclusion system using event b
Modeling of distributed mutual exclusion system using event bcsandit
 
Observability For Modern Applications
Observability For Modern ApplicationsObservability For Modern Applications
Observability For Modern ApplicationsAmazon Web Services
 
Research Essay Past Or Present Tense. Online assignment writing service.
Research Essay Past Or Present Tense. Online assignment writing service.Research Essay Past Or Present Tense. Online assignment writing service.
Research Essay Past Or Present Tense. Online assignment writing service.Kara Flores
 
An Introduction to Water Cycle Algorithm
An Introduction to Water Cycle AlgorithmAn Introduction to Water Cycle Algorithm
An Introduction to Water Cycle AlgorithmMrinmoy Majumder
 
Electromechanical_Systems_with_Simscape3e.pptx
Electromechanical_Systems_with_Simscape3e.pptxElectromechanical_Systems_with_Simscape3e.pptx
Electromechanical_Systems_with_Simscape3e.pptxduongnn
 
Java programming lab assignments
Java programming lab assignments Java programming lab assignments
Java programming lab assignments rajni kaushal
 

Similar to Position Analysis One-DOF LinkageVector Loop Represent.docx (20)

closing-the-hardware-design-loop-with-multisim-a-case-study
closing-the-hardware-design-loop-with-multisim-a-case-studyclosing-the-hardware-design-loop-with-multisim-a-case-study
closing-the-hardware-design-loop-with-multisim-a-case-study
 
013 Research Paper Methods Section Social
013 Research Paper Methods Section Social013 Research Paper Methods Section Social
013 Research Paper Methods Section Social
 
Lab 2Lab 2- Kinematics.pdf142017 Lab 2 Kinematicsh.docx
Lab 2Lab 2- Kinematics.pdf142017 Lab 2 Kinematicsh.docxLab 2Lab 2- Kinematics.pdf142017 Lab 2 Kinematicsh.docx
Lab 2Lab 2- Kinematics.pdf142017 Lab 2 Kinematicsh.docx
 
Computational Estimation of Flow through the C-D Supersonic Nozzle and Impuls...
Computational Estimation of Flow through the C-D Supersonic Nozzle and Impuls...Computational Estimation of Flow through the C-D Supersonic Nozzle and Impuls...
Computational Estimation of Flow through the C-D Supersonic Nozzle and Impuls...
 
An Introduction to Computer Science with Java, Python an.docx
An Introduction to  Computer Science  with Java, Python an.docxAn Introduction to  Computer Science  with Java, Python an.docx
An Introduction to Computer Science with Java, Python an.docx
 
IRJET- Design and Analysis Material Handling System using Kinematic Mecha...
IRJET-  	  Design and Analysis Material Handling System using Kinematic Mecha...IRJET-  	  Design and Analysis Material Handling System using Kinematic Mecha...
IRJET- Design and Analysis Material Handling System using Kinematic Mecha...
 
ObservabilityForModernApplications_Stockholm.pdf
ObservabilityForModernApplications_Stockholm.pdfObservabilityForModernApplications_Stockholm.pdf
ObservabilityForModernApplications_Stockholm.pdf
 
Introduction to cfd with Case Studies
Introduction to cfd with Case StudiesIntroduction to cfd with Case Studies
Introduction to cfd with Case Studies
 
Summer Training 2015 at Alternate Hydro Energy Center
Summer Training 2015 at Alternate Hydro Energy CenterSummer Training 2015 at Alternate Hydro Energy Center
Summer Training 2015 at Alternate Hydro Energy Center
 
ObservabilityForModernApplications-Oslo.pdf
ObservabilityForModernApplications-Oslo.pdfObservabilityForModernApplications-Oslo.pdf
ObservabilityForModernApplications-Oslo.pdf
 
Assignment 2 Cloud SolutionsCloud-based computing allows busine.docx
Assignment 2 Cloud SolutionsCloud-based computing allows busine.docxAssignment 2 Cloud SolutionsCloud-based computing allows busine.docx
Assignment 2 Cloud SolutionsCloud-based computing allows busine.docx
 
Time series project
Time series projectTime series project
Time series project
 
MODELING OF DISTRIBUTED MUTUAL EXCLUSION SYSTEM USING EVENT-B
MODELING OF DISTRIBUTED MUTUAL EXCLUSION SYSTEM USING EVENT-B MODELING OF DISTRIBUTED MUTUAL EXCLUSION SYSTEM USING EVENT-B
MODELING OF DISTRIBUTED MUTUAL EXCLUSION SYSTEM USING EVENT-B
 
Modeling of distributed mutual exclusion system using event b
Modeling of distributed mutual exclusion system using event bModeling of distributed mutual exclusion system using event b
Modeling of distributed mutual exclusion system using event b
 
Pdp12
Pdp12Pdp12
Pdp12
 
Observability For Modern Applications
Observability For Modern ApplicationsObservability For Modern Applications
Observability For Modern Applications
 
Research Essay Past Or Present Tense. Online assignment writing service.
Research Essay Past Or Present Tense. Online assignment writing service.Research Essay Past Or Present Tense. Online assignment writing service.
Research Essay Past Or Present Tense. Online assignment writing service.
 
An Introduction to Water Cycle Algorithm
An Introduction to Water Cycle AlgorithmAn Introduction to Water Cycle Algorithm
An Introduction to Water Cycle Algorithm
 
Electromechanical_Systems_with_Simscape3e.pptx
Electromechanical_Systems_with_Simscape3e.pptxElectromechanical_Systems_with_Simscape3e.pptx
Electromechanical_Systems_with_Simscape3e.pptx
 
Java programming lab assignments
Java programming lab assignments Java programming lab assignments
Java programming lab assignments
 

More from harrisonhoward80223

© 2006 Thomson-Wadsworth© 2006 Thomson-Wadsworth.docx
© 2006 Thomson-Wadsworth© 2006 Thomson-Wadsworth.docx© 2006 Thomson-Wadsworth© 2006 Thomson-Wadsworth.docx
© 2006 Thomson-Wadsworth© 2006 Thomson-Wadsworth.docxharrisonhoward80223
 
§ 6.01 IntroductionBackground checks are an important component .docx
§ 6.01 IntroductionBackground checks are an important component .docx§ 6.01 IntroductionBackground checks are an important component .docx
§ 6.01 IntroductionBackground checks are an important component .docxharrisonhoward80223
 
©  Dr.  Curtis  Odom.  All  Rights  Reserved.  [.docx
©  Dr.  Curtis  Odom.  All  Rights  Reserved.  [.docx©  Dr.  Curtis  Odom.  All  Rights  Reserved.  [.docx
©  Dr.  Curtis  Odom.  All  Rights  Reserved.  [.docxharrisonhoward80223
 
© 2013 The McGraw-Hill Companies, Inc. All rights reserved. .docx
© 2013 The McGraw-Hill Companies, Inc. All rights reserved. .docx© 2013 The McGraw-Hill Companies, Inc. All rights reserved. .docx
© 2013 The McGraw-Hill Companies, Inc. All rights reserved. .docxharrisonhoward80223
 
© 2013 Laureate Education, Inc. 1 Adolescence” Program .docx
© 2013 Laureate Education, Inc. 1 Adolescence” Program .docx© 2013 Laureate Education, Inc. 1 Adolescence” Program .docx
© 2013 Laureate Education, Inc. 1 Adolescence” Program .docxharrisonhoward80223
 
© 2013 Laureate Education, Inc. 1 Young Adulthood” Prog.docx
© 2013 Laureate Education, Inc. 1 Young Adulthood” Prog.docx© 2013 Laureate Education, Inc. 1 Young Adulthood” Prog.docx
© 2013 Laureate Education, Inc. 1 Young Adulthood” Prog.docxharrisonhoward80223
 
© 2013 Laureate Education, Inc. 1 NURS 6441 Indivi.docx
© 2013 Laureate Education, Inc.   1 NURS 6441 Indivi.docx© 2013 Laureate Education, Inc.   1 NURS 6441 Indivi.docx
© 2013 Laureate Education, Inc. 1 NURS 6441 Indivi.docxharrisonhoward80223
 
© 2013 Laureate Education, Inc. 1 NURS 6441 Work .docx
© 2013 Laureate Education, Inc.   1  NURS 6441 Work .docx© 2013 Laureate Education, Inc.   1  NURS 6441 Work .docx
© 2013 Laureate Education, Inc. 1 NURS 6441 Work .docxharrisonhoward80223
 
© 2013 Laureate Education, Inc. 1 Comprehensive Write-u.docx
© 2013 Laureate Education, Inc.    1 Comprehensive Write-u.docx© 2013 Laureate Education, Inc.    1 Comprehensive Write-u.docx
© 2013 Laureate Education, Inc. 1 Comprehensive Write-u.docxharrisonhoward80223
 
© 2011 The McGraw-Hill Companies, Inc. All rights reserved.Mc.docx
© 2011  The McGraw-Hill Companies, Inc. All rights reserved.Mc.docx© 2011  The McGraw-Hill Companies, Inc. All rights reserved.Mc.docx
© 2011 The McGraw-Hill Companies, Inc. All rights reserved.Mc.docxharrisonhoward80223
 
© 2011 The McGraw-Hill Companies, Inc. All rights reserved..docx
© 2011 The McGraw-Hill Companies, Inc. All rights reserved..docx© 2011 The McGraw-Hill Companies, Inc. All rights reserved..docx
© 2011 The McGraw-Hill Companies, Inc. All rights reserved..docxharrisonhoward80223
 
© 2010 by The Johns Hopkins University PressConflicting Va.docx
© 2010 by The Johns Hopkins University PressConflicting Va.docx© 2010 by The Johns Hopkins University PressConflicting Va.docx
© 2010 by The Johns Hopkins University PressConflicting Va.docxharrisonhoward80223
 
© 2009 • Journal of Sport Administration & Supervision • Vol. .docx
© 2009 • Journal of Sport Administration & Supervision • Vol. .docx© 2009 • Journal of Sport Administration & Supervision • Vol. .docx
© 2009 • Journal of Sport Administration & Supervision • Vol. .docxharrisonhoward80223
 
© 2009 John Wiley and Sons AustraliaDistribution (place).docx
© 2009 John Wiley and Sons AustraliaDistribution (place).docx© 2009 John Wiley and Sons AustraliaDistribution (place).docx
© 2009 John Wiley and Sons AustraliaDistribution (place).docxharrisonhoward80223
 
© 2003 Applied Scholastics International. All Rights Reser.docx
© 2003 Applied Scholastics International. All Rights Reser.docx© 2003 Applied Scholastics International. All Rights Reser.docx
© 2003 Applied Scholastics International. All Rights Reser.docxharrisonhoward80223
 
© 2005 Chris Thompson and Katarina Weslien PAJ 82 (2006), pp. .docx
© 2005 Chris Thompson and Katarina Weslien PAJ 82 (2006), pp. .docx© 2005 Chris Thompson and Katarina Weslien PAJ 82 (2006), pp. .docx
© 2005 Chris Thompson and Katarina Weslien PAJ 82 (2006), pp. .docxharrisonhoward80223
 
© 2002, The Ripple Effect 1 permission granted to use for.docx
© 2002, The Ripple Effect 1      permission granted to use for.docx© 2002, The Ripple Effect 1      permission granted to use for.docx
© 2002, The Ripple Effect 1 permission granted to use for.docxharrisonhoward80223
 
© 2005 Society for the Study of Addiction doi10.1111j.1360-.docx
© 2005 Society for the Study of  Addiction doi10.1111j.1360-.docx© 2005 Society for the Study of  Addiction doi10.1111j.1360-.docx
© 2005 Society for the Study of Addiction doi10.1111j.1360-.docxharrisonhoward80223
 
¡A Presentar en Español!Prepare To prepare for this activit.docx
¡A Presentar en Español!Prepare To prepare for this activit.docx¡A Presentar en Español!Prepare To prepare for this activit.docx
¡A Presentar en Español!Prepare To prepare for this activit.docxharrisonhoward80223
 
You are the Human Resource Director for a 500-.docx
You are the Human Resource Director for a 500-.docxYou are the Human Resource Director for a 500-.docx
You are the Human Resource Director for a 500-.docxharrisonhoward80223
 

More from harrisonhoward80223 (20)

© 2006 Thomson-Wadsworth© 2006 Thomson-Wadsworth.docx
© 2006 Thomson-Wadsworth© 2006 Thomson-Wadsworth.docx© 2006 Thomson-Wadsworth© 2006 Thomson-Wadsworth.docx
© 2006 Thomson-Wadsworth© 2006 Thomson-Wadsworth.docx
 
§ 6.01 IntroductionBackground checks are an important component .docx
§ 6.01 IntroductionBackground checks are an important component .docx§ 6.01 IntroductionBackground checks are an important component .docx
§ 6.01 IntroductionBackground checks are an important component .docx
 
©  Dr.  Curtis  Odom.  All  Rights  Reserved.  [.docx
©  Dr.  Curtis  Odom.  All  Rights  Reserved.  [.docx©  Dr.  Curtis  Odom.  All  Rights  Reserved.  [.docx
©  Dr.  Curtis  Odom.  All  Rights  Reserved.  [.docx
 
© 2013 The McGraw-Hill Companies, Inc. All rights reserved. .docx
© 2013 The McGraw-Hill Companies, Inc. All rights reserved. .docx© 2013 The McGraw-Hill Companies, Inc. All rights reserved. .docx
© 2013 The McGraw-Hill Companies, Inc. All rights reserved. .docx
 
© 2013 Laureate Education, Inc. 1 Adolescence” Program .docx
© 2013 Laureate Education, Inc. 1 Adolescence” Program .docx© 2013 Laureate Education, Inc. 1 Adolescence” Program .docx
© 2013 Laureate Education, Inc. 1 Adolescence” Program .docx
 
© 2013 Laureate Education, Inc. 1 Young Adulthood” Prog.docx
© 2013 Laureate Education, Inc. 1 Young Adulthood” Prog.docx© 2013 Laureate Education, Inc. 1 Young Adulthood” Prog.docx
© 2013 Laureate Education, Inc. 1 Young Adulthood” Prog.docx
 
© 2013 Laureate Education, Inc. 1 NURS 6441 Indivi.docx
© 2013 Laureate Education, Inc.   1 NURS 6441 Indivi.docx© 2013 Laureate Education, Inc.   1 NURS 6441 Indivi.docx
© 2013 Laureate Education, Inc. 1 NURS 6441 Indivi.docx
 
© 2013 Laureate Education, Inc. 1 NURS 6441 Work .docx
© 2013 Laureate Education, Inc.   1  NURS 6441 Work .docx© 2013 Laureate Education, Inc.   1  NURS 6441 Work .docx
© 2013 Laureate Education, Inc. 1 NURS 6441 Work .docx
 
© 2013 Laureate Education, Inc. 1 Comprehensive Write-u.docx
© 2013 Laureate Education, Inc.    1 Comprehensive Write-u.docx© 2013 Laureate Education, Inc.    1 Comprehensive Write-u.docx
© 2013 Laureate Education, Inc. 1 Comprehensive Write-u.docx
 
© 2011 The McGraw-Hill Companies, Inc. All rights reserved.Mc.docx
© 2011  The McGraw-Hill Companies, Inc. All rights reserved.Mc.docx© 2011  The McGraw-Hill Companies, Inc. All rights reserved.Mc.docx
© 2011 The McGraw-Hill Companies, Inc. All rights reserved.Mc.docx
 
© 2011 The McGraw-Hill Companies, Inc. All rights reserved..docx
© 2011 The McGraw-Hill Companies, Inc. All rights reserved..docx© 2011 The McGraw-Hill Companies, Inc. All rights reserved..docx
© 2011 The McGraw-Hill Companies, Inc. All rights reserved..docx
 
© 2010 by The Johns Hopkins University PressConflicting Va.docx
© 2010 by The Johns Hopkins University PressConflicting Va.docx© 2010 by The Johns Hopkins University PressConflicting Va.docx
© 2010 by The Johns Hopkins University PressConflicting Va.docx
 
© 2009 • Journal of Sport Administration & Supervision • Vol. .docx
© 2009 • Journal of Sport Administration & Supervision • Vol. .docx© 2009 • Journal of Sport Administration & Supervision • Vol. .docx
© 2009 • Journal of Sport Administration & Supervision • Vol. .docx
 
© 2009 John Wiley and Sons AustraliaDistribution (place).docx
© 2009 John Wiley and Sons AustraliaDistribution (place).docx© 2009 John Wiley and Sons AustraliaDistribution (place).docx
© 2009 John Wiley and Sons AustraliaDistribution (place).docx
 
© 2003 Applied Scholastics International. All Rights Reser.docx
© 2003 Applied Scholastics International. All Rights Reser.docx© 2003 Applied Scholastics International. All Rights Reser.docx
© 2003 Applied Scholastics International. All Rights Reser.docx
 
© 2005 Chris Thompson and Katarina Weslien PAJ 82 (2006), pp. .docx
© 2005 Chris Thompson and Katarina Weslien PAJ 82 (2006), pp. .docx© 2005 Chris Thompson and Katarina Weslien PAJ 82 (2006), pp. .docx
© 2005 Chris Thompson and Katarina Weslien PAJ 82 (2006), pp. .docx
 
© 2002, The Ripple Effect 1 permission granted to use for.docx
© 2002, The Ripple Effect 1      permission granted to use for.docx© 2002, The Ripple Effect 1      permission granted to use for.docx
© 2002, The Ripple Effect 1 permission granted to use for.docx
 
© 2005 Society for the Study of Addiction doi10.1111j.1360-.docx
© 2005 Society for the Study of  Addiction doi10.1111j.1360-.docx© 2005 Society for the Study of  Addiction doi10.1111j.1360-.docx
© 2005 Society for the Study of Addiction doi10.1111j.1360-.docx
 
¡A Presentar en Español!Prepare To prepare for this activit.docx
¡A Presentar en Español!Prepare To prepare for this activit.docx¡A Presentar en Español!Prepare To prepare for this activit.docx
¡A Presentar en Español!Prepare To prepare for this activit.docx
 
You are the Human Resource Director for a 500-.docx
You are the Human Resource Director for a 500-.docxYou are the Human Resource Director for a 500-.docx
You are the Human Resource Director for a 500-.docx
 

Recently uploaded

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 

Recently uploaded (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

Position Analysis One-DOF LinkageVector Loop Represent.docx

  • 1. Position Analysis One-DOF Linkage Vector Loop Representation of Linkage Position Analysis Position Analysis Position Analysis The Vector Loop Equation for a Fourbar Linkage Position Analysis The Vector Loop Equation for a Fourbar Linkage Position Analysis The Vector Loop Equation for a Fourbar Linkage SUBJECT: DIMENSIONAL SYNTHESIS Grashof’s Law for a Four Bar Linkage REPORTS OF PROJECT PROBLEM: Design a fourbar Grashof crank-rocker to give ? (Everyone will determine the terms given by professor) of
  • 2. rocker rotation with equal time forward and back, from a constant speed motor input. 1- Obtain graphics of angulars �2 -Time, �3 -Time , �4 and µ (transmissions angle)-Time graphics by using Matlab for crank-rocker. Bring your designed Matlab program by CD or USB Memory. NOT 1-You can bring to my office the day you want to reports until December 2. NOT 2- You can benefit from this book (Robert L. Norton: Design of Machinery, Fourt Edition, SEE PAGES 102-103-104) L S Q P · L is the longest link · S identifies the shortest link · P and Q are the other links Grashof’s Law for a Four Bar Linkage · L is the longest link · S is the shortest link · P and Q are the other links Grashof’s law, states that if the sum of the shortest and longest links is not greater than the sum of the remaining than two links, at least one ofe the links will be revolving. For the Class I case: S + L < P + Q In this case, we get 3 different movements; · Ground either link adjacent to the shortest and you get a crank-rocker, in which the shortest link will fully rotate and the other link fixed to ground will oscillate. · Ground the shortest link and you will get a double- crank, in which both links fixed to ground make complete revolutions as
  • 3. does the coupler. · Ground the link opposite the shortest and you will get a double-rocker, in which both links fixed to ground oscillate and only the coupler makes a full revolution. For the Class I case: S + L < P + Q The first movement; · Ground either link adjacent to the shortest and you get a crank-rocker, in which the shortest link (S) will fully rotate and the other link fixed to ground (Q) will oscillate. · At least one ofe the links will be revolving. Crank-Rocker MechanismCrank-Rocker Mechanism (Crank(S) makes a full revolution)(Crank(S) makes a full revolution) For the Class I case: S + L < P + Q The second movement; Ground the shortest link and you will get a double- crank, in which both links fixed to ground (P and L) make complete revolutions as does the coupler. · At least one ofe the links will be revolving Double-Crank Mechanism (L and P make a full revolution) For the Class I case: S + L < P + Q The third movement; Ground the link opposite the shortest and you will get a double- rocker, in which both links fixed to ground oscillate and only the coupler (S) makes a full revolution according to Q. · At least one ofe the links will be revolving Double-Rocker Mechanism (Coupler(S) makes a full revolution) Coupler (Connectig Rod): a link that has complex motion and is not fixed to ground Crank : a link that makes a complete revolution and is p ivot
  • 4. ed to ground ( full rotation - no limit) and (oscillatory) Rocker: a link that has oscillatory rotation and is fix ed to ground ( full rotation and oscillatory ) Crank-Rocker MechanismCrank-Rocker Mechanism (Crank(S) makes a full revolution)(Crank(S) makes a full revolution) Double-Crank MechanismDouble-Rocker Mechanism (L and P make a full revolution)(Coupler(S) makes a full revolution) Grashof’s Law for a Four Bar Linkage Grashof’s Law for a Four Bar Linkage Grashof’s Law for a Four Bar Linkage Transmission Angle in 4-Bar Linkage Thank you for listening with patience a semester ©Regis University, All Rights Reserved Unauthorized distribution (including uploading to any non- Regis Internet website) violates copyright law
  • 5. Regis University CC&IS CS210 Introduction to Programming Java Programming Assignment 6: Objects and Loops Your previous Alice programs implemented the count (for) and while loops. This assignment will apply the same concepts to Java, along with a third type of loop, the do-while loop. You will again use an object to store data. Then looping statements will be used to run some of the statements repeatedly. Problem Summary and Equations Write a program to compare how long it will take to pay off a credit card balance by paying only the minimum required payment each month, or by paying a larger amount each month. The program will work for any credit card balance of $500 or more. and 25%.
  • 6. th of the annual interest will be added to the current balance each month. to pay down anywhere from 6% to 33% of the balance every month. The payment made each month will always be at least the minimum required payment, but will never be more than the remaining balance. Program Requirements This program will implement a “generic” input reading method called readPercent that can be used to read and validate a percentage is within a specified range. The method will include 3 parameters: description of what percentage is being read from the user By passing in these values as parameters, you can re-use the method to read any range of percentages needed for any data value. For example, if you were to call the method to read a mortgage rate, which is a percentage between 3.5%
  • 7. and 20%, the call would be: double mortgageRate = readPercent(3.5, 20, "annual mortgage rate"); Or to read a down payment percent, which is a percentage between 10% and 30%, the call would be: double downRate = readPercent(10, 30, "down payment percent"); Required Classes and Methods Two separate classes will be required for this program. 1. Define a Java class with properties and methods for a Credit Card Account, named: CreditCardAccount ©Regis University, All Rights Reserved Unauthorized distribution (including uploading to any non- Regis Internet website) violates copyright law The class will have the following private properties: centage – e.g. 12.5%)
  • 8. Within the CreditCardAccount class you will define methods, as follows: entered values for only two of the properties, the initial balance and annual interest rate. o Use the parameters to initialize: value parameter value o Initialize the percent to pay off each month to 0. user entered values for all three of the properties, and use them to initialize the property values. of current balance to pay each month. minimum required payment for a month: o Define and use three local constants:
  • 9. A low balance limit ($1000) o If the current balance is below the low balance limit, then the minimum required payment will be the low balance minimum payment. o Otherwise, the minimum required payment will be the high balance percentage of the current balance. o Return the correct minimum required payment a payment for one month (note that there will be no loops in this method). This method will: o Calculate values and display one line of output, containing the data about one month’s payment, as follows: for the month, and add that interest to the current balance. Display the interest charge and current balance (with interest). payment for the month, based on the percent of current balance to pay each month data field. ermine the minimum required payment.
  • 10. minimum required payment. o If so, set the calculated payment to the minimum required payment. ©Regis University, All Rights Reserved Unauthorized distribution (including uploading to any non- Regis Internet website) violates copyright law balance. So check to see if the calculated payment is higher than the remaining balance. o If so, set the calculated payment to the remaining balance. month. (with interest). after the payment has been made). information each month until the credit card is paid off. This method will: o Display a line describing the percent of current balance that will be paid each month
  • 11. percent. o Display headers for the results (see sample output below). o Use a while loop to update and display information about the credit card account every month, as follows: Display the month number (starting with month 1, and incrementing by 1 each time the code loops). display the data values for the month. o Stop looping when the current balance reaches 0. o Return the number of months needed to pay off the card. NOTE: When one instance method needs to call another instance method, the second instance method should be called using the this reference to reference the current object. 2. Define a second class containing a main method, and additional methods, to compare paying only the minimum required payment each month with paying a larger amount each month. Name the class: PayoffComparison
  • 12. Within the PayoffComparison class: method to prompt for, read, and validate an initial credit card balance. The method will: o Define and use a constant to hold the lowest initial balance allowed ($500). This constant should be used to specify the lowest value allowed in the prompts, and to test for it within conditions. o Prompt for and read the initial balance. o If the user enters an initial balance that is below the lowest initial balance allowed: -prompt the user and read another value o Loop until a valid value is entered. o Return a valid initial balance. ©Regis University, All Rights Reserved Unauthorized distribution (including uploading to any non- Regis Internet website) violates copyright law
  • 13. c static readPercent method described at the top of this assignment, to prompt for, read, and validate a percentage. This method will: o Implement a loop that uses a boolean variable as the condition. o Prompt for and read a percentage. mpt should use the parameters to specify the percentage being read (description) and the lowest and highest percentage rates allowed. o If the percent entered is not valid (i.e. not between the lowest and highest rate, inclusive): ssage, and loop to re-prompt the user and read another value o Loop until the percent entered is valid. o Return a valid percentage. percentage of the balance to be paid off each month. This method will: o Define constants to hold the lowest and highest paydown percentages allowed (6 and 33). o Within a loop, until the user enter a valid choice: minimum payment to make:
  • 14. 1 - 10% of remaining balance each month 2 - 20% of remaining balance each month 3 - 30% of remaining balance each month 4 – Some other percent of the balance each month between 6 and 33 read the percentage of the balance to be paid off each month, between 6 and 33. and read another choice. o Return a valid percentage of the balance to be paid off each month. main method that will: o Define constants to hold the lowest and highest annual interest rates allowed (3 and 25). o Display a description of what the program will do to the user. o Read input from the user as follows: read the initial balance. rate. pay off each month.
  • 15. o After reading all the input, create two new objects of the CreditCardAccount class two user input values. the user input values. NOTE: After creating the objects, the variables used to store the values read from the user should not be used again. ©Regis University, All Rights Reserved Unauthorized distribution (including uploading to any non- Regis Internet website) violates copyright law Sample Description and Input o Display a couple of blank lines after reading all of the user
  • 16. input. o Call the payoff method with the first object, and store the returned number of months. o Call the payoff method with the second object, and store the returned number of months. o Display a statement comparing the number of months required to pay off the credit card with only the minimum monthly payments, vs paying off the credit card with a larger monthly payment (use a getter to get the payoff percentage per month). (The figures in each column should line up with each other on the right – see Sample Output on next page for example) 3. The program must implement both a while and do-while loop somewhere in the code. 4. The program must follow the CS210 Coding Standards from Content section 6.10. Be sure to include the following comments: o Comments at the top of each code file describing what the class does the version of the code (e.g. version 1.0, Java Assn 5) o Comments at the top of each method, describing what the
  • 17. method does and return value. WARNING: The objects, classes, and methods must be implemented exactly as specified above. If your program produces correct output, but you did not create and use the object as specified, and implement the required classes and methods, you will lose a significant number of points. Testing ogram with different inputs, until you are sure that all control structures within your program work correctly. test your program. But be sure you thoroughly test it using other values as well. This program calculates how long it will take to pay off your credit card balance with minimum payments vs. larger payments. Enter the beginning balance (at least $500): 1111.11
  • 18. the credit card's annual interest rate (between 3% and 25%): 7 What will the monthly payment will be? 1 - 10% of balance with interest 2 - 20% of balance with interest 3 - 30% of balance with interest 4 - Some other percent Enter choice from Menu above: 2 ©Regis University, All Rights Reserved Unauthorized distribution (including uploading to any non- Regis Internet website) violates copyright law Sample Output
  • 19. Results when paying minimum required payment per month ---------------------------------------------------------------- Initial Month's Balance End Month Balance Interest w/Interest Payment Balance ---------------------------------------------------------------- 1 1111.11 6.48 1117.59 55.88 1061.71 2 1061.71 6.19 1067.91 53.40 1014.51 3 1014.51 5.92 1020.43 51.02 969.41 4 969.41 5.65 975.06 50.00 925.06
  • 20. 5 925.06 5.40 930.46 50.00 880.46 6 880.46 5.14 885.59 50.00 835.59 7 835.59 4.87 840.47 50.00 790.47 8 790.47 4.61 795.08 50.00 745.08 9 745.08 4.35 749.43 50.00 699.43 10 699.43 4.08 703.51 50.00 653.51 11 653.51 3.81 657.32 50.00 607.32 12 607.32 3.54 610.86 50.00 560.86 13 560.86 3.27 564.13 50.00 514.13 14 514.13 3.00 517.13 50.00 467.13 15 467.13 2.72 469.86 50.00 419.86 16 419.86 2.45 422.30 50.00 372.30 17 372.30 2.17 374.48 50.00 324.48 18 324.48 1.89 326.37 50.00 276.37 19 276.37 1.61 277.98 50.00 227.98 20 227.98 1.33 229.31 50.00 179.31 21 179.31 1.05 180.36 50.00 130.36 22 130.36 0.76 131.12 50.00 81.12
  • 21. 23 81.12 0.47 81.59 50.00 31.59 24 31.59 0.18 31.78 31.78 0.00 Results when paying 20% of the balance per month ---------------------------------------------------------------- Initial Month's Balance End Month Balance Interest w/Interest Payment Balance ---------------------------------------------------------------- 1 1111.11 6.48 1117.59 223.52 894.07 2 894.07 5.22 899.29 179.86 719.43 3 719.43 4.20 723.63 144.73 578.90 4 578.90 3.38 582.28 116.46 465.82 5 465.82 2.72 468.54 93.71 374.83 6 374.83 2.19 377.02 75.40 301.62 7 301.62 1.76 303.37 60.67 242.70 8 242.70 1.42 244.12 50.00 194.12 9 194.12 1.13 195.25 50.00 145.25 10 145.25 0.85 146.10 50.00 96.10
  • 22. 11 96.10 0.56 96.66 50.00 46.66 12 46.66 0.27 46.93 46.93 0.00 Paying minimum required payment per month, it will take 24 months to pay off the credit card. Paying 20% of the balance per month, it will take 12 months to pay off the credit card. ©Regis University, All Rights Reserved Unauthorized distribution (including uploading to any non- Regis Internet website) violates copyright law Program Submission This programming assignment is due by midnight of the date listed in the Course Assignments by Week. From this point in the course forward, programs that do not compile without errors will not be accepted. Again, you will submit a single zip file containing all of the files in your project.
  • 23. o Highlight the project name. o Click on File from the top menu, and select Export Project. o Select To ZIP o Name your export file in the following format: <lastname>Assn<x>.zip For example: SmithAssn6.zip NOTE: Save this zip file to some other directory, not your project directory. submission folder (located under the Assignments/Dropbox tab in the online course). o Warning: Only NetBeans export files will be accepted. Do not use any other kind of archive or zip utility. Grading This program will be graded using the rubric that is linked on the same assignment page from which this program requirements file was downloaded. WARNING: Programs submitted more than 5 days past the due date will not
  • 24. be accepted, and will receive a grade of 0.