Does anyone have a good tutorial or start-up advice for building a database in Python? The only database software I've ever used is Microsoft Access, but I've heard it's possible to build databases in Python.
I was thinking I'd start off with a simple database: a few tables that can draw...
Thanks for the feedback; I'm not sure what exactly I'm aiming for - just a project that will apply the skills I have learned so far to something substantial. The three you have listed are good ideas- that's the type of suggestion I was looking for. It is sort of a general / brainstorming type of...
I have recently learned Python programming as a self study and am proficient in using the syntax. I can currently make calculators and other operational tools in Python, but I can't use Python to actually manipulate a computer; there is ample instruction in basic programming on-line but not much...
Thanks!
Thanks! I fixed it (literally one minute before you posted this) by using float:
def Miles2Feet():
Miles = input('Enter distance in miles: ');
Miles = float(Miles)
Feet = 5280 * Miles;
print (Miles, 'Miles =', Feet, 'Feet');
I am creating a program in Python 3.3 that converts miles to feet, my code is as follows:
def Miles2Feet():
Miles = input('Enter distance in miles: ');
Feet = 5280 * Miles;
print (Miles, 'Miles =', Feet, 'Feet');
When I run this using 1 as an input number of miles, it does not...
From my understanding, when white light hits a surface, all of the frequencies within the white light are absorbed except one, which is reflected, and that is the color of the object. For instance, a blue plastic appears blue because it absorbs all frequencies except that of blue.
Why then, can...
Well first I did the inverse of Y and got:
[3 -4]
[-2 3]
Then I multiplied that by X and got:
[5 7]
[-3 -4]
Then I transposed it and got:
[5 -3]
[7 -4]
Then I did the inverse of X and got:
[2 -5]
[-1 3]
Multiplied by Y and got:
[-4 -7]
[3 5]
Then I transposed that and...
Homework Statement
Find (X * Y-1)T - (Y * X-1)T
When X = [3 5]
.....[1 2]
and Y = [3 4]
...[2 3]
Homework Equations
Inverse= 1/ad-bc [d -b]
......[-c a]
The Attempt at a Solution
I got:
[9 -6 ]
[14 -9]
But the answer is:
[-3 -2]
[6 3]I did the problem twice and got the same answer so I...
On a previous problem:
Find d/dt for a square
and the answer was:
d/dt (A=s2)
dA/dt = 2s (ds/dt)
perhaps you understand this one? (I don't)
well i know the derivative of s2 = 2s. so we've taken the derivative of A with respect to t... so perhaps multiplying 2s by ds/dt is part of the...
Homework Statement
find d/dt for a rectangle.Homework Equations
A=bh
product rule for derivatives (the first times the derivative of the second plus the second times the derivative of the first)
Chain rule for derivatives
The Attempt at a Solution
If b is a constant, then I know that dA/dh = b...
Homework Statement
find the limit as x approaches 0 of 3sin4x / sin3x
Homework Equations
sin2x = 2sinxcosx
lim as x ->0 of sinx / x =1
The Attempt at a Solution
sin4x = 2 sin2x cos2x
Homework Statement
A cylindrical tank of gas with a radius is viewed from the side (so that it looks like a circle, not a rectangle) and has a radius of 1m. Through a hole in the top, a vertical rod is lowered to touch the bottom of the tank. When the rod is removed, the gasoline level in the...