MaplePrimes Questions

I am attempting to write a procedure for the numerical integration methods of the composite trapezoidal rule and Simpson's 1/3 rule, however the results that are being produced when I try to test the procedure are differing to the computed integral using the int command.

Here is my attempt so far:

 

> f:= x -> cos(x)*exp(-x/4):


> CompTrap:= proc(f,a,b,n)
local i, aa, h;
h:= (b-a)/n;
aa:= f(a)+f(b);

for i from 1 to n by 1 do

int(mul(sin(x/2^k)*2^k/x, k = 0 .. 123), x = 0 .. infinity) in closed form  with Maple?
I conjecture that the answer is Pi/2 and 123 can be replaced by any natural (i.e. ::posint) number.

Hello

This is actually somewhat the same question I asked some months ago. I found a way to go around it, but now unfortunately I'm back to the same problem, and I didn't have any answers when I asked.

Here it is a system that I solve numerically:

##############################################

eq1 := diff(W(r), r) = -(1-beta*(W(r)-W0))*(M(r)+4*Pi*r^3*p(r))/(beta*r*(r-2*M(r)));

eq2 := diff(M(r), r) = 4*Pi*r^2*rho(r);

W0 := solve(thetaR = theta0-W0, W0);

I just found out something which I don't understand.

Why am I getting this answer?

solve(a*x = 0, {x});
                                   {x = 0}

 

When I try some similar expressions I see it behaves differently for equality and inequality.

solve(a*x <= 0, {x});...

Hello everybody,

 

I'm completely new to Maple (installed it today) and have a question about the use of multi variabele expressions. I wanted to use a function B depending from the variables a, b, c and d without describing the expression explicit. 

For example: B:= (a, b, c, d);            [without the -> a....]

Then I wanted to take the taylor expansion of the first order for [a=e, b=f, c=g, d=h...

I want to get a closed form of the nth order differentiation: diff(exp(-(x+sigma)^2/(2*sigma^2)), `$`(x, n)) where sigma is a positive constate. But maple gives an unevaluated answer. Howere, if calculating diff(exp(-x^2/sigma^2), `$`(x, n)),maple gives a closed form:x^(-n)*2^n*MeijerG([[0, 1/2], []], [[0], [1/2+(1/2)*n, (1/2)*n]], x^2/sigma^2).

As'salam u Alaikum / Hello!!

 

I want to add a revolute joint but i want the axis of revolution not to be aligned with base axis system (as maplesim only allows revoution about any of the bas axis-9 possibilities). The revolution should be about an axis which is at an angle from x-axis. How do I do it??

 

Moreover I will be very happy if you can share video tutorials of complicated cad models.

 

Thanks!!!

Hey,

I have some expression of the form

sqrt((a+b)*(a-b))/(sqrt(a^2-b^2))

which maple unfortuntely does not simplify...

I have tried assumptions as a>0 b

how can one make this work?

Hi! Today I tried Maple for the first time and unfortunately encountered a silly but really annoying problem. When I write a simple calculation expression like 2+2; it works as expected. However, when I use an expression like sin, ln, Pi, etc., the return (enter) key stops working, the program just doesn't accept them. I'm beginning to think this has something to do with my (quite old) Windows setup since I couldn't find a similar error anywhere in the internet.

I'm working on;

 

The command

f := -.1*(x+3)*(x-1)*(x-3.5):
Student[Calculus1][FunctionChart](f,x=-4..4,concavity=[],title="",caption="",gridlines);

 

produces different results in Maple 13 and Maple 16.02.

In particular, the concavity=[] option seems to be ignored in 16.

Also, it may be my imagination, but execution seems slower in 16, but I didn't try timing it.

My apologies, if this has already been noted.

 

Hi

Does anyone know how to us asympt on a function but with x going to -infinity rather than the standrad +infinity thx

Each announcement of a new version of Maple TA, including the latest Maple TA 9, see

http://www.maplesoft.com/products/mapleta/new/index.aspx

contains the sentence:

"... includes connectors to Blackboard® and Moodle™"

But I have never seen any bit of information about

- how to install

- how to use

- what it is capable of

- etc...

Our Institute has Maple and...

Hi

Could someone pls help write me code such that when text is entered, the first chemical element symbol in each word is identified and highlighed.

i/p: "the cat molly"

o/p: "tHe Cat Molly"

( like the opening title sequence on "Breaking Bad")

I got out the sledghammer and made a start

element.mw

I've tweaked it a bit to now look like this. Trialed it out with some examples:

Marks:=proc(m::positive)
if m < 40 then print (m, `Fail`)
elif m < 50 then print (m, `Third Class`)
elif m < 60 then print (m, `Lower Second Class`)
elif m < 70 then print (m, `Upper Second Class`)
elif m < 100 then print (m, `First Class`)
elif m > 100 then print (`error`)
else end if;
end proc;
proc(m::positive) ... end;
Marks(30);

Hi there i have function as:

f(B,F)=

where: F,B>0 and 

,

such that: 

h=B^2;

I need to plot the surface (contour plot) f(B,F) at 0 and -ve points i.e f(B,F)<0.

Thanks

First 1631 1632 1633 1634 1635 1636 1637 Last Page 1633 of 2434