HW1 preprogramming - 2 a = E hc the units for stress would...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Gabriela Velez Student ID: 905428081 PID: gabby1 HW #1: Chapter 1 Pregrogramming exercises 2 and 4 1. a. = S LdcI the units for stress would be lbs x inches x inchesinches4 = lbsinches2 b. = S LdcI = . I 21 4 in4 = c 6 in = L 700lbs = d 8ft = ( ) . S 700lbs8ft 6in 21 4in4 = 2x10 3 lbsinches2 c. Inputs would be L is weight in pounds, I for the beam’s rectangular moment of inertia in units of inches 4 , d is the distance in inches, c is one half the height in inches. The output would be S for stress in pounds per inches squared. The algorithm would start out by inputting the weight, distance, and height and multiplying the three variables together. The last variable, I for the moment of inertia, is inputted. Then taking the result of the multiplication and dividing it by the moment of inertia and outputting the result. 2. a.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 2. a. = E hcλ the units for stress would be Joulessecmsm = Joule b. = E hcλ = .-/ h 6 6256x10 34Joules sec = , , / c 299 792 458 m s = .-λ 5 9x10 6 meters = .-/ ( , , ) .- E 6 6256x10 34Joules sec 299 792 458ms 5 9x10 6 meters = 1.2x10-30 Joule c. The inputs would be h is known as Planck’s constant, c for the speed of light which is 299,792,458 m/s, and for the wavelength of light in meters. The outputs would be E which λ is the energy of the photon. The algorithm would start off with inputting Planck’s constant and the speed of light and multiplying them together. Then inputting the last variable which is the wavelength of light in meters. Then taking the result of the multiplication and dividing it by the wavelength of light and outputting the result....
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern