ThU

891 Reputation

13 Badges

14 years, 132 days

MaplePrimes Activity


These are answers submitted by ThU

Starting with the top left 4*4 square, there's one tree in it. Then, the 8*8 square has 2 trees, the 12*12 square has 5 trees. Going on, you have the sequence 1,2,5,8,13,18,25. Try to guess a formula that includes squaring.

@Carl, I take your code and extend it a bit. q(t) is the charge on the capacitor. q(t)=C*uc(t) 

You need to add the i(u) deq for the capacitor. 


restart;
ode1 := L*(D(i))(t)+(R[1]+R[2])*i(t)+uc(t) = U;
ode2 := i(t) = C*(diff(uc(t), t));

L := dsolve(eval({ode1, ode2, i(0) = 0, uc(0) = q(0)/C}, [L = 2, R[1] = 2, R[2] = 8, C = 1/12, U = 4*exp(-t), q(0) = 2]));

C := 1/12; q := C*rhs(L[2]);

You may want to to plot the area first, to get an idea:

Explore(plots[inequal]([x >= y, x <= 2*y, y <= a-x, y >= 1/3*(a-x)], x = 0 .. 2, y = 0 .. 2),parameters=[a=0.0..2.0],initialvalues=[a=1.5]);

Suggestion: Divide the area into 2 triangles. Calculating the area will become easy then.

Or you could use this formula:

 

 \oint_{t_0}^{t_1} x \dot y \, dt  = - \oint_{t_0}^{t_1} y \dot x \, dt  =  {1 \over 2} \oint_{t_0}^{t_1} (x \dot y - y \dot x) \, dt

r1:=$-3..3;r2:=seq(1/6*n+1/2,n=-3..3);

plot(Vector([r1]), Vector([r2]),axes=framed,style=point,color=blue,symbol=solidcircle,symbolsize=20,axis[1]=[tickmarks=[7,subticks=3,thickness=2]],axis[2]=[tickmarks=[0.1=0.5,0.95=0.7,1=0.9]]);

Hi,
-1A is correct. The problem with the MapleSim model is that ground G1 is only connected to V2 and not to the lower node with V3 and R1. Move the wires a bit to see it.

I don't know how to do this, but you may check some background information:

?MapleSim,Multibody,Dynamic_Exports

?MapleSim,Multibody,Kinematic_Exports 

 

You could also describe what kind of output you exactly want to see.

Hi,
the equations template does not show the multibody part of tjhe model equations, just for the 1D parts.

So, first, define the mass values as parameters see picture 1 where to do this and replace the numerical values for the masses. Then start the multibody analysis template a replace the colon (which suppresses output) at the end of a command by a semicolon. result should look like pic 2.

 

 

 

It looks like you have a compiler issue. Do you have 64 bit Windows? If yes, then you need to install a separate Compiler according to the installation guide. One option would be to install Maple/MapleSim 32 bit (even on 64bit OS) because it comes bundled with a compiler, which is set up during the Maple installation. For the moment, you could switch off the compiler option by unchecking the field in the settings tab on the right side of the MapleSim GUI.

Hi,

I suggest sending this to support@maplesoft.com, together with your model. Have you tried to export to a different location? 

The variable no_legs for cases 2 and 4 seem to have a space before the underscore, like no _legs, in opposite to case 3.

Could be a formatting issue, though. 

But for programming, I suggest using 1D input.

see ?DynamicSystems,ToDiscrete for help

 

Or you could just do

restart:
t:=(1+s)/(s^2+2*s-5);
u:=algsubs(s=(z-1)/T,t); 
collect(numer(u),z)/collect(denom(u),z);

try 

x*expand(nn/x);

 

 

Although giving workarounds is so last century, here is one. spacecurve uses better antialiasing, so adapt the plotting task accordingly:

 

plots[spacecurve]([t,sin(t),0],t=0..2*Pi,colour=red,orientation=[-90,0,0],axes=normal,view=[0..2*Pi,-1..1,-1..1]);

 

 

The problem is not of defaults, there is no way in Maple to increase the quality of the plotted curves. Compare the zoomed plots from first post. Maple uses only 2 colour shadings to blur the ripples, Mathematica uses more.

 

 

 

 

Mathematica has better aliasing, numpoints helps a bit, but not much.

First 11 12 13 14 15 16 17 Page 13 of 18