SlideShare a Scribd company logo
P1 (30%). Write a computer program that takes the initial horizontal and vertical position of a
projectile, along with its initial velocity and angle of projection and provides the following variables
a) Maximum height (5%) b) Range and final horizontal position when the projectile touch the
ground (10%) c) Plots the path of motion (15%). Hint: Make a clever use of user-defined functions.

More Related Content

More from syedabdul78662

Organizational context The organizational context for this .pdf
Organizational context  The organizational context for this .pdfOrganizational context  The organizational context for this .pdf
Organizational context The organizational context for this .pdf
syedabdul78662
 
Overtime Hours Worked A random sample of 12 registered nurse.pdf
Overtime Hours Worked A random sample of 12 registered nurse.pdfOvertime Hours Worked A random sample of 12 registered nurse.pdf
Overtime Hours Worked A random sample of 12 registered nurse.pdf
syedabdul78662
 
Organizasyon Teorisi gnmz Organizasyonlarnn anlalmasnda .pdf
Organizasyon Teorisi gnmz Organizasyonlarnn anlalmasnda .pdfOrganizasyon Teorisi gnmz Organizasyonlarnn anlalmasnda .pdf
Organizasyon Teorisi gnmz Organizasyonlarnn anlalmasnda .pdf
syedabdul78662
 
Over the next decades sea level will rise at a constant ra.pdf
Over the next decades sea level will rise at a constant ra.pdfOver the next decades sea level will rise at a constant ra.pdf
Over the next decades sea level will rise at a constant ra.pdf
syedabdul78662
 
Over the years technology has changed rapidly and made our .pdf
Over the years technology has changed rapidly and made our .pdfOver the years technology has changed rapidly and made our .pdf
Over the years technology has changed rapidly and made our .pdf
syedabdul78662
 
Over the past two decades local governments have increasing.pdf
Over the past two decades local governments have increasing.pdfOver the past two decades local governments have increasing.pdf
Over the past two decades local governments have increasing.pdf
syedabdul78662
 
Over the past 1015 years the ways that insurance companies.pdf
Over the past 1015 years the ways that insurance companies.pdfOver the past 1015 years the ways that insurance companies.pdf
Over the past 1015 years the ways that insurance companies.pdf
syedabdul78662
 
Part 1 Create a 4 to 5page BCC Enterprise Information Secu.pdf
Part 1 Create a 4 to 5page BCC Enterprise Information Secu.pdfPart 1 Create a 4 to 5page BCC Enterprise Information Secu.pdf
Part 1 Create a 4 to 5page BCC Enterprise Information Secu.pdf
syedabdul78662
 
Part 1 Find a Canadian companyorganization Canadian mea.pdf
Part 1 Find a Canadian companyorganization Canadian mea.pdfPart 1 Find a Canadian companyorganization Canadian mea.pdf
Part 1 Find a Canadian companyorganization Canadian mea.pdf
syedabdul78662
 
Part 1 LinkedList Create a file named LinkedListpy I.pdf
Part 1  LinkedList  Create a file named LinkedListpy  I.pdfPart 1  LinkedList  Create a file named LinkedListpy  I.pdf
Part 1 LinkedList Create a file named LinkedListpy I.pdf
syedabdul78662
 
Part 1 The company has three branches two in Europe and o.pdf
Part 1   The company has three branches two in Europe and o.pdfPart 1   The company has three branches two in Europe and o.pdf
Part 1 The company has three branches two in Europe and o.pdf
syedabdul78662
 
Para reducir la desigualdad y la pobreza en una economa el.pdf
Para reducir la desigualdad y la pobreza en una economa el.pdfPara reducir la desigualdad y la pobreza en una economa el.pdf
Para reducir la desigualdad y la pobreza en una economa el.pdf
syedabdul78662
 
Part 1 8 pts Each sentence contains an ambiguity which i.pdf
Part 1 8 pts Each sentence contains an ambiguity which i.pdfPart 1 8 pts Each sentence contains an ambiguity which i.pdf
Part 1 8 pts Each sentence contains an ambiguity which i.pdf
syedabdul78662
 
Part 1 The sequence Based on the NCBI annotations what is.pdf
Part 1  The sequence Based on the NCBI annotations what is.pdfPart 1  The sequence Based on the NCBI annotations what is.pdf
Part 1 The sequence Based on the NCBI annotations what is.pdf
syedabdul78662
 
Parasite plants can photosynthesis conduct normal conduct l.pdf
Parasite plants can photosynthesis conduct normal conduct l.pdfParasite plants can photosynthesis conduct normal conduct l.pdf
Parasite plants can photosynthesis conduct normal conduct l.pdf
syedabdul78662
 
Pareo Instrucciones haga coincidir cada declaracin con la.pdf
Pareo Instrucciones haga coincidir cada declaracin con la.pdfPareo Instrucciones haga coincidir cada declaracin con la.pdf
Pareo Instrucciones haga coincidir cada declaracin con la.pdf
syedabdul78662
 
Para un nivel dado de tecnologa deberamos esperar un aume.pdf
Para un nivel dado de tecnologa deberamos esperar un aume.pdfPara un nivel dado de tecnologa deberamos esperar un aume.pdf
Para un nivel dado de tecnologa deberamos esperar un aume.pdf
syedabdul78662
 
Para pasar de un nivel ms bajo en un tomo a un nivel ms a.pdf
Para pasar de un nivel ms bajo en un tomo a un nivel ms a.pdfPara pasar de un nivel ms bajo en un tomo a un nivel ms a.pdf
Para pasar de un nivel ms bajo en un tomo a un nivel ms a.pdf
syedabdul78662
 
package lab7 public class SetOperations public static.pdf
package lab7     public class SetOperations  public static.pdfpackage lab7     public class SetOperations  public static.pdf
package lab7 public class SetOperations public static.pdf
syedabdul78662
 
Para estudiar el cuerpo humano se categoriza en diferentes .pdf
Para estudiar el cuerpo humano se categoriza en diferentes .pdfPara estudiar el cuerpo humano se categoriza en diferentes .pdf
Para estudiar el cuerpo humano se categoriza en diferentes .pdf
syedabdul78662
 

More from syedabdul78662 (20)

Organizational context The organizational context for this .pdf
Organizational context  The organizational context for this .pdfOrganizational context  The organizational context for this .pdf
Organizational context The organizational context for this .pdf
 
Overtime Hours Worked A random sample of 12 registered nurse.pdf
Overtime Hours Worked A random sample of 12 registered nurse.pdfOvertime Hours Worked A random sample of 12 registered nurse.pdf
Overtime Hours Worked A random sample of 12 registered nurse.pdf
 
Organizasyon Teorisi gnmz Organizasyonlarnn anlalmasnda .pdf
Organizasyon Teorisi gnmz Organizasyonlarnn anlalmasnda .pdfOrganizasyon Teorisi gnmz Organizasyonlarnn anlalmasnda .pdf
Organizasyon Teorisi gnmz Organizasyonlarnn anlalmasnda .pdf
 
Over the next decades sea level will rise at a constant ra.pdf
Over the next decades sea level will rise at a constant ra.pdfOver the next decades sea level will rise at a constant ra.pdf
Over the next decades sea level will rise at a constant ra.pdf
 
Over the years technology has changed rapidly and made our .pdf
Over the years technology has changed rapidly and made our .pdfOver the years technology has changed rapidly and made our .pdf
Over the years technology has changed rapidly and made our .pdf
 
Over the past two decades local governments have increasing.pdf
Over the past two decades local governments have increasing.pdfOver the past two decades local governments have increasing.pdf
Over the past two decades local governments have increasing.pdf
 
Over the past 1015 years the ways that insurance companies.pdf
Over the past 1015 years the ways that insurance companies.pdfOver the past 1015 years the ways that insurance companies.pdf
Over the past 1015 years the ways that insurance companies.pdf
 
Part 1 Create a 4 to 5page BCC Enterprise Information Secu.pdf
Part 1 Create a 4 to 5page BCC Enterprise Information Secu.pdfPart 1 Create a 4 to 5page BCC Enterprise Information Secu.pdf
Part 1 Create a 4 to 5page BCC Enterprise Information Secu.pdf
 
Part 1 Find a Canadian companyorganization Canadian mea.pdf
Part 1 Find a Canadian companyorganization Canadian mea.pdfPart 1 Find a Canadian companyorganization Canadian mea.pdf
Part 1 Find a Canadian companyorganization Canadian mea.pdf
 
Part 1 LinkedList Create a file named LinkedListpy I.pdf
Part 1  LinkedList  Create a file named LinkedListpy  I.pdfPart 1  LinkedList  Create a file named LinkedListpy  I.pdf
Part 1 LinkedList Create a file named LinkedListpy I.pdf
 
Part 1 The company has three branches two in Europe and o.pdf
Part 1   The company has three branches two in Europe and o.pdfPart 1   The company has three branches two in Europe and o.pdf
Part 1 The company has three branches two in Europe and o.pdf
 
Para reducir la desigualdad y la pobreza en una economa el.pdf
Para reducir la desigualdad y la pobreza en una economa el.pdfPara reducir la desigualdad y la pobreza en una economa el.pdf
Para reducir la desigualdad y la pobreza en una economa el.pdf
 
Part 1 8 pts Each sentence contains an ambiguity which i.pdf
Part 1 8 pts Each sentence contains an ambiguity which i.pdfPart 1 8 pts Each sentence contains an ambiguity which i.pdf
Part 1 8 pts Each sentence contains an ambiguity which i.pdf
 
Part 1 The sequence Based on the NCBI annotations what is.pdf
Part 1  The sequence Based on the NCBI annotations what is.pdfPart 1  The sequence Based on the NCBI annotations what is.pdf
Part 1 The sequence Based on the NCBI annotations what is.pdf
 
Parasite plants can photosynthesis conduct normal conduct l.pdf
Parasite plants can photosynthesis conduct normal conduct l.pdfParasite plants can photosynthesis conduct normal conduct l.pdf
Parasite plants can photosynthesis conduct normal conduct l.pdf
 
Pareo Instrucciones haga coincidir cada declaracin con la.pdf
Pareo Instrucciones haga coincidir cada declaracin con la.pdfPareo Instrucciones haga coincidir cada declaracin con la.pdf
Pareo Instrucciones haga coincidir cada declaracin con la.pdf
 
Para un nivel dado de tecnologa deberamos esperar un aume.pdf
Para un nivel dado de tecnologa deberamos esperar un aume.pdfPara un nivel dado de tecnologa deberamos esperar un aume.pdf
Para un nivel dado de tecnologa deberamos esperar un aume.pdf
 
Para pasar de un nivel ms bajo en un tomo a un nivel ms a.pdf
Para pasar de un nivel ms bajo en un tomo a un nivel ms a.pdfPara pasar de un nivel ms bajo en un tomo a un nivel ms a.pdf
Para pasar de un nivel ms bajo en un tomo a un nivel ms a.pdf
 
package lab7 public class SetOperations public static.pdf
package lab7     public class SetOperations  public static.pdfpackage lab7     public class SetOperations  public static.pdf
package lab7 public class SetOperations public static.pdf
 
Para estudiar el cuerpo humano se categoriza en diferentes .pdf
Para estudiar el cuerpo humano se categoriza en diferentes .pdfPara estudiar el cuerpo humano se categoriza en diferentes .pdf
Para estudiar el cuerpo humano se categoriza en diferentes .pdf
 

Recently uploaded

7. Post harvest diseases and their control.pptx
7. Post harvest diseases and their control.pptx7. Post harvest diseases and their control.pptx
7. Post harvest diseases and their control.pptx
UmeshTimilsina1
 
Mathematics 4 and 7 PD Design.pdf 1234567890
Mathematics 4 and 7 PD Design.pdf 1234567890Mathematics 4 and 7 PD Design.pdf 1234567890
Mathematics 4 and 7 PD Design.pdf 1234567890
liquiganzandyb
 
PRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdf
PRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdfPRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdf
PRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdf
nservice241
 
Node JS Interview Question PDF By ScholarHat
Node JS Interview Question PDF By ScholarHatNode JS Interview Question PDF By ScholarHat
Node JS Interview Question PDF By ScholarHat
Scholarhat
 
2 Post harvest Physiology of Horticulture produce.pptx
2 Post harvest Physiology of Horticulture  produce.pptx2 Post harvest Physiology of Horticulture  produce.pptx
2 Post harvest Physiology of Horticulture produce.pptx
UmeshTimilsina1
 
ASP.NET Core Interview Questions PDF By ScholarHat.pdf
ASP.NET Core Interview Questions PDF By ScholarHat.pdfASP.NET Core Interview Questions PDF By ScholarHat.pdf
ASP.NET Core Interview Questions PDF By ScholarHat.pdf
Scholarhat
 
Dr. Nasir Mustafa CERTIFICATE OF APPRECIATION "NEUROANATOMY"
Dr. Nasir Mustafa CERTIFICATE OF APPRECIATION "NEUROANATOMY"Dr. Nasir Mustafa CERTIFICATE OF APPRECIATION "NEUROANATOMY"
Dr. Nasir Mustafa CERTIFICATE OF APPRECIATION "NEUROANATOMY"
Dr. Nasir Mustafa
 
11. Post harvest quality, Quality criteria and Judgement.pptx
11. Post harvest quality, Quality criteria and Judgement.pptx11. Post harvest quality, Quality criteria and Judgement.pptx
11. Post harvest quality, Quality criteria and Judgement.pptx
UmeshTimilsina1
 
11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx
11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx
11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx
mansk2
 
Introduction to Banking System in India.ppt
Introduction to Banking System in India.pptIntroduction to Banking System in India.ppt
Introduction to Banking System in India.ppt
Dr. S. Bulomine Regi
 
How To Sell Hamster Kombat Coin In Pre-market
How To Sell Hamster Kombat Coin In Pre-marketHow To Sell Hamster Kombat Coin In Pre-market
How To Sell Hamster Kombat Coin In Pre-market
Sikandar Ali
 
MATATAG CURRICULUM sample lesson exemplar.docx
MATATAG CURRICULUM sample lesson exemplar.docxMATATAG CURRICULUM sample lesson exemplar.docx
MATATAG CURRICULUM sample lesson exemplar.docx
yardenmendoza
 
Nothing Twice 3 poetic devices with definition.pptx
Nothing Twice 3 poetic devices with definition.pptxNothing Twice 3 poetic devices with definition.pptx
Nothing Twice 3 poetic devices with definition.pptx
AncyTEnglish
 
A beginner’s guide to project reviews - everything you wanted to know but wer...
A beginner’s guide to project reviews - everything you wanted to know but wer...A beginner’s guide to project reviews - everything you wanted to know but wer...
A beginner’s guide to project reviews - everything you wanted to know but wer...
Association for Project Management
 
Class 6 English Chapter 1 Fables and Folk Stories
Class 6 English Chapter 1 Fables and Folk StoriesClass 6 English Chapter 1 Fables and Folk Stories
Class 6 English Chapter 1 Fables and Folk Stories
sweetygupta8413
 
Demonstration module in Odoo 17 - Odoo 17 Slides
Demonstration module in Odoo 17 - Odoo 17 SlidesDemonstration module in Odoo 17 - Odoo 17 Slides
Demonstration module in Odoo 17 - Odoo 17 Slides
Celine George
 
Introduction to Google Productivity Tools for Office and Personal Use
Introduction to Google Productivity Tools for Office and Personal UseIntroduction to Google Productivity Tools for Office and Personal Use
Introduction to Google Productivity Tools for Office and Personal Use
Excellence Foundation for South Sudan
 
MVC Interview Questions PDF By ScholarHat
MVC Interview Questions PDF By ScholarHatMVC Interview Questions PDF By ScholarHat
MVC Interview Questions PDF By ScholarHat
Scholarhat
 
Open and Critical Perspectives on AI in Education
Open and Critical Perspectives on AI in EducationOpen and Critical Perspectives on AI in Education
Open and Critical Perspectives on AI in Education
Robert Farrow
 
Codeavour 5.0 International Impact Report - The Biggest International AI, Cod...
Codeavour 5.0 International Impact Report - The Biggest International AI, Cod...Codeavour 5.0 International Impact Report - The Biggest International AI, Cod...
Codeavour 5.0 International Impact Report - The Biggest International AI, Cod...
Codeavour International
 

Recently uploaded (20)

7. Post harvest diseases and their control.pptx
7. Post harvest diseases and their control.pptx7. Post harvest diseases and their control.pptx
7. Post harvest diseases and their control.pptx
 
Mathematics 4 and 7 PD Design.pdf 1234567890
Mathematics 4 and 7 PD Design.pdf 1234567890Mathematics 4 and 7 PD Design.pdf 1234567890
Mathematics 4 and 7 PD Design.pdf 1234567890
 
PRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdf
PRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdfPRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdf
PRESS RELEASE - UNIVERSITY OF GHANA, JULY 16, 2024.pdf
 
Node JS Interview Question PDF By ScholarHat
Node JS Interview Question PDF By ScholarHatNode JS Interview Question PDF By ScholarHat
Node JS Interview Question PDF By ScholarHat
 
2 Post harvest Physiology of Horticulture produce.pptx
2 Post harvest Physiology of Horticulture  produce.pptx2 Post harvest Physiology of Horticulture  produce.pptx
2 Post harvest Physiology of Horticulture produce.pptx
 
ASP.NET Core Interview Questions PDF By ScholarHat.pdf
ASP.NET Core Interview Questions PDF By ScholarHat.pdfASP.NET Core Interview Questions PDF By ScholarHat.pdf
ASP.NET Core Interview Questions PDF By ScholarHat.pdf
 
Dr. Nasir Mustafa CERTIFICATE OF APPRECIATION "NEUROANATOMY"
Dr. Nasir Mustafa CERTIFICATE OF APPRECIATION "NEUROANATOMY"Dr. Nasir Mustafa CERTIFICATE OF APPRECIATION "NEUROANATOMY"
Dr. Nasir Mustafa CERTIFICATE OF APPRECIATION "NEUROANATOMY"
 
11. Post harvest quality, Quality criteria and Judgement.pptx
11. Post harvest quality, Quality criteria and Judgement.pptx11. Post harvest quality, Quality criteria and Judgement.pptx
11. Post harvest quality, Quality criteria and Judgement.pptx
 
11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx
11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx
11EHS Term 3 Week 1 Unit 1 Review: Feedback and improvementpptx
 
Introduction to Banking System in India.ppt
Introduction to Banking System in India.pptIntroduction to Banking System in India.ppt
Introduction to Banking System in India.ppt
 
How To Sell Hamster Kombat Coin In Pre-market
How To Sell Hamster Kombat Coin In Pre-marketHow To Sell Hamster Kombat Coin In Pre-market
How To Sell Hamster Kombat Coin In Pre-market
 
MATATAG CURRICULUM sample lesson exemplar.docx
MATATAG CURRICULUM sample lesson exemplar.docxMATATAG CURRICULUM sample lesson exemplar.docx
MATATAG CURRICULUM sample lesson exemplar.docx
 
Nothing Twice 3 poetic devices with definition.pptx
Nothing Twice 3 poetic devices with definition.pptxNothing Twice 3 poetic devices with definition.pptx
Nothing Twice 3 poetic devices with definition.pptx
 
A beginner’s guide to project reviews - everything you wanted to know but wer...
A beginner’s guide to project reviews - everything you wanted to know but wer...A beginner’s guide to project reviews - everything you wanted to know but wer...
A beginner’s guide to project reviews - everything you wanted to know but wer...
 
Class 6 English Chapter 1 Fables and Folk Stories
Class 6 English Chapter 1 Fables and Folk StoriesClass 6 English Chapter 1 Fables and Folk Stories
Class 6 English Chapter 1 Fables and Folk Stories
 
Demonstration module in Odoo 17 - Odoo 17 Slides
Demonstration module in Odoo 17 - Odoo 17 SlidesDemonstration module in Odoo 17 - Odoo 17 Slides
Demonstration module in Odoo 17 - Odoo 17 Slides
 
Introduction to Google Productivity Tools for Office and Personal Use
Introduction to Google Productivity Tools for Office and Personal UseIntroduction to Google Productivity Tools for Office and Personal Use
Introduction to Google Productivity Tools for Office and Personal Use
 
MVC Interview Questions PDF By ScholarHat
MVC Interview Questions PDF By ScholarHatMVC Interview Questions PDF By ScholarHat
MVC Interview Questions PDF By ScholarHat
 
Open and Critical Perspectives on AI in Education
Open and Critical Perspectives on AI in EducationOpen and Critical Perspectives on AI in Education
Open and Critical Perspectives on AI in Education
 
Codeavour 5.0 International Impact Report - The Biggest International AI, Cod...
Codeavour 5.0 International Impact Report - The Biggest International AI, Cod...Codeavour 5.0 International Impact Report - The Biggest International AI, Cod...
Codeavour 5.0 International Impact Report - The Biggest International AI, Cod...
 

P1 30 Write a computer program that takes the initial ho.pdf

  • 1. P1 (30%). Write a computer program that takes the initial horizontal and vertical position of a projectile, along with its initial velocity and angle of projection and provides the following variables a) Maximum height (5%) b) Range and final horizontal position when the projectile touch the ground (10%) c) Plots the path of motion (15%). Hint: Make a clever use of user-defined functions.