Recent content by Davorak
-
D
Undergrad Physics Q&A Game: Calculate Minimum Power for Man-Powered Helicopter
Mind posting some links to some pictures, it would help with understanding of the watches workings which seems necessary to solve the problem. I have found: http://www.timezone.com/library/horologium/horologium631673198118416858... -
D
Calculating Blood Alcohol Content (BAC)
What did you change asher. You have "printf("Enter your gender(m or f): ");" out side of the loop, but franznietzsche already did that.- Davorak
- Post #17
- Forum: Computing and Technology
-
D
Undergrad Physics Q&A Game: Calculate Minimum Power for Man-Powered Helicopter
Well he did find them floating in space and still in working condition that places some restraint on the temperature. I guess I was still going off the original "no calculations necessary." means of interaction: electromagnetic "touch effects" or physical contact electromagnetic... -
D
Graduate Does Black Hole Entropy Change Instantly or Travel Across the Surface?
I ment a ripple of the event horizon from the mass passing through the horizon. This is what Mike2 seemed to be referring to, though the question was ill formed to start out with.- Davorak
- Post #14
- Forum: Beyond the Standard Models
-
D
Graduate Does Black Hole Entropy Change Instantly or Travel Across the Surface?
I like Crosson answer. Entropy is not something physical or an observable like position momentum or energy. The surface area(if we can call it a surface) increases with the amount of mass absorbed by the black hole. The radius can be found by setting the classical escape velocity to c...- Davorak
- Post #12
- Forum: Beyond the Standard Models
-
D
HS students: what's a 'C' on your grade scale?
Why do they do this? Does someone high up in the school district decide that too many people are getting A's or C's. Do high schools get a rep if not enough people fail? Help the local economy by making sure not enough people go to college? :wink: My old high school AP class 5.0 100...- Davorak
- Post #14
- Forum: STEM Academic Advising
-
D
Calculating Blood Alcohol Content (BAC)
So it willl not reask the question if the user enters in the wrong input? Enter your gender(m or f):h j k l m How much do you weigh (yes, your real weight): Something like that? It is also odd that it is not ignored in the first place scanf is supposed to ignore leading...- Davorak
- Post #12
- Forum: Computing and Technology
-
D
Calculating Blood Alcohol Content (BAC)
Sounds like you just need to burn the newline then. scanf(%c,&gender); while(... It also sounds like two spreate return chars are being used by the console and scanf only burns the first of the two. I think they are called newline and the return carriage. The console is putting them...- Davorak
- Post #10
- Forum: Computing and Technology
-
D
Calculating Blood Alcohol Content (BAC)
Question is it 10 each time? Or does it change each time you run the program?- Davorak
- Post #7
- Forum: Computing and Technology
-
D
Calculating Blood Alcohol Content (BAC)
I was right something is on the buffer waiting for scanf. The 10 is not inside the gender variable, it is in the input buffer. The buffer holds the input from the keyboard and other sources, then you program reads from the buffer to get its input. You have two options, try and track down...- Davorak
- Post #6
- Forum: Computing and Technology
-
D
Calculating Blood Alcohol Content (BAC)
Right, probably because something is on the buffer before it enters the loop. Then the program prints out your question. Scanf reads form the buffer and finds something, but it is not m,M,f,F so the loop runs again but this time the buffer is empty so it waits for your input. This is just...- Davorak
- Post #4
- Forum: Computing and Technology
-
D
Calculating Blood Alcohol Content (BAC)
Are you piping this info into the program? If so there might be a whitesapce or a incorect return char after you timeDrinking. In any case it looks like there is somethign waitin gon the buffer for you that is not m, M, F,f. Less likely answer is if you are typing it in by hand that the...- Davorak
- Post #2
- Forum: Computing and Technology
-
D
Undergrad Physics Q&A Game: Calculate Minimum Power for Man-Powered Helicopter
Am I right jdavel? I think I added in the edit after you saw my post. I would PM you but you do not seem to have that feature enabled. -
D
Undergrad What is the Resistance Across a Resistor in an Infinite Square Mesh?
Ontadian's answer in white: Consider one node in the infinite mesh of R resistors and connect it to a current source I. The four surrounding node receive I/4. Each of the four nodes make an equalpotential in the resistor network. Rather what we can consider an equalpotential since the two...- Davorak
- Post #22
- Forum: Other Physics Topics
-
D
What are the highlights of the new book of letters from Richard Feynman?
That’s one of my favorite books Math is Hard. I did not know who Feynman when I first read the book. A good read for anyone imo. I will have to check out he new book infidel thanks for pointing it out. I did not see any tours coming close to me, probably for the best I would not have time...- Davorak
- Post #3
- Forum: Science and Math Textbooks