Financial formulas are often used to evaluate a company's performance. Create a set of JavaScript calculations that will calculate the following formulas. Look up the values of a company on a financial web site and use those values as you input variable values to test your system.
earnings per share = profit/average number of shares
Price to Book = price per share/(total assets – (intangible assets + liabilities))
PE Ratio = price per share/earnings per share
Price to earnings growth = PE Ratio/(% expected growth)
In this assignment, you are to build a form that takes the values required to compute the various metrics of company performance and on either single or multiple button clicks is able to calculate the metrics and display them to a user.
Feel free to employ parts of the code that you will find in the tutorials as a scaold as you build and complete this assignment.