1. Engineering
  2. Computer Science
  3. according to matlab...

Question: according to matlab...

Question details
According to matlab
10. Write a program to plot the function y 3x-26x+12. first and second derivatives for -2sxS4, in all in the same plot with different colours. Hint: use hold on. 11. Write a program to plot the function y 2 for 0.1sx s60, in all in the same figüre one with linear axes, one with a log scale for the y axis, one with a log scale for the x axis, an done with a log scale on both axes. Then add axis labels to the plots. Hint: use subplot command. 12. write a program that calculates the tip based on amount of bills, using the following rules and the variable bill bill is less than 15TL bill is between 15 TL and 60 TL Tip is %24 bill is above 60 TL Tip is 2.80 TL * Tip is %30 13. Plot sin(-5x) and cos(3x) over [0,2n], on the same plot with different colours. Then add axis labels and legend to the plot.. Please use hold on command. 14. n-3 or end total total:total+(1M)i What is the value of total after executing the program? 15. The function sin(x) can be written as a Taylor series by Write a user-defined function file that calcualtes sin(x) by using the Taylor series. For the function name and arguments use y- Taysin(x,n). The input arguments are the angle x in degrees and the n the number of the terms in the series. Use the function to calculate sin(70) using five and 15 terms.
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution