C_R

3537 Reputation

21 Badges

6 years, 61 days

MaplePrimes Activity


These are replies submitted by C_R

@dharr Just a check that the data is in mA. I have never used units and fits so I stopped after checking that the parameters fit to the data. So maybe your tweak with mF is not required.

restart

U := 100*Unit('V')

100*Units:-Unit(V)

(1)

R := 4900*Unit(Unit('Omega'))

4900*Units:-Unit(`Ω`)

(2)

C := 20*Unit('`μF`')

20*Units:-Unit(`μF`)

(3)

"v(t):=U/(R)*(e)^(-(t/(R*C)))"

proc (t) options operator, arrow, function_assign; U*exp(-t/(R*C))/R end proc

(4)

simplify(v(.1*Unit('s')))

0.7356077312e-2*Units:-Unit(A)

(5)

``

data := LinearAlgebra:-Transpose(`<,>`(`<|>`(.1, .2, .3, .4, .5), `<|>`(7.36, 2.7, .99, .37, .13)))

Matrix(%id = 36893489545658315588)

(6)

p1 := plot(data, style = point)

 

p2 := plot(v(t), t = .1*Unit('s') .. .5*Unit('s'), useunits = [s, mA])

 

plots[display](p1, p2)

 

``

NULL

Download Mapleprimes_Question_Book_2_Paragraph_5.12_Question_5_with_units.mw

@Carl Love 

Maple provides so many solutions, that I rarely need to code (and test) procedures.

In case I have to pass a function I will not try it make work a you said. Thank you for bringing this to my attention.

As for Fortran, I do not mis goto but I have kept a few punch cards that I use as bookmarks for sentimental reasons. I will see if I can find a goto card as physical proof that those statements were in use ;-)

@Kitonum 
Also with my 2023 installation

@acer

This particular value for posint is worth an example in the detaled helppage of fslove.

Infinite thanks!

@dharr 

Thank you for your detialed answer.
It looks like that I have used by wrong intuition a calling sequence of RootOf that is not documented in help(RootOf).

There is one equation too much. You only have 5 unknowns

indets({fa[1], fa[2], fa[3], fa[4], fa[5], fa[6]});

                 {U[0], V[0], W[0], Z[0], r[0]}

@Thomas Richard 

All warnings are useful. At least I want to see them once.

This particular warning sometimes appears and sometimes in similar cases without masses it does not. In most of my cases it can be ignored.

If this warning can’t be reset by design and there are no GUI issues hiding menu items, my question has been answered.

In this case I find I find this tip from help(MapleSimUserGuide,Chapter02) misleading:

If warnings to be reset are labeled with a yellow triangle, I would expect that a warning labeled with a yellow triangle can be ignored as well.

Thank you for the clarification.

Your question and finding are worth being converted into a post. Could you share and example?

@Nicole Sharp 

Good to hear. If this is reproducible what you found out Maplesoft can have a look at it. Maybe there is a solution for mobile users.

This bug is older than 2023, I have it from time to time. Restarting always works, but that's not what you want do when you're in the middle of something.

One of my suspicions is that it happens when the display settings change. For example, when you disconnect an external monitor from a laptop. 

Another possibility is that it is related to the load on the system (applications running in parallel, number and history of mservers managed by the Maple GUI or the time and history since last logon). 

In both cases it is related to the operating system and may not be a programming bug, but something that depends on Microssoft and/or the OpenJDK platform.

Your observation (new to me) that it depends on maximising the GUI Window points rather to the first susspicion.

 

@acer
Yes, exactly!

@Maxie 

The model I have send to you must have changed its state when it was saved.

In the model I have send to you to make it simulate, try chaning the EC to:

This should assemble and allow you to inspect the model.

As I have said the model does not assemble correctly. You should fix this first.

4_fix-3.msim

Here is another good video https://www.youtube.com/watch?v=4c0dbvAMrAU on custom contact components. I would try to combine it with a classical analytical formula for beam deflection.

To start I would use the deflection for a "Simply Supported, Intermediate Load" as given here

https://mechanicalc.com/reference/beam-deflection-tables

(I cannot guarante if these formulas are correct.)

@Maxie 

I have fixed your model in the sense that its simulating.

At a frist glance the rails and the sleepers are not assembled as you intended.

Furthermore, the axle falls off the rails.

You cannot use a single contact element (rectangle) for the entire flexible beam to realistically describe a traveling load. As you have done it the rail already deforms when the load is above the sleeper.

Overall the problem you have choosen is at the limit of the components of MapleSim libraray. I think a solution is possible with custom components.

If you are entitled consider also contacting Maplesoft support for advice.

4_fix.msim

@acer You are correct. A thetrahedron has 4 surfaces. 5 was from my first answer which I had to correct.

z<=1 and y<=z eliminate y<=1 (which I will do now in my update above).

In this question you will find an elegant way from the user Kitonum to plot the bounding surface of a cube which is

plots:-implicitplot3d(max(-x,x-1,-y,y-1,-z,z-1), x=-0.5..1.5, y=-0.5..1.5, z=-0.5..1.5, style=surface, axes=normal, grid=[100,100,100]);

The three inequalities (i.e. all points within the bounding surface and including the bounding surface) describing the cube as solid are

0<=x <= 1
0<=y <= 1
0<=z <= 1

This that what you are looking for?

First 50 51 52 53 54 55 56 Last Page 52 of 69