I want to calculate x,y coordinates of point on orbit. I have radius (for example 1), coordinates of center of orbit (0,0) and the time it takes to make full circle on orbit (for example 2), starting coordinates of object(-radius,0), and I want to calculate x and y after 1 day, so it should be on radius,0. But how to calculate it without angle?
Calculate x,y coordinate of point on orbit
636 Views Asked by sadge_user At
1
There are 1 best solutions below
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in MATH
- How to restrict vpasolve() to only integer solutions (MATLAB)
- Need clarification on VHDL expressions involving std_logic_vector, unsigned and literals, unsure about compiler interpretation
- What is the algorithm behind math.gcd and why it is faster Euclidean algorithm?
- How to throw a charged particle in a electric vector field?
- Issues with a rotation gizmo and sign flips when converting back to euler angles
- Solving the area of a 2 dimensional shape
- WorldToScreen function
- Algorithm to find neighbours of point by distance with no repeats
- Detecting Circles and Ellipses from Point Arrays in Java
- three parameter log normal distribution
- Bound for product of matrices
- Javascript animation taking incorrect amount of time to reach desired location
- Converting Math.js-like Expressions to Runnable Python Code
- Looking for a standard mathematical function that returns 0 if x = 0 and a constant k when x <> 0
- Partitions in co-lexicographic order (PARI/GP algorithm without recursion)
Related Questions in TRIGONOMETRY
- Rotate an object around another object in javascript
- SFML/C++ Why does my method to move the enemy towards the player stop working when the player is moving?
- How to create a pareto distribution prediction function?
- finding the last coordinate of the triangle
- Get third control point quadratic Bezier curve for parabola with given fucus and directrix, Lua
- Pyton curve fit returns completely wrong values for cosine wave
- Generating a smooth sine wave transition from one set of value to another with Javascript
- Scaling a rotated rectangle to the minimum size needed to cover it's container
- Expanding quad to be oriented along control points
- Inverse Kinematics for a 2DOF planar robot
- Rolling effect when looking at corners with custom rotation function
- Plotting points around a circle non-uniformly
- Add multiple curve label's along with circular wheel that can rotate
- Best way to set desired range with inverse trig functions?
- Reverse function to obtain original input values
Related Questions in ORBIT
- Orbit camera around point (from scratch, no libraries)
- 3-dimensional 2nd order ODE, for plotting orbit (integrating gravity equation) on MATLAB
- Using an image as orbit trap for coloring a Julia set
- How to generate Full spectrum analysis in vibration using Python
- Noise filtering for data points separated by significantly varying time steps
- Calculating Satellite orbit prpagation, plotting and minimal distance
- Iterating the hyperbolic version of Kepler's equation does not converge
- Calculate x,y coordinate of point on orbit
- How to implement camera pedestal movement?
- Astropy and JPL's Horizons query have different output
- Plotting satellite orbit on python
- Changing Three.js Orbit Controls target when camera moves, not working good
- Plotting orbits in python using integrate.solve_ivp
- How to set up orbit and camera values to move like a human walking
- Foundation JS Orbits - show-for-small-only
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You're going to have to start by translating the the orbit into a rotation rate, which will give you an equation for
θ(t), wheretandθ(t)is the angle (normally in radians) in the orbit at timet. The position would then be given bywhere
ris the radius of your orbit (which you indicated was1) and(x0, y0)is the center of the orbit (which you indicated was(0,0)).If you want the point to have a constant rotation rate and arrive at
(r, 0)after exactly1day, then yourθ(t)would be a function of the form:Where
tis time in days andnis an integer value.θ(0)is just the starting angle which in your case will beπ. There are an infinite number of other such functions which could permit this to occur if you wanted to use a non-constant rotation rate, but you would need to provide some additional requirements for that.A more general function will permit you to specify the constant rotation rate
αand calculate the angle at a timet. This would take on the formSo in your example of a rotation rate of
2,θ(2, t) = 4·π·tCoding this in Java is left as an exercise to the reader.