I didn't learn trigonometric functions in school. How can I calculate this using PHP?

WBOY
Release: 2016-09-19 09:16:44
Original
1261 people have browsed it

I didn't learn trigonometric functions in school. How can I calculate this using PHP?

Just use PHP to find the position of point c on the y-axis, thank you..

Reply content:

I didn't learn trigonometric functions in school. How can I calculate this using PHP?

Just use PHP to find the position of point c on the y-axis, thank you..

This does not require trigonometric functions, similar triangles; for example, the coordinates of B are (5, 2.5). The abscissa of c is 12, then the y coordinate of c is 5/12=2.5/cy, and the y coordinate of c can be obtained 6

Answer: 6.
Triangles are similar, you can get it by comparing them. As for how to calculate it in PHP, you can write it yourself.

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!