We get the co-ordinates of a projectile
at t1, (a,b)
at t2 (c,d)
at t3, (e,f)
and so on as required.
Write a program in C++ to calculate equation of trajectory of projectile..
PratyushTheGreat
0
Newbie Poster
Recommended Answers
Jump to PostHi PratyushTheGreat, welcome at DaniWeb!
What you need is linear regression for quadratic curve fitting (The trajecory of a projectile is parabolic.)
The link has an explanation and code in C#, but it …
All 4 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
Rahul47
ddanbe
2,724
Professional Procrastinator
Featured Poster
Rahul47
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.