## How to collect integrated terms in an expression...

Hi,

I have an expression F that has an addend which is a definite integral,-(int(del_u0(x)*(diff(N_xx(x), x)), x = 0 .. L)), and addends that are not, all the rest of them.

How can I create an expression that is the integrated addend only without the other ones?

In other words, how do i separate the integral term from the rest of them?

F := -(int(del_u0(x)*(diff(N_xx(x), x)), x = 0 .. L))+del_u0(L)*N_xx(L)-del_u0(0)*N_xx(0)+ibp2+ibp3

Thanks!

Shai

## Maple problem with boolean function...

I need to write a procedure that takes an integer N and a boolean function F as in14 as arguments, returns nothing, and plots a square N × N lattice of points, coloring the points (i, j) with F (i, j) true in red and the other ones blue.

Thank you in advance. Any help with this would be apreciated.

## Isolating a minus sign...

I've got a very complicated integral, generated by Maple (15), of the form:

Z:=a*Int(f(x),x=0..1);

I need to do some manipulations on the integrand.  So, I perform the following:

f(x)=GetIntegrand(Z);

f1:=perform operations on f(x)...etc

Z1:=a*Int(f1,x=0..1);

The trouble arises because sometimes Maple writes Z as shown above, and sometimes it writes it as:

Z:=-a*Int(-f(x),x=0..1);

and you can run the program twice in a row and you will get either form, randomly. So, sometimes Z1 will be wrong by a minus sign because you can't predict whether the minus sign is going to be embedded or not.

I've been complaining about this Maple property for years, to deaf ears within MapleSoft who insist it is not an issue, and it has been the subject of long discussions on this site that go nowhere.

So, the question becomes - how do I reliably extract the expression "a" from the expression for "Z" and how do I test whether it has a minus sign embedded within it, or explicitly showing.

This can drive you crazy if you are trying to do a calculation or write a program that always works.

## i need the answer ASAP for my test, ty...

write down the mapple procedure that finds the shape operator plus
gauss and primative curvatores and determines the surface characteristic
of a parametically given surface

best regards, ty

## plot numerical solution explicite schemae...

Dear All, I need your help to plot the numerical solution. many thanks.

The variable t in [0,T], x in [0,1], b in [0,2].

Difference finie for waves equation is :

pde:=diff(u(x, y,t), t\$2) = c^2*(diff(u(x, y,t),x\$2)+diff(u(x,y,t),y\$2));

i: according to x, j according to y, and k according to t.

u[i,j,k+1]=2*u[i,j,k]-u[i,j,k-1]+(c*dt/dx)^2*(u[i-1,j,k]-2*u[i,j,k]+u[i+1,j,k])+ (c*dt/dy)^2*(u[i,j-1,k]-2*u[i,j,k]+u[i,j+1,k])

Boundary condition: u(t=0)=1, diff(u(x,y,t),t=0)=0, and the normal derivative on the boundary of Omega =0.

How can solve this problem and plot the numerical solution.

## Calculate the offset of the image...

Using the two images from the branched question I tried to calculate the offset of the two images.  But it is too cumbersome and slow, can someone figure out a faster way?

Here's what I did,

I created both jpg images into a single row vector and then into an Array.  I then used a for loop with CircularShift to cycle one array and subtract it from the other.  I then took the absolute value and added all the values in the array and stored that value in another array.  The smallest value would indicate the highest probable position that both images have lined up.

Something like...

with(ArrayTools):

b:=convert(convert(img2,vector),Array)

for i from 1 to 100 do
aa:=abs(CircularShift(a,i)-b):
end do:
min(convert(convert(bb,array),Array))

The problem is 100 shifts takes a long time, let alone go through the full image.  Is there a faster way to accomplish this?

## Determine natural frequency of a single or multi d...

Hi

As i asked at title; i want to determine natural frequency of a single or multi degree of freedom vibration system using MapleSim. but i can't and i don't know how i can do it. can every one help me plz?؟؟؟

## MatrixPower: Digits:=5 ?...

Say I have a 3x3 matrix with real entries (like 3.4) and want to compute, say, A^(11). How can I do it and only have 5 digits in the output? I set Digits:=5; and used MatrixPower -- but got 10 digits, which is way too many for the classroom presentation.

## Error with function using Units...

Please see the attached worksheet for the error at the end, any idea what happens?

Besides, anyone know how to make plot array with each element has a plot and scatterplot in it?  I made my plot by making table first and then type the cmd individually.

Raw Data

Table 1: Compactability Curve

Table 2: Compressibility Curve

 (1)

 (2)

por1(x);

 (3)

 (4)

Target Weight of Tablet, :

 (5)

Tablet True Density:

 (6)

Width of tablet

 (7)

Length of tablet, l:

 (8)

Cup Depth, h:

 (9)

Cup Volume

 (10)

Die cross sectional area, :

 (11)

Equation to solve tablet thickness using tablet dimension and porocity:

Tablet bulk density:

 (12)

Tablet volume:

 (13)

Tablet bulk Density:

 (14)

 (15)

Function for thickness:

 (16)

 (17)

Tablet tensile strength:

 (18)

Break force of tablet (N)

 (19)

 (20)

 (21)

 (22)

 (23)

 (24)

Encounter problem while chaning variable

BF:=

 (25)

 (26)

but por1 works fine on its own with units

 (27)

plot(evalf(por1(xx)), xx = 10 .. 200);

I also used a lot for for loop in this worksheet, can anyone suggest another way of doing it? And I think I initiated many Array(1..3) that is of no use.  But if I do not initiate and do the following

A[1]:=a :

A[2]:=b:

A[3]:=c:

A;

output: A

Only if I initiate A:=Array(1..3) and then define the element I can see the complete A array at the end.

## How to have maple identify dependent variable in m...

I am trying to write a procedure that have the following input:  expr, xdata,ydata. [dependent variables list]

I want a procedure to calculate Rsquare following the method described in

http://www.mapleprimes.com/questions/120014-How-To-Calculate-Coefficient-Of-Determination

But I want the proc to take any abitary function and be able to identify the  dependent variable...how can I approach it? what function can I use to match [dependent variable list] in expr??

Thanks

## Automatic Header footer.. for each new document...

Is it possible to set maple to fill in a header or footer for every new document I make?

Now i have to do it fot each new file by hand:

- select custom  - goto tab cusom headers put in the left textfield "&[File] pag. &[Page]/&[Pages]"

## How to create command...

Hi,

I want to calculate a range.

eg. j=1...n-1 will use this equation

P(j,n):={((m/(2-1))(m/(2))^(j-1))/(2(m/(2))^(n)-1))}

j=n will use other equation.

How to create the command? I keep receive errors.

Thank you.

Lina

## what is the best maple book?...

what is the best maple book? could every one introduce books which have studied about maple !?? which is the best due to everyones opinion ? tnx for answering.

## plot tickmarks error...

Hi,

I'm getting an error when I try to

plot(sin(x), x = -1..1, color = darkblue,tickmarks=[spacing(0.25),subticks=2]);

The error is
Error, (in plot) expecting option tickmarks to be of type list({"default", "piticks", "decimalticks", "pidefault", nonnegint, list(realcons), list(realcons = anything), spacing(realcons), spacing(realcons, realcons)}) but received [spacing(.25), subticks = 2]

What exactly am I doing wrong? After all, [...] is a list.

Even more confusingly, tickmarks=[[spacing(0.25),subticks=2],default] doesn't work either.

Any help appreciated!

## Heaviside successive integration with undefined in...

Dear All,

I would like perform a symbolic integration to the following integrand with Heaviside function:

The integral I defined is as follows:

The output I got is

Could any one explain me how to avoid the undefined in the output. I tried to define the assumtions to constrain the solution. However, I failed to supress the undefined.

I expect a result of the integration should also be piecewise function.

Appreciate you constructive inputs.

Thanks!

 First 1159 1160 1161 1162 1163 1164 1165 Last Page 1161 of 2141
﻿