Items tagged with homework homework Tagged Items Feed

(http://imgur.com/SDBP0sw)


Hello, everyone!


I was given this week's Maple assignment in my class and I've come across a problem. I'll say this now so I don't get sent away, I am NOT asking for the answer. For this question there is a part A and part B, but also a preliminary check to make sure our code is wokring (as seen in the picture link). The issue I'm here for is that I can't figure out the code for the preliminary check... I've been here for hours and I'm stumped.

 

This is my attemp so far; 

 

f := x^(6*ln(x))

Digits:=15;

T2 := convert(%, polynom)

f_value := evalf(subs(x = 5, T2))

 

I'm very confused what to do next in order to get that preliminary test amount of 5121425.461.

Thanks in advance! :)

Hello,

How can i from a randomly generated 100 numbers, output the number of unique elements...

 

thank you very much.

 

 

hello, 

i need to use only looping to determine the larget integer in my random list...

here is how i put it together, but my result is incorrrect... Please help.

thank you

R:=rand(1..50)

seq(R(1..50),i=1..20)

L:=[%]

max:=proc(L,maxv : : evaln)

locali;

maxv:=L[i];

for i from 1 to nops(L) do

if eval(maxv)<L[i] then maxv:=L[i]end if;
end do;

end proc;

 

Not sure exactly how i could achieve this but:

how do i determine the value of k for which the graphs p(x) = x^2+2x+3 and q(x) = k+5x-7x^2 enclose an area of exactly 36?

I have to do it in maple and using i guess area under the curve.

Thanks

I need to show that the least square solution x that I obtained as x=pseudoinverse(A).b is the solution of Transpose(A).A.x=Transpose(A).b with the smallest norm. I've obtained the norm for the RHS of this expression as well as the norm of x but I'm unsure of how to conclude that this is the lowest possible norm using these values

 

Hi, Very new to Maple. This is a math assignment, and well I am not exactly sure what is happening. I have had a buddy to help me, but things are not necessarily working. Using Maple17.
This is what I have so far.

de := sin(x)*(diff(y(x), x))+cos(x)*y(x) = Q;
/ d \
sin(x) |--- y(x)| + cos(x) y(x) = Q
\ dx /
dsolve(de);
Q x + _C1
y(x) = ---------
sin(x)
ab := 75; Q := 2-0.1e-1*ab; M := 4+0.1e-1*ab;
75
1.25
4.75
PS := simplify(dsolve({de, y((1/2)*Pi) = M}, y(x)));
-10 x - 38 + 5 Pi
y(x) = - -----------------
8 sin(x)
z := rhs(PS);
-10 x - 38 + 5 Pi
- -----------------
8 sin(x)
N := evalf(subs(x = .4, z));
8.439521805
a := z, x = 0 .. Pi, y = 0 .. 10; b := plots[pointplot]([(1/2)*Pi, M]); c := plots[pointplot]([.4, N]); d := plots[pointplot]([x0, y0]); plots[display]({a, b, c, d});
z, x = 0 .. Pi, y = 0 .. 10
Error, (in plots:-pointplot) points cannot be converted to floating-point values
Error, (in plots:-pointplot) points cannot be converted to floating-point values
Error, (in plots:-pointplot) points cannot be converted to floating-point values
Error, (in plots:-display) expecting plot structures but received: {c, d, z, plots:-pointplot, x = 0 .. Pi, y = 0 .. 10}

Hi everyone,

I've been having a problem with this question:

"The system of cities and roads in Connected Graphs on page 246 splits naturally into two components: the Canadian cities and roads between them, and the European cities and roads between them. In each component you can travel between any two cities, but you cannot travel between the two components. Write a procedure that, given a table of neighbors, splits the system into such components. Hint : Think about the form in which the procedure returns its result."

I have to separate a table into two tables based on the connectivity of the cities, that is, I want a table just for the cities from Canada and another one for the cities from Europe. Can anyone help me with this? I really have no idea how to tell Maple what I want it to do.

Anyway, here's the link with the soon-to-be program:

6.9.mw

The algorithm that I need to replicate is as follows:

real function f(x,y)

integer n; real a,b,c,x,y

f<-max(|x|,|y|)

a<-min(|x|,|y|)

for n=1 to 3 do

b<-(a/f)^2

c<-b/(4+b)

f<-f+2*c*f

a<-ca

end for

end function f

How can I define f,a as  functions that I am later using as variables(in f=f+2cf,b=(a/f)^2)? also, is n just a variable for iteration? 

 

I've got a function f(x_n) = (x_n-1)^3

and need to show that for the iterative method

x_(n+1)= x_n - f(x_n)/(sqrt(f'(x_n)^2-f(x_n)*f''(x_n), at a simple root we have cubic convergence while at a multiple root, it converges linearly.

I understand that the approach is to write either a recursive function or a sequence, but i'm confused about the structure since both x and n are being incremented

 

I need to show what happens to the zero r=20 of f(x)= (x-1)(x-2)..(x-20)-(1/10^8)*(x^19) and the hint given is that the secant method in double precision gives an approximate in [20,21].

At present, I'm calling the secant method on f with a tolerance of 1/(10^12) with an initial x=20, but I'm stuck as to what the second initial value would be. What is the right approach to this question?

 

I've plotted the graph for this max function. Is there any way I can find the points of discontinuity in general and then use that to compute the derivatives at points where it exists?

Hello, I need a person who can help me with task from numerical methods.

I need to convert a base 10 int(defined as num) to its base 3 format using a while loop. I would like to store the remainder of the num%3 to a list/sequence/array in maple. Now, if I were to use a sequence, I would need a pre-defined range. How do I solve this issue?

I have to find the volume of a solid using the disk/washer method and the shell method.  I think I have the first part(disk/washer) right.   I think the shell is off. The problem is "the region in the first quadrant that is bounded above by the curve y = 1/x^1/4, on the left by the line x = 1/16, and below bythe line y = 1 is revolved about the x-axis to generate a solid."    I am having computer problems so any help is appreciated. Thanks

A 37 foot ladder is placed against a wall that is 9 feet away from its base. Will the top of the ladder reach a window ledge that is 35 feet above ground? Explain.

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