Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
makuks
/
iax0583
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3fd479cd
authored
6 years ago
by
makuks
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Homework1.c
parent
e37e7c4b
master
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
Homeworks/Homework1.c
Homeworks/Homework1.c
View file @
3fd479cd
...
@@ -32,14 +32,14 @@ double denominator;
...
@@ -32,14 +32,14 @@ double denominator;
nominator
=
(
2
*
x
)
+
1
;
nominator
=
(
2
*
x
)
+
1
;
denominator
=
(
pow
(
2
*
pow
(
x
,
2
)
+
3
*
x
+
4
,
3
));
denominator
=
(
pow
(
2
*
pow
(
x
,
2
)
+
3
*
x
+
4
,
3
)
-
7
);
if
(
denominator
<
0
){
if
(
denominator
<
0
){
printf
(
"Function value is a complex number"
);
printf
(
"Function value is a complex number"
);
}
else
{
}
else
{
if
(
denominator
==
0
||
denominator
==
49
){
if
(
denominator
==
0
){
printf
(
"Function value is not available"
);
printf
(
"Function value is not available"
);
}
else
{
}
else
{
denominator
=
sqrt
(
denominator
)
-
7
;
denominator
=
sqrt
(
denominator
);
y
=
nominator
/
denominator
;
y
=
nominator
/
denominator
;
printf
(
"y value: %lf"
,
y
);
printf
(
"y value: %lf"
,
y
);
printf
(
"
\n
"
);
printf
(
"
\n
"
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment