Answer:
no_of_shares = int(input("Enter the number of shares: "))
purchase_price = float(input("Enter the purchase price of the stock: "))
sale_price = float(input("Enter the sale price of the stock: "))
total_stock_price = purchase_price*no_of_shares
total_spend_on_buying = total_stock_price + (0.03*total_stock_price)
total_sale_price = sale_price*no_of_shares
commission_while_selling = total_sale_price*0.03
net_gain_or_loss = total_sale_price - (total_spend_on_buying + commission_while_selling)
if(net_gain_or_loss<0):
print("After the transaction, you lost {} dollars".format(abs(net_gain_or_loss)))
else:
print("After the transaction, you made {} dollars".format(abs(net_gain_or_loss)))
Answer:
0.127 miles ; 5.458 *10^8 miles
Explanation:
Number of bytes needed to store a page = 2000
Number of pages (Harry Potter's book) = 800
Total memory required to store entire book = (2000 * 800) = 1600000 = 16 * 10^5 bytes
Hence,
1 byte of memory will store : (height of each book / memory size of each book)
= 3 ÷ 16 * 10^5
= 1.875 * 10^-6
For 32 bit memory space :
(1.875 * 10^-6 * 2^32) = 8053.06368 inches
1 inch = 1.578 * 10^-5 mile
8053.06368 inches = 8053.06368 * (1.578 * 10^-5) = 0.1270773448704 miles
= 0.127 miles
For 64 bit memory size :
(1.875 * 10^-6 * (2^64)) = 3.45876 * 10^13 inches
(3.45876 * 10^13) * (1.578 * 10^-5)
= 5.458 *10^8 miles
Answer:
c. Install a proxy server
Explanation:
In computing a proxy server is implemented as a middle 'man' between the user and the internet. It will hence behave as a gateway that will seperate users from the websites that they browse. The major importance of a proxy server is enforcing security, however it can also act as a web filter allowing organizations to restrict access to certain websites. So when an organization or a school wishes to prevent access to certain sites a proxy server will be implemented, in the question scenario this web filter feature can be used to save cost associated with visiting sites not relevant to the organization's objectives
The answer to your problem is 76 because u have to multiply them u have to add them u have to divide but the original mumber
Answer:
Trunking.
Explanation:
In Computer Networking, to allow a device on the first switch in VLAN 1 to communicate efficiently with a device on the second switch also in VLAN 1, you should configure trunking protocol on the switch.
Trunking is a communication technique used to transmit packets simultaneously to users on a network by using multiple lines or frequencies.