Recent content by RayDonaldPratt

  1. RayDonaldPratt

    Comp Sci Blackjack program in javascript

    As I understand your code, you will choose the total number of cards, between 2 to 5 cards, without predetermining the value of each card, and then you will iterate through each of your chosen total number of cards and assign each card its value in an array (cards[]). You will then iterate...
  2. RayDonaldPratt

    Comp Sci Greyjack, An Easier Model of Blackjack

    Pbuk, thank you for letting me know just how astronomical the number of permutations are. I feared that, and I don't know if my potato laptop could even summarize the results in any readable form, much less in a memorable form. I'm probably looking for something more general than iterating...
  3. RayDonaldPratt

    Finding the Distance to a Building with Trigonometry

    PeroK, thank you. It seemed so intuitive to me that the angles would span the building in an equal fashion, and it didn't occur to me that the trig ratios of the different angles would produce different values for d. I had actually thought about how chords in a circle will not produce twice the...
  4. RayDonaldPratt

    Finding the Distance to a Building with Trigonometry

    BvU, thank you, your formula was easy to transform algebraically to solve for d, and it makes sense.
  5. RayDonaldPratt

    Finding the Distance to a Building with Trigonometry

    I'm doing self-study out of a free .PDF book entitled, Trigonometry, by Richard W. Beveridge (©June 18, 2014). The problem I'm interested in is as follows: "A woman standing on a hill sees a building that she knows is 55 feet tall. The angle of depression to the bottom of the building is 27°...
  6. RayDonaldPratt

    I How to convert density ratio of grams/ mm^3 into metric tonnes/ m^3

    Thank you. I tried to do what you did above, but because my assumptions were wrong, my results were wrong. When I corrected my approach to yours above, I got 4.09 x 10^-3 x 10^9 Tn in the numerator, and I got 10^6 m^3 in the denominator. The net result after rounding to two significant digits...
  7. RayDonaldPratt

    I How to convert density ratio of grams/ mm^3 into metric tonnes/ m^3

    Thank you, it was given just as 49, so it was just 2 significant digits. And, I was able to visualize 1,000 cubic millimeters as only creating the length (in cubic millimeters) of one edge of a cubic meter, but not the full volume of a cubic meter. Thank you.
  8. RayDonaldPratt

    I How to convert density ratio of grams/ mm^3 into metric tonnes/ m^3

    For the dimensions of a right cylinder, I am given three significant digits for the diameter (17.4 mm) and the height (50.3 mm). The formula for the volume of a right cylinder is V = Pi x r^2 x h, which would lead here to Pi x (17.4 mm / 2)^2 x 50.3 mm = 11,960.69354 mm^3 before rounding to 3...
  9. RayDonaldPratt

    Where Can I Find Help for Physics and Math Questions?

    I needed feedback on a physics problem from a Coursera MOOC course that I am taking solely for personal use (no grade or certificate), and so I googled what websites would allow me to post questions about physics and math, and the Physics Forums came up. This site looks serious, and I am glad to...
Back
Top