# Search the Community

Showing results for tags 'math'.

• ### Search By Tags

Type tags separated by commas.

### Forums

• General
• Announcements
• Welcome Aboard
• Kerbal Space Program 2
• KSP2 Discussion
• KSP2 Suggestions and Development Discussion
• Challenges & Mission Ideas
• The KSP2 Spacecraft Exchange
• Mission Reports
• KSP2 Prelaunch Archive
• Kerbal Space Program 2 Gameplay & Technical Support
• KSP2 Gameplay Questions and Tutorials
• KSP2 Technical Support (PC, unmodded installs)
• KSP2 Technical Support (PC, modded installs)
• Kerbal Space Program 2 Mods
• KSP2 Mod Discussions
• KSP2 Mod Releases
• KSP2 Mod Development
• Kerbal Space Program 1
• KSP1 The Daily Kerbal
• KSP1 Discussion
• KSP1 Suggestions & Development Discussion
• KSP1 Challenges & Mission ideas
• KSP1 The Spacecraft Exchange
• KSP1 Mission Reports
• KSP1 Gameplay and Technical Support
• KSP1 Mods
• KSP1 Expansions
• Community
• Science & Spaceflight
• Kerbal Network
• The Lounge
• KSP Fan Works
• International
• International
• KerbalEDU
• KerbalEDU
• KerbalEDU Website

### Categories

• Developer Articles

• 0 Replies

• 0 Reviews

• 0 Views

### Interests

Found 60 results

2. Maybe it has been asked and answered and I just don't know how to search for it. I know there is an answer but it's the question that I think is off. So... I suck at math. I can do a little basic algebra. That is why I am playing a game that is all about engineering and math! I have been going through sites reading about orbits and have found this. e=c/a where e is the eccentricity, c is the focal distance, and a is the semi-major axis. I know e and I know a. So c=a*e? Can I determine a periapsis and apoapsis from this and establish an orbit with the desired eccentricity and axis?
3. ## Guess what is the formula that links the sidereal day of a planet and its solar day

Quick explanation: Sidereal time vs solar time. Above left: a distant star (the small orange star) and the Sun are at culmination, on the local meridian m. Centre: only the distant star is at culmination (there has been a mean sidereal day since above left). Right: a few minutes later the Sun is on the local meridian again. There has been a solar day since above left. (from Wikipedia) As you can see, the sidereal day is the time that a planet takes to do exactly one rotation around its rotation axis, whereas the solar day is the time between the moment of two consecutive days when the Sun (or the planet's star) is the higher in the sky. So the question is, how do you calculate the length of the sidereal day of a planet, if we know the length of its year in days (Earth is 365.26 days) and the length of its day? Try to guess! Also please put your explanations, if you post any, in spoilers.
4. It's not effective, either to have a single gigantic tank for Tylo and back, nor having two hundred separate stages for a trip to Mun. Is there a formula to calculate the minimum fuel to dead weight ratio for each stage in order to have a net delta-v gain for adding that stage?
5. Hey there, I am new at asking questions so please be gentle. I am a PS4 KSPEE player and I am trying to perfect my landing on the launch pad, now with that being said it is going to require allot of math and I just don't know the formula, I was thinking about how it should include the TWR, the weight of the object being landed, how quick the fuel is being drained, it is kind of like the rocket equation but with added steps and it will lead to a different outcome, if there is someone who could make a calculator I know that not only I will appreciate it but so will the KSPEE players and the stock KSP players alike. Thanks everyone!
6. I'm planning my first asteroid capture mission, and (without having played the tutorial mission) I got curious to learn how much fuel and thrust I would need to put on the capture vessel in order to bring the asteroid into a useful orbit around Kerbin. I spent a lot of time trying to learn something about it, and thought I would share. I would really love to hear your thoughts and feedback! The lovely little space rock I have in mind to make my own is one SDD-569, a class A asteroid. SDD-569 is approaching Kerbin for a leisurely flyby at a periapsis of ~2,079 km, well inside the orbit of the Mun. This puts SDD-569 into a sharply looping orbit around the planet, before it flies back out into parts unknown. I'd like to drag the asteroid into a circular orbit, and then bring it down to about 500 km for future research and exploitation. Can we calculate how fast is SDD-569 going with respect to Kerbin, based on what we already know? Since energy is always conserved, the total kinetic energy for a given object (from orbital speed) plus its potential energy (from gravity) never changes. The relationship of kinetic energy to velocity is a consequence of Newton's third law: In other words, for a constant mass, v2 is a measure of kinetic energy. The vis-viva equation describes the conservation of energy for a small body orbiting a much larger one: GM, also known sometimes as μ, as is Kerbin's gravitational parameter, which the KSP wiki reports is 3.5316 x 1012 m3/s2. This parameter is the product of the gravitational constant of the universe with Kerbin's mass, which is effectively constant. a is the semi-major axis of the orbit as measured from the center of the celestial body. Kerbin's radius is 600km, so we add that to the altitude of SDD-569 at periapsis to give a = 2,679km. r is the distance between the two objects at a given time. An object moving fast enough to escape Kerbin's gravity is in an orbit with a semi-major axis that is effectively infinite. At periapsis, this simplifies the vis-viva equation to describe the kinetic energy that an object must have in order to overcome Kerbin's gravity from a given distance r: In other words, escape speed from Kerbin orbit at the moment of periapsis (r = 2,679km) is ve = 1,623 m/s. But since SDD-569 is tracing a hyperbolic (i.e. open) trajectory through Kerbin's SoI, it must be traveling faster than this, or else it would be captured. How much faster? Consider the other extreme case of the vis-viva relation, where the asteroid has shot past Kerbin and the distance r between them trends towards an infinite apoapsis. Setting r =∞ in the vis-viva equation tells us how fast the object is still going at that point, which is called its hyperbolic excess velocity: (where μ = GM) So for the flyby of SDD-569, the hyperbolic excess velocity is v∞ = 1,148 m/s. This characteristic energy is over and above the energy needed to escape Kerbin's SoI from that distance, so the total energy possessed by SDD-569 relative to Kerbin at periapsis is: This gives a total velocity for SDD-569 relative to Kerbin at periapsis of 1,988 m/s! By how much do we need to reduce this so that it drops into a nice 2Mm circular orbit from periapsis? In a circular orbit, the distance between the two objects r and the orbital radius a are always the same. Thus the orbital velocity is: Not coincidentally, this is the same as its hyperbolic excess velocity, because r = a. So at r = 2,679km, an object in a circular orbit around Kerbin travels at 1,148 m/s. So, to get SDD-569 into a circular orbit from its flyby periapsis, we need to bleed off Δv = 840 m/s. To then bring SDD-569 down to a more convenient altitude of 500km, we would do a Hohmann transfer, which can be calculated with the standard formula, and works out to another 614m/s Δv to descend to a 500km circular orbit, for a total of 1,454 m/s. What’s more, the spacecraft sent to capture SDD-569 needs to match orbits with the asteroid in order rendezvous. That means that if the spacecraft starts from, say, 500km above Kerbin, it will need to expend that much to get to the asteroid in the first place. So, starting from a 500km orbit around Kerbin, the total Δv budget for this mission is 2,909 m/s. Next up: Asteroid capture planning, part 2: How much fuel do we need to bring? Mission to SDD-569: Where the rubber meets the regolith! Did I get this right? If you have feedback or ideas, I would love to hear them!
7. Hello, this is my inaugural post on the KSP forum. To learn some more physics and calculus, I'm trying to create an analytical equation for the path of a solid fuel model rocket fired vertically. I first made an equation assuming no atmosphere and no orbital mechanics, which I am satisfied with. I'm currently making an equation that accounts for drag, and assumes there is no change in atmospheric density and no wind. The equation I am using is from Wikipedia, specifically vertical motion upward and vertical motion downward. I am not sure how to adapt this equation to work while the thrusters are still active. If anybody can help me with this, I would be extremely grateful. The work I have done so far is here: https://www.desmos.com/calculator/ncmd38rosu The Variables folder contains all variables, the No Drag folder contains a complete equation that I have made personally, and the drag folder contains what I have done so far to account for drag. I am more than happy to explain my thought process/reasoning on how I have come up with what is on there so far. Thanks, and I look forward to spending more time with the KSP community.
8. Hello guys. I am an amateur Kerbonaut and I want to start to calculate dV by hand since it is so nice and fancy to do. When I looked up, I came across this formula: dV = Isp * gravity * ln(m0 - mf) Everything is fine, but when I utilize this equation and check the results with VAB, I get HUGE differences for other planets. Currently I am trying to visit Eve and comeback. My lander should have God knows how much dV. So, for a stage (mid), I put: Rockomax 32 (x1) FL-A215(x1) FL-A151S(x1) Skipper The upper payload is 4.090t. Therefore, according to the equation: Isp = 280 Gravity = 16.7 m0 = 32.740t mf = 9.940t and dV should be 280 * 16.7 * ln(32.74/9.94)= 5579.9 m/s but VAB says it is 666m/s. What I am doing wrong? Good luck in your space journeys
9. I'm trying to write a python script (using the kRPC mod) to do a suicide burn. However, so far I always reach a velocity of 0 a few hundred meters above the ground and then proceed to plummet to my death. My assumption is that the problem is a mathematical one, as the code is fairly simple. So I'd be very grateful if someone could check my math. Alternatively, if anyone has a different solution for what I'm trying to accomplish, I'd be happy to hear that to. For simplicity's sake I assume that my spacecraft is always pointing straight up and falling straight down. I also assume that there is no atmosphere and thus no drag. So here is what I have come up with: (Handwritten version of math) t: Time since start of the burn in seconds (s) Fe: Thrust of the spacecraft's engines in Newton (N) M0: Wet Mass of the spacecraft at the beginning of the burn in Kilogram (Kg) g: Surface gravity of the body I'm landing on in meters per second squared (m/s^2) W: Weight of the spacecraft in Newton (N) W = M0 * g F: Net thrust of the engine when decelerating the spacecraft in Newton (N) F = Fe - W K: Fuel consumption of the engine in Kilograms per second (Kg/s) a(t): Acceleration (or deceleration, depending how you look at it) of the spacecraft after t seconds, taking into account the decreased mass due to fuel being burned. In meters per second squared (m/s^2) a(t) = F / (M0 - K * t) Tb: Duration of engine burn in seconds (s) Dv(Tb): Speed change of spacecraft for a burn of Tb seconds in meters per second (m/s) Dv(Tb) = Integral from 0 to TB [a(t)] dt = Integral from 0 to Tb [F / (M0 - K * t)] dt = (F/K) * ln(1 + Tb * (K/M0)) Up until this point everything is based on this reddit comment. However, I am not sure if the integration for Dv(Tb) is correct. If I do it myself I get a different result, but the dimensional analysis for my result doesn't work out, so I've been sticking to this one. v0: velocity of spacecraft at the beginning of the suicide burn in meters per second (m/s) To calculate Tb, let Dv(Tb) = (F/K) * ln(1 + Tb * (K/M0)) = v0 and solve for Tb: Tb = (e^((v0 * K) / F) - 1) * (M0 / K) Da(Tb): Distance the spacecraft falls during burn of Tb seconds in meter (m) Da(Tb) = Integral from 0 to Tb [-v0 + Dv(Tb)] dt = Integral from 0 to Tb [-v0 + (F/K) * ln(1 + t * (K / M0))] dt Because I couldn't find an analytical solution for Da(Tb) I decided to solve it numerically every tick. I now run the above calculations every tick (multiple time per second) and then check if the resulting Da(Tb) is close to (within 10m) of the current altitude of my spacecraft. If it is I know I have to start the suicide burn. However, as mentioned above, it always starts a few hundred meters to early. It shouldn't be relevant, but this is the spacecraft I'm using to test my code. In case the above is to confusing to follow, here are my handwritten notes. They should contain the same information as above but more neatly formatted. Beware my handwriting though Also, is there a way to insert latex formulas in my post? I think that would have helped a lot. And this is a copy of my code so far, if anyone is interested: So, again, if anyone is willing to check my math, I'd be very grateful.
10. How do I calculate the surface longitude where I start my transfer burn to geostationary altitude, given the surface longitude where I want my satellite to end up, my current altitude and orbital period, and my current longitude? I'm trying to write a kOS program that puts a satellite into a precise-ish slot in geostationary orbit. My probe is powered by a single ion engine and has a wet mass of 1.726 tonnes.
11. Just a thread to discuss math things, I guess I havn't seen one so here.
12. A while ago I had a question that went a little like this: "Planet Kerbin has a radius of r from its center and gravity of G. Two identical rockets launch from the equator at opposite sides, and start accelerating along the rotation of the planet with the velocity of V. At what time after they finished acceleration did they reach maximum distance from each other, and what was the distance?" It also said in its prefix that "people attempting this question might want to find out a little about Kepler's laws." I think I got the answer, but I am not sure if it is right, as I didn't know any good method of doing such a calculation. Could you please help me by telling me how do you find out these variables algebraicly? I also found the only picture that I had of this question, and here is a graph that went with it
13. Hi there, I'm an aerodynamics student and am looking to do the same kind of medium-fidelity aero modelling that's done with Ferram Aerospace - the calculation of aerodynamic coefficients, stability derivatives, and the like for some arbitrary body, and as functions of Mach number, AoA, etc. Does anyone know if the developers compiled a bibliography/list of references/papers for the algorithms they implemented? If not, is there any information on how their algorithms work, or could anyone recommend some papers I can look at to get started? (I'm familiar with basic flight dynamics theory already, and am more interested in the actual computational component.) Thanks!
14. Hi, I've made a quadcopter and found I cannot control it. If I attach rotors to yaw/pitch/roll and thrust I am able control thrust but yaw/pitch/roll override each other so only one is effective. Thrust works because it's incremental while yaw/pitch/roll are absolute. At first I wanted do demand multiple overlapping controls to work additively (and they should) but then I realized that won't be enough. The collective throttle must lift the craft while axes control should only modify torque to control its movement and may work much weaker. So the torque for single engine could be calculated by a formula T=(1 - 3k)t + ky + kp +kr, where T is torque, t is throttle, and y, p, r are yaw pitch and roll, respectively. k is axes to throttle coefficient, let it be 0.1, for example. Now, this cannot be done. So I think the formula controller should be available for our creations. Of course this will be usable not only in quadcopters. Why not control ailerons in function od speed? In supersonic flight they are too strong while in low speed maneuvering they could work stronger. We could also describe by formulas hinges' movements as a function of time or the controller's value (then a controller's path could be a variable, not necessarily bound to a part).
15. Is there an equation to calculate the heading I need to fly to reach an orbit of a certain inclination, based of the latitude of the launch site?
• 23 replies
• 7
• 18. ## I wonder if the fact that as a child I had problems with multiplication, maybe some relationship with my Asperger Syndrome?

I have Asperger even if I was kid I was suspected (wrongly) that I have ADHD I could not learn the multiplication table, which was required in my country, Poland I can not do it until today, and I am almost 33 years old I often flunk math I could make calculations, but only with the help of a calculator. I remember once from boredom I started playing with a calculator and started to add numbers to each other. The teacher saw it and asked what I was doing? I apologized to him, and I said I was just having fun. This teacher said that I was just doing the Fibonacci sequence, do not even know it, and that I would not put crap on him, that I do not know mathematics, because from what I see it could be quite a good mathematician xD One of my friend who is also having Asperger advised me to learn to programming in Python, that is the easiest programming language to learn. I bought a course on Udemy and start to study, but I'm afraid that I'm too old https://answers.yahoo.com/question/index?qid=20190124084232AA3Yh98