roots function

roots function - 4 equations with 4 unknowns - Сообщения

#1 Опубликовано: 20.10.2024 16:57:01
scb

scb

3 сообщений из 15 понравились пользователям.

Группа: User

Trying to construct a triangle from an angle A, its bisector line h and the opposite side.
I have tried to attach a couple of .pgn files and the .sm file, can't see if I succeded.

Yours Søren Chr. Bøttger.
#2 Опубликовано: 22.10.2024 02:41:52
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Hi. Something like this?

https://smath.com/en-US/cloud/worksheet/y2bVFCnr

Best regards.
Alvaro.

EDIT: Uploading the files:

geom.png

geom-scb.sm (70 КиБ) скачан 60 раз(а).

geom-scb.pdf (174 КиБ) скачан 53 раз(а).
1 пользователям понравился этот пост
scb 23.10.2024 18:54:00
#3 Опубликовано: 06.11.2024 18:26:34
scb

scb

3 сообщений из 15 понравились пользователям.

Группа: User

I do not quite understand your reply on my problem (:triangle from angle A, its bisector h and its opposite side a). My intention was, that the value of h is given, but as far as I can see, you are using the intersection between a and h named D instead with a coordinate for D = 2.7+0*i. I can nowhere find a value for h, and likewise I do not see a calculation of the coordinate for D, so it seems to me, that it is the coordinates for D which you are taking for given in your solution.
Please correct me if I am wrong.
In the past few weeks I have succeded in solving the problem myself, so with this reply I am just hoping, that you will comment on the above mentioned problems.
Anyway thanks for your interest.
Yours
Søren Christian Bøttger
#4 Опубликовано: 11.11.2024 13:00:35
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Wrote

I do not quite understand your reply on my problem (:triangle from angle A, its bisector h and its opposite side a). My intention was, that the value of h is given, but as far as I can see, you are using the intersection between a and h named D instead with a coordinate for D = 2.7+0*i. I can nowhere find a value for h, and likewise I do not see a calculation of the coordinate for D, so it seems to me, that it is the coordinates for D which you are taking for given in your solution.
Please correct me if I am wrong.
In the past few weeks I have succeded in solving the problem myself, so with this reply I am just hoping, that you will comment on the above mentioned problems.
Anyway thanks for your interest.
Yours
Søren Christian Bøttger



Hi. You're right, I don't show the final results, here they are:

BIS.png

I chose the intersection between h and BC because as given data because I don't know in which form you have the bisector: as length? as slope? The equation of the line h?

Best regards.
Alvaro.
#5 Опубликовано: 11.11.2024 22:00:28
scb

scb

3 сообщений из 15 понравились пользователям.

Группа: User

Hi, Alvaro.

Thanks for your reply, but unfortunately I still do not understand your solution, and atop of that my computer refuses to load your .sm file, because I use an older version of SmathDesktop (since my Linux can't install the latest version).
Answering your question, I define h (AD) as length.
If I use your numbers for angle A (37 degs), side BC (4) and the AD (3.6245) you have calculated from your chosen position of point D, I arrive at the same triangle as you do.
But, since I do not understand your approach, I wonder if I could challenge you to solve the following triangle (and referring to your drawing): angle A (BAC) 40 degrees, opposite side a (BC) 4 cm and angle A's bisector h (AD) 3 cm.
I'm looking forward to see your solution.

Yours Søren
#6 Опубликовано: 12.11.2024 01:03:42
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: Moderator

Wrote

(since my Linux can't install the latest version).


I also use linux, with latest smath version.
Could you send your linux distro and kernel?
#7 Опубликовано: 12.11.2024 05:51:22
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Hi Søren. This is a way for solve given the bisector length, depending of the guess value 1 or 10:

sol1.png

sol2.png

The red circle is the "arco capaz", in Spanish, I don't know how to call it in English (https://es.wikipedia.org/wiki/Arco_capaz)

Here an explanation about how to draw it by hand:

sol3.png

geom-scb-v2.sm (84 КиБ) скачан 51 раз(а).

Best regards.
Alvaro.
#8 Опубликовано: 12.11.2024 17:17:14
scb

scb

3 сообщений из 15 понравились пользователям.

Группа: User

Hi, Alvaro.

Thanks for your reply, but unfortunately I still find it difficult to comprehend your math, which of course is my problem.
Hoping, that you (and mayby some others too) would be interested in my solution, I present it here.

Yours Søren

Файл не найден.Файл не найден.
1 пользователям понравился этот пост
Alvaro Diaz Falconi 13.11.2024 01:02:00
#9 Опубликовано: 12.11.2024 17:19:37
scb

scb

3 сообщений из 15 понравились пользователям.

Группа: User

To Overlord.

Desktop: Distro: MX-23.4_x64 Libretto January 21 2024 base: Debian GNU/Linux 12 (bookworm)
Kernel: 6.1.0-27-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
SMathStudioDesktop.1_0_8253.Mono
HP Elitebook 840 G8.

mono --version:
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.3 Wed Dec 14 11:18:08 UTC 2022)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: supported, not enabled.
Suspend: hybrid
GC: sgen (concurrent by default)

The latest mono SmathDesktop installs, but at once I get the message. "Unhandled exception has occurred in you application". It says:" \n\nA null reference or invalid value was found[GDI+ status:InvalidParameter)." and I am urged to quit, which I do!

The AppImage for Ubuntu don't run at all.

But this is not a problem, I am living happily with the 8253 version.
Søren
#10 Опубликовано: 12.11.2024 22:39:58
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: Moderator

As I have suspected, you are using Debian.
Debian or is derivatives has a Mono problem.
Not only Debian; Ubuntu, Mint, etc has this issue too.
And not limited to Smath, I encountered this for other programs also.
Their glibc and mono binaries giving some problems.

Fortunately, it has a solution.
You have to edit smathstudio_desktop_mono.
Just put export MONO_WINFORMS_XIM_STYLE=disabled command before exec.

Here is the links for discussion of solution;
https://en.smath.com/forum/yaf_postsm84311_SMath-in-Linux.aspx#post84311
https://en.smath.com/forum/yaf_postsm85676_SMath-Studio-on-Linux.aspx#post85676

Regards
1 пользователям понравился этот пост
#11 Опубликовано: 13.11.2024 01:05:44
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Hi Søren. Your geometry theory is more powerful than mine. Using your theorems, notation and coordinate system, this is a simplified version:

geom-scb-v3.sm (44 КиБ) скачан 55 раз(а).

sol3.png

Best regards.
Alvaro.
1 пользователям понравился этот пост
#12 Опубликовано: 13.11.2024 14:22:34
scb

scb

3 сообщений из 15 понравились пользователям.

Группа: User

Hi Alvaro.
Thank you for your revised algorithm, which I eventually will be able to test if I ever get the latest version of SmathStudio to work on my Linux.
Yours Søren
#13 Опубликовано: 13.11.2024 14:23:43
scb

scb

3 сообщений из 15 понравились пользователям.

Группа: User

To Overlord.

Your little fix did not work on my MXLinux. SmathStudio installs, but every time I try to load or save a file, SmathStudio stops and is showing the before mentioned message.
But I can easily live with the older version of SmathStudio, and I am not willing to change distribution, since I am very happy with MXLinux in every other respect.
Anyway - thank you for trying to help me out.

Yours Søren
#14 Опубликовано: 13.11.2024 18:44:18
francesco rapuano

francesco rapuano

12 сообщений из 38 понравились пользователям.

Группа: User

Hi Alvaro,

this is just a seek for clarification about your usage of the XY Plot because it is something new to me and it is very interesting .
To draw what is in the XY Plot module you write in Π a procedure that describe the steps needed to execute the drawing .
I was not aware that this was possible and moreover you use in Π the function gXY defined in the snippet area to execute/define some graphical primitives.
My question is where do you find info's that explain this method ? Can you add some detail on where this was documented in more detail ?
I apologize for these super newbie questions but as I stated initially is just for sake of learning something that looks to me very powerful and useful.

Thanks in advance for any help and best regards

Franco
#15 Опубликовано: 13.11.2024 19:50:59
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

He creatively recycle examples from the first page of the description of the X-Y Plot component, which supports a several settings of tasks for drawing.

XYPlot. Examples.sm (30 КиБ) скачан 1678 раз(а).
XYPlot. Examples.pdf (154 КиБ) скачан 1630 раз(а).

XYPlot. Text labels.sm (10 КиБ) скачан 657 раз(а).
XYPlot. Text labels.pdf (53 КиБ) скачан 577 раз(а).

XYPlot. Draw shapes.sm (19 КиБ) скачан 898 раз(а).
XYPlot. Draw shapes.pdf (92 КиБ) скачан 705 раз(а).
Russia ☭ forever, Viacheslav N. Mezentsev
#16 Опубликовано: 13.11.2024 22:06:40
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: Moderator

Wrote

Your little fix did not work on my MXLinux.


This could be happening because your mono version is very old.
Latest is 6.12 I guess. but if you don't need new versions that's ok.

mono.png

#17 Опубликовано: 14.11.2024 01:18:44
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Ciao Franco. As Viacheslav says, I use the available elements according to their functionality. Also remember how line() works: it returns only the last value it has present, and can be used in many contexts, for example, in a table

line.png

TableWithLine.sm (6 КиБ) скачан 50 раз(а).

Best regards.
Alvaro.

#18 Опубликовано: 14.11.2024 01:36:20
francesco rapuano

francesco rapuano

12 сообщений из 38 понравились пользователям.

Группа: User

Thanks a lot Uni and Alvaro for your suggestions.
In the aim of better learning of the xy Plot region features I am now reading again all the pages ( about 30 ) of this topic hoping that seeing the hystorical evolution of the PlugIn there is the possibility to improve the undertanding of its features and of the directions that is takeing the development of the new ones ( unlukily due to my ignorance I am starting to get lost with the new features previewed in the last posts about this topic ).

Thanks again and best regards

Franco
#19 Опубликовано: 14.11.2024 04:19:34
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Minor code optimization. The number of primitives (Points) will be halved.
It makes sense to add a draw string for shapes.

geom-scb-v4.sm (44 КиБ) скачан 51 раз(а).

xyplot-gXY-Point.png

geom-scb-v4.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Alvaro Diaz Falconi 14.11.2024 04:51:00
#20 Опубликовано: 14.11.2024 04:55:15
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Wrote

Minor code optimization. The number of primitives (Points) will be halved.
It makes sense to add a draw string for shapes.



Hi Viacheslav. Thanks, looks good.

Plugin less version, for instance, it works in live SMath: https://smath.com/en-US/cloud/worksheet/mCZMURm2

geom-scb-real-valued.sm (28 КиБ) скачан 50 раз(а).

real.png

Best regards.
Alvaro.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений