11-04-2025 12:40 PM - edited 11-04-2025 12:48 PM
Do you have the formula but problems creating a graph?
See if this can give you some ideas (make sure you fully understand every part and can explain it to the teacher!)
Again:
11-04-2025 12:48 PM
Sorry to bother you, you can make 2 more schemes if it doesn't bother you, if you have time, if not, just refuse, I'll understand everything.You need to make a graph of a given area.
11-04-2025 01:07 PM
Привет, ребята! Подскажите, пожалуйста, где я ошибаюсь в формуле? Мне нужно построить график, как на первом фото. Не могли бы вы прислать мне правильную формулу?
11-04-2025 01:45 PM
You won't learn LabVIEW by having us do your class exercises for you. Do them yourself, and when if they don't work, post them (we prefer that you post VIs, but many of us, myself included, aren't running LabVIEW 2025, so you should "Save for Previous Version" and specify 2019 or 2021 for reaching more of us "old-timers") and we'll criticize your efforts so that you can "learn from your mistakes"..
Bob Schor
11-04-2025 01:45 PM
(There has been a flurry of posts from your classmates about this and similar problems. Maybe sit together and discuss.)
11-04-2025 01:51 PM - edited 11-04-2025 01:59 PM
@altenbach wrote:
(There has been a flurry of posts from your classmates about this and similar problems. Maybe sit together and discuss.)
This cracked me up! haha. Thanks!
11-04-2025 01:57 PM
Sorry, I thought I wrote it in English, but it immediately translated into Russian. I don't know the people who posted the problem; maybe we all follow the same curriculum. If it's not too much trouble, could you tell me what's wrong with the formula?
11-04-2025 05:00 PM
@foreverxyoung wrote:
If it's not too much trouble, could you tell me what's wrong with the formula?
You are missing the condition that a point also needs to be above the line going through points [-3,0] and [0,-3].
Can we assume you fully understand the rest of the code that you apparently mostly copied from here?
11-04-2025 05:20 PM
What kind of graph?
To reproduce the shaded areas, continue where we started and just modify the logic.
First graph:
A point needs to be below the parabola AND above that straight line if x is negative and above overwise.
(I assume you now the formula for the two curves, right? Simple math!)
Second graph:
For each circle: points are inside if their distance to the center is less that the radius.
For the square, points are inside if x and y are in the correct range.
The rest are simple boolean operations:
We gave you all the tools, now just assemble it into code!
11-04-2025 11:54 PM