Blocks Definition and 767 Threads

Code::Blocks is a free, open-source cross-platform IDE that supports multiple compilers including GCC, Clang and Visual C++. It is developed in C++ using wxWidgets as the GUI toolkit. Using a plugin architecture, its capabilities and features are defined by the provided plugins.
Currently, Code::Blocks is oriented towards C, C++, and Fortran. It has a custom build system and optional Make support.
Code::Blocks is being developed for Windows and Linux and has been ported to FreeBSD, OpenBSD and Solaris. The latest binary provided for macOS version is 13.12 released on 2013/12/26 (compatible with Mac OS X 10.6 and later), but more recent versions can be compiled and MacPorts supplies version 17.12.

View More On Wikipedia.org
  1. P

    Calculating Total Charge in a Charged Block and Spring System

    Two identical metal blocks resting on a frictionless horizontal surface are connected by a light metal spring having constant of 148 N/m and unstretched length of 0.3 m. A total charge of Q is slowly placed on the system causing the spring to stretch to an equilibrium length of 0.7 m. Determine...
  2. G01

    Where Did I Go Wrong Calculating the Block's Fall Time?

    A 4.0 kg block is suspended 1.0 m off the ground and is attached via a pulley and massless rope to a 2.0 kg mass held to the ground. The pulley is .12m in diameter and and has a mass of 2.0 kg. Friction between the axel and pulley exerts a torque or .5 Nm. How long does it take the 4.0 kg...
  3. S

    2 blocks sliding down a incline connected by string (check please)

    Two blocks with masses 4.0kg and 8.0 kg are connected by a string and slide down a 30 degree inclined plane. The coefficient of kinetic friction between the 4.0 kg block and the plane is 0.25; that between the 8.0 kg block and the plane is 0.35 a) calculate the acceleration of each block...
  4. T

    Colliding blocks attached to a spring - How is the spring compressed

    "A block of mass m1 = 2.4 kg slides along a frictionless table with a speed of 10 m/s. Directly in front of it, and moving in the same direction, is a block of mass m2 = 4.6 kg moving at 2.8 m/s. A massless spring with spring constant k = 1160 N/m is attached to the near side of m2, as shown in...
  5. F

    Light Intensity through glass blocks

    Hey dudes and dudettes, loving the forum here. Will be around quite a bit for the next year or so hopefully.. Just a quick question, any help would be appreciated so much.. I'm doing my A2 main coursework, that's the one you do when you're 18 for all the American types, and was wondering...
  6. P

    Angle for Impending Motion on Inclined Plane with Attached Blocks

    The 8 kg block A is attached to link AC and rests on the 12-kg block B. Knowing that the coefficient of static friction is 0.20 between all surfaces of contact and neglecting the mass of the link, determine the angle for which motion of block B is impending. Can someone check my equations and...
  7. L

    Maximizing Acceleration and Tension in a Table Block System

    Could anybody of you be so kind to help me a little bit with understanding what to do in this problem? Thanks in advance for your effort! A mass m2= 10 kg slides on a frictionless table. The coefficients of static and kinetic friction between m2 and m1 = 5 kg are us= 0.6 and uk= 0.4...
  8. L

    Bullet & 2 Blocks Momentum Question

    Hey, I have been set this question and thought I'd solved it correctly but it turns out I got the answers wrong... A 5.50 g bullet is fired horizontally at two blocks at rest on a frictionless tabletop. The bullet passes through the first block, with mass 1.20 kg, and embeds itself in the...
  9. R

    Solve Sliding Blocks with Weight 3w & Coefficient of Friction

    Here is the question: Block A, with weight 3w, slides down an inclined plane S of slope angle 36.9 degrees at a constant speed while plank B, with weight w, rests on top of A and is attached by a cord to the wall. If the coefficient of kinetic friction is the same between A and B and between S...
  10. L

    Momentum fo two blocks and spring

    Hey, I have been set this question and I'm half-way through answering it but am stuck on where to go next...here's the question: The m1 = 1.1 kg block at rest on a horizontal frictionless surface is connected to an unstretched spring (k = 180 N/m) whose other end is fixed. (See Fig...
  11. C

    Need Help with Two Blocks & Rope Physics Problem

    Ok I am new this forum so hello to all. Here is the problem that I've been working on. Is this right or wrong and what is the right answer? Two blocks are connected by a rope that wraps around a pulley. A force of 50 N acts on the 5 kg mass at an angle of 36 degrees. 1. what is the...
  12. P

    How Far Can Blocks Extend Beyond a Table Without Toppling?

    Two blocks each of length L are piled near the end of the table. What is the maximum distance between the edge of the table and the edge of the outer block before the system topples? I understand that if the center of mass of the system must be to the left of the edge of the table for the...
  13. W

    About Blocks, torques and wedges

    Problem picture below: http://portfolio.iu.edu/whoblitz/problem2.PNG I know Newton's second law for torque torquenet=I*alpha and regular old Fnet=m*a, but I don't see how they fit together here (how I can account for frictional forces and torque at the same time). Help appreciated...
  14. S

    Forces and Friction of sliding blocks

    I've been looking at this question for the last two hours, here's the question and what I've done so far The picture shows 3 blocks, A B and C, block C is ontop of block A. Block B is connected to block A by a rope, and is hanging over the edge. here it is, Blocks A and B have weights...
  15. T

    2 blocks, a light string and kinetic friction

    So, there are two boxes of fruit on a frictionless horizontal surface and are connected by a light string. m1=10kg, m2=20kg. A force of 50N is applied to the 20-kg box. There are two questions to answer, I already answered a: Determine the acceleration of each box, and the tension in the...
  16. S

    Blocks, Friction Forces and Acceleration

    I am having trouble with this problem: A block whose weight is 50.0N rests on a horizontal table. A horizontal force of 25.0 N is applied to the block. The coefficients of static and kidnetic friction are 0.510 and 0.350 respectively. Will the Block move under the influence of the force and if...
  17. S

    Tension in Two Connected Blocks: 4KG & 5KG

    theres two blocks a 4 KG one and a 5 KG one right next to each other, connected by a c ord, the 5 KG is on the right and its conected to another cord pulling 30 N to the right. so Box1----Box2----30 N get it so theyre asking for the tension in the cord connecting them it slipped my...
  18. B

    Force Analysis of 3 Blocks on Horizontal Surface

    Hi , please help me with this question We have 3 blocks on an horizontal surface (frictionless). We apply a force F=8N What are the forces on each 3 blocks. My solution: For the block 1 I found: m1g(down), Normal reaction R1 ( up), R2/1 (left) Here is there an R1/2 (right) force of...
  19. S

    Newton's law and two blocks on vertical inclined plane

    hi i have a question: if you have 2 blocks on a vertical inclined plane... ( with angle teta = pi/2) what would m1 be equal to for a1 and a2 to be = 0 (the answer should be in terms of some or all of the variables of m2 and g) thanks
  20. J

    Two Blocks and One Pulley: Finding Constant Speed

    This is a no number one :S A block with mass m1 is placed on an inclined plane with slope angle theta and is connected to a second hanging block with mass m2 by a cord passing over a small frictionless pulley. The coefficient of static friction is mu s and kinetic is mu k. a) Find the...
  21. A

    How Should Net Force and Friction Be Ranked for Blocks A and B?

    Consider two blocks, A and B on three surfaces. On each surface, block A is smaller than block B, and always positioned to the left (they are touching, with block B on the right). We have three situations: 1. Block A is pushed to the right on a smooth surface. 2. Block A is pushed to the...
  22. S

    Where Did My Physics Calculation Go Wrong?

    Three objects are connected on a table as shown in the http://www.cybertrails.com/~reedaz/pic1.JPG . The table has a coefficient of kinetic friction of 0.350. The objects have masses of 4.00 kg, 1.00 kg, and 2.00 kg. The pulleys are frictionless. Determine the acceleration of each object and...
  23. V

    How Do You Calculate Tension and Acceleration in a Two-Block Pulley System?

    Block1 has a mass of 8.63 kg and block2 has a mass of 1.24 kg. b1 is on an inclined plane with no friction. The plane is 30 degrees from the horizontal. b1 is connected to b2 with a string-pully system (no mass or friction). b2 is on a horizontal plane witha kinetic friction of .145 Block m1...
  24. L

    How Do You Calculate Tension and Acceleration in a Two-Pulley System?

    A block of mass m_1 is attached to a massless, ideal string. This string wraps around a massless pulley and then wraps around a second pulley that is attached to a block of mass m_2 that is free to slide on a frictionless table. The string is firmly anchored to a wall and the whole system is...
  25. F

    The base of the pyramid is 100 blocks by 100 blocks

    i need help with this problem The base of the pyramid is 100 blocks by 100 blocks; each successive layer is one less block wide and deep, until the top layer which is simply one block. Each block is 97 cm wide by 97 cm deep by 63 cm tall. If one liter of paint can coat exactly three square...
  26. H

    How to Calculate Acceleration in a System with Two Blocks and a Pulley

    A block of mass m1 = 1 kg rests on a table with which it has a coefficient of friction µ = 0.77. A string attached to the block passes over a pulley to a block of mass m3 = 3 kg. The pulley is a uniform disk of mass m2 = 0.7 kg and radius 15 cm. As the mass m3 falls, the string does not slip on...
  27. H

    Maximum Angular Frequency for Blocks Tied on Spinning Turntable

    Two identical blocks are tied together with a string and placed along the same radius of a turntable that is spinning about its center. The inner block is 4 cm from the center and the outer block is 5 cm from the center. The coefficient of static friction between the turntable and the blocks is...
  28. H

    Solving Acceleration of Blocks on Incline

    The problem is: two identical blocks tied together with a string which passes over a pulley at the crest of the inclined planes, one of which makes an angle q1 = 18° to the horizontal, the other makes the complementary angle q2 = 72°. If there is no friction anywhere, with what...
  29. M

    Calculating Tension of Connected Blocks on a Horizontal Surface

    Four blocks are on a horizontal surface. https://www.physicsforums.com/attachment.php?attachmentid=4000&stc=1 randomlabel.png The blocks are connected by thin strings with tensions Tx, Ty, Tz. The masses of the blocks are A=44.0 kg, B=21.0 kg, C=24.0 kg, D=35.0 kg. Two forces, F1=75.0N...
  30. A

    Do Sliding Block Puzzles Offer Unique Challenges?

    Enjoy. http://www.puzzleworld.org/SlidingBlockPuzzles/quzzle.htm To start, try A1236 63266 A4578 ...
  31. H

    Building blocks of proteins are the beta-amino acids

    Which of the following are true ? (a) Proteins range from a MW from about 3,000 to 1.0e6 g/mol (b) Fibrous proteins are the main component of Muscle,hair and cartilage (c) Building blocks of proteins are the beta-amino acids (d) Polar amino acid side...
  32. N

    Pushing Blocks: Solving a Friction Problem with Four Blocks on a Table

    Four blocks of mass m = 10 kg are arranged as shown in the picture, on top of a frictionless table. A hand touching block 1 applies a force of F1h = 90 N to the right. The coefficient of friction between the blocks is sufficient to keep the blocks from moving with respect to each other. I...
  33. A

    Blocks being pulled by a string

    I'm just starting to get my head around the concepts of Tension and Force but I'm stuck on this question, I was wondering if anyone could help me out? Q: 3 identical blocks connected by ideal strings are being pulled along a horizontal frictionless surface by a horizontal force F. The...
  34. S

    Tension in ropes connecting blocks

    The figure shows two 1.0 kg blocks connected by a rope. A second rope hangs beneath the lower block. Both ropes have a mass of 250 g. The entire assembly is accelerated upward at 3.0 m/s^2 i found the force that pulls the system to be 32.0N However the followup question states: What is the...
  35. C

    Acceleration and time of blocks with friction acting

    Can anyone help me with this problem. I know that I need to find the total total forces for both blocks and combine them to solve for the acceleration and then use the acceleration to find the time. The problem is that I can't seem to get the correct value for the final answer. Thanks in advance...
  36. A

    Force when 2 blocks pushing against each other

    A 1000 kg car pushes a 2000 kg truck that has a dead battery. When the driver steps on the accelerator, the drive wheels of the car push against the ground with a force of 4500 N. What is the magnitude of the force of the car on the truck? What is the magnitude of the force of the truck on the...
  37. L

    Why don't dispersion occur in glass blocks?

    This question bothered me for some time. From what i have seen in textbooks, dispersion occurs as soon as white light passes from air into a glass prism, but why not for a glass block, assuming that the angle of incidence is the same? The standard answer for why dispersion happens in glass...
  38. N

    Magnitude of Force to move blocks

    I have a homework problem, that is giving me some trouble. I have to move two blocks that weigh (1.2kg), connected by a rope. They give static friction coefficients for each block. I know that I must overcome the static frictions to make them move. I think I need to add the coefficients and...
  39. H

    Two stacked blocks on a table. Friction problem

    :cry: I need help with the following problem, I have tried a few different things, but none of them seem to be working: Two blocks are stacked on a table. The upper block has a mass of 8.2 kg and the lower block has a mass of 35 kg. The coefficient of kinetic friction between the lower...
  40. D

    How Do You Calculate Vertical Acceleration in a Block and Pulley System?

    appreciate if Sum1 can help Two Blocks and Two Pulleys(Other answer didn't include T?) A block of mass m_1 is attached to a massless, ideal string. This string wraps around a massless pulley and then wraps around a second pulley that is attached to a block of mass m_2 that is free to slide...
  41. T

    Still stuck on two blocks and pulleys

    Now I am supposed to find the magnitude of the vertical acceleration of mass 1, in terms of mass 1, gravity and the tension. I found that a_1= ((m_1*g)-2T)/2m_1 but that isn't right. Any help would be great
  42. T

    How Do You Calculate Tension in a Two-Block, Two-Pulley System?

    Based on the fact that the string is massless, and the system and table are frictionless, how would I find the tension in the string acting on mass 2?
  43. S

    Solving Blocks and Springs on a 15m Ledge: Energy, Velocity, Distance

    There is a spring on a ledge that is 15 m above the ground. It is compressed 0.5 m by a block of 3 kg, and its spring constant is 15 N/m. I'm not certain of the exact wording, but somehow the compressed string (with the block) is the horizontal length of the ledge. Now in this scenario, the...
  44. F

    Two blocks on top of each other accelerating

    I did this question several times and all I get for acceleration is negative 9.8... static friction for the top block is .60 and kinetic friction for the bottom block is .20... The force is making both blocks move a distance of 5 meters starting from rest. They want to know What is the least...
  45. J

    What Is the Acceleration of Two Blocks on Inclined Planes?

    Two identical blocks tied together with a string which passes over a pulley at the crest of the inclined planes, one of which makes an angle q1 = 20° to the horizontal, the other makes the complementary angle q2 = 70°. If there is no friction anywhere, with what acceleration do the blocks move...
  46. tony873004

    What Is the Maximum Force to Prevent the Top Block from Slipping?

    Figure 6-36: http://www.webassign.net/walker/06-36alt.gif 5. [Walker2 6.P.071.] Two blocks, stacked one on top of the other, slide on a frictionless, horizontal surface (Figure 6-36), where M = 5.0 kg. The surface between the two blocks is rough, however, with a coefficient of static...
  47. M

    What is the tension in the string between two blocks with friction?

    Ok, I have this problem I've been working on forever, but can't figure out the last part of the question. A block of mass m1 = 2 kg and a block of mass m2 = 3 kg are tied together and are pulled from rest across the floor by a force of P = 30 N. The coefficient of friction of the blocks...
  48. C

    How Long Will It Take for the Top Block to Slide Off the Bottom Block?

    Two blocks, a one foot cubic block in sitting on top a four foot cubic block. Both blocks are moving forward at 36 fps and instantly begin to decelerate...the larger block with cof of .9 (-28.98 fps/sqr) and the top block with cof of .3 (-9.66 fps/sqr). Trying to determine the time/distance...
  49. F

    Tension, kinetic friction, and two blocks

    Hey guys, I have a physics problem that I tried to solve but I am not positive of the answer I got. Can someone guide me through the steps of solving it. Problem: Two blocks connected by a rope are dragged by a horizontal force (68 N [right]). The first block is 18Kg, the second block...
  50. N

    How Do Forces and Friction Affect Block Acceleration?

    Q. Two blocks are sliding across a table pushed by a force F from the left equal to 23 N. The force of friction from the table on m1 is 4 N and the force of friction on m2 is 12 N. m1 = 2 kg and m2 = 6 kg. a) What is the magnitude acceleration of the entire system? I figured this part...
Back
Top