num1 = float(input("Enter the first number: "))
num2 = float(input("Enter the second number: "))
operation = input("Which operation are you performing? (a/s/m/d) ")
if operation == "a":
print("{} + {} = {}".format(num1, num2, num1+num2))
elif operation == "s":
print("{} - {} = {}".format(num1, num2, num1-num2))
elif operation == "m":
print("{} * {} = {}".format(num1, num2, num1*num2))
elif operation == "d":
print("{} / {} = {}".format(num1, num2, num1/num2))
I hope this helps!
Answer:
B
Explanation:
Every HTML document must begin with a declaration of what the document is going to be about.
Answer:
One major benefit effective communication has in resolving a conflict is the resultant reduction in anxiety, whether within a family or in the workplace. ... Using effective verbal – and nonverbal – communications further contributes to a successful resolution of conflict, either between individuals or within a group.
Answer:
The statement is "True".
Explanation:
Explanation of this statement can be given as:
- Taylor's mother meant that the "universe is open to everything you do online, everyone can see". This statement true, because people will hack your profile unless you label these as personal, even re-post material that you have shared.
- In other words, we can say that a profile is placed on private in social media, it's not always free and your friend can use it, and they can share your personal information. It is difficult to uninstall once it is out there.
Answer:
Program to Plot the power in Watts
voltage=1:200;
resistance=1000;
current=voltage/resistance;
power=current.*voltage;
plot(voltage,power);
xlabel('Voltage in Volts');
ylabel('Power in Watts'); //plot of this program is attached
Program for power in dBW
voltage=1:200;
resistance=1000;
current=voltage/resistance;
power=current.*voltage;
powerdB=10*log10(power);
plot(voltage,powerdB);
xlabel('Voltage in Volts');
ylabel('Power in dBW'); // plot output is also attached
I hope it will help you!