1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Matlab question

  1. Jan 22, 2013 #1
    1. The problem statement, all variables and given/known data
    I have a couple of matlab questions hopefully you guys can help me out

    40).The volume of a right prism is base area * vertical_dimension. Find the volumes of the prisms with triangles of problem 29 as their bases, for vertical dimensions of 10.

    I don't understand which part of 29 they want me to incorporate. Question 29 reads the area of a triangle s 1/2 base* height define the base of the matrix as b=[2,3,6]

    Would I use the area of question 29 as the base area in question 40?

    Create a B matrix by extracting the first column of matrix A

    I'm trying B= A(1,:)

    Thanks for the help guys.

    And it doesnt seem to be working..

    2. Relevant equations

    3. The attempt at a solution
  2. jcsd
  3. Jan 22, 2013 #2

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper

    That would be my reading. #29 has a bunch of triangles which are to be used as basis for right-prisms. Probably you should implement the method from #29 for finding the area or a triangle.

    In what way?
    What does it do instead of what you want?
    (Once you have described the problem, the solution should leap out at you.)
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook