write an alogorithm and draw the Flow Chart to
Find the Rost or quardratic equation.
2
ax² + 3x + C = 0
the Coefficont abc
are the input data
the Coefficent d is the Output data.

Answers

Answer 1

In computer programs, algorithms and flowcharts are used as prototypes of an actual program

The algorithm

The algorithm of the program is as follows:

Input a, b, cCalculate d using d = b*b - 4 * a * cIf d < 0, print "Complex roots"ElseCalculate x₁ using x₁ = (-b + sqrt(d))/4 * a * c)Calculate x₂ using x₂ = (-b - sqrt(d))/4 * a * c)Print x₁ and x₂End

The flowchart

This is always in represented using a diagram

See attachment for the flowchart.

Read more about flowchart and algorithms at:

https://brainly.com/question/16763367

#SPJ1

Write An Alogorithm And Draw The Flow Chart ToFind The Rost Or Quardratic Equation.2ax + 3x + C = 0the

Related Questions

When creating an if() statement, when are curly braces required?
A. when there is only one statement line related to the test condition
B. when there are two or more statement lines related to the test condition
C. never
D. always

Answers

Answer:

B. When there are two or more statements lines related to the test condition.

Sorry if I got it wrong.

A square QR code contains 40×40 tiny squares (pixels) where each tiny square represents a 0 or a 1. Calculate how many bytes of data can be stored on the QR code​

Answers

Answer:

Explanation:

QR Codes are made of multiple rows and columns. The combination of these rows and columns makes a grid of modules (squares). There can be a maximum of 177 rows and 177 columns which means the maximum possible number of modules is 31,329. With the eye, these are just small squares and mean very little, but the exact arrangement of those modules allows the QR Code to encode its data. This means that, unlike traditional barcodes which are 1 dimensional and use 1 row of lines, QR Codes use 2 dimensions which allows them to store a lot more data in the same area of space.

You add a filter by condition, and set the condition to [Weight]>50. How will this affect your data? in tableau

Answers

It will only show items whose weight is over 50 is the  way it will this affect data. When the computed field is utilized in the filter, only items with a weight greater than 50 are kept.

How do the person filter by condition in Tableau?

There are five steps involved in it that are given below-

In the Filter Window, go to the 'Condition' tab.Select the 'By field' radio button.From the drop-down list, choose the name of the filtered field.Choose an aggregation type from the drop-down menu, such as Sum, Average, or Median.From the drop-down menu, select the operator.

Thus, It will only show items whose weight is over 50

For more details about person filter by condition in Tableau, click here:

https://brainly.com/question/25531734

#SPJ1

When evaluating an OR operator, what is necessary for execution.
A. Only one condition can be true
B. One condition must be true
C. Both conditions must be true

Answers

Answer:

B

Explanation:

Numerous engineering and scientific applications require finding solutions to a set of equations. Ex: 8x + 7y = 38 and 3x - 5y = -1 have a solution x = 3, y = 2. Given integer coefficients of two linear equations with variables x and y, use brute force to find an integer solution for x and y in the range -10 to 10.

Ex: If the input is:

8
7
38
3
-5
-1
Then the output is:

x = 3 , y = 2
Use this brute force approach:

For every value of x from -10 to 10
For every value of y from -10 to 10
Check if the current x and y satisfy both equations. If so, output the solution, and finish.
Ex: If no solution is found, output:

There is no solution
Assume the two input equations have no more than one solution.

Note: Elegant mathematical techniques exist to solve such linear equations. However, for other kinds of equations or situations, brute force can be handy.

Answers

The brute strength method determines if each x and y value satisfies both conditions. To do this, we must iterate through each result in the specified range and insert them into both models.

What are Elegant mathematical technique?

ALGORITHM :

1. Take the values of all coefficients and SET flag = FALSE

2. Run a FOR loop for x in range (-10, 11). 11 won't be included.

2a. Inside the first FOR, start the y FOR loop in range(-10,11). 11 won't be included

2b. Inside the y FOR loop, check IF for a particular value of x and y both the equations satisfied.

2c. If yes, set flag TRUE and print values of x and y.

2d. ELSE the flag stays FALSE.

END FOR Y

END FOR X

3. Check if flag = FALSE, then print NO SOLUTION

PYTHON CODE :

a=int(input()) #taking input for each coefficient

b=int(input())

c= int(input())

a1= int(input())

b1= int(input())

c1= int(input())

flag = False

for x in range(-10,11): #checking for all values of x in range -10 to 10

for y in range(-10,11): #checking for all values of x in range -10 to 10

if (a  x + b  y – c == 0) and (a1*x + b1*y - c1 == 0) : #checking if the x and y values satisfy the equation

flag = True #setting the flag if solution is found

print('Solution : x = {-10, 10}, y = {-10, 10}'.format(x,y)) #if they satisfy print x & y

if flag = False : #if flag stays false, that means there is no solution

print('No solution')

OUTPUT : The output is given below.

More about the Elegant mathematical technique link is given below.

https://brainly.com/question/27934739

#SPJ1

If 294.00 units are made and demand is 287.00. Your fixed expenses are $1257.00. Your variable cost per unit is $2.25. Your Sales price is 6.49. The variable expenses for the day is?

Answers

If the  294.00 units are made and the cost per unit is $2.25 then variable expenses for the day is $661.5.

Given that 294.00 units are made and the variable cost per unit is $2.25

We have to find variable expenses for the day.

Total variable expenses for the day are a product of the output and the variable cost per unit.

So the variable expenses = no. of output x variable cost per unit

Variable expenses = 294 x 2.25

Variable expenses = 661.5

Hence the variable expenses for the day is $661.5

Learn more about variable expenses here: https://brainly.com/question/8225307

#SPJ10

The layer of ISO/OSI model organizes bits into logical data unit

Options:
(a) transport
(b) data-link
(c) network
(d) physical ​

Answers

Answer:

Physical Layer

Explanation:

Physical Layer: It is responsible for the actual physical connection between

the devices. The physical layer contains information in the

form of bits.

Write short notes on the following:
I. keyboard ii.Control unit iii.printer​

Answers

Answer:

- the Keyboard:

The keyboard is a handheld device used to input alphabet, numbers, symbols and characters to a monitor. It also houses the special manipulative and function keys.

- the Control Unit:

The control unit is a component of the CPU which directs the operation of the processor.

- the Printer:

The printer is an external hardware output device which takes electronic data stored on a device and creates a hard copy.

What are three benefits of sharing on social media?

Answers

Answer:

reach more organization

get viral to whole entire nation

it also enhance to people's knowledge and quatable understandment

1.- Make a program that loops and perform powers of 5 on each loop.
In each lap the operator is asked IF YOU WISH TO CONTINUE (1 or 0) if the operator enters a zero it will no longer continue to spin. IN CODE C++

Answers

A program that loops and performs powers of 5 on each loop.In each lap the operator is asked IN CODE C++ the C++ Program for the given hassle announcement is as follows:#include the use of namespace std.

What is the energy of a variety of?

The energy of a variety of says how usually to apply the range in a multiplication. Powers also are known as Exponents or Indices. For example, eight^2 might be known as “eight to the energy 2” or “eight to the second one energy”, or simply “eight square.

C++ Program for the given hassle announcement is as follows:#include the use of namespace std;int main() > base;cout << "nEnter the exponent: ";     //asks the user for keyboard input for exponent cin>>exponent;  for (int i = 1; i <=exponent; i++)    //iterate {through|thru|via">via 1 until exponent {       num=num*base; //base is multiplied (e.g. 2*2*2.....n) until n, wherein n is exponent    } cout <<"n"<strength of "<go back 0;}Sample Output:Stdin Inputs

Read more about the loops :

https://brainly.com/question/26497128

#SPJ1

➪ How many types of Engineering are there in the world ?
⛄​​

Answers

Answer:

in bohot terms engineering can be divided into four main categories chemical civil electrical and mechanical enginearing each of these types of require different skills and engineer education

There are mainly five types of engineers found in the world. Each of them has a different set of skills and knowledge concerning their relative field.

Who is called an Engineer?

An Engineer may be defined as an individual who formats, designs, modifies, and creates machinery or technical equipment like software programs, construction buildings, bridges, etc.

The five types of Engineers are as follows:

Civil Engineers. Chemical Engineers.Electrical Engineers. Mechanical Engineers. Computer Engineers.

Civil engineers deal with the construction of buildings, bridges dams, airports, etc. Chemical engineers are associated with developing the products such as medicines, petrochemicals, plastics, etc.

Electrical engineers design and develop the manufacturing of electrical equipment like navigation systems, radar, communication systems, electric motors, etc.

Mechanical engineers always maintain their focus on manufacturing power-producing and power-using machines like electric generators, gas turbines, refrigerators, air-conditioners, etc.

Computer engineers deal with designing, manufacturing, and examining all software operated within an institution's computer system.

All such types of engineers work in their respective fields for designing, and manufacturing products and their delivery which makes the life of an individual easy, efficient, and reliable.

Therefore, it is well described above.

To learn more about Engineers, refer to the link:

https://brainly.com/question/17169621

#SPJ1

what are the effects of information systems in the management of corona ?

Answers

The effects of information systems in the above are:

It is used for Remote access and working remotely.Managing supply chain issues.What is impact of information system?

Information systems is one  that has helped to lower the number of levels in an organization by giving managers with a lot of information to monitor larger numbers of workers.

Note that The effects of information systems in the above are:

It is used for Remote access and working remotely.Managing supply chain issues.

Learn more about information systems from

https://brainly.com/question/14688347

#SPJ1

Briefly explain the importance of doing backup in systems administration and explain in detail any three methods for performing backup!?​

Answers

Answer:

Importance of backup in system administration:

Backups are crucial in system administrations for preserving continuity and protecting against specific types of hardware failures, service interruptions, and human mistakes. To aid a company in recovering from an unexpected catastrophe, backup copies make it possible to restore data to a previous point in time. To safeguard against primary data loss or corruption, it is essential to save a copies of data on a different media. When a system administrator create a backup, he makes a copy of the data that you can restore if your main data is lost. These errors may be the consequence of faulty hardware or software, corrupted data, or a human error like a targeted attack or an unintentional deletion. System backup and recovery is therefore a crucial skill for system administrators as well as the companies they work for.

Three methods for performing backup:

Disk image: A efficient method to back up not only the files and directories but also everything else on the system is by creating a disk image. If a user have a disk image, the user can restore everything, including the operating system, applications, data, and more, so the user won't have to worry about any difficulties. Placing the  disk image-containing DVD into the DVD-ROM to restore the backup. Additionally, just attach an external HDD to the computer if the user have a disk image that they made.External hard drive: The most common backup method is to use an external hard drive or even a USB flash drive. An HDD can be easily, quickly, and affordably backed up. It is effective since consumers may carry their portable backup with them wherever they go. Cloud backup: Cloud backup or Online backup has been around for a while, but not many people really utilize it. But the greatest backup technique by far is cloud backup. The user does not have to worry about hardware problems because their files are saved in the cloud and can be accessed from anywhere because the backups are automatically produced and everything is synchronized. It is one of the greatest methods to backup, especially when you consider that the contents are encrypted and stored securely.

What is the result of the following code?
int x = 1;
switch(x)
{
case 1: printf( "Help" );
case 0: printf( "Me" );
break;
case 2: printf( "Hello World" );
}
A. HelpMe
B. Help
C. Help Me
D. Hello World

Answers

Answer:

B: Help

Explanation:

During the execution of this switch statement, it will print "Help" because that's the only case that matches the value of x, it will not print "Me" because that case does not match, so it will fall through that case into the break statement.

What federal law requires manufacturers to put care labels on their garments and fabrics sold by the yard?

Answers

CARE LABELING RULE which requires manufacturers and importers to attach care instructions to garments.

What is wrong with this case statement -> case 2:
A. cases must be capitalized
B. cases must use a ; and not a :
C. nothing

Answers

Answer:

C: Nothing

Explanation:

Assuming this case is acting upon a switch on an integral value, there is nothing wrong with this case header.

var x = 10;

switch (x)

{

case 2:

     Console.WriteLine("The value of 'x' is 2!");

}

Why do we need to connect computers"​

Answers

Answer:

batteries cant last connected to nothing forever probably

4.24 LAB: Exact change
Write a program with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, and Pennies. Use singular and plural coin names as appropriate, like 1 Penny vs. 2 Pennies.

Ex: If the input is:

0
or less than 0, the output is:

No change
Ex: If the input is:

45
the output is:

1 Quarter
2 Dimes

Answers

The Exact change program is an illustration of conditional statements;

Conditional statements are used to make decisions

The Exact change program

The Exact change program written in java programming language, where comments explain each action purposes

import java.util.*;

public class Money{

public static void main(String [] args){

Scanner input = new Scanner(System.in);

// Declare Variables

int amount, dollar, quarter, dime, nickel, penny;

// Prompt user for input

System.out.print("Amount: ");

amount = input.nextInt();

// Check if input is less than 1

if(amount<=0)  {

  System.out.print("No Change");  }

else  {

  // Convert amount to various coins

  dollar = amount/100;   amount = amount%100;

  quarter = amount/25;   amount = amount%25;

  dime = amount/10;   amount = amount%10;

  nickel = amount/5;   penny = amount%5;

  // Print results

  if(dollar>=1)    {

    if(dollar == 1) { System.out.print(dollar+" dollar\n");}

  else { System.out.print(dollar+" dollars\n"); }

}

if(quarter>=1){

if(quarter== 1){System.out.print(quarter+" quarter\n");}

else{System.out.print(quarter+" quarters\n");}

}

if(dime>=1){

if(dime == 1){System.out.print(dime+" dime\n");}

else{System.out.print(dime+" dimes\n");} }

if(nickel>=1){

if(nickel == 1){System.out.print(nickel+" nickel\n");}

else{System.out.print(nickel+" nickels\n");}}

if(penny>=1){

if(penny == 1) {System.out.print(penny+" penny\n");}

else { System.out.print(penny+" pennies\n"); }}}}}

Read more about conditional statements at:

https://brainly.com/question/11073037

#SPJ1

You get a text. It is a reminder from your dentist’s office that you have an appointment tomorrow. It says to type “1” to confirm or “2” to cancel the appointment. You accidentally type a “3” and nothing happens. How could the input validation be improved?

Answers

Answer:

Redo the one you want

Explanation:

Redo the "1" if you are confirming the appointment

Or "2", if you do not.

Do not fret over this worse, comes to worse call your dentist back and explain you hit the 3 by mistake and then tell them your decision .

Complete the sentence about bias and equity.
There is a lack of
in the field of computer science.

Answers

Answer:

diversity

Explanation:

Complete the sentence about bias and equity.

There is a lack of  

diversity

in the field of computer science.

got it right

Answer:Below

Explanation:

What is an operating system on an IBM computer?
a. GUI
b. Microsoft Windows
c. Mac OSX

Answers

Answer:

Microsoft Windows

Explanation:

2. Why do old video games have large pixels and images with jagged edges?
Because that was the style at the time.
Because it allowed for larger files.
Because it allowed for smaller files.
Because smaller pixels didn't exist.

Answers

Answer:

A

Explanation:

cuz yea

work done by computer as per the instructions is called​

Answers

Answer:

The process of storing and then performing the instructions is called “running,” or “executing,” a program. By contrast, software programs and procedures that are permanently stored in a computer's memory using a read-only (ROM) technology are called firmware, or “hard software.”

Explanation:

hope it helps you and give me a brainliest

Answer: A computer obeying its orders

Explanation:

The process of storing and then performing the instructions is called “running,” or “executing,” a program. By contrast, software programs and procedures that are permanently stored in a computer's memory using a read-only (ROM) technology are called firmware, or “hard software.”

Question 7 * What is the default powerpoint standard layout A Blank B Title slide C Title only D. Comparison ​

Answers

Answer:

B. Title slide layout is the default PowerPoint standard layout.

What is CPU? List its major parts.​

Answers

Answer:

The central processing unit is the brain of the computer. it is the part of the computer which performs manipulations. it is also called the microprocessor.

components of the CPU: The control unit, the arithmetic and logic unit, the register and the memory unit.

I hope you understand:-):-)

The layer of the ISO/OSI responsible for source to destination delivery.

Options:
(a) transport
(b) network
(c) data-link
(d) session ​

Answers

Answer:

(b) network

Explanation:

The Network Layer is the OSI Model's third layer. It is in charge of packet transport from source to destination or host to host across various networks. The layer receives data from the transport layer, adds a header to it, and sends it to the data link layer.

of
tion
TCP/IP was developed in the 1960s to enable university scientists to locate other computers on the Internet.
Select one:
O True
O False

Answers

Answer:

True

Explanation:

What’s the main purpose of a personality test?

Answers

Answer:

Which of following is not anelectroyte

Personality tests are designed to systematically elicit information about a person's motivations, preferences, interests, emotional make-up, and style of interacting with people and situations.

Suppose that you have the following definitions:
struct time Type
struct tourType
{
int hr;
double min;
int sec;
string cityName;
int distance;
timeType travelTime;
};
};
a. Declare a variable destination of type tourType.
b. Write C++ statements to store the following data in destination: cityName - Chicago, distance -- 550
miles, travelTime - 9 hours and 30 minutes.
c. Write the definition of a function to output the data stored in a variable of type tourType.
d. Write the definition of a value-returning function tat inputs data into a variable of type tourType.
e. Write the definition of a void function with a reference parameter of type tourType to input data in a
variable of type to tourType

Answers

Suppose that you have the following definitions:struct time Type struct tourTypen the variable destination of type your type are tourType input(){cout<<"Enter the city, distance and time in hr and min"<>destination.city name;

What is C++ statements?

Expression statements. These statements examine an expression for its aspect outcomes or for its go-back value. Null statements. These statements may be supplied in which a declaration is needed with the aid of using the C++ syntax however in which no motion is to be taken.

#include#includethe use of namespace std;struct timeType;struct tourType;tourType destination;tourType input(){cout<<"Enter the city, distance and time in hr and min"<>destination.cityName;cin>>destination.distance;cin>>destination.travelTime.hr;cin>>destination.travelTime.min;go back destination;}void display()cityName;d.distance = t->distance;d.travelTime.hr = t->travelTime.hr;d.travelTime.min = t->travelTime.min;">int main().

Read more about the variable :

https://brainly.com/question/2804470

#SPJ1

Build python

Prompt the user for the length,width and height of a room.


Calculate the area of the floor. (length*width)


Calculate the volume of the room. (length*width*height)


Display the area and volume to the user.


Open a file named “roomdata.txt”.


Write the area and volume to the file.

Answers

Answer:

You'd have to create a "roomdata.txt" file before writing to it.

Explanation:

#Python Geometry

lenght = int(input("Enter lenght: "))

width = int(input("Enter width: "))

height = int(input("Enter height: "))

def floor_area(area);

area = 0

area = lenght * width

return area

def room_volume(vol);

vol = 0

vol = lenght * width * height

return vol

print ("Area of floor = ", floor_area, "/n Volume of room = ", room_volume)

f = open ("roomdata.text", "w")

f.write("Area of floor = ", floor_area, "/n Volume of room = ", room_volume)

f.close()

Other Questions
PLEASE HELP!!!How do Indians "negotiate their place as independent actors in the struggles between first the British and the French and then between the British and the Americans? What diplomatic and political strengths do they have? The greatest progress in reducing atmospheric levels of lead pollution resulted from Group of answer choices the switch from lead to graphite in pencils. new types of lead scrubbers on smokestacks that removed lead from the air. the development of new types of batteries that use lithium instead of lead. the elimination of leaded gas. can someone please help meee A metal block has a density of 5000 kg per cubic meter and a mass of 15,000 kg. What is its volume? Determine the equation of the line that passes through the given points. (If you have a graphing calculator, you can use the table feature to confirm that the coordinates of both points satisfy your equation.) (-5, 10) and (5, -10) a. y = 2x-10 b. C. d. y = 2x y = -2x+ 20 y=-2x A find the prem of shaded shape lim(lnx-ln4/x-4) as x approaches 4 Progressives, such as Woodrow Wilson, supported financial reforms because they believed the nations financial system was overly controlled bylabor unions.state governments.foreign countries.big business. Why is it important to know about your digital footprint? Practice Question: f(x)= 3x^2 + 4x - 6g(x)= 6x^3 - 5x^2 - 2Find (f + g)(x)Answer Options (Choose one): A. (f+g)(x) = -6x^3 + 8x^2 + 4x -4 B. (f+g)(x) = 6x^3 + 3x^2 - x - 8 C. (f+g)(x)= 6x^3 - 2x^2 + 4x - 8D. (f+g)(x)= 9x^3 - x - 8 8Diameter;Radius:B(a) Find the perimeter of the square(b) Find the area of the square Area =(c) Find the circumference of the circle C = 2r(d) Find the area of the circle. Area = r(e) Find the area of the region between the square and the circle EASYYYY I WILL MARK BRAINLYWorldwide, what percentage of human water usage is the result of agricultural activity? What are some of the ways water is used in industry? 3012 10.0 pointsA car with mass 1060 kg crashes into a wall.The car's velocity immediately before the col-lision was 14.6 m/s and the bumper is com-pressed like a spring with spring constant1.14 107 N/m.What is the maximum deformation of thebumper for this collision?Answer in units of m.013 10 A decrease in the autonomic tone of the smooth muscle in a blood vessel would result in. Read the excerpt from It's Our World, Too!: Young People Who Are Making a Difference.Neto decided to ask Andy Percifield for help. Percifield was the student council president, a tall, red-haired senior who always read the morning announcements over the P.A. system. Neto didn't know him, but people who did said Percifield was smart and fair. Maybe he would know what to do.Neto was waiting by Andy's locker the next morning. "He had tears in his eyes," Andy remembers. "He said that adult fans were swearing at the Mexican players and that it wasn't fair. He was really hurting. He said, 'Is there any way you can help?' I told him I'd try."The authors purpose in this excerpt is toprompt an emotion in the reader.convey details about the characters.encourage the reader to do something.express an opinion about a topic. does anyone know how to simplify this problem ustedes jugar individuales o dobles en el tenis?*1 pointprefierespreferemospreferenprefiereprefierenMichelle y yo _________ nuestra tarea a las dos.*1 pointcomienzamoscomenzamoscomienzancomienzocomienza _____ t hablar espaol bien?*1 pointpuedespoderespuedenpodesEl equipo _____ que va a ganar.*1 pointpiensenpiensapiensanpensaJuana y Pablo _________ la pelota de tenis.*1 pointperdepierdespierdenpierdeperdemosLos jugadores _________ a volver al campo por el segundo tiempo.*1 pointempezanempezamosempiezaempiezanempiezasFernando y t no _____ estudiar espaol.*1 pointqueirenquieresquerenquierenNosotros _________ el partido al otro equipo.*1 pointpierdespierdemospierdenperdemospierdeEl ctcher _____ la pelota al pcher.*1 pointdeveulvesdevuelvedeveulvedevolvesUds. _____ ftbol americano en el otoo.*1 pointjuegenjuegajuganjueganNosotros _________ jugar al futbol.*1 pointquieroquieresqueremosquierequieremosYo no ____ bailar bien.*1 pointpodopuedopierdopodeo _________ Pablo jugar al tenis o al voleibol? *1 pointpreferemosprefieresprefierenprefereprefiere _________ t jugar al tenis o al voleibol? *1 pointprefiereprefieroprefieresprefierenpreferesMiguel _________ el baln en la cancha de baloncesto.*1 pointpierdoperdepierdepierdenpierdesLast name*Your answerFirst name*Your answer _________ usted jugar al tenis o al golf? *1 pointempiezaempiezasempezaempiezoempiezanempezamosYo _____ a mi casa despus de clases.*1 pointvolviovolvovuelvoveulvoYo _____ baloncesto con mis amigos en el gimnasio los fines de semana.*1 pointjugojuegojiegojeugoMi hermano _____ ocho horas cada noche.*1 pointduermoduermeduermesdormoYo no _________ jugar a los deportes. Soy perezoso.*1 pointquierequeremosquieroqueroquieres flow without having a particular pattern and express an idea or story.O Narrative poemsO Lyric poemsO LimericksO Free-verse poems Consider the equation. Which graph shows a line that is perpendicular to the line defined by the given equation? A. In a linear graph line diagram, A line passes through (minus 4, minus 2) and (2, minus 0.5) which intersects the x-axis at 4 units and the y-axis at minus 1 unit. B. In a linear graph line diagram, A line passes through (2, 0.5) and (minus 4, 2) which intersects the x-axis at 4 units and the y-axis at minus 1 unit. C. In a linear graph line diagram, A line passes through (2, 4) and (0.5, minus 2) which intersects the x-axis at 1 unit and the y-axis at minus 4 units. D. In a linear graph line diagram, A line passes through (2, minus 4) and (0.5, 2) which intersects the x-axis at 1 unit and the y-axis at minus 4 units. If 1-cosA = 1/2 , Then find the value of sinA.