MaplePrimes Questions

The animation in this worksheet seems realistic but I wonder if the physics which is implemented is correct since there is no explicit mention of rotational energy.

ThrowBola.mw

Dear Community,

I have set up a simple 2D RC network with 1 lookup table current source, and a few probes. The model runs fine. Now I wanted to run it from Maple, and followed carefully a MapleSim tutorial which exlained how to establish the link between Maple and MapleSim. I added a worksheet called RCNetworkMaple.mw and run the A := MapleSim:-LinkModel(): command. Then I wanted to run the simulation with the A := Simulate() ; command, but nothing happened, Maple returned A := Simulate(). What did I wrong? In the tutorial it runs perfectly. (Files attached.)

 

Tx for the kind help in advance,

best regards

Andras

RCNetwork.msim  RC_Rate_Schedule.xlsx

Hellow, help required to remove the errors

 How to  obtain the pressure drop i am unable to get the output. I am uploading the file  and the equations

help_dp.mw

 

 

 

 


 

Hi, I’m new to maple and I’m not very good with these things, but could someone tell me if there’s a way to calculate a^b with large numbers?

I’ve tried to do it but it just says evaluating in the bottom left corner but doesn’t actually do anything. This is an example with two of the large numbers i have to use(if this helps):

815427339135043^5579408896058

Thank you in advance for any help.

Good day!

I wish to represent the flow across a network from a set of sources to a number of destinations or sinks.

In the simple example attached, there are 4 sources and 10 possible sinks. The flow from source to sink is given by the matrix, A, and each element is a binary entry; 1 for active and 0, otherwise. I would like to assign labels to each source (A,B,C,D) and sink (1,2,3,..., 9,10) and this feature will be most convenient for large matrices.The idea is to have these labels shown on the directed graph so that it is easy to see the flow configurations at a glance.

Does anyone know how this can be done?

Thanks in advance.

MaplePrimes_network_labels.mw

Hi,

I have to build a simple model in MapleSim that allows to simulate a mass that goes down along an inclined plane with a certain friction.

Is there a component that simulates the inclined plane? I tried to use a prismatic joint but it has some predifined translational directions so I can't impose the movement along the plane.

Help required to get the derire output  for the differential equation . I am attacing the codes and the sample output.

restart:
with(DETools):
a1:=m^2*((1-N)/(2-N))*(r/2)*Dp:
a2:=((1-N)*m^2/(2-N))*(((Nb-Nt)/64)*(r^5/6-h^2*r/2)-(B[r]/4)*(r^3/4-h^2*r/2)*(Nt/Nb)):
a3:=a1-a2:
a4:=r^2*a3:
DE1:=r^2*diff(v(r),r,r)+r*diff(v(r),r)-(m^2*r^2+1)*v(r)=a4:
b1:=dsolve(DE1,v(r)):

Hello

Could you please help me to solve the following problem

I want to catch the optimized values for df, tf, hw, and tw using considered constraint.

Thank you very much.

with(plots); R := 5; alpha := (1/9)*Pi; beta := (1/3)*Pi; n := 100; dt := 2*Pi/n; C1 := plot([R*cos(t), R*sin(t), t = 0 .. 2*Pi], color = blue); O := [0, 0]; M := [R*cos(beta), R*sin(beta)]; A := [R*cos(alpha), R*sin(alpha)]; B := [R*cos(alpha+Pi), R*sin(alpha+Pi)]; AB := plot([A, B]); OM := plot([O, M]); P := [R*cos(t0*dt), R*sin(t0*dt)]; Q := [R*cos(dt*t0+Pi), R*sin(dt*t0+Pi)]; diamob := seq(plot([P, Q], color = green), t0 = 0 .. n); MP := plot([M, P]); MQ := plot([M, Q]); tp := textplot([[A[1]+.3, A[2], "A"], [B[1]-.3, B[2], "B"], [M[1]+.3, M[2]+.3, "M"]]); display({AB, C1, OM, tp, display(diamob, MP, MQ, insequence = true)}, scaling = constrained):
I wish animate MPand MQ.

Is there a way to take the laplacian of 1/r and get the "physics" answer of -4*pi*delta(\vec{r})?

Dear Community,

 

I'm trying to import a simple Excel (xlsx) file into my Maple worksheet.

1st problem: Maple reads it only, if I put it into my root directory. As soon as I try to read it from the directory I'm working in, and provide full file name (Path + file name)  it fails. Why?

2nd problem: The real surprise comes, when I manage to import it. Its a 150 x 2 matrix, but as soon as I try to retrieve a value, I get an error message "Error, bad index into Matrix". Why is this? Should be very simple. Files attached.

 

Tx in advance

best regards

Andras

ImportTest.mw

RC_Rate_Schedule.xlsx

For a statistical course I will give next year, I would like to demonstrate the calculation of tetrachoric and polychoric correlations. Furthermore, it would be nice to show the students how the expectation-maximization algorithm works.

Has anyone already programmed this in Maple?

best regards,

Harry

 

Hello,

I´a currently making a school assigment, but i can´t get maple plots to combine the graphs i plot, when i plot multiple plots. (see picture) (the code is in the bottom of the question)


as you can see the green and yellow grafh won´t combine. I have tried google but couldn´t find any anserws that worked.
Hope someone can help me!
Thanks!
 
 
with(plots); with(Plot);
a := plot(4, x = 0 .. .25, color = red, view = [0 .. .25, 0 .. 5]);
b := plot(1/x, x = .25 .. 1.101, color = blue, view = [.25 .. 1.101, 0 .. 5]);
c := plot(-(1/12)*x+1, x = 1.01 .. 6, color = yellow, view = [1.101 .. 6, 0 .. 5]);
d := plot(.5+sqrt(x-5), x = 6 .. 20, color = green, view = [6 .. 20, 0 .. 5]);
e := plot(1.15*sqrt(x-7), x = 7 .. 20, color = pink, view = [7 .. 20, 0 .. 5]);
display(a, b, c, d, e);
 
 

I want to plot all three "roots" of the polynom I called 'H[i]' for different values of 'V', in the interval k=0.0..1.0, all in the same plot.

How can I do it, both for real and imaginary parts of H[i]?

Thanks for your help.

file1.mw

with(plots):R := 5; alpha := (1/9)*Pi;
C1 := plot([R*cos(t), R*sin(t), t = 0 .. 2*Pi], color = blue);
A := [R*cos(alpha), R*sin(alpha)]; B := [R*cos(alpha+Pi), R*sin(alpha+Pi)]; AB := plot([A, B], scaling = constrained);
display({AB, C1}, scaling = constrained);# bad drawing

 

First 400 401 402 403 404 405 406 Last Page 402 of 2119