using scrip files help
이전 댓글 표시
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
Jan
2013년 7월 12일
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.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!