Two electric charges in microcoulomb

Assignment Help Basic Computer Science
Reference no: EM13856334

Write a program force.c that asks the user for two electric charges in microCoulomb (µC) and their distance in centimeters (cm), and calculates the electric force between them in Newtons (N) using Coulomb's law:F = k ·q1 ∗ q2/r ∗ r,where k = 89.8755 N ·(cm)2/(µC)2. Declare all variables as double and print the answer to a 4-digitprecision.beginner in programming. not sure how to create a source code that stores the user input for the calculation. can i do it with just if statements or do i create a string; and if so how?

 

 

Reference no: EM13856334

Questions Cloud

How htc find new technologies in phones : It's about HTC the phone company and how they find new technologies in their phones. i need it to be done in 2 weeks which is 10/25/2015. it should be 20 pages. It should cover everything about the technology in their phones
Consequences of improper packaging for the exporter : What are the consequences of improper packaging for the exporter? Does your response depend on the Inco terms rule used? Does it depend on the insurance policy in force? What are some of the issues and risks that international packaging faces and tha..
Scholarliness of the articles within the field of psychology : scholarliness of the articles within the field of psychology?
What would immanuel kants categorical imperative : You are an expert security software programmer who works in top secret for the national government of the country of Zulu. Late one afternoon, you come across an ominous email in which you learn that a small group of sinister government officials fro..
Two electric charges in microcoulomb : Write a program force.c that asks the user for two electric charges in microCoulomb (µC) and their distance in centimeters (cm), and calculates the electric force between them in Newtons (N) using Coulomb's law:F = k ·q1 ∗ q2/r ∗ r,where k = 89.8755 ..
What is power tactics : What is Power Tactics? Review the writing of jay Haley, The Power Tactics of Jesus Christ And othert Essay" Review the leadership style, Tacticsof Jesus with the Servanthood leadership tactics of the 21st Century
The program should print out a total amount for the customer : Mike has a cellphone accessories shop that sells cases, memory cards, and headphones. He has a limited number of items that are available. He hired sales representatives to help him take the orders for these items. He finds that the sales represen..
Long-term consequences of enrons actions : By now, you should be very familiar with the Enron case. In the Module 4 SLP, we will evaluate the Enron debacle in the context of Corporate Social Responsibility. Specifically, socially responsible organizations behave in certain, ethical ways. What..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Define data access controls in the erp software to deny

Assignment builds on the scenario of Ken 7 Windows Limited given as the last section of this document. For this assignment, imagine yourself to be a security administrator working for Ken 7 Windows Limited. You have been asked to evaluate the option ..

  Draw an activity diagram with swimlanes

Use Visio to draw this problem to draw an activity diagram with swimlanes.

  Extracting company''s data using web data extractor

Extracting Company's Data Using Web Data Extractor

  Compare with that of a general pda

c) Could the Mark 100 or Mark 200X process this string: 0n1n? How about 1n0m1m0n? Succinctly justify you answer. d) How does the power of the Mark 100 and Mark 200X compare with that of a general PDA? Succinctly justify your answer.

  What is the geometric center frequency

A band-pass filter has a lower cutoff frequency of 100 Hz and an upper cut-off frequency of 144 Hz. What is the geometric center frequency? (Points : 3) 120 Hz 130 Hz 134.5 Hz 140 Hz

  What is maximum size of a file can be stores in file system

This file system has 12 direct disk blocks, as well as single, double, and triple indirect disk blocks. What is the maximum size of a file that can be stores in this file system?

  Distinguish between concurrent study and simultaneous

Q - Distinguish between concurrent study and simultaneous. A single processor can execute two or more programs concurrently but not simultaneously. Why ?

  The shipping charge on a purchase

The shipping charge on a purchase of $234.65 is $5.00.

  Design a nine-step counter to count

Design a nine-step counter to count in the following sequence using D flip-flops (TTL 7474): 0011, 0101, 1001, 1000, 1011, 1010, 0110, 0100, 0111, 0011, include in the design a means for resetting the counter to 0011.

  What do u get when u type in that subarray and why?

so there is an array called arr2=[ 1 2 3; -2 -3 -4; 3 4 5]; what does it mean to access the subarray arr2(:, 1:2:3)? like what do u get when u type in that subarray and why?

  Address the use of software repositories from fedora

Include only those repositories that are used by default in Fedora. Cite the resources that you used for writing this paper in the Chicago Manual of Style format.

  In order to create a unique field in a table in a database

1. in order to create a unique field in a table in a database you need to define a .viewprimary keyhost keyjoin2.a in

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd