Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi all,

For example, I have this equation:

restart: eq:=diff(theta(t),t)*y(theta(t))+x(t)=sin(x(t));

and

wm:=diff(theta(t),t);

I want to replace in eq, wm:=diff(theta(t),t). I used commands eval, subs as:

subs(diff(theta(t),t)=wm,eq);

eval(eq,diff(theta(t),t)=wm);

but with no result

Thanks for any suggestion

Kamel

Hello,

I am trying to plot the normalized stress values for tension and shear and I would like to reverse the range of the abscissa (x-axis) values for one of the stress values.  The normalized stress values I am interested in are calculated by dividing the calculated stress value by the yield stress for the material in question.  For example, a calculated tension stress of 10 ksi in carbon steel (yield stress = 36 ksi) results in a normalized stress value of 10/36 = 0.27.  I am not having any difficulty normalizing the values; however, I do not see where I can reverse the range of the plotted values from high to low.

Thank you for your assistance.

Kind regards,

I have a for loop which run 50000 times.

I have a dual core cpu made by amd, so parallel is a better choice.

There are two packages in Maple 15: Grid and Thread.

I want to know which one is more effeciency?

And in my program,there are no intersection between for-loops.

how to programming in parallel?

Thank you in advance.

Does anyone know of a working link to the worksheet for this Application Center item?

This is entitled, "Comparison of Multivariate Optimization Methods" and according to the html version it was authored by Sergey Moiseev (who I believe uses the handle mois here on Mapleprimes).

The link to the .mw is broken at that App Center page. And...

Greetings Everyone,

I was looking at the the BlackScholes application worksheet (just search for "black" in the help file), and it has a neat little Monte Carlo simulation block.  I was just wondering if there is anyway to view the underlying code that it's using so I could study it.  Does anyone know how to do this?

Thank for your help anyone.

Billy.

P.S.  I'm using Maple 14.

Hi all

I need to find the fourier coefiicients.  In the following Maple program I get the fourier transform of the signal which is fine, BUT actually I am interested in finding A0, An and Bn of the signal denoted by Plot(f(t),t=0..2*Pi);

step:= 2*Pi/2000;
   start_point1:=Pi/3+Pi/6;
   duration1:=Pi/3;
   start_point2:=4*Pi/3-Pi/6;
   duration2:=Pi/3;
   f:= t -> piecewise(t >= start_point1...

Hi
 How to translate the following lines of commands from Matlab to Maple?


n = 2^10;
M = zeros(n);

I = 1:n;
x = I-n/2;
y = n/2-I;
[X,Y] = meshgrid(x,y);
R = 10;
A = (X.^2 + Y.^2 <= R^2);
M(A) = 1;

imagesc(M)
colormap([0 0 0; 1 1 1])
axis image
title('{\bf Circular Aperture}')

Gracias

Hi all, 

I need help to run a MATLAB program in MAPLE and find the fourier series coefficients like a0, an, bn.........the matlab code is as follows:                ( to be honest i don't know what format to use in MAPLE for programming?)

clear

step=2*pi/2000;

theta=0:step:2*pi;

start_point1=pi/3+pi/6;

I know Maple has/had opensource ideas behind it, that's why

interface(verboseproc=3)

print(sum)

allows seing source code for function sum, but what if I want to see the source code for local procedures in Statistics module,

for example

print(Statistics[Distribution])

>proc() local T; try if type(args[1],':-ProbabilityDistribution') then if nargs=1 then return eval(args[1...

I am trying to translate the following Mathematica code into Maple, but am having a lot of difficulties finding the equivalent commands.  Could you please help?

Table[ Partition[ Take[ Flatten[ t ], {k, 3*Length[ t ], 3} ], cols ], {k, 1,3} ]

Note: t,k, and cols are all variables

I'm trying to create Skewed Normal distribution with the following PDF

 

sqrt(2)*exp(-(1/2)*(x-mu)^2/sigma^2)*(1/2+(1/2)*erf((1/2)*(alpha*x-mu)*sqrt(2)/sigma))/(sqrt(Pi)*sigma)

 

I'm using the following command for that (referenced from http://en.wikipedia.org/wiki/Skew_normal_distribution

Dear Maple users

I have been looking for the list of fonts used by Maple, but couldn't find it. Can someone refer me to it? I am installing lots of programs on a new computer, and since some of them are graphics programs, I get a load of fonts thrown in my Windows Font folder. Therefore it is my intention to remove a lot of the unnecessary fonts. But I don't want to remove the ones used my Maple, so I will...

Dear all, 

I'm using the maple command in MacOS. While doing some computations, Maple periodically prints out the GC information such as:

memory used=444.9MB, alloc=184.7MB, time=7.75

I'm wondering how to tell Maple to only suppress those information? I also noticed that maple has an option -q to suppress such information, however, that option is too powerful which suppress other useful pretty printings too, which is not what i want.

Thanks,

 

hi, in following commands what is wrong :

s define before. i sure it's error related to dsolve. i want to have f[i](x):= dsolve({s[ii], ics[ii]})

for ii from 1 to 6 do ;
ics[ii]:=f[ii](0)=0,D(f[ii])(0)=0,D(f[ii])(10)=0;
ans := dsolve({s[ii], ics[ii]}) ;
 f[ii](x):=ans
od:

 

thanks

hi

i want to write these commands in maple but i dont khnow how to wirte :

do i=1,10

ans = i*2

f(i)=ans

end do

 

above code written in fortran patern and i want maple patern. for example i try these command but it doesnt work.

for ii from 1 to 10
 do ii*2
 f[ii](x):=%
end do

First 1676 1677 1678 1679 1680 1681 1682 Last Page 1678 of 2219