Recent content by sxal96

  1. S

    Programs Concerns about getting into a good Medical Physics program

    Thanks for your response, I appreciate it. I think I will try both the general and physics GREs since, like you said, it's possible that I surprise myself with my score. Neither of the medical physics professors at my university appear to be doing much research with undergrads yet, would I...
  2. S

    Programs Concerns about getting into a good Medical Physics program

    Hey everyone! I'm currently an undergraduate student double majoring in Mathematics and Biomedical Physics at a CSU. Lately I've been getting a lot of negative prospects on potential graduate school options because of the fact that I apparently am set up for failure for attending a CSU (based on...
  3. S

    Graphing solutions to PDEs at various times

    Thanks for your response. So, if I wanted to have a graph represent ##0 \leq x \leq 2##, would I essentially combine the translated graphs for ## t = 0, t = 1,## and ## t = 2##? Or would there be an emerging trend/'pattern' between values for ##t## that I would graph?
  4. S

    Graphing solutions to PDEs at various times

    Homework Statement Graph snapshots of the solution in the x-u plane for various times t if \begin{align*} f(x) = \begin{cases} & 3, \text{if } -4 \leq x \leq 0 \\ & 2, \text{if } 4 \leq x \leq 8 \\ & 0, \text{otherwise} \end{cases} \end{align*} Homework Equations Assuming that c=1 and g(x)...
  5. S

    C/C++ How can I overload the + operator in C++ for a family vacation program?

    I don't really understand operator overloading at all but this is my attempt that led to an error class FamilyVacation result{ public: void result(int peopleCount, numPeople); private: }; void FamilyVacation FamilyVacation::result(int peopleCount, int numPeople){ peopleCount =...
  6. S

    C/C++ How can I overload the + operator in C++ for a family vacation program?

    Thank you! How would I copy numPeople? Anytime I try incorporating 'numPeople' into my solution, I get an error saying that numPeople isn't declared or that it could not be converted.
  7. S

    C/C++ How can I overload the + operator in C++ for a family vacation program?

    Hi, I'm having difficulty with this program in a textbook. The instructions are as follows: Overload the + operator as indicated. Sample output for the given program: First vacation: Days: 7, People: 3 Second vacation: Days: 12, People: 3 This is the code that follows #include <iostream>...
  8. S

    Electric Field: Continuous Charge Distribution

    Ahhh I forgot to divide by 3. I checked the variables and the units should come out to N/C if I am working on the electric field of the sphere at (4m, 1.2m). Are you referencing the point (2m, 3m) as being outside of the sphere?
  9. S

    Electric Field: Continuous Charge Distribution

    Here is a picture from my textbook that would probably illustrate what the differences between r and R are better than I could by explaining it. I used the equation of the electric field when r is less than or equal to R and set Q = ρV. Since the volume of a sphere is 4πr3, I substituted all of...
  10. S

    Electric Field: Continuous Charge Distribution

    I have an attempted equation (excluding values) for the electric field of the sphere toward the end of my original post, Esphere = k*ρ*4π*r4/R3 r[hat] I don't know how to do the full calculation at point (2m, 3m). but the above equation is my guess of what to use to find the electric field of...
  11. S

    Electric Field: Continuous Charge Distribution

    So would that mean that I only use the fact that ##\hat{r} = - \hat{i} + \hat{j}##? Also, if my equation for the electric field of the sphere is correct, would I plug in r = 3.606m and R = 1.2m?
  12. S

    Electric Field: Continuous Charge Distribution

    So I got that the magnitude of the vector is approximately 3.606m at an approximate angle of 56.309°. ##\vec{r} = -3.606 \cos(56.309) \hat{i} + 3.606 \sin(56.309) \hat{j}## Thus ##\hat{r} = -0.5547 \hat{i} + 0.83205 \hat{j}##. Would I use that ##\hat{r}## for the equation of the sphere's...
  13. S

    Electric Field: Continuous Charge Distribution

    The x and y components would be the radius (which is the hypotenuse, if I'm not mistaken) times cos θ and sin θ respectively. And the unit vector of a given vector is the x and y components of that vector divided by the magnitude of the vector itself.
  14. S

    Discrete M: Show that if A ⊆ B and C ⊆ D, then A X C ⊆ B X D

    Do you know why your instructor docked you points on your quiz? Here's an alternative route to getting started that's based on what you already have: For some x ∈ A ⊆ B, then x ∈ A and x ∈ B. Similarly, for some y ∈ C ⊆ D, then y ∈ C and y ∈ D. Cartesian products don't necessarily comprise of...
  15. S

    Electric Field: Continuous Charge Distribution

    Homework Statement A nonconducting sphere 1.3 m in diameter with its center on the x axis at x = 4 m carries a uniform volume charge of density ρ = 4.8 µC/m3. Surrounding the sphere is a spherical shell with a diameter of 2.6 m and a uniform surface charge density σ = -1.2 µC/m2. Calculate the...
Back
Top