using scrip files help

2 views (last 30 days)
jessica
jessica on 11 Jul 2013
Hi, guys , I have this problem and I dont really know how to start
A large tv screen of height H=50ft is placed on the side wall of a building. the height from the street to the bottom of the screen is P=130ft . the best view of the screen is when theta is maximum . write a matlab program that determines the distance x at which theta is at maximum . define a vector x with elements ranging from 30 to 300 with spacing of 0.5 . use the vector to calculate the corresponding values of theta . then use matlab build in function "max" to find the value of x that correspond to the largest value of theta all I got so far is this and I am so lost , I have been getting the previous chapters with no problem but this exercise is confusing me on what to do , thanks for the help
x=30:0.5:300; c=sqrt(x.^2+50.^2);
  1 Comment
Jan
Jan on 12 Jul 2013
What is your question? Hopefully the forum will not solve your homework, because you could not submit this without cheating anymore. But if you ask a specific question, it is valid and fair to help you.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!