let T[2 3 pi: 8 pi/2 1] calculate the square root,natural logarithm e^s and facorial of each element of the matrix S.
let m[-3 5 6 0 ; i+1 -1 3 2 ;2i 7 i -3 ; 5 -2 1 i+5] show that the elements in secound column &elements in third rows& the row 2to3 and coloumn 1 to 3.
let T[2 3 pi; 8 pi/2 1] find cos(T)&sin(T)&tan(T) and cot(T), then round the result to the nearset integar toward
In mechanics of materials, the behaviour of solid objects subject to stresses and strains are studied. You happen to work for one of the leading automobile industry in the Country. You have been asked to store in a file the stress data measurements experienced by a vehicle jack lifting several vehicles. Each line in the file has the vehicle serial numbers (which are integers) followed by the stress measurements for that vehicle. For example, if there are four vehicles and three stress measurements for each, the file might look like this
These are queries that use the full Red Cat Database as shown in Figure 3.1. You must use the full Red Cat tables of Customer, Sale, SaleItem, Product, Manufacturer, and Employee tables.
For each information request below, formulate a single SQL query to produce the required information.
1. Show the product name, city, and state for all manufacurers located in New York (NY), Oklahoma (OK), Florida (FL). Order alphabetically (ascending) by state and then product name.
2. Show the customer first name, last name, city and state for all in San Francisco and San Diego. Include customers from California where city begins with letter A.
3. Which customer lives in city New York? First name, last name, city, phone number.
4. Show the customer's first name, customer's last name, customer's city ('CustCity'), product name, list price for all products made by manufacturers in Arizona and purchased by customers in Oklahoma City or Tulsa.
Write a program which accepts four numbers entered by the user. The program will then display: • YES, if the distance between all the numbers is the same. • NO, if the distance between the numbers are NOT all the same. Example 1: Enter A: 2 Etner B: 5 Enter C: 8 Enter D: 11 YES (because the distance between the four numbers is 3) Example 2: Enter A: 2 Etner B: 3 Enter C: 6 Enter D: 7 NO (because the distances between the four numbers are NOT all the same)