Results 1 to 6 of 6

Math Help - Calculatw width

  1. #1
    Newbie
    Joined
    Dec 2009
    Posts
    4

    Calculatw width

    Hi,
    i have a issue with change the appearance width of rectangle, that is if the rectangle rotation is 0 degree change its original width, else if the rectangle is rotated in 90 degree then change its original height,

    Rectangle height=100 width=50 and its rotation angle is 90 degree around center point, now i need to change the appearance width =appearance width *2, so how can calculate this with angle

    please help me
    Thanks in advance
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Grandad's Avatar
    Joined
    Dec 2008
    From
    South Coast of England
    Posts
    2,570
    Hello wpfhelp
    Quote Originally Posted by wpfhelp View Post
    Hi,
    i have a issue with change the appearance width of rectangle, that is if the rectangle rotation is 0 degree change its original width, else if the rectangle is rotated in 90 degree then change its original height,

    Rectangle height=100 width=50 and its rotation angle is 90 degree around center point, now i need to change the appearance width =appearance width *2, so how can calculate this with angle

    please help me
    Thanks in advance
    As I understand it, the rules are: there are two possible angles of rotation: 0^o and 90^o; and then:
    If the angle of rotation is 0^o, then
    change the original width
    else
    change the original height.
    In the problem you are given, the rotation angle is 90^o, so we must change the original height, multiplying it by 2. The original height was 100 and the width 50; so after the change, the dimensions of the rectangle are now 200 \times 50.

    Grandad
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Dec 2009
    Posts
    4
    Hi Grandad, Thank you for your reply, but i cant use if else loop to calculate this because, i need to calculate all possible values between 0-360 degree, now i am looking a solution like apperanceWidth = rectangle.Width * cos + rectangle.Height * sin; Thank you
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor
    Grandad's Avatar
    Joined
    Dec 2008
    From
    South Coast of England
    Posts
    2,570
    Hello wpfhelp

    I still really don't understand what you're after here. Can you draw us a diagram?

    Grandad
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    Dec 2009
    Posts
    4
    Hello,

    please check this drawing

    thank you
    Attached Thumbnails Attached Thumbnails Calculatw width-draw.jpeg  
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Newbie
    Joined
    Dec 2009
    Posts
    4
    Hi,

    i have tried with Pythagorean theorem, and it gives a start
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Finding Width Of A River
    Posted in the Calculus Forum
    Replies: 5
    Last Post: March 21st 2011, 06:17 PM
  2. histogram class width
    Posted in the Statistics Forum
    Replies: 0
    Last Post: January 20th 2010, 11:59 PM
  3. quadrilateral width
    Posted in the Calculus Forum
    Replies: 2
    Last Post: January 20th 2010, 05:11 AM
  4. Find length and width
    Posted in the Calculus Forum
    Replies: 2
    Last Post: October 25th 2009, 05:57 PM
  5. Width of a Confidence Interval
    Posted in the Advanced Statistics Forum
    Replies: 1
    Last Post: April 27th 2009, 01:53 AM

Search Tags


/mathhelpforum @mathhelpforum