What is Solid: Definition and 1000 Discussions

In object-oriented computer programming, SOLID is a mnemonic acronym for five design principles intended to make software designs more understandable, flexible, and maintainable. The principles are a subset of many principles promoted by American software engineer and instructor Robert C. Martin, first introduced in his 2000 paper Design Principles and Design Patterns.The SOLID concepts are

The Single-responsibility principle: "There should never be more than one reason for a class to change." In other words, every class should have only one responsibility.
The Open–closed principle: "Software entities ... should be open for extension, but closed for modification."
The Liskov substitution principle: "Functions that use pointers or references to base classes must be able to use objects of derived classes without knowing it". See also design by contract.
The Interface segregation principle: "Many client-specific interfaces are better than one general-purpose interface."
The Dependency inversion principle: "Depend upon abstractions, [not] concretions."The SOLID acronym was introduced later, around 2004, by Michael Feathers.Although the SOLID principles apply to any object-oriented design, they can also form a core philosophy for methodologies such as agile development or adaptive software development.

View More On Wikipedia.org
  1. T

    Total Mass of Solid Cylinder

    Total mass? Homework Statement Find the total mass of the part of the solid cylinder x^2 + y^2 ≤ 4 such that x^2 ≤ z ≤ 9 - x^2 , assuming that the mass density is p(x, y, z) = I y I (absolute value of y). I have heard about center of mass but this is throwing me off? The Attempt at a...
  2. P

    Double Integrals: Volume of a Solid in the First Octant

    How would you find the volume in the first octant of the solid bounded by the cylinder y2+z2=9 and x=6? I tried doing a double integral, both from 0 to 3 of (y2+z2)dydz then multiply by 6, but I keep getting 0.
  3. A

    SOLID STATE PHYSICS - allowed reflections

    Homework Statement Aluminium metal is FCC with lattice parameter a=0.405nm. suppose that n Al crystal is illuminated by a beam of neutrons with wavelength \lambda= 1.078 angstrom (a) determine the first 10 allowed reflections, in order of increasing scattering vector, counting...
  4. O

    Solid Mechanics - Force in a bolted assembly

    A bolted assembly consists of a steel bolt A, a brass tube B and a nut C. The nut is turned so that it just secures the tube, and then is tightened one extra turn. Determine the resulting force Fs (in kN) in the steel bolt. The initial length of the tube is L = 158 mm, and the screw pitch is 1mm...
  5. L

    A solid non conducting sphere

    Homework Statement A solid nonconducting sphere of radius R carries a nonuniform charge distribution, with a charge density ρ = ρsr/R, where ρs is a constant and r the distance from the centre of the sphere. Show that i) the total charge on the sphere is Q= πρsR3 and ii) the...
  6. A

    Solid state physics - FFC structure of NaCl

    Homework Statement NaCl is a face-centred cubic with a basis at Na(0,0,0) and Cl at (a/2,a/2,a/2) and lattice parameter a = 5.63 angstrom. calculate the separation between nearesr neighbours (Na and Cl). The Attempt at a Solution Just by looking at the NaCl structure the separation...
  7. P

    Please name a descent book for solid state physics of undergradute level .

    please name a descent book for solid state physics of undergradute level..please..pleasez. hi... i hav just joined my engineering course for electronics... and I desperately need a descent book for solidstate physics to embark on... note that I'm a begginer in Quantum theory..
  8. K

    Electric field in the overlap of two solid, uniformly charged spheres

    Homework Statement Two spheres, each of radius R and carrying uniform charge densities +\rho and -\rho, respectively, are placed so that they partially overlap. Call the vector from the positive centre to the negative centre \vec{d}. Show that the field in the region of overlap is constant...
  9. T

    Spring constant for a solid not in equilibrium in a fluid

    Homework Statement A cylinder of density RhoO, length L, and cross-section area A floats in a liquid of density RhoF with its axis perpendicular to the surface. Length h of the cylinder is submerged when the cylinder floats at rest. Suppose the cylinder is distance y above its equilibrium...
  10. A

    Uniform solid sphere rolling on inclined plane

    Homework Statement A uniform solid sphere,rolls without slipping on a horizontal surface with an angular velocity \omega,meets a rough inclined plane of incination 60(degrees).The sphere starts pure rolling up the plane with an angular velocity.Find the new angular velocity . Homework...
  11. L

    Needing a solid example of a composite mass value

    Hi. I am having a bit of trouble working through all the formulas for calculating the total composite mass of moving particles. If I could just fill in this 'black and white' and very intuitive example then I will be able to use it as a guide to test everything I'm doing. If we have 2...
  12. N

    Compute the volume of the solid

    Homework Statement Computer the volume of the solid bounded by the xz plane, the yz plane, the xy plane, the planes x = 1 and y = 1, and the surface z = x2 + y2 Homework Equations None. The Attempt at a Solution Since the solid is bounded by the xz plane, the yz plane, the xy...
  13. M

    Macrostates in Einstein Model of a Solid

    Homework Statement Sketch all the possible microstates for an Einstein solid using dots to represents units of energy and lines to separate oscillators. In addition, identify all possible macrostates of the system. Let N=3 (oscillators) and q=3 (units of energy). Homework Equations...
  14. E

    Electric Potential inside insulating solid sphere.

    Homework Statement Hi everyone, I'm supposed to find an expression for the electric potential as a function of r, the radial distance inside a solid and non conducting sphere of radius R. A total charge of q is uniformly distributed throughout its volume. The annoying part is that I'm supposed...
  15. O

    Volume of generated solid by rotation

    Homework Statement Find the volume of the solid generated where y = 1/x for 1<=x<=5 is rotated about the x axis. Homework Equations I = r^2 dm, sqrt(1 + (dy/dx)^2) dx, The Attempt at a Solution So I have found the length of the curve and can henceforth find surface...
  16. M

    Solid of revolution question: verify that the volume of the cone is παβh/3

    Homework Statement Consider a vertical cone of height h whose horizontal cross-section is an ellipse and whose base is the ellipse with major and minor semi-axes α and β. Verify that the volume of the cone is παβh/3. [ Hint: The area of an ellipse with major and minor semi-axes α and β is...
  17. J

    Determine the solid angle subtended by a detector

    [b]1. . A cylindrical detector, similar to the NaI detectors you use in lab, has a diameter of 5 inches and a length of 5 inches. A 60Co source is placed on the cylindrical axis, 20 cm away from the front face of the detector. a. Determine the solid angle subtended by the detector...
  18. Y

    Triple integral to find Volume of Solid

    Homework Statement Use a triple integral to find the volume of solid enclosed between the sphere and paraboloid. Homework Equations Equation for sphere x2+y2+z2=2a2 Equation for paraboloid az = x2+y2 (a>0) The Attempt at a Solution Trying to find limits of integration: For...
  19. B

    If the atoms in solid matter a tightly grouped?

    Why don't the electrons ever hit each other,and when they do what happens? Do the atoms sometimes have more electrons than protons because other electrons from other atoms come close to it and get caught in its orbitals?
  20. X

    Finding Volume of Rotated Solid: Disk Method

    Homework Statement Consider the solid obtained by rotating the region bounded by the given curves about y=10 Find the volume V of this solid using DISK METHOD Homework Equations y=5e^-x, y=5, x=4 The Attempt at a Solution setting up the picture easy. but I'm having...
  21. L

    Point charge inside solid sphere

    I'm curious. Say you have a solid, positively charged sphere with a uniform charge distribution. Now suppose you place a single, negatively charged electron inside the solid sphere. How will the electron behave? I assume the electrostatic forces exerted on the electron will ultimately tend it...
  22. M

    Quantum Energy levels in atomic, molecular, nuclear and solid state physics

    Homework Statement Greetings everyone I have been been asked to write a 10 page essay on Quantum Energy levels in atomic, molecular, nuclear and solid state physics. My problem is that this is such a huge topic and my knowledge of quantum energy levels and solid state physics is limited...
  23. D

    Solve Solid Compressability Homework Problem Involving Copper Block

    Homework Statement Hello, I have a problem involving a copper block of mass .25kg. They have a given compressibility due to pressure change, and compressibility due to temperature change. They give the density for copper as well. They tell you that the pressure changes from P1 --> P2...
  24. P

    Find the volume of the solid obtained by rotating the region-2

    Homework Statement Find the volume of the solid obtained by rotating the region bounded by the given curves about the specified line. Sketch the region, the solid, and a typical disk or washer. About x axis. y=sqrt(25-x2) y=0 x=2 x=4 Homework Equations The Attempt at a Solution...
  25. P

    Find the volume of the solid obtained by rotating the region

    Homework Statement Find the volume of the solid obtained by rotating the region bounded by the given curves about the specified line. Sketch the region, the solid, and a typical disk or washer. About x axis. 1) y=1-x2 y=0 Homework Equations The Attempt at a Solution I sketched a curve and a...
  26. mnb96

    Deriving Solid Angle Formulation from Definition

    Hello, it is often written in books that the solid angle \Omega subtended by an oriented surface patch can be computed with a surface integral: \Omega = \int\int_S \frac{\mathbf{r}\cdot \mathbf{\hat{n}} }{|\mathbf{r}|^3}dS where r is the position vector for the patch dS and n its normal (see...
  27. S

    Volume of a solid of revolution

    Can anyone confirm if I have done the following work correctly Find the volume of a solid of revolution obtained by rotating about the y-axis the region bounded by y = the fifth root of x and 2x^2 - 3x + 2. By drawing the graph, I figured out that I need to use the method of cylindrcal...
  28. K

    Reacting chloroammine gases with solid

    Hi all, I've been playing around with chloroammine gases and have been trying to react them with solids [with some success, but I don't think it is as efficient as I would like]. I am producing a mixture of NH3, NH4Cl, NH2Cl, NHCl2. The ammonia I am not worried about, what I am wanting to do is...
  29. Telemachus

    Intersection between the solid and a plane perpendicular

    Homework Statement A solid has a circular base of radius r=4. Find in each case the volume of the solid if all intersection between the solid and a plane perpendicular to a set diameter is: a) A square b) A triangle rectangle isosceles which one of its sides is on the circular base. The...
  30. hagopbul

    How to take a PH for solid like cake ?

    how to take a PH for solid like cake ...?
  31. S

    Solid State Physics: Charles Kittel vs. Ashcroft

    Hello everyone, I am an undergraduate student and this year I am going to study Introductory Solid State Physics. My instructor has assigned us book of Charles Kittel. But the book has got terrible reviews on amazon. So I fear purchasing it. However there is an another book by Ashcroft that has...
  32. G

    Should I take first-year-Calculus again just to build a solid GPA?

    I took AP Calc BC already and I am entering as a freshman, should i take freshman Calculus again? How many freshman calculus courses actually go through these topics? 1. Hyperbolic integration/derivatives 2. telescoping series 3. Work 4. Fluid Pressure 5. Moments of Inertia 6. Center of Mass...
  33. R

    Study Materials for Solid state physics

    I have found plenty of study materials, notes and links on Classical Mechanics and Quantum Mechanics. However I could not found any forum on this site that provides study materials of solid state physics. So please if you have got the link, please post it in here.
  34. M

    Mass Moment of Inertia: slanted solid parallelogram: Well past wit's end

    Perhaps Tensor Calculus holds the answer; but I just can't justify the time for studying that as I know nothing of it. The end objective is to calculate the mass moment of inertia of the yellow solid parallelepiped about rectangular axes through its centre of mass as in the diagram here...
  35. T

    Solve Ali's Solid Volume Puzzle: 9 Faces, 27 cm^3 Cubes

    Homework Statement Ali is making solids out of cubes . Each cube has a volume of 27 cm^3. The diagram shows one solid Ali made . It has 10 faces and a volume of 108 cm^3. Ali made a solid out of the cubes that has 9 faces.What is the smallest volume in cm^3 the solid could have? Homework...
  36. G

    Hi everyone i am dong my project designing a 3d solid state

    hi everyone... i am dong my project designing a 3d solid state hi everyone... i am dong my project designing a 3d solid state accelerometer.The accelerometer should detect and measure steps. Can anyone of you help regarding the design of it...
  37. P

    Solid State Physics: Constructing Brillouin Zones & Fermi Surfaces

    Dear every body. I have one problem of my homeworks that I can solve. Please help me! Thank you. Construct in k-spaceof the first 4 Brilloun zones of a square lattice in the extended zone scheme & show that the 1st, 2nd, 3rd, 4th Brilloun zones have all the same area. Construct these...
  38. M

    Suggested book on solid state physics?

    Hi everyone, I am currently studying solid state physics from the book by Kittel(8th ed). But in this book, the chapters are like a summary of each topic and detailed explanations do not exist. While proving a formula, several steps are omitted and just the results are given. For this reason...
  39. snoopies622

    About the interaction of light and solid matter

    Last week I posted the following question here: https://www.physicsforums.com/printthread.php?p=2735375 "Is it possible to predict the color of a solid object based on its molecular formula?" It wasn't completely ignored but the thread did come to an abrupt end after only three...
  40. B

    Discover the Best Solid State Physics Textbooks: A Guide for Beginners

    Hi I am looking for some good solid state physics textbooks. Can anyone who has taken courses in solid state physics direct me to a good introductory book?
  41. S

    Volume of the Solid involving Hyperbolic functions

    Homework Statement The area bounded by y=2 coshx, the x-axis, the y-axis, and the line x=4 is revolved about the x-axis. Find the volume of the solid generated. Homework Equations I sliced the area along the axis of revolution. That is the strip is dx. So the equation necessary is...
  42. D

    Example for a quantum anomaly from solid state phys?

    In quantum field theory of high energy physics one encounters so called anomalies like e.g. of the kind discussed in this thread: https://www.physicsforums.com/showthread.php?t=406540 As far as I understood, it basicallymeans that the classical theory has a higher symmetry than the qft. Does...
  43. R

    How can the volume of a solid be found by rotating a region around a given line?

    Find the volume of the solid obtained by rotating the region bounded by the given curves about the line y=1. y = \sqrt[4]{x} , y = xI couldn't figure out if a should subtract one from x or from y = \sqrt[4]{x}. I don't know if I'm doing this right I tried subtracting it from x and got a...
  44. O

    Solid insultaing sphere electric field

    Homework Statement A solid insulating sphere of radius R carries a charge per unit volume of p. Use Gauss' law to find an expression for the eletric field on a spherical surface of radius R/2 ie: inside the sphere. Homework Equations Gauss' Law = (Net Flux = Q / Eo) Volume of a Sphere...
  45. G

    Looking For A Solid Material Light Diffuser - Terminology?

    I'm looking for a solid material that will diffuse light throughout it. In particular I would need a thin bar with a light source at one end that will diffuse light to all sides of the bar, however, I don't specifically need a bar as long as the material can be machined. I'm trying to search...
  46. Oddbio

    Kinetic energy of N solid bodies

    This is a fairly simple question so I wasn't sure if it belongs here, but it is not a homework question. Just a question on something I'm reading. The book says there are N solid bodies with initial speed vi (i=1, 2, 3, ..., N) and final speed vi' after some shock to the system. The book then...
  47. S

    Solving Number of Molecules for Entropy of 1.181x10^-12 J/K

    Homework Statement Suppose a compound could point in any two directions in the solid and still have the same energy. How many molecules would there be if the total entropy of a solid sample of this compound was 1.181x10^-12 J/K? Homework Equations My plan that failed - S = k*ln(W), where S...
  48. T

    Finding the volume of a solid.

    Homework Statement Find the volume of the solid in the first octant bounded by the coordinate planes and the plane 2x+y-4=0 and 8x-4z=0. This is a problem for a practice exam for my calculus course and I just need some help getting started. I have had a lot of trouble in this course...
  49. T

    The grand canonical partition function and a gas/2D solid?

    Hi, I've got this homework problem on my statistical physics module and I'm really unsure about it as this stuff is all new to me. I have an "atomically flat" solid substrate in contact with a gas of molecular mass m, and the two are in thermal equilibrium. The substrate has a total of M sites...
  50. P

    Solid Mechanics, calculating reaction forces and M(X) for a cantilever thing

    Homework Statement Homework Equations M = F * D The Attempt at a Solution For a, I need to find the reaction force on the right side. So what I first did was make the sum of the moment on the left equals zero. 0 = M_0 + r_y * L. r_y = \frac{-M_0}{L} I think this is right...
Back
Top