# Computer Science

## Go to the Web site of Wix, Weebly, or another provider of your choosing that allows you to create a simple e-tailer Web site for a free trial period. Create a Web site. The site should feature at least four pages, including a home page, product page, shopping cart, and contact page. Extra credit will be given for additional complexity and creativity. Prepare a word document that explains your e-commerce content and contains a link to your newly created website.

Go to the Web site of Wix, Weebly, or another provider of your choosing that allows you to create a simple e-tailer Web site for a free trial period. Create a Web site. The site should feature at least four pages, including a home page, product page, shopping cart, and contact page. Extra credit will …

## The motion of a mass on a spring with a damper is given by the ordinary differential equation d2x dx dt2 dt How the solution behaves depends on the relative value of the two parameters β-b/ (2m) and ω–k /m over damped critically damped under damped 9 0.5 05 time Write a python code that asks the user for values of m, b, k, and xo, creates a plot of the system response over time, and tells the user if the system is over, under-,

EXPERT ANSWER import numpy as np import matplotlib.pyplot as plt # This code solves the ODE mx” + bx’ + kx = F0*cos(Wd*t) # m is the mass of the object in kg, b is the damping constant in Ns/m # k is the spring constant in N/m, F0 is the driving force in N, …

## 3. Make plots (on MATLAB or Excel) which show undamped, critically damped, underdamped and overdamped behavior. On each plot indicate the parameters used. (Feel free to use whatever parameters you like, but try to show “typical” behavior where the characteristics of each plot are distinct.) Print these plots and attach them

EXPERT ANSWER Let this be a harmonic oscillator with some damping, we have the following equation for this; , where b is the damping constant. i) For undamped case , b=0 and the solution is simple harmonic motion for m=1,b=0,k=1 we get following plot for differential equation

## EMPLOYEE Fname Minit Lname Ssn Bdate Address SexSalary Super_ssn Dno DEPARTMENT Dname Dnumber Mgr ssn Mgr _start_date DEPT LOCATIONS Dnumber Dlocation PROJECT PnamePnumber Plocation Dnum WORKS ON Essn Pno Hours DEPENDENT Essn Dependent_name Sex Bdate Relationship

(a) Retrieve the names of employees in department 5 who work more than 10 hours per week on the ‘ProductX’ project. (b) List the names of employees who have a dependent with the same first name as themselves. (c) For each project, find the total spent hourse by all employess (d) For each project, list …

## Specify the following queries on the COMPANY relational database schema EMPLOYEE Fname Minit Lname Ssn Bdate Address Se Salary Super_ssn Dno DEPARTMENT Dname Dnumber Mgr ssn Mgr start date DEPT LOCATIONS Dnumber Dlocation PROJECT number Plocation Dnum WORKS ON Essn Pno Hours DEPENDENT Essn Dependent name Sex Bdate Relationship(a) Retrieve the names of employees in department 5 who work more than 10 hours per week on the ‘ProductX’ project.

(a) Retrieve the names of employees in department 5 who work more than 10 hours per week on the ‘ProductX’ project. (b) List the names of employees who have a dependent with the same first name as themselves. (c) For each project, find the total spent hourse by all employess (d) For each project, list …