Items tagged with homework

here is my homework, i am new to maple and need some help!

Consider the logistic equation:

dP/dt = 3/100 * (P(M - P)),

with seasonally varying population constraint

M(t) = 20 + 1.54sin(pi t / 6)

use maple to plot the solution curve for P(0) = 25

If a particle that moves in only one dimension is subject to a force Fi between the time

steps ti and ti+1, the velocity vi and position xi of the particle is:

 

v[i] := v[i − 1] +(1/m)*F[i]*Δt

x[i] := x[i − 1] + 0.5 (v[i − 1] + v[i])                   

 

Use the mean of v between ti and ti+1 when updating xi, since the value may change

a lot from step to step. In the subsequent, we set the mass m = 1 and the time steps

are Δt = 1, since we could absorb m and Δt in the expression for the force Fi anyway.

 

Write a procedure that computes xi and vi for a particle subject to random forces Fi,

uniformly distributed on the interval [-0.5..0.5].

 

I`ve written a procedure that generates random forces (F[i]) in the given interval. How can I write a for – procedure that computes xi and vi ?

I have to generate a code for carrying out the matrix form of the revised simplex method. I have a code in place but am struggling to convert the constraints into canonical form and introduce the penalty function. If anyone has any ideas I'd be very grateful!

Best Regards

Hello dear Maple,

My name is Bulat, I'm student of Kazan National Research Technical University ( Russia). In our High Program we used your product ( Maple V, Release 4). Now I have two problems and I haven't no idea how I resolve their. I am forced to ask for your help. I upload PrintScreen of my two problems. Please help me to solve them. I' ll be grateful for your help. Sorry for my English :(.

Yours very truly, Bulat

I faced difficulity in solving this problem. Can you help 

Consider the expression
sum((-1)^n*exp(beta*n)/n^2, n = 1 .. infinity)
 Build a function to calculate an approximation for the value of the given expression for
any value for B
 

I Could Not Write An If Then Or Ifelse Statement. Please Help Me.

f := unapply(x^2-2, x); a := 1; b := 2; n := 10; Digits := 10;
      2    
x -> x  - 2
                               1
                               2
                               10
                               10
c := evalf(eval((a*f(b)-b*f(a))/(f(b)-f(a))));
                          1.333333333
if  f(c)*f(a)<0 then ;
          "      k:=evalf(eval(|(f(c))/(b-c)|)) and "

                          /(1 + k) a f(b) - b f(a)\
             x[i] := evalf|-----------------------|
                          \  (1 + k) f(b) - f(a)  /
            "     elif f(x[i])*f(a)<0 then b:=x[i]"
                 "     else b:=c and a:=x[i] "
                  "     if f(c)*f(a)>0 then "
                 "      k:=|(f(c))/(b-c)|and "

                          /a f(b) - b f(a) (1 + k)\
             x[i] := evalf|-----------------------|
                          \  f(b) - f(a) (1 + k)  /
            "     elif f(x[i])*f(a)>0 then a:=x[i]"
              "     else a:=c and b:=x[i] end if"

Error, unterminated 'if' statement
     Typesetting:-mambiguous(Typesetting:-mambiguous(

       if fApplyFunction(c)sdotfApplyFunction(a)lt0 then , 

       Typesetting:-merror("unterminated 'if' statement")))

how to solve  Fourier Series on maple ??

how to find the first 6 non-zero terms of MacLaurin series of the function erf(x)

Find the first 6 non-zero terms of MacLaurin series of the function erf(x)

Consider the expression infinityn=1 (-1)n ebeta*n/n2

 

1. Find the symbolic value of this sum.

2. Find an approximation for the value when beta= -2.

3. Build a function to calculate an approximation for the value of the given expression for

any value for beta

 

Hi, I need help with this little university assignment.

See the thumbnail below.

I have been away from the class because of a staph infection and missed the notes about vectors and Euler's formula.

 

It would be helpful if someone could give a rundown about how to solve the problems or give a general solution.

 

 

-Thanks

Hi,

 

Im new to Maple and have a hard time trying to get used to it. I've understood the basics, but I have still trouble with solving more complex exercises.

 

Could someone please help me with this little assignment.

 

 

 

 

The assignment:

In the lectures it was discussed that the air resistance of a body moving with velocity v may be written:


FD(v) =1/2*C*p*A*v^2 . (1)


with a drag coefficient C which is almost constant on a wide range of Reynolds numbers. Here p  is the density of the air. In most contexts, A is the bodies cross-sectional area, but for aircraft it is common to use instead the wing’s area. The drag force is directed opposite to the direction of motion. For a asymmetric bodies such as the wings of an aircraft, additional forces, such as the lifting force, which is perpendicular to the direction of motion, appear. It may be written written in a form similar to (1):


FL(v) =1/2*CL*p*A*v^2 . (2)


Here A is the area in the lift direction, here the wing area for the aircraft. The lift coefficient CL is approximately constant over a wide range of Reynolds numbers.


a) When an aircraft flies horizontally, the lift force FL must balance the force of gravity mg, where m is the aircraft’s mass and g = 9.81m/s2 the gravitational acceleration. Compute the velocity, v0, of a sport airplane at an altitude of h0 = 1 000m, where air’s density is  p= 1.10 kg/m3. The plane has mass m = 750 kg, wing area A = 18m2 and lift coefficient CL = 0.35 .


b) The propeller of an aircraft transmits power from the engine to the surrounding air. This power is used entirely to overcome the drag force. Compute the engine’s power P0 = FDv of the sport plane when it flies at a velocity v = v0 if the drag coefficient (based on the wing area) is C = 0.030.

 

 

 

 

hy

i have to develop a code i which i have system of nonlinear equation 

i have to generate the matrix of that nonlinear equation then i want to do or apply any method say newton method and make a loop which help us to find a solution using some tolerance 

at the end i get a result in form of a table which give nth matrix then value of function matrix at nth value then error i-e xn-x(n-1) 

thanx in advance

I need to write a procedure that adds all multiples of 5 and 7 less than an arbitrary number. I was thinking something maybe with mod? I am very new to Maple. 

 

On in this same assignment, we are also supposed to generate a sequence using the Fibonacci equation but from an arbitrary pair of initial conditions. So if there are some parallels between these two problems, I would love to learn from that angle.  

We recently in class learned about do loops, so if there is a way to attack these problems with do loops, I would like to hear!

I need to change the following continued fractions into rational numbers using the cfrac function:

1)  [1 , 2]               2) [1, 1, 2]                3) [1, 1, ,1, 2]

 

Thanks,

Sara

1 2 3 4 5 6 7 Last Page 1 of 23