This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - noogai03
Pages: [1]
1
« on: July 14, 2013, 12:08:23 PM »
import math print("A^2 x 2B x C") numa = input('What is A? ') numb = input('What is B? ') numc = input('What is C? ') firstanswer = (-numb + math.sqrt(numb**2 - 4*numa*numc))/(2*numa) secondanswer = (-numb - math.sqrt(numb**2 - 4*numa*numc))/(2*numa) print("The answer is") print(firstanswer) print("or") print(secondanswer)
Fixed your version - the formula was wrong and I think math.pow() broke it
2
« on: July 14, 2013, 12:02:45 PM »
import math import __future__ #SORRY I GOT THIS WRONG FIRST TIME
print "A*x^2+B*x+C" a = input() b = input() c = input()
#make sure no invalid stuff is happening, to prevent division #by 0, sqrt of minus nos if b ** 2 - 4*a*c < 0 or 2*a ==0: print "error" exit()
ans1 = ( -b + math.sqrt( (b ** 2)-(4*a*c) )) / (2*a) ans2 = ( -b - math.sqrt( (b ** 2)-(4*a*c) )) / (2*a)
print ans1 print ans2
My version, this should work fine
3
« on: July 15, 2012, 11:57:46 AM »
Hey bro.
Just edit your posts instead of triple-posting. 
Yeah, I have a lot of bad, bad habits with forums and social networks. Also, I didn't notice the "Modify" button. And because the Reply button was a different colour, I clicked it immediately.
4
« on: July 13, 2012, 03:36:42 PM »
Spies are the only reason I haven't quit some matches. What other way is there to get out of a spawn camp situation (i.e. 2Fort, opposing team (usually BLU) camps outside the doors of each spawn with a Demoman (that has planted sticky grenade literally just outside the door), a Heavy, and an Engineer with the highest leveled turret at least) other than having a Spy go invisible and run out just after the explosion kills one of your team mates, but before the door closes and then stabbing them in the back. Because I have never been able to get out of that situation without using the Spy before (I tried taking potshots when the door opened, but that never worked out).
That's why TF2 is so great: it is designed completely around balance. They took out lethal grenades from TF Classic for that reason. The Spy, and UberCharges, are the balance in TF2, imho.
5
« on: July 13, 2012, 03:26:28 PM »
F*ck the Scorched Crates. Seriously. I must've opened about five, and I got three effing Apparatchik's Apparels. I want a Rainblower, not bloody shirts!
Unless you really care about Strange Items, crate keys are never worth it. Also, just craft the Rainblower later.
6
« on: July 13, 2012, 03:24:47 PM »
Kakashi Hatake (as in the ninja in the anime Naruto)... He's certainly annoying in the manga/anime, but not in that way! Also, if you think THAT's annoying, watch "HEY GUYS CAN YOU HEAR ME???!
7
« on: July 13, 2012, 03:21:44 PM »
Yeah, TF2's pretty much my favourite game  . However, I can't play it (and haven't been able to since October) 'cause of Internet problems  Favourite class: Usually play whichever class has deficiencies, but I prefer the Soldier with Liberty Launcher/Black Box (or Direct Hit if I'm awake). I also love the Spy. I used to be a bit of a sniper ninja  but I'm not any more  Favourite map: Badwater Basin Favourite Meet The: Medic
8
« on: July 13, 2012, 01:04:27 PM »
Yep, I'm learning/creating. The video is messed up for me.
9
« on: July 13, 2012, 01:01:18 PM »
I now have 7gb of RAM, Windows 7 Pro x64. However, my fans are screwed up, so I can use the UDK but not much else.
10
« on: March 10, 2012, 02:32:14 AM »
Sorry, I got distracted from my original purpose by my rage at Windows Vista  What I wanted to ask was if there was anyone who knew anything that might be a help. Thanks!
11
« on: March 10, 2012, 02:30:30 AM »
I've started learning to use the UDK; it's really powerful. The other main choice (for powerful 3d game engines) is Unity, but Unreal looks more powerful. It's really quite confusing, but I'm getting there. Or I WAS, until I realised my PC did not have enough RAM to run it smoothly.  After that, it started to get slower and slower and now it can barely run LIMBO (the name is meant to be in caps) without just turning off!!!  Anyway, I'm going to get 64bit Windows 7 and 4gb more RAM. That will *hopefully* solve the problem.
12
« on: March 10, 2012, 02:22:12 AM »
Wow, pretty impressive!
13
« on: March 10, 2012, 02:14:48 AM »
Oh, one more thing, what are you making it in? (Programming language, graphics library etc)
14
« on: March 10, 2012, 02:10:55 AM »
Have you heard of Minetest? http://c55.me/minetest/It's a C++ minecraft clone that's going pretty well. The guy who runs it, celeron55 says that making a Minecraft clone is pretty much the ultimate game programming challenge for him. I think I'll stick to learning SDL! Anyways, well done, this looks pretty cool.  Are you going to make it into a full minecraft clone? (When will you stop development)
Pages: [1]
|