Class Definition and 909 Threads

  1. I

    Mathematical Quantum Statistics: Why is A*rho of trace class?

    Hi, as we know a density operator \rho is defined to be a non-negative definite operator of trace class (with trace 1). We also know that for a given observable A, which is a (possibly unbounded) self-adjoint operator, the expectation value can be calculated as \operatorname{tr}(A \cdot...
  2. P

    Calling a method from another class

    So this should be simple. but i don't know why it isn't working. so, I have one class called OdometerBuilder with a method in it. (not a main) inside that method is like 40 lines of code. I am required to take out that code and make it into a separate class and method, done that. Now i need...
  3. Saladsamurai

    C/C++ What are the key considerations for building a Matrix class in C++?

    Hello all! I know they are out there, but I think that I can learn a lot by creating my own. I do not want to get too convoluted with optimizing this thing, but I was hoping some folks could offer some input. I am narrowing the scope of this project so that the goal is to end up with a...
  4. clope023

    Python Python Vector Class no attribute error

    Hello all, my issue is in calling the attributes of a 3d vector class in python, this is the class I was working with: import math class Vec3: ''' A three dimensional vector ''' def __init__(self, v_x=0, v_y=0, v_z=0): self.set( v_x, v_y, v_z ) def set(self, v_x=0...
  5. L

    How Does a Class AB Power Amplifier Reduce Crossover Distortion?

    I need to know how does it operate. The textbook that we got doesn't state clearly. Can anyone guide me on how a class AB power amp work stage by stage ? Thanks in advance.
  6. iamjon.smith

    Please Review Database Tables for Advanced Database Class

    After you have analyzed the existing material used by the company for their day-to-day duties, the current Access database, and the additional requirements that the current system does not meet, the following requirements entity/attributes have been compiled: Customer information is tracked...
  7. D

    Would this class be useful for an EE? Advanced Engineering Calc.

    I've been told that usually Mech Eng's or Aerospace Eng's take this class, haven't heard much for EE's but it definitely sounds interesting. Advanced Engineering Calculus - Extends the treatment of engineering mathematics beyond the topics covered in Calculus 3 and differential equations...
  8. J

    Technical Paper for an Introduction to Mechanical Engineering class

    Hello all; I have a homework 'question' I'm hoping I can get some help with here. For my Introduction to Mechanical Engineering class, we have been tasked with writing a technical paper and there is a portion of the mark dedicated to using social media and the internet to enhance the paper...
  9. P

    Schools Taking an honors physics class at a local university while in high school.

    So I am participating in a program that allows me to take classes at a local university and the counselor suggested that because I plan to go into physics when I go off to college (I will be a high school senior next year) it would be a good idea to take the honors introductory course that is...
  10. A

    Union and Intersection of empty class of sets

    why intersection of empty class of sets is the whole space while their union is null set? Book writes that an element will fail to be in the intersection if it fails to be in one of the sets of the class but since there is nothing in the empty class so there is nothing in the empty class that...
  11. D

    Partial differential equations class with only calc III?

    And not taking ODE's? Is this doable? I understand the basics of most concepts as I am currently self-learning from online resources and textbooks, but I decided not take the class during the summer as I'm already taking calc III. The problem is that when the year starts up again PDE's is taught...
  12. P

    Necessary Prereq Math Class Full?

    It's horrible! Despicable! I have to take Intro to Mathematical Reasoning, which is the proofs course at my university. I was planning on taking it this fall so I can take Advanced Calculus (the real analysis track prereq) and PDE in the spring. Math Reasoning is the prereq to both of them an...
  13. ME_student

    Calculus 1 (I'm taking the class in a week.)

    I am finally getting my feet wet, actually taking math courses that apply to my degree. Anyone have any suggestion what I should be studying before I take the class? I have borrowed a book from a local library called "Calculus Essentials for Dummies." I have a friend who is in calc 3, I...
  14. W

    My class schedule, question about Circuit Analysis

    Calculus 3 Physics 2 US History and the World Circuit Analysis I seen my friends struggle in Calculus 3, only to realize it was because of a poor foundation in the previous Calcs. They said Physics 2 was harder than 1 but more enjoyable in the lab. The history class is what i expect from...
  15. T

    Programs Class sizes at math phd programs?

    Where can I find class size information for math phd programs? In physics the class sizes seem to be larger (>20). However, It seems like math phd programs on average have only 15 new grad students per year. I can't find the specific information anywhere though. What would be the average class...
  16. S

    A conjugacy class under O(n), orthogonal projection

    This is not really a homework question per se but I wasn't sure where else to put it: In a script I'm reading the following set is defined: P(n)_k := \{p \in S(n) | p^2 = p, \text{trace } p = k\} (i.e. the set of all real orthogonal projection matrices with trace k). Now the following...
  17. A

    Program / Software for class notes and summaries

    Hi there, does anyone know a software or program that i can use to quickly sketch / draw and write as if i was writing in pencil ? For instance, paint is of no use, because it can't be edited. Photoshop is kind of hard to simply make straight or curvy lines without too much trouble. So...
  18. E

    Need a book to prepare for my Calculus 3 class

    Ahoy, Next semester I am taking Calc 3 and I would like to prepair over the summer so that it is not so daunting. If anyone can suggest a "...For Dummies" type book which would give me good examples and equations along with ample example problems that would be great. P.S. I already know...
  19. E

    Need a book to prepare for my Special Relativity class

    Hello, Next semester I will be taking a class in Special Relativity through UIUC. Its only a 200 level course titled Relativity and math applications but I would really like to go in with a base. If anyone could give me some book suggestions which would contain practice problems and the like but...
  20. I

    Quotient set of equivalence class in de Rham cohomology

    Hi all, So the equivalence class X/\sim is the set of all equivalences classes [x]. I was wondering if there was a way of writing it in terms of the usual quotient operation: G/N=\{gN\ |\ g\in G\}? From what I've read, it would be something like X/\sim = X/[e]. But, since I'm looking at the de...
  21. M

    Open Class Interval Problem from AS S1

    Homework Statement Question Anna is calculating the mean and standard deviation for a set of data for a random variable X. The data is summarised in the table below. x: 10– 20– 30– 40–50 Frequency: 8 20 12 0 (i) For each of the following cases, write...
  22. J

    Need help with part of a proof (measure theory class)

    Homework Statement As part of a larger proof, I'm trying to show that ||fn|| --> ||f|| implies <fn> --> f in Lp, where <fn> is a sequence of functions in Lp, 1≤p<∞, which converge a.e. to a function f in Lp. Homework Equations ||f|| = (∫|f|p)1/p. The Attempt at a Solution There's some...
  23. Y

    A ball is thrown into the air + missing class

    Homework Statement Gravity = 10m/s/s The quotes are tables i just couldn't figure out how to make them. I don't know if velocity is suppose to change but i used 30 for each making the assumption its how hard the initial throw was.Homework Equations I don't know exactly what the teacher wants...
  24. Whovian

    Creating instances of a class in Objective C

    I'm relatively new to Objective C. I know I'm using C strings instead of NSStrings, but I'm more comfortable with them. And I know this is probably a bad example of Object-oriented programming, but this is for the sake of example. #import <Foundation/Foundation.h> @interface Greeter ...
  25. Whovian

    Java How does java know what class to invoke the main() method of?

    In C++, pretty much any global main() function gets run. In C#, amy class's Main() method gets run, and having multiple Main() methods in multiple classes should give a compilation error(?). But if we have a .jar, when running it, how do we know which class's main() method the .jar will run?
  26. X

    Should I study Varation Calculus over the summer for classical mech class?

    I'm taking my first upper tier physics class in fall 2012 Analytical Mechanics. I know that the calculus of variation is fundamental to understanding the Lagrangian and because this will be the only classical mechanics class I will take in my undergrad I want to understand it well. Do you think...
  27. nukeman

    Need help with IUPAC name of a metal for Physics class.

    Homework Statement One part of this problem is the following: Give the IUPAC name for each of the following: Ti(CO3)2 I thought it would be diTitanium Carbon Trioxide But its apparently Titanium carbonate Can someone please try and explain this better for me so I can...
  28. A

    Queuing Theory with multiple class of traffics

    I am trying to use Queuing Theory to do some computer architecture studies . Is there any mathematical treatment of Queuing Theory in which there is single queue but multiple classes of traffic along with multiple servers such that for every class of traffic there is one dedicated server...
  29. A

    Post Your Summer/Fall 2012 Class Schedules

    This is somewhat of a tradition at this point on PF, so I figured I'd start. What's everyone's summer and fall schedules look like? My summer: Vector Calculus - using Marsden's book American Literature - five weeks of fun and adventure Mechanics of Solids - five weeks of pain and misery...
  30. B

    Marxian catastrophe? - technolgy marginalizing middle class

    I'm looking for Links, books, and terms associated with the increase in mechanization, automatization, and efficiency of future economies. Think of the future where people who work at supermarkets, fast food chains, the postal service, or as truck drivers, construction workers, landscapers...
  31. D

    What to review from linear algebra for a differential equations class?

    I'm going to be taking a class in ordinary differential equations over the summer and have about 2 weeks to prepare. The class has linear algebra as a prerequisite, and I just wanted to know what I would need to review from linear algebra to prepare myself for the course?
  32. D

    Debug Assertion Failed ( Matrix Class)

    i tried to debug the following code and it crashes in the end at the curly bracket } i think i have a problem in the destructor .. Can anybody tell me why this happens ?? knowing that the Matrix extends and shrinks as i wish and all the functions work perfectly...
  33. I

    Confusion: computation of class number of K=Q(sqrt(30))

    As an exercise, I'm trying to compute the class number of K = \mathbb{Q}(\sqrt{30}). By the Minkowski bound, I just need to consider the prime ideals which divide 2,3,5. I've found that (2) = \mathfrak{p}^2_2 (3) = \mathfrak{p}^2_3 (5) = \mathfrak{p}^2_5 where...
  34. O

    Understanding the Ideal Class Group of Q(√-17)

    I have a pretty urgent question concerning the calculation of the class group, so any help will be very much appreciated:) I'd like to illustrate my question with an example: Calculate the ideal class group of Q(√-17), giving a representative ideal for each ideal class and a description of the...
  35. I

    Which Math Class is Best for a Computer Engineering Major?

    Hello physicsforums next semester i have a bit of an awkward schedule because i changed majors. this left me with in a strange spot where i can take another math class. here are my choices Abstract Algebra pros +i am pretty interested in it due to some exposure in linear algebra +I...
  36. V

    Parametrization question for my Intro. to Higher Math Class

    Two objects A and B are traveling in opposite direction on a straight line. At t=0 A and B are at positions P(A)=(-40, -20) and P(B)=(190, 980), respectively. If additionally, their paths are parameterized by directions V(A)=(3,5) and V(B)=(-24, -40), respectively. Then, a) find the point...
  37. M

    Solving or approximating a special class of fourier transforms

    I have a large class of Fourier transform integrals that I would like to solve, approximate, or just get some insight into how they work. They take the form: \int exp(j*θ(x))exp(-j*ω*x)dx with the restriction that θ(x) is real. Now this general class is very hard, but perhaps someone...
  38. LTME

    Math pole (which class was the most difficult for you?)

    I am curious which math classes gave people the most trouble during their time in college. I am not looking for a "this class is harder than that class" kind of ruling as I know it differs from student to student and school to school. I am simply curious to see if there will be a pattern in the...
  39. R

    Factor principal ideals in a field with class number 2

    Homework Statement Let K be a number field. Let a be an irreducible element of K. Prove that if <a>(the ideal generated by a) is not a prime ideal, then it is a product of two prime ideals. Homework Equations The Attempt at a Solution I'm actually quite clueless...:frown: I...
  40. M

    Need One More Class for Next Fall

    I am a rising senior Physics Major who needs one more class to meet the credit hour requirement to keep my scholarship. These are the class that fit into my schedule that my adviser told me to look at: Intro to Software Engineering - really just advanced C++, UML use, memory management, and...
  41. Whovian

    C/C++ Problem accessing members of a class in C++?

    #include <iostream> using namespace std; class B { public: int a,b; string c; B (int, int, string); B (); }; B::B (int d, int e, string f) { a = d; b = e; c = f; } B::B () { a = 0; b = 0; c = "Nothing"; } int main() { B Wibbly (1,2,"Wibbly"); B Wobbly (); cout <<...
  42. J

    The class indexed by real numbers is a set?

    Let \mathcal{S} = \{S_{i}:i \in \mathbb{R} \} where S_{i} is a set. Then \mathcal{S} is a set? Or, can this notation make sense in some way?
  43. F

    How do I calculate the class number? What is the class number simply?

    I'm doing the last part of iii) My lecturer has given a definition of the class number, abstract stuff and hasn't actually explained it in simple terms to get my head around. In particular in any example when it comes to calculating the class number h(K) she just goes 'Hence h(K) = 2'...
  44. F

    Focal Length problem for astronomy class

    Homework Statement A telescope has a focal ratio of f/7.5. You wish to use it with a spectrometer that requires an f/10 beam at its input. Compute the focal length of a 50mm diameter lens that, when inserted in the beam 150mm in front of the unmodified focal plane, produces the required beam...
  45. J

    Need Information about statics class offered online?

    URGENT need Information about statics class offered online?? I need to find a university or comm. college that will be offering statics online over the summer. If you have any ideas of schools i could call please list them. Thanks!
  46. S

    Struggling in Precalculus: How to Get Back on Track for a Successful Math Career

    I am sort of in an odd situation or at least I think it is odd. Right now I am currently dual enrolled in precalculus and trigonometry. Trig I don't feel is difficult but I am worried that is because my professor is too easy. In short, for trig I don't feel like I am being prepped in the way I...
  47. R

    Understanding Equivalence Classes: Even and Odd Numbers in Relation to 0 and 1

    Why in equivalence class of N of even number and odd number, the even number are taken as related to 0 and odd number are related as 1 i.e [0] and [1]. Instead of [0], even number can also be related to [2] or [4]? Or [2] or [4] could also be taken, as it is just an convention. Thanks.
  48. J

    How do you access a pointer of a class nested in another class

    Given the following: class pairList { private: int value1, value2; pairList *nextEntry pairList *reverseM(pairList *prev); public: pairList(int v1, int v2, pairList *next) : value1(v1), value2(v2), nextEntry(next) {} int getFirstValue() { return value1; } int...
  49. 1

    Where Can I Take Physics 4C in Summer in CA or Nearby States?

    Hello, I'm looking for a college that offers Physics 4C(or equivalent classes) in this coming summer in CA or nearby states. I did a lot of research, but i didn't find anyone offers it in summer. I have to take it before the fall semester starts. Here is the course description Has to be...
  50. C

    Comp Sci How Should I Implement the UserID and Password Generation in Java?

    Homework Statement This is my assignment: (Sorry, it's a little long) You are required to write a UserID Java class to be used when generating and storing the user id and password for a new user of a system. At a minimum, each UserID object should store a first name, last name, user id, and...
Back
Top