How to function automatically change in dynamic text ?

Math123 shared this question 3 weeks ago

Pls see attachment and suggest solution for when i changed the function all values and function change accordingly in dynamic text?

1

??????

1

Like i have a function cos(x) , and x be any point on curve.

if i change function from cos(x) to say sin(x) if automatically change in text . Not only show the value of sin(x) = something. First it change sin(x) . it should should show sin first automatically convert from cos not just value at x.

1

In your file, when you move a, b and c, or A, all change dynamically in your text !

What do you want..?

1

i want if i change function from sin(x) to cos(x). it will show cos(x) , it automatically change to text COS from SIN , in dynamic text. not just give the value of cos(x) at point.

1

perhaps

1

ok

put f in a box (in text properties)

1

hello jumera, Pls see attachment. I want 2nd and 3rd line of text automatically when function changed.

1

2nd line : GG doesn't have a "substitute" command

for example if f(x)=cos(x) - x, substitute(f,x,3) give the text cos(3) -3

__________________

3rd line : GG doesn't have a command who analyze a string and give the results 0.99863 - 3

________________________

So..

1

Thanks jumera. But i remember once @rami give me the solution for this in one of attachment. I tried to find this attachment . but still not found this file.

1

@jumera There is a Substitute command, actually - https://wiki.geogebra.org/e... - but it's CAS only.

1

Of course

But it don’t do what Math123 want... (intermediated result)

1

A (tricky) possibility with CAS.

But it does not work with all possible expressions.

The problem is the automatic shortening by CAS. I was able to avoid this by splitting the expression in a list into its subcomponents. Potentially you can improve it by build a new list for each intermediate step and reassembling it for the display with sum.

.Note: I can't remember posting something like this before.

1

improved version

see \$1 and \$5 and the 4. row in Text1

Note: The list in \$1 and \$5 has mixed type of objects. Therefore DeleteUndefinide() not works.

But \{?} works and is a shorter command!!

1

Hi rami

You found something that is not in CAS help..!

if f is a function (for example f(x) = x² + x + 1)

Element (f,1) is x²

Element (f,2) is x

Element (f,3) is 1

cool... We can after this "substitute"...

______________________

Work also with

f(x) = 2.x

Element(f,1) is 2

Element(f,2) is x

...

1

Hello rami and GGB Team,

I need to change function several times. and wanted to show their calculations. If i write every time it take too long. Pls suggest automatically change intermediate form of function as asked in question.

1

Questions:

1. What does the student see on the screen at any given time: one formula or several?
2. If point 1 "1 formula": when does the formula change? If point 1 "several formulas": how many and how to display them?
3. Is one or more interaction between the student and the program: if so, please describe in detail.

Perhaps the above questions cannot be answered. Then please describe the problem in more detail.

Please give 5 samples of formulas.

Note: What do you mean with "team". Whatever you think what it is: are all the others not addressed? Maybe because you think they're second class? If so, you are very much mistaken. A normal greating say for example "Good morning" "Hello" or "Hello all" and does not restrict or preferred any circle of forum participants (also not rami! It's an affront to everyone else and I find it embarrassing and I hope that nobody will get the idea that I feel me as flattered)

And the same applies to "Waiting for your expert solution." --- "Waiting for your solution." is better because not restrictive. And nobody has to think about whether he is an expert enough to be allowed to answer you.

I mean, elitism masks the stupidity of lackeys.

1

What do you mean with "team".

Hello rami, I am not very good at English in my sense team are peoples those are all experts (that's why may be mistakenly is used word expert). Also whenever, i used word "team" means i addressed to everyone (nothing else).

Because in this thread i addressed you because you have already worked with this project. But, i also wanted to addressed all others as well so i used word "team".

I my sense team are peoples those are experts in their work. like "Football team / Cricket team" so all members of team are highly expert.

Specially but i don't know, the forum of GGB which mainly answered by GGB FAQ team/department?

or mainly answered by the users.

Pls delete/edit my previous post if i mistakenly write something wrong. I did not have access to edit.

1

Questions:

1. What does the student see on the screen at any given time: one formula or several? (They see one formula at a time which i write in input box. but their calculation automatically changed step vise as in attached)
2. If point 1 "1 formula": when does the formula change? If point 1 "several formulas": how many and how to display them?
3. Is one or more interaction between the student and the program: if so, please describe in detail. (I need to describe the function analysis using this project. Afterward students can use this.)

Perhaps the above questions cannot be answered. Then please describe the problem in more detail.

Please give 5 samples of formulas. (I have 3 functions as an example.)

1

I assume that the calculation of the integral should be traceable step by step.

Then the two questions arise:

1. By which method should the particular integral be calculated?
2. How should the calculation steps (according to the above method) be presented? Please with example.

There are many graphical (not tabular, step by step) representations for the most important methods in GGTube.

I also think that building an integral (step by step) should be treated as a separate applet (without the side aspect of calculating the Y-value for a given X-value for the function or given measuring-points to be integrated, because the many calculation steps will hardly have space on the available graphics.)

Here I have found a good possibility (Author: Ravinder Kumar)

1

Hmmm can i post ? (i am not from team GeoGebra) lol

"I need to describe the function analysis using this project. Afterward students can use this"

So you want that the student enter a calculation in an input box

and then you show a text with solution with all intermediate calculation

and this, with any calculation..? (i saw your 3 examples...)

Hmmm perhaps in some years, we ll have computers with big IA that can do that (perhaps lol)

Cool... I ll stay home instead of going in my school, speaking with my students lool

1

lol Thanks jumera and everyone for the support we are all team. Now i am also the part of this.

Pls see calculation box and use I need calculation without the integration .

1. In first step i need function which i entered in input box.

2. In second step constants (in terms of numbers) shown

3. (x,y) taken from point on curve.

4. then multiplication / square of individual terms.

1

maybe you mean this

but you give no answers to my questions. There's nothing to laugh about.

And sorry, in my words we are not a team (there is still a lot missing).

1

Calm down rami.. You are great man and highly supportive. I like to smile when someone angry so he smile as well.

I laugh with jumera on these "(i am not from team GeoGebra) lol" ..my explaination..

Sorry about whatever i said mistakenly.

I think there must be private chat in GGB.

1

maybe you mean this (Yes rami)

but you give no answers to my questions.

1. By which method should the particular integral be calculated? (In this thread i need function step by step calculation only which i mentioned "not integral")
2. How should the calculation steps (according to the above method) be presented? Please with example. (Pls see attached for calculation steps)

1

Quote: "maybe you mean this (Yes rami)"

.But your sample don't use this (yours is without CAS)

I think without CAS nothing is possible. And with CAS a small part is possible.

It's amazing that something at all is possible. GGB is not designed for this kind of application.

From my point of view it is pointless to continue investing in this topic. But maybe someone else has a new idea.

1

Yes rami, I don't want to use CAS. I need my function as written in https://help.geogebra.org/t... .

1

2

Ikon no 7 (from left) in the top of forum-text-editor. If the cursor is positioned over one of the icons, a text describing the icon appears.

I think you are the first user ask this.

1

this is the link of my comment.

Thanks i did it.

I think you are the first user ask this. " I learned so many thing which is first. I never hesitate to ask or learn. rami pls drink water sit down and smile ;-) "