Recent content by PotentialE

  1. P

    How can I build a database in Python?

    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...
  2. P

    Any ideas for intermediate-level programming projects in Python?

    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...
  3. P

    Any ideas for intermediate-level programming projects in Python?

    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...
  4. P

    Help with a basic, four-line python operation

    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');
  5. P

    Help with a basic, four-line python operation

    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...
  6. P

    Optics question: light reflecting off a colored surface

    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...
  7. P

    Matrices: Transpose and Inverse

    Oh that's right! I forgot the associative property is non-applicable to matrices. THanks for your help.
  8. P

    Matrices: Transpose and Inverse

    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...
  9. P

    Matrices: Transpose and Inverse

    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...
  10. P

    Derivatives Problem (Calculus 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...
  11. P

    Derivatives Problem (Calculus I)

    that's my problem too... that IS the quote! "Find d/dt for a rectangle" and then the formula given is A=bh so find d/dt for A=bh
  12. P

    Derivatives Problem (Calculus I)

    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...
  13. P

    Trigonometric Limit Problem: Finding the Limit as x Approaches 0

    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
  14. P

    Simple Geometry problem is stumping me

    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...
  15. P

    Algebra Problem, solving for the waterweight of grapes?

    b = 34 - w b = dg - wdg w = (.8)(34) = 27.2 b = 6.8 6.8 = dg - (.15)(dg) 6.8 = .85dg dg = 8lbs thank you! that's correct
Back
Top