Questions
The solid rod shown here has a radius of ?. If it is subjected to the...

The solid rod shown here has a radius of ?. If it is subjected to the force of ?? at B point, answer the following questions.

Use ??=700 ??; ???=11 ??; ???=15 ??; ???=8 ??; ?=0.7 ??

  1. (a) Determine the internal loadings, T, M and V on the sectioned area; see the free body diagram (ii) (5 pts)
  2. (b) Determine the shear stress developed by the shear force (V) at A point (5 pts)
  3. (c) Determine the normal stress developed by the bending moment (M) at A point (5 pts)
  4. (d) Determine the shear stress developed by the torque (T) at A point (5 pts)
  5. (e) Determine the stress components at A, ??,?? (5 pts)

In: Mechanical Engineering

Calculate the standard cell potential for each of the following electrochemical cells. Part A Ni2+(aq)+Mg(s)→Ni(s)+Mg2+(aq) Express...

Calculate the standard cell potential for each of the following electrochemical cells.

Part A

Ni2+(aq)+Mg(s)→Ni(s)+Mg2+(aq)

Express your answer using two decimal places.

E∘cell = _____  V

Part B

2H+(aq)+Fe(s)→H2(g)+Fe2+(aq)

Express your answer using two decimal places

E∘cell =_______ V

Part C

2NO−3(aq)+8H+(aq)+3Cu(s)→2NO(g)+4H2O(l)+3Cu2+(aq)

Express your answer using two decimal places.

E∘cell = ________V

In: Chemistry

. In a device (figure 30-6) that is used to measure the maximum kinetic energy of...

. In a device (figure 30-6) that is used to measure the maximum kinetic energy of photoelectric effect electrons, the voltage difference between the collector and emitter is increased until the current flowing through the circuit goes to zero. This is called the stopping potential and the KEmax can be very simply calculated if you use electron-volts. Using this device, you measure this voltage to be 0.710 V for electrons emitted from a surface illuminated by 492-nm light. Then, when you change the incident light to a new wavelength value, the new voltage is 1.41 V. a)What is the new wavelength? b) What is the work function for the surface?

In: Physics

We are using javaCC notation.This is the full question Given the following grammar: String ::= "A"...

We are using javaCC notation.This is the full question

Given the following grammar:

  • String ::= "A" ( "B" | T | V )+
  • T ::= ("X" T ) | "Y"
  • V ::= ( "C" | "D" )*

Which of the following strings are correct according to this grammar?

Group of answer choices

A C C D X X Y

X X Y

A B C D

A X

A B C D

A C D C

A B C D X Y

A X X X

A X Y X C D

A B X X Y

B C D

A

B X X Y

In: Computer Science

Cyphers are hundred of years old. Using pseudo code and the a substitution cypher write a...

  1. Cyphers are hundred of years old. Using pseudo code and the a substitution cypher write a function to decode the following message and give the expected solution for the this message

            IUHHKIN NAHKK KBNHT VUOYNG

T

Z

I

J

K

M

W

A

O

P

Q

R

S

Y

U

V

L

H

G

N

E

C

D

B

F

X

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

In: Computer Science

There is a region with a constant magnetic field 6.31T . The magnetic field is directed...

There is a region with a constant magnetic field 6.31T . The magnetic field is directed out of the page. A conducting rod moves with a velocity of 1.58m/s , along a V shaped wire that is in the shape of a right triangle. At time = 0 s the rod is at the vertex of the triangle where the angle at the vertex is 19degrees . The right angle is where the conducting rod is. This means the rod is moving along the x axis and the rod is the y axis.

What is the emf induced in the rod after it has moved from the vertex for a time of 10.9s ?

emf = V

What is the current induced in the rod if the resistance is 5.31ohms ?

i = A

What is the power in the rod?

P = W

In: Physics

We have created an ArrayList of Person class. write a method called push that pushes all...

We have created an ArrayList of Person class. write a method called push that pushes all the people with the even length last name to the end of the ArrayList

Content of the ArrayList before push

[alex Bus, Mary Phillips, Nik Lambard, Rose Rodd, Esa khan, Jose Martinex, Nik Patte]

content of the ArrayList after the push method
[alex Bus, Nik Lambard, Nik Patte, Mary Phillips, Rose Rodd, Esa khan, Jose Martinex]

import java.util.*;
class Person
{
   private String name;
   private String last;
   public Person(String name, String last)
   {
     this.name = name;
     this.last = last;
   }
   public String getLast()
   {
     return last;
   }
   public String getFirst()
   {
     return name;
   }
   public String toString()
   {
     return name + " " + last;
   }
}

public class ArrayList
{
  public static void main(String[] args)
  {
    ArrayList<Person> list = new ArrayList<Person>();
     list.add(new Person ("alex","Bus"));
     list.add(new Person("Mary", "Phillips"));
     list.add(new Person("Nik", "Lambard") );
     list.add(new Person("Rose","Rodd"));
     list.add(new Person("Esa","khan"));
     list.add(new Person("Jose","Martinex"));
     list.add(new Person("Nik","Patte"));
     System.out.println(list);
     push(list);
     System.out.println(list);

  
  }
//this method pushes all the people with the even length last name to the end of the list
 public static void push(ArrayList<Person> list) {
         
 }
     
   
}

In: Computer Science

Create a table with name “S_YOURStudentID” with the following fields with required constraints. Screenshots are to...

  1. Create a table with name “S_YOURStudentID” with the following fields with required constraints. Screenshots are to be attached.                                                                                              

For example, if your botho student id is 1212121, your table name should be “S_1212121”.                                  

  1. Student id
  2. Student Name
  3. Age
  4. Gender
  5. City
  6. Course name
  7. Module Name
  8. Internal mark 1
  9. Internal mark 2
  10. Internal mark 3
  11. Total internal mark
  1. Insert minimum 10 records/rows to the table. Input the data based on Question 5. Screenshots are to be attached.                                                                                                                             
  2. Create two users and assign different default and temporary table spaces. Screenshots are to be attached for each step.                                                                                                             
  3. Create two roles named admin and user. Admin has the full privileges to access the table and user has only the READ privileges to the table. Screenshots are to be attached for each step.            
  4. Write a SQL query for the following scenario. Screenshots with queries and outputs are to be attached
  1. Write a Query in SQL to list all the students.
  2. Write a Query in SQL to list all the name of students of six characters long and name starts with ‘A’ and ends with ‘S’
  3. Write a Query in SQL to display all the information of the students together with the Total Internal mark.
  4. Write a Query in SQL to list the students whose gender is ‘male’ and the age is above 25.
  5. Write a Query in SQL to list the students whose total internal mark is greater than 80.

In: Computer Science

This is in Java 1. Create an application called registrar that has the following classes: a....

This is in Java

1. Create an application called registrar that has the following classes:

a. A student class that minimally stores the following data fields for a student:

Name

 Student id number

 Number of credits

 Total grade points earned            

And this class should also be provides the following methods:

 A constructor that initializes the name and id fields

 A method that returns the student name field

 A method that returns the student ID field

 Methods to set and retrieve the total number of credits

 Methods to set and retrieve the total number of grade points earned.

 A method that returns the GPA (grade points divided by credits)

b. An instructor class that minimally stores the following data fields for an instructor:

Name

 Faculty id number

 Department
The following methods should be provided:

 A constructor that initializes the name and id fields

 Methods to set and retrieve the instructor’s department.

c. A course class that minimally stores the following data for a course:

Name of the course

 Course registration code

 Maximum number of 50 students

 Instructor
 Number of students

 Students registered in the course (array)
The following methods should also be provided

 A constructor that initialize the name, registration code, and maximum number of students

 Methods to set and retrieve the instructor

 A method to search for a student in the course; the search should be based on an ID number.

 A method to add a student to the course.

 A method to remove a student from the course.

In: Computer Science

#Problem 2 Write function write_stock that asks the user to input a company name, its associated...

#Problem 2

Write function write_stock that asks the user to input a company name, its associated ticker symbol (eg. Exxon, XOM), and the price per share of the stock. These are then written to file stock.txt one item per line. The user will type in ‘quit’ to stop.

Write function get_share_value that accepts a company name and the number of shares. The function will search file stock.txt and return a list of two values; the ticker symbol and the total value of the shares. This function must use an exception handler to insure the file is valid, that the price can be converted to a number, and catch any other exception that might be raised.

Write a program that calls write_stock and get_share_value. The program will ask the user for the company name and number of shares for read_stock and print the answer.

Sample output might look as follows.

Enter company name; enter quit to stop: Amazon

Enter ticker symbol: amzn

Enter price: 1000

Enter company name; enter quit to stop: Apple

Enter ticker symbol: aapl

Enter price: 125

Enter company name; enter quit to stop: Microsoft

Enter ticker symbol: msft

Enter price: 250

Enter company name; enter quit to stop: quit

What stock did you buy?: Apple

How many shares?: 10

Your total value for aapl is $1250.00

PYTHON CODE

In: Computer Science