Jump to content

Amram

Members
  • Posts

    135
  • Joined

  • Last visited

Everything posted by Amram

  1. I think the one thing we really need from Spaceport, is some form of automated updating for mods, which is something that if spaceport were integrated directly into KSP, and installed mods directly into KSP, would make sense to also be built into Spaceport. You open KSP, it lets you know 3 of the 37 installed mods have new versions, would you like to download the updated versions? For that matter, toggleable, and defaulting to yes, grab the new version, don't even bother asking me, just do it. Do that as the first step to loading parts, so before even one part is loaded, check the mods. Less forum refreshing by players that are merely checking to see if one of their mods updated or not. An end to hunting through page after page looking for where the thread for that one random little mod is, just to find its still the same version, hasn't updated yet. Hopefully an end to modders having to deal with explaining that the bug being experienced died three versions ago, the player should update sometime this decade.
  2. 78 = !(Γ(4)) * .4 - 4! - 4
  3. 76 = !(Γ(4)) * .4 - 4! - Γ(4)
  4. Might as well right, I mean, you already did the work, lol.And now for a bit less faith in humanity.... If you didn't want to actually participate, why even post? The game isn't 'lets use google', its figure it out on your own. Maybe your not the first to just reference a list, you are definitely the most obvious about it. If you can't be bothered to work it out yourself, please, don't post. I haven't referenced a list for any of my solutions. Don't believe it if you don't want to. I've no doubt some of my solutions can be found, a couple may even be common, you'll never find them all though. My point is exactly what it seems to be, take some pride in figuring it out on your own. Pride in the power of your own mind. Too much to ask? In doing this, i've learned a few things. I know im not alone in learning a bit, read the thread and see for yourself, its not all solutions. At least this thread has also served some purpose other than just a little entertainment for a few of us. Go ahead, find a list with these on it: 72 = 4^√(!4) + 4 + 4 72 = !4^√4 - Γ(4) - √(!4) 74 = (!4)^(√4) - 4 - √(!4) 74 = 4^√(!4) + 4 / .4 ...if only i'd had the foresight to have made this the five fours problem instead. That would have fixed that.
  5. im just going to leave this here: A Physical description of Flight, David Anderson(Fermi National Accelerator Laboratory) and Scott Eberhardt(Dept. of Aeronautics and Astronautics, University of Washington) The Popular description of lift being the Bernoulli principle. You can find that on page 2.Or if you'd rather a shorter shot at things with much less detail, how about a word from NASA? Incorrect Lift Theory #1 And look at that, its Bernoulli's principle. found by following their links to the next page until about 4 pages later, here.I trust a little reading can settle the Bernoulli debate regarding where the lift in a wing really comes from?
  6. hey, an easy one, about time, lol. 68 = 4 * 4 * 4 + 4
  7. if i can make use of the planet myself, i'd settle for a set of reasonably sized asteroids sprinkled with a very resilient, and genetically tailored bio weapon that isn't compatible with my genetics. better still, if I posess nano technology, i'll just leave a small swarm int he path of their planet some time int he future. The planets orbital motion will bring them into contact with the atmosphere, and they'll begin to do their thing. The intent there is to teraform the atmosphere to my needs, and deconstruct cells with the target DNA for materials.
  8. How can any piece of software be made without the source code to the operating system which will execute it? The API's provide a line of communication between the plugin and the executable itself. Without the communication you have two isolated programs and neither can influence the other. if the Dev's had never provided that open door, there would be no plugins like KMP, MechJeb, FAR, RSS, simple as that. the very simple descriptions of how it all works, in 5 sentences, is this: KSP executes the plugin The plugin does some work, decides what it wants to know, and it asks KSP for that info KSP replies with that info the plugin does more work, decides what it wants to do with that info, and tells KSP what to do KSP does as told. The API's bridge the gap, they enable the communication, and allow the Plugins to operate KSP, like a rider on a horse. The horse will do as it will, until commanded otherwise in a way it understands. Give it commands it doesn't understand and you will not get what you want from it. Those commands in this case, are the API. Know what function to use, and how to use it, and you'll make progress. Don't know which function, or how to use it, or it doesn't exist....... That's modding KSP with Plugins through the API's in a nutshell. The source code just doesn't factor into it. Sylandro, im about as certain of this as I can be of anything other than that I will someday die:it will not be okay for you to have the source code now, or sometime in the near future. Squad is making their money off of that code, and it would be a very poor choice to willingly give it away at this stage.
  9. 65 = 4! / .4 + √4 / .4
  10. 62 = Γ(4) * 4 / .4 + √4 Btw, updated the rules. I just assumed there wouldn't be double posting so i wrote #8 to avoid one person supplying a bunch in one shot, we now have #9 as well to cover what #8 missed. Apologies, it seems I suck at clarity, but I do improve over iterations.
  11. 59 = 4! + 4! + !4 + √4
  12. 57 = (Γ(4 + √4) - Γ(4)) / √4 That one was tricky. I could easily hit 58 or 56 with one four left, but I needed one more to hit 57, lol.
  13. 54 = 4! + 4! + √4 + 4
  14. almost feels like cheating: 52 = 4! + 4! + √4 + √4
  15. depends, when I had room mates, I had a fairly loud but steady tone fan that was pretty much always on. I get distracted by little things I can almost hear, so it makes it near impossible for me to fall asleep if I can almost make out conversation, or if I can fully hear it as then I get distracted by following the chat. I can't sleep through a tv. Even if im tired enough I pass out unwillingly due to trying to see the end of a movie while tired, i'll be awake again inside 30 minutes as soon as the noise changes significantly. Sudden gunfire, or the end of, or the credits roll, commercials, etc. The steady drone of the fan eliminates the random noise and replaces it with a steady white noise, and that I can sleep to easily. Fans that are twisting/alternating/rotating will drive me bonkers, I can hear the little motor alternating back and forth, and if it clicks at the end of each rotation..... I loathe analog clocks at night, I can hear the damned things form a surprising distance, and can't sleep through it. if I have to put up with such a clock, a fan is a godsend, assuming it can be made to make only a steady drone.
  16. So I finally got around to investigating what the hell a subfactorial is, and how it works, and now all I have to say on the matter is that its a deranged concept. That and Wolfram-Alpha.com is full of awesomeness. 41 = !4 + (4*4)*√4 37 = Γ(4)*Γ(4) + (4/4) 39 = Γ(4) * 4 + (Γ(4) Choose 4) Any of the answers in here that are formatted correctly should spit out true if they got it right. Not that i understand how the Choose function works yet, lol. Btw, WolframAlpha doesn't like C, seeing it as a variable and treating it as such, but I found it does work out as expected with the full word. Even explains it to you if you want it to. it also doesn't like Γ4 giving a completely unexpected result, it does like Γ(4). the obvious given the lead up from the last few numbers: 50 = 4! + 4! + 4 - √4 less obvious: 50 = !4 * (4 + √4) - 4 I don't even: 50 = !4 * Γ(4) - √4 * √4
  17. agreed on ln, and especially on rounding. So many of these are much too easy if you can just hack off what doesn't fit with a floor/ceil or round down/up. So im adding in a new rule to prevent that. ln, due to its odd ability to let you coerce any value you want to have from just that alone, and rounding from the fact that it replaces the value with one that approximates the value but isn't precisely the value, are both now listed as disallowed. And since I just kicked out ln, which invalidates our #35, and I managed to figure that one out, have a new 35 that doesn't use ln, or floor. 35 = 4! + 44/4 And since its next up, have 46 too: 46 = 44 + 4 - √4
  18. Yep, the higher we get, the more difficult it gets. Definitely getting tough now. 31 = ((4 + √4)! + 4!) / 4!
  19. 30 = 4! + 4 + 4 - √4
  20. 11 = 4! / √4 - 4/4 and because its worth a bit of elaboration 44 / (√4 + √4) 44 is a valid use of 2 fours. Should .4 be allowed? Programming never cares if you omit the zero, excel doesn't though it corrects it for you, calculators don't. Im inclined to think yes in that the zero is implied much as the two from √, in as much that omitting the value that precedes the decimal implies there is no value preceding the decimal. I suppose a solid definition would be whether or not entry into a calculator would require a number other than four? 4/.4 + 4/4
  21. Fixed that for you. Parenthesis are your friend. 6 = 4/4 * 4 + √4
  22. Simple little game with a deceptive challenge to it, and it'll get you thinking. the objective is to count as high as possible within the rules, which are: You have only four fours, no other numbers are allowed, so 4x3 is a no go, you cannot use 0, 1, 2, 3, 5, 6, 7, 8, or 9. You must use all four fours. Make it is convoluted as you like, but four fours, no more, no less and no others as per rule one. You are free to use ANY operation you like, so long as you need not write a value other than a four. it can be implied, but it may not be written. So Square root is allowed, as the 2 is not meant to be written, its just √. Cube roots are out, because you must write a 3. Fourth roots ARE permitted, because 4 is allowed. Constants are out, no using Pi for example. its has an inherent value, which is not 4, so rule 1 and 3 are both violated. Its not a four and has a value of its own other than four. Factorials are permitted, they have no value if they aren't first given a number on which to operate. So ! is meaningless, but 4! has a value, so its permitted, as you only used a four. While not constants, ln() and rounding operations such as floor and ceil, are considered to be outside the spirit of the challenge. Ln() permits you to have any integer value you like. Rounding just makes a square peg fit a round hole by cutting off the corners. Or a round peg fit a square hole by gluing those corners on. Im going to use This definition for why rounding is not permitted. It is simply a notation to indicate that you have replaced the true result, with one that is approximately equal but shorter representation. The key is approximately equal, approximately is not precisely, they aren't equal. So a rounded answer, is not the answer. Your answer must be the next integer in the sequence. So if 37 was last, your task is to figure out how to reach 38. 44 and 444 are valid uses, as is .4 given that the zero need not be written because its implied and writing the zero has no influence on the value itself. Aside from my quick set of 0-4 as a demo of how to play along, only one number per post. Multiple versions for the same number are acceptable. The idea is to avoid one person posting numbers 12 through 18 for example. In line with the spirit of the previous rule, don't reply to yourself with the next number either, as then someone could provide 6 numbers in sequence on their own, which the previous rule was intended to prevent(and in part failed) small adendum, if its been more than 24 hours and you want to stick the next number up, feel free If your going to just use google and search for an answer, then don't bother. If you can't take some pride in the power of your mind, then don't demean yourself by cheating. A quick reference listing for anyone who wants a bit better notation without resorting to nifty little image makers such as this Online LaTeX editor Windows Alt Codes for various Math symbols. As mentioned in the rules, im taking on the first 5 as an example. 0 = 4+4-4-4 1 = (4/4)!^(4/4) overcomplicated on purpose. Could also just do 4/4 * 4/4, or (4+4)/(4+4) 2 = 4/4+4/4 3 = √(4*4) - 4/4 4 = √(4*4) * 4/4 Be wary of the order of operations while your at it. Whose up for 5? How high can we get?
  23. A project of mine has run face first into a wall at mach 7, due to my inability to resolve what is likely a fairly straightforward math problem. I'll preface with a video that does a rather good job of explaining most of the problem. What im trying to do, is code up an AI script for another game. I've been working on improving the bombing scripts, but i've encountered an issue. if I know what angle I plan to release the weapon at, given my speed, altitude, and target altitude, its fairly easy to find the range of 'impact'. Repeated testing against various online calculators confirms im doing that much correctly. Problem is, how do you know the release angle ahead of time? To give an example, If I am flying at 10km alt, my target is at 50m, my velocity is 257m/s, and I release on a -32° descent angle, and ignoring air drag as the game doesn't consider it, I find a range of 7247.148m. 13,300.637m if +32° in python x = ((v * cos(theta)) / g) * (v * sin(theta) + sqrt(pow(v,2) * pow(sin(theta),2) + 2 * g * y)) g = 9.80665 v = 257 y = 9950 (my alt - tgt = 10000 - 50 = 9950) theta = ± 32 in given examples. In all cases its release angle. What i can't figure out for the life of me, is how to get back to the original angle with precision. if i know g, v, y, and x, what is theta? I found an answer on wikipedia, but it confuses me somewhat, and tends to make both my calculator and python angry(math domain errors), plus when I get it working in special cases, the math doesn't work out. So I did more digging, and I found a forum post, which i've misplaced, so I can't link it, but I have the math used. theta1 = atan((pow(v,2) + sqrt(abs(pow(v,4) - g * (g * pow(x,2) + 2 * y * pow(v,2)))))/(g * x)) theta2 = atan((pow(v,2) - sqrt(abs(pow(v,4) - g * (g * pow(x,2) + 2 * y * pow(v,2)))))/(g * x)) That should provide me the correct two possible values for theta. However. It causes math domain errors if g*y is positive. I've been feeding it negative y, as I assume that given y is positive when I work top down, and im now working bottom up, y should be flipped right? When I got this far, I thought I was home free. but doing an theta == theta1 results in False, even when I invert the sign to make it appear correct. So I suspect its a rounding issue, and the result isn't lining up quite right. if I use those values to compute a new range, to compare against the old one, I get 4 results because I am currently testing both theta's as positive and negative to cover my bases as im not sure the correct step from here. So here's the full output from my script. theta 32 Popup Range Calc 13300.637m theta1 -32.000000 theta2 -21.200409 theta -32.000000 range = 7044.423 theta -21.200409 range = -5443.860 theta 32.000000 range = 13240.912 theta 21.200409 range = -12178.599 The first and second passes differ, 13300.637 vs 13240.912(theta value 3). if I attempt to replicate the video's results: theta 20 Popup Range Calc 160.244m theta1 -38.033894 theta2 -20.000000 theta -38.033894 range = 102.637 theta -20.000000 range = 30.819 theta 38.033894 range = 159.635 theta 20.000000 range = 99.248 I get his answers if I work it by hand, so I think its merely a precision error, the script isn't rounding where we are. as a final confirmation, I tested against the game's approximation, it uses: t_flight = math.sqrt(0.20394324 * (own_alt_m - tgt_alt)) release_range_m = t_flight * own_speed_mps if i set theta to zero, I get the exact same results to how ever many digits i care to show, so in level bombing im every bit as accurate. Thing is, the game has no capacity to loft/dive on targets while bombing, which is what im out to improve upon. So, anyone willing to take a crack at it? What is screwing me, if I understand correctly, is that I have two unknowns, and im not sure how to reformulate to solve for one of them. Theta, and time. I can solve for one or the other, if I know the other one. But i can't figure out how to get back to theta from range. I presume that given that I can solve for range and time if given theta to work with, that its possible to go in the other direction and figure out time, and then theta if given range instead, i just can't figure out how. if its relevant, i never did graduate so be wary of throwing all sorts of symbols at me without defining them too, as it is im currently in the middle of upgrading(math-10 as a refresher atm, math-20 starts in january), but something tells me this is well beyond what i'll be taught for a while yet. I learn quick, math always was my strong suit(er, case in point, getting as far as I have is WAY beyond math 10 stuff, I know, I'm just finishing it now), I just never finished it the first time round.
×
×
  • Create New...