Write a script file using conditional statements to evaluate the following function, assuming that the scalar variable x has a value. The function is
for x < 0, y = 3x + 1 for 0 ≤ x <10, and y = 9 sin (5x – 50) + 31 for x ≥ 10. Use your file to evaluate y for x = –5, x = 5, and x = 15, and check the results by hand.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.