cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Variable issue

Yunus_Demirol
8-Gravel

Variable issue

Hello, 

I want to see a variable from an equation. But I did some practice, and I couldn't get any solution. Can you help me I attached the file. 🙂

 

 

ACCEPTED SOLUTION

Accepted Solutions

You should define A(t) as a function like this

Werner_E_0-1695387217529.png

The way you defined it the function would only return 0 or 1 (false or true) because it was a boolean expression.

Now you can evaluate it at any position t

Werner_E_1-1695387322915.png

Unfortunately the symbolic solver is simply not capable enough to solve your equation

Werner_E_2-1695387351312.png

So you should use the numeric methods of Prime, either a solve block with "find" or the "root" function.

Werner_E_3-1695387433729.png

As your equation has multiple solutions as Cornel already stated, you get different solutions for different guess values

Werner_E_4-1695387477406.png

You may also use the root function without a guess value if you provide a range for the t-values

Werner_E_5-1695387528455.png

Here you see these three solution in the plots

Werner_E_6-1695387579488.png

We cannot distinguish the first two so we zoom in

Werner_E_7-1695387612570.png

 

And in case you are actually looking for the position(s) of the maximum, you may use the derivative in the root function

Werner_E_8-1695387713596.png

or at a different position and this time using the root function with a guess

Werner_E_9-1695387792490.png

 

 

 

 

 

 

View solution in original post

2 REPLIES 2
Cornel
19-Tanzanite
(To:Yunus_Demirol)

Because your A(t) cut t-axis in multiple points.

Cornel_2-1695386574849.png

 

Cornel_0-1695385807942.png

 

You should define A(t) as a function like this

Werner_E_0-1695387217529.png

The way you defined it the function would only return 0 or 1 (false or true) because it was a boolean expression.

Now you can evaluate it at any position t

Werner_E_1-1695387322915.png

Unfortunately the symbolic solver is simply not capable enough to solve your equation

Werner_E_2-1695387351312.png

So you should use the numeric methods of Prime, either a solve block with "find" or the "root" function.

Werner_E_3-1695387433729.png

As your equation has multiple solutions as Cornel already stated, you get different solutions for different guess values

Werner_E_4-1695387477406.png

You may also use the root function without a guess value if you provide a range for the t-values

Werner_E_5-1695387528455.png

Here you see these three solution in the plots

Werner_E_6-1695387579488.png

We cannot distinguish the first two so we zoom in

Werner_E_7-1695387612570.png

 

And in case you are actually looking for the position(s) of the maximum, you may use the derivative in the root function

Werner_E_8-1695387713596.png

or at a different position and this time using the root function with a guess

Werner_E_9-1695387792490.png

 

 

 

 

 

 

Announcements

Top Tags