Note: Particle in a box model considered as a particle confined in a box of length L . Inside the box the potential energy of that particle is zero whereas outside the particle potential energy is infibite. There are two boundary condition for the wavefunction of the particle , the wavefunction is zero at the each edge of the box .i.e . at x= 0 and x= L , wave functiin Y=0.
Write the solution of the 1D PIB problem in terms of the eti functions. Check to...
Determine the moment equation in terms of singularity functions. Make sure to check the values at various points with the moment diagram. Find the equation for the elastic curve. Determine the maximum deflection. E is not required 2 kips/ft 15 kips 4 ft 4 ft- 4 ft Fig. P12.8
question should be solved in C language 1. [20 pts] Please write the functions addComplex, multiplyComplex, compareComplex, and printComplex, whose declarations are given as pseudocode below. All functions will operate on complex numbers, whose real and imaginary parts are given separately as double values. function addComplex input: real,:double, imgi: double, real2:double, img,:double output: realsum: double, imgsum double function multiplyComplex input: reall:double, img! : double, real2:double, output: realproduct:double, imgproduct :double img2 : double function compareComplex input: reali: double, imgi:double, real2:double, img2:double...
Problem 2. Write the Taylor series expansion for the following functions up to quadratic terms a. cos (x) about the point x*-pi/4. b. f(xx) 10x1 20x^x2 +10x3 +x 2x 5 about the point (1,1). Compare the approximate and exact values of the function at the point (1.2, 0.8)
In this program, you will be using C++ programming constructs, such as functions. main.cpp Write a program that asks the user to enter an integer value. Your program will then display that integer back to the user. Your program should include a function called getInteger that requests an integer value from the user and returns that value back to the caller. Your main () function will call the function getInteger and will then display the value returned by that function....
Q1 Write the following function in terms of unit step functions. Hence, find its Laplace transform 10<tsI g(t) = le-3, +1 , 1<t 2 .22 Q2 Use Laplace transform to solve the following initial value problem: yty(o)-0 and y (0)-2 A function f(x) is periodic of period 2π and is defined by Q3 Sketch the graph of f(x) from x-2t to2 and prove that 2sinh π11 f(x)- Q4 Consider the function f(x)=2x, 0<x<1 Find the a Fourier cosine series b)...
Use Ocaml language writing a bunch of simple functions in a file called warmups.ml. Write these functions in a pure functional style only: no assignment statements, no explicit loops, and no arrays! Write a function to compute fibonacci numbers (in the sequence 0, 1, 1, 2, 3, 5, ... where each number is the sum of the previous two numbers on the list). Use pattern matching but no if/then/else statements. Use a tail recursive solution to make sure the function...
. (a) Find the general solution to the following differential equations. Express your answer in terms of Bessel functions of the first and second kinds (just as we did in assignments, do not write the asnwers as series expansions of Bessels functions). Please explain how you arrived at your answer. (b) Please start with separation of variables and completely solve the heat flow problem. 2 Ll ot u(0, t) u(2, t)=0 = -(ま 1, 0<<1 . (a) Find the general...
This homework involves ADDING MEMBER FUNCTIONS to ArrayBag.h. This homework is important because we do some thing like this on exams. All you will need to submit is your member function code BUT your code should compile and run if I were to add it to ArrayBag.h. That means you should put your code in ArrayBag.h and make sure it compiles before submitting. You should test with a simple main. DO NOT submit main or your ArrayBag.h file just submit...
Problem 1 In this problem, you will write two functions. The first function takes in a string and returns that string without any dashes. The second function takes in the first and last name and returns a string that is lastname_firstname and uses the previous function to remove any dashes (-) in the name. Note that you’ll be testing it by calling it from the command line; you’ll call it from a script in problem 3. Deliverables: Function file that...
[3] In python, please help me write the functions needed for this problem: Another Way to do Parentheses: For this problem, you will be given a string that contains parentheses, brackets, and curly braces ( (, ), [, ], {,} ) and other characters. As a human you are given a string of any characters, determine if the parentheses, brackets, and braces match. (No trailing or leading parentheses). The function called on an empty string will return True. Parentheses must...