HP Forums

Full Version: Mohr's Circle
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

Anyone has an idea to make a program to Mohr's Circle to HP PRIME?

Cumprimentos
Best regards/Mit freundlichen Grüßen
Diamantino
Well, I don't want you to do the program but intend to collect opinions to do so. How to plot circles, etc.
I think the geometry application has everything you need already in it. :-)

I would start by looking to make a construction in the geometry app. Once you have things working like you desire, you can add a screen to allow entry of specific numbers for calculations, reset things to default values, etc.

[EDIT]
[attachment=1194]
Here is an example to get you started. Using the connkit, just drag/drop that into your calc tree to load into the emulator or calc.

I have 3 numerical values declared in the appprogram. These are used in calculating the positions of things in the geometry screen. Take a look at the geometry num/plot/symb screens to see how you can start linking things together.

A small user UI prompt to ask for specific values would then pipe everything through and all your display/drawing is handled dynamically.

[Image: mohrs.png]
The command you will likely want to use (in a program) is ARC() or ARC_P(). Using ARC_P() should enable you to draw circles using pixel coordinates and avoid having to worry about the window settings.
Thank's Tim that was what I wanted, the correct starting point.
And thank's Han that's help.
Hi,

MohrsCircle.zip (Size: 1.14 KB / Downloads: 24)

a lot of downloads and only Tim and Han replays, just a joke...

It's possible to lock de graphic area?
It is not possible to lock specific elements at the moment. It is on the list of things to look at however.
Thank's Tim and gracias Fredy.
That's what I was trying to improve, but with 3 circles Mohr 3D. No luck at the moment.
But stopped when I touched in the calculator and everything moves.
(11-19-2014 01:10 AM)compsystems Wrote: [ -> ]


Interesting aplication. thank you for posting it.
Is it possible to share the program or command line to see how you resolved the editable variables? Thank you.
(11-19-2014 11:38 AM)mop80087 Wrote: [ -> ]Thank's Tim and gracias Fredy.
That's what I was trying to improve, but with 3 circles Mohr 3D. No luck at the moment.
But stopped when I touched in the calculator and everything moves.

Wow, Mohr 3D would be impressive. There´s no background with this kind of program on any HP series. Even it´s difficult to find documentation.
(11-19-2014 06:49 PM)akmon Wrote: [ -> ]
(11-19-2014 11:38 AM)mop80087 Wrote: [ -> ]Thank's Tim and gracias Fredy.
That's what I was trying to improve, but with 3 circles Mohr 3D. No luck at the moment.
But stopped when I touched in the calculator and everything moves.

Wow, Mohr 3D would be impressive. There´s no background with this kind of program on any HP series. Even it´s difficult to find documentation.

I'm not sure I understand what Mohr 3D would be. Is that Mohr's circle for 3-dimensional state of stress? (Wouldn't that still be a 2-dimensional diagram, but with 3 circles?)
Exactly. It´s composed by 3 circles, the last one envolves the other two. The área between the big circle and the 2 smaller is the domain of any stress situation of the solid.
Nice job
Reference URL's