blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2ea25fb9c0f1acc561bf5c8cd29f4658fe23f684 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH3/EX3.7/Ex3_7.sce | cec536a450bb1b0c868fef27b2d759e0e3eea77c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | Ex3_7.sce | clc
//initialisation of variables
w=5//m
w1=10//m
a=60//deg
y=9802//N/m^3
//CALCULATIONS
h=w+((w/2)*sind(a))//m
F=y*h*(w*w1)//kN
y2=w+w*sind(a)//m
Xp=w*[1-(1/3)*(w1+y2)/(w+y2)]//m
hc=w+Xp*sind(a)//m
//RESULTS
printf('The distance from to the center of pressure is=% f m',hc)
|
0c710b01dc00f781fc82a7b597df78cc39126197 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.15_8.tst | e6a4742b1dac2b99a523d4c87a5a2c26bfd00863 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 505,115 | tst | 5.15_8.tst | 15 183:1 1824:1 2713:1 3419:1 3576:1 3782:1 4065:1 5469:1 6277:1 6828:1 7668:1 7758:1 8197:1 8354:1 8597:1 9126:1 9443:2 9945:1 10003:2 11435:2 12184:1 12344:1 12863:1 13481:1 13691:1 13816:1 13825:1 13839:1 13950:1 15553:1 15557:1 16248:2 16962:1 18065:1 18215:1 18368:1 18374:1 18426:1 18449:1 19165:1 19575:1 19771:1 ... |
ef7eb2a82f72703a57e74f4ee2f83f653f7addc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH32/EX31.2/EX31_2.sce | b8d872f272086bbf5ec58a4baf7d530a84835180 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,845 | sce | EX31_2.sce | // Grob's Basic Electronics 11e
// Chapter No. 31
// Example No. 31_2
clc; clear;
// Claculate the following AC quantities Av, Vout, Pl, Pcc and percent efficiency. Also calculate the endpoints of ac loadline
// Given data
Icq = 7.91*10^-3; // Collector Currect(Q-point)=7.91 mAmps
Rl = 1.5*10^3; ... |
7dbc54781feefef0ebd1ad2317bae5ffc7f3ce0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH7/EX7.6/Example7_6.sce | f5aea829f4e3f968fc157db3ae3199e39a799df3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | Example7_6.sce | //Example 7.6
//Program to Calculate
//(a)Minimum Collector Current
//(b)Maximum Collector Current
clear;
clc ;
close ;
//Given Circuit Data
Vcc=20; //V
Rc=2*10^3; //Ohms
Rb=200*10^3; //Ohms
Beeta1=50;
Beeta2=200;
//Calculation CASE-1: Minimum Collector Current
Ibmin=Vcc/(Rb+Beeta1*Rc);
Icmin=Beeta1*Ibmi... |
c17076f7122d082773be7ead4b638885f8a20b41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH21/EX21.13.1/Ex21_1.sce | 77e98afaced4e910fca7745271b2755c5d1fb6f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,183 | sce | Ex21_1.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 21 Communication Systems
clc
clear
Npe=6*10^10//Npe=peak electron concentration for the E layer in m^-3
Npf=10^12//Npf=peak electron concentration for the F layer in m^-3
fCE=9*sqrt(Npe)//fCE=critical frequency for the E layer
format("v",5)
disp("MHz",fCE/1... |
a8f7a9bfff81ed0d376d90bee4fdb0887dda3287 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/1131.sci | 8c0adb55959fc1dfbab9da9d5f8a9e95d094e4dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 99 | sci | 1131.sci | m1=1.50 //kg
m2=3 //kg
Cv1=0.9 //cal/g C
Cv2=0.12 //cal/g C
Qdot=500 //W
T1=250 //C
T2=25 //C |
39c721910eedbe2ed1699ab265a95a6e2762836a | 367fb86cc145c187bc8aa89afab0f15f7e8826e4 | /functions/cv_Line.sci | a54d4845f096ee9e91a822d138883879a4ecd052 | [] | no_license | rishubhjain/funcforscilab | 19180cefb15a88df5cd55d91c2e50ab1829e4860 | 3f9fb8b1f467e1e89da1297bee8bd14645da5605 | refs/heads/master | 2021-01-23T00:15:23.622940 | 2015-04-22T09:32:28 | 2015-04-22T09:32:28 | 31,612,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sci | cv_Line.sci | function[image_ret]=cv_Line(image,start,end1,color1)
pyImport drawing_file
//omitted parameters like thickness, lineType, shift
image_ret=drawing_file.myLine(image,start,end1,color1)
endfunction |
daa84581f34717b50b63527b81575497de7ff450 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH1/EX0.2/EXI_2.sce | 63526e8114f56e353f8233b5a0e9aada3602791e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,054 | sce | EXI_2.sce | // Grob's Basic Electronics 11e
// Chapter No. I
// Example No. I_2
clc; clear;
// Express the following numbers in scientific notation: (a) 235,000 (b) 364,000,000 (c) 0.000756 (d) 0.00000000000016.
disp ('To express 235,000 in scientific notation, write the number as a number between 1 and 10, which is 2.35 in... |
5cd3478db473cc98e649ea2c34a064ab2bb3d7fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH1/EX1.5.2/ex1_5_2.sce | 4067642d4c3313a35eca44ae9d74f81147535f54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 559 | sce | ex1_5_2.sce | //Chapter-1,Example1_5_2,pg 1-30
//refer diagram from textbook
//in the said arrangement a cation is squeezed into 4 anions in a plane and 5th anion is in upper layer and 6th in bottom layer
//join cation anion centres E and B and complete the triangle EBF
//in triangle EBF m(angle F)=90 and EF=BF
//m(a... |
7a03cde966be7c5e559a0ba02b6bd2fe2e776d50 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/rat.man.tst | 5fbec71f8ad3ac649ea3390b56add69c0a129c33 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 61 | tst | rat.man.tst | clear;lines(0);
[n,d]=rat(%pi)
[n,d]=rat(%pi,1.d-12)
n/d-%pi
|
d3dcfe19ab98b99828da69076f77e28c5f30511f | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH5/EX5.4/ex5_4.sce | 2eaed325b114da0fc46b54f1155af3d5dbbebf01 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | ex5_4.sce | //Example 5.3
//Real roots of a Quadratic Equation
//read input data
printf("a = ");
a=scanf("%f");
printf("b = ");
b=scanf("%f");
printf("c = ");
c=scanf("%f");
//carry out the calculations
d=sqrt(b*b - 4*a*c);
x1=(-b+d)/(2*a);
x2=(-b-d)/(2*a);
//In scilab, no error message is genera... |
412f5c2b694aee9411b995705cc87e9b38d81f3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH9/EX9.1/ch9ex1.sce | 44d7aafc01cc1f21d7878ed180eda57211981af9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 476 | sce | ch9ex1.sce | //signals and systems
//fourier analysis of discrete time signals
//Example5.5:Discrete Time Fourier Transform:x[n]= sin(nWo)
clear;
clc;
close;
N = 0.1;
Wo = %pi;
W = [-Wo/10,0,Wo/10];
XW =[0.5,0,0.5];
//
figure
a = gca();
a.y_location ="origin";
a.x_location ="origin";
plot2d3('gnn',W,XW,2);
poly1 = a... |
afd9f92acebc661ae1bf45d808bef1064f142528 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH12/EX12.5/Ex12_5.sce | f17b802b4ccc2941b9f7147ed956fee3b5cdb37b | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 426 | sce | Ex12_5.sce | // Variable declaration
A = [2.8,0.75,3.7]
B = [0.0,-0.1,3.45]
C = [1.15,1.75,4.2]
D = [1.88,2.65,2.7]
n = 12
alpha = 0.05
// Calculation
t_thr = 2.201 // t(0.025) at dof = 11
Mean = (sum(A)+sum(B)+sum(C)+sum(D))/n
std_dev = 1.417
S_sq = 0.0234
lower = Mean - t_thr*std_dev/sqrt(n)
upper = Mean + t_thr*std_dev/sqr... |
c68f885ebd613ab1dc7a8e629aabd9fbfdef541b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH1/EX1.2/Ch01Ex2.sce | 1cba4831b153e034c78dc1bf453ce675781666b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 878 | sce | Ch01Ex2.sce | // Scilab Code Ex1.2: Page:26 (2011)
clc;clear;
c = 3e+008; // Speed of light in vacuum, m/s
delta_x = 2.45e+03; // Space difference, m
delta_t = 5.35e-06; // Time difference, s
v = 0.855*c; // Speed of frame S_prime, m/s
delta_x_prime = 1/sqrt(1-v^2/c^2)*(delta_x - v*(delta_t))*1e-03; // Distance ... |
94b0037bdad4d32b3fff65ddaf615943d1bbb5a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1304/CH1/EX1.5/1_5.sce | b4b1ca379dd43fd2f2b0e1571cae6b65541eeb67 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 676 | sce | 1_5.sce | clear;
clc;
printf("\t\t\tExample Number 1.5\n\n\n");
// calculating heat flow from tube to the air flowing across it
// solution
Tw =110 ;//[degree celsius] temperature of the tube
Tf =10 ;//[degree celsius] temperature of the air
v=5;//[m/s] velocity of air flow
hm=85;//[W/m^2 degree celcius] mean heat t... |
8885851a57417fe40481a2d8503fcb8b0970fb68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH8/EX8.13/Chapter8_Example13.sce | 1907a2c2d936e1f70aa098b42ef03fa365f27763 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | Chapter8_Example13.sce | clc
clear
//INPUT
m=5;//mass of air in gm
cv=0.172;//specific heat at constant volume cal/gm
dt=10;//changi in temperature in K
//CALCULATIONS
ie=m*cv*dt;//change in internal energy in cal
//OUTPUT
mprintf('change in internal energy is %3.2f cal',ie)
|
697cd28be34270b090aae15de6a71d91cb4ff882 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.12/2_12.sce | c163be406c44d2a70fd991d2d3ccceb13cd02518 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | 2_12.sce | //Example 2.12
clear;
clc;
printf("Example 2.12\n")
//Given
x1=0.01 //[m]
x2=0.15 //[m]
x3=0.15 //[m]
T1=973 //[K]
T2=423 //[K]
dT=T1-T2;
//Thermal conductivities
k1=16.86 //[W/m.K]
k2=1.75 //[W/m.K]
k3=5.23 //[W/m.K]
k_air=0.0337 // [W/m.K]
A=1 //[sq m]
sigma_R=(x1/(k1*A)+x2/(k2*A)+x3/(k3*A)... |
4e83cdd4326555aefb736663957f397a3b4bce71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH4/EX4.7/Ex4_7.sce | 6a7a69c6e8fa6d034a3e207aa0e5999f9d58d0a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | Ex4_7.sce | clc
Nd=10**16 //cm^-3
Ne=2.8*10**19 //cm^-3
T=300 //K
//(nd/(n0+nd))=z=1/(1+(Ne/2*Nd)*exp(-(Ec-Ed)/kT))
//y=Ec-Ed
y=0.045
k=8.617*10^-5 //eV/K
z=1/(1+(Ne/(2*Nd))*exp(-y/(k*T)))
disp(z,"the donor states is=")
|
321f7a184a04ac00e30f80a6715b1256b98b62c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH1/EX1.20/20.sce | 7407596af8c16845a26336fd35151f3edd1b5de5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | 20.sce | clc
// Given that
c = 3e8 // speed of light in m/s
u= -1*0.8*c // speed of particle A in m/s
v = 0.8*c // speed of particle B in m/s
// Sample Problem 20 on page no. 40
printf("\n # PROBLEM 20 # \n")
printf(" Standard formula used \n")
printf(" u_x = u_x_ + v / (1+ v*u_x_/c^2) \n ")
u1 = (u-v) / (1 - ((u * v) / (c)^2... |
54e4950c311d74e599628b49fc7c358c67bf9276 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH3/EX3.3/Example3_3.sce | a2cb8671acf0d49e2eebe5286768af6232a1ed4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 720 | sce | Example3_3.sce | //Example 3.3
//Program to compare the threshold optical powers for stimulated
//Brillouin and Raman Scattering
clear;
clc ;
close ;
//Given data
alpha_dB=0.5; //dB/km - ATTENUATION
lambda=1.3; //micrometre - OPERATING WAVELENGTH
d=6; //micrometre - FIBER CORE DIAMETER
nu=0.6... |
25de9b60488e490759941aeab518bcd3060c4c97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH5/EX5.6/ex5_6.sce | 16305a1a27f219aeeff35bfdda52cba541d3fe42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | ex5_6.sce | //Part A Chapter 5 Example 6
clc;
clear;
close;
T1=35+273;//K
T2=-15+273;//K
Q2=140.8;//kW
Q1BYQ2=T1/T2;
Carnot_COP=1/(Q1BYQ2-1);
Actual_COP=Carnot_COP/4;
W=Q2/Actual_COP;//kW
disp("Power required = "+string(W)+" kW");
//Answer is not accurate in the book.
|
10a13a22224d547621654425d951dc2bea3fcf64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH9/EX9.3.4/9_3_4.sce | b59d89d874beef195447e859e139817ddaba7ecd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,179 | sce | 9_3_4.sce | // CAPTION:Output_Power_of_Four-Cavity_Klystron
//chapter_no.-9, page_no.-390
//Example_no.9-3-4
clc;
//(a) Calculate_the_plasma_frequency
po=5*(10^-5);//dc_electron_beam_current_density
wp=((1.759*(10^11)*po)/(8.854*(10^-12)))^(1/2);
disp(wp,'the_plasma_frequency(in rad/s)is =');
//(b) Calculate_the_r... |
30413060ccdbdc7a7a9d61f260d0dee6038cb8eb | c3280ada260999123d75347caeaad1c7fc9f8266 | /gregory_mundur.sce | ac2e3d9abe61eaf62b0bb94865f6bcdc291efeb1 | [] | no_license | dikisp/Kuliah-MetNum | 3bd01f0573f2a18eb320a716da841ca3ec69930b | 7775f5e0251457702fb3e24c88483df0ff37fee7 | refs/heads/master | 2020-03-23T06:41:49.307866 | 2018-07-17T03:13:25 | 2018-07-17T03:13:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,496 | sce | gregory_mundur.sce | function polinom=gregoryMundur(x,fx,xTaksir,jmlPol)
[n,m]=size(x);
[a,b]=size(fx);
if ~(n == a) then
printf("Ukuran x dan f(x) tidak sama!");
elseif xTaksir < min(x) | xTaksir > max(x) then
printf("Nilai interval tidak memenuhi syarat !");
else
m=zeros(n,n);
... |
0987880671c6df850bea23d2d64d105a26c9e312 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/percent/%rvlss.sci | 2b51029138e2a49f5f64925f1466c759322754be | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sci | %rvlss.sci | //<s>=%rvlss(s1,s2)
//<s>=%rvlss(s1,s2) calcule le bouclage "feedback" du transfert s1 par
//le systeme lineaire decrit par sa representation d'etat s2.
//Cette macro correspond a l'operation s1/.s2
//!
// origine s. steer inria 1988
//
[s1,s2]=sysconv(s1,s2);s=s1/.s2;
//end
|
3724467bc3e77c2d5a1c98fcdc5d26096eff62c8 | 299721455523ed57682bfaa01171a2cad61590b9 | /exp 3/Eigen Value.sce | 78bd443a389a38ded27d8c76a9ab44fc87353d9b | [] | no_license | Anupamgupta01/SCILAB-PROGRAMS | 5acc63c3409fa62f02a1f60ed488c10c7d489b88 | 924a153d3227c007a3682b487a1ebd14a523da96 | refs/heads/master | 2023-05-11T14:14:25.453037 | 2021-06-05T22:25:37 | 2021-06-05T22:25:37 | 374,222,790 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | sce | Eigen Value.sce | clc;
disp('Enter the matrix:')
for i=1:2
for j=1:2
A(i,j)=input('\');
end
end
b=A(1,1)+A(2,2);
c=A(1,1)*A(2,2)-A(1,2)*A(2,1);
disp('The characteristic equation is:')
disp(['e^2+' string(-b) '*e+' string(c) '=0'])
e1=(b+sqrt(b^2-4*c))/2;
e2=(b-sqrt(b^2-4*c))/2;
if A(1,2)~=0 then
v1=[A(1,2);e1-A(1,1)];
v2=[A(1,2)... |
2a5dc25e13d313376f0661ecdeb71b0116bd6e95 | de14a6897d4397228a52bacb8905b8807370ef4b | /ordre2.sce | 4504d434ecbbc4dba379b05fee52fd3a5752c07b | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,298 | sce | ordre2.sce | T=4;
N=[10,20,50,100,200,350,500,750,950,1500]; //variation du nombre de points
//initialisation
pas=zeros(10,1);
erreur_euler=zeros(10,1);
erreur_euler_cauchy=zeros(10,1);
erreur_point_milieu=zeros(10,1);
erreur_runge_kutta=zeros(10,1);
for j=1:10
h=T/N(j); //pas
pas(j)=h;
t=[0:h:T];
n=length(t);
... |
4a20c3245cc3dab2a934b8d7f82665e7d3eeffd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH10/EX10.5/105.sce | 3ab0a1d66ab3d52cb4094e5860ffc641b97e0db0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | 105.sce | // problem 10.5
Q=0.03
Hs=18
d=0.1
l=90
n=0.8
w=9810
a=3.142*d*d/4
f=0.04
g=9.81
Vd=Q/a
H1=(4*f*l*Vd*Vd)/(d*2*g)+(Vd*Vd/(2*g))
Hm=Hs+H1
P=(w*Q*Hm)/(n*1000)
disp(P,"power required to drive the pump")
|
785ce06d71bf2c60fe1fd061c6df83cfe36b3f85 | de14a6897d4397228a52bacb8905b8807370ef4b | /pointmilieu.sce | b4d5079558cae4cf64176224c87507b392334c28 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 820 | sce | pointmilieu.sce | function dydt=f1(t,y)
dydt = -t*y+t; endfunction
function y=point_milieu(y0,t,f)
n=length(t); h=t(2)-t(1);
y=zeros(1,n); y(1)=y0;
for i=1:n-1
k1=f(t(i),y(i));
k2=f(t(i)+h/2,y(i)+h/2*k1);
y(i+1)=y(i)+h*k2; end endfunction
function y = solution_exacte(t)
y = 1-exp(-t^2/2); en... |
4d4389e90a38320941d5624dd263f70bcfcb8f7c | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/common/numrows.sci | e089c03f7b988e36a68835c75be9d0ac326ff35d | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 198 | sci | numrows.sci | //NUMROWS Return number of rows in matrix
//
// NR = NUMROWS(M) returns the number of rows in the matrix M.
//
// See also NUMCOLS.
function r = numrows(m)
[r,x] = size(m);
endfunction |
fd57598c92c216b265791ccfafef184dbccc86f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH4/EX4.3/4_3.sce | 127ca5e9e03213e39c9d1ddc9c8b52f3103b2c6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | 4_3.sce | //Find Lattice constant and atomic packing fraction of NaCl having FCC structure
//Ex:4.3
clc;
clear;
close;
r_na=0.98;//ionic radius of sodium in angstorm
r_cl=1.81;//ionic radius of chlorine in angstorm
n=4;//in fcc there are 4 Na and 4 Cl ions
a=((2*r_na)+(2*r_cl));//latice constant
disp(a,"Lattice constant... |
594e16d08c905dd0aa8e4d3bcef082bb8128ae5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH9/EX9.4/Ex9_4.sce | 4aa1d6e7daf332ede46cf3ea5c188c535d460e42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | Ex9_4.sce | clc;
clear;
phi_m=3.20 //in V
Na=10^15 //in cm^-3
ni=1.5*10^10 //in cm^-3
x=3.25
Eg=1.11 //in eV
e=1.6*10^-19 //in J
Const=0.026 //constant for kT/e in V
//Calculation
phi_pF=Const*log(Na/ni) //in V
phi_ms=(phi_m-(x+(Eg/2)+phi_pF))
mprintf("work-function difference= %0.3f V",phi_ms)
|
38c12d762b5de7eee6f34e10c490848e0e41d181 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH2/EX2.1/Example2_1.sce | be4b8762dbe1c7e593be8de9dde522658708ee13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | Example2_1.sce | //Exa 2.1
clc;
clear;
close;
//Given data :
VL1=220;//Volts
VL2=400;//Volts
disp("We know, W=I^2*2*R=(P/VL)^2*2*rho*l/a");
disp("a=(P/VL)^2*2*rho*l/(I^2*2*R)");
disp("v=2*(P/VL)^2*2*rho*l/(I1^2*2)*l");
saving=(2/(VL1)^2-2/(VL2)^2)/(2/(VL1)^2)*100;//%
disp(saving,"% saving in copper : ");
|
de327583c9953f1ef39d2035b9bd85bd16bfe60c | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH5/EX5.3/P5_3.sce | f95d9a78b6dfdd0f94e892db659a9868d6d33506 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 921 | sce | P5_3.sce | //EXAMPLE 5.3
//DETERMINE DFT OF GIVEN SEQUENCE
clc;
clear;
N = input("length of sequence,N = ");
M = input("M point DFT = ");
if M > N
x = [ones(1,N),zeros(1,M-N)];
disp(x,'the sequence is :');
for n=0:M-1
for k=0:M-1
W(n+1,k+1) = exp(-(%i*2*%pi*k/M)*n);
end
end
X = ... |
f603331d6b2d2c7cd3d7f3e1a9c4ff5b94621d87 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/lbg_vq.sci | c68da71639590d8fe3bbaf5a8f5a0a56c7166c29 | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,644 | sci | lbg_vq.sci | ///////////////////////////////////////////////////////////////////////////////
// Author: Jia Wu
// Date: April 2010
// Description: Linde-Buzo-Gray Vector Quantization Algorithm (LBG Design Algorithm)
//
// Copyright (C) 2009-2010 OpenPR
// All rights reserved.
//
// Redistribution and use in source an... |
7471f092bba896bde5b54b57b9771566c1f984d7 | 475a9e3173cbf116c786e8a60b1323f29f10a134 | /bisection-method.sci | 46ed23aa0fd233215683b3e7bab5eae990c8ab25 | [] | no_license | jatinmandav/Sci-Lab-Implementations | bee5e375735ca0ebee9fd7afa69ddddbdadb5e3c | d1f65da040022b785763fe74d4b49468dc6078f3 | refs/heads/master | 2020-03-10T06:35:07.107772 | 2018-04-12T19:13:37 | 2018-04-12T19:13:37 | 129,242,875 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,171 | sci | bisection-method.sci | /*
* By: Jatin Kumar Mandav
*
* The Bisection Method in Mathematics is a root-finding method that
* repeatedly bisects the interval and then selects a sub-interval in
* which a root must lie for further processing.
*
* X(lower) and X(upper) such that F(X(lower)) * F(X(upper)) < 0.
... |
1517b52490233c5313a5a898f21cd6fc1216e887 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH14/EX14.8/eg14_8.sce | 0e9bba9428a7327e8a3eb351f8f14dda18fd995a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,073 | sce | eg14_8.sce | clear;
clc;
n=3;
m=3;
y=zeros(n,m);
y(1,2)=(-(%i)*3);
y(1,3)=(-(%i)*4);
y(2,3)=(-(%i)*5);
for i=1:1:n
for j=1:1:m
y(j,i)=(y(i,j)+y(i,j))/2;
end
end
Y=y;
for i=1:1:n
for j=1:1:m
if (i==j) then
for k=1:1:n
y(i,i)=y(i,i)+Y(j,k);
end
... |
6ef9fb15fbdb68fea4d43ee3388e603fd180287b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.5/18_5.sce | 876aac0a9091200a1085fb54774f9fed9dab0eb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | 18_5.sce | //ques-18.5
//Calculating standard heat of formation of actylene
clc
h1=-1300;//heat of combustion of acetylene (in kJ)
h2=-395;//heat of combustion of graphite(C) (in kJ)
h3=-286;//heat of combustion of hydrogen (in kJ)
H=2*h2+h3-h1;//heat of formation of actylene (in kJ)
printf("Heat of formation of actylene i... |
d884170f1b5db4755f731a10eb17a4e922fcb127 | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH11/EX11.3/example11_3.sce | 31fe87f9362ece5a5787ca9a3b8226e00567913b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 804 | sce | example11_3.sce | // to find the output frequency of the circuit 11-8
// example 11-3 in page 326
clc;
// Data given
Vcc=15;// supply voltage=15 V
C1=0.1D-6;// capacitance in farad
R1=1e+3; R2=10e+3;// resistances in ohm
utp=3; ltp=-3;// upper and lower trigger points in volt
//calculation
a=['For contact at top of R1' 'For R1... |
0feb9f35ed0f0d42161d46e74bac0c6c436a1a15 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.17_11.tst | 13f2dd410c6177bf0bdddf203923ca8af0304d86 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 581,525 | tst | 5.17_11.tst | 17 1112:1 1130:1 1159:1 1875:1 1905:1 3165:1 3646:1 4183:1 5059:1 5428:1 5460:1 5813:1 5964:1 6494:1 6555:1 6713:1 7056:1 7334:1 7485:1 7754:1 8301:1 10081:1 10223:1 10290:1 10393:1 10543:1 12094:1 12379:1 12467:1 12659:1 13020:1 13742:1 13779:1 14193:1 14518:1 14744:1 15261:1 15584:1 15647:1 15874:1 15896:1 16398:1 16... |
eef94daf6585a8ed0d7ed8c949cbb72719101123 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.18_12.tst | 9090bf4c1b5af9fe3cfa4e2c26ad1493c3e8e569 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 27,715 | tst | bow.18_12.tst | 18 1:0.125 12:1.0 14:1.5 15:0.038461538461538464 34:1.0 39:0.25 52:1.0 60:0.045454545454545456 61:1.0 62:3.0 76:0.75 80:0.6666666666666666 96:0.2 173:5.0 194:1.0 199:1.0 297:1.0 398:0.5 411:1.0 469:1.0 500:1.0 606:1.0 648:1.0 649:1.0 953:1.0 1467:1.0 1503:1.0 1959:1.0 2548:1.0 2893:1.0 3073:2.0 4048:0.04761904761904761... |
70bce0afffa470bddc9dde566bd0902f0a5a7d9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH2/EX2.6/Ex2_6.sce | 99499f1648e43c1c88fb273adb1e39ea1e0ec7d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 745 | sce | Ex2_6.sce | //fiber optic communications by joseph c. palais
//example 2.6
//OS=Windows XP sp3
//Scilab version 5.4.1
clc
clear all
//given
spotsize=1e-3//spot size in m
lambda=0.82e-6//wave length in m
d1=10//distance in m
d2=1e3//distance in m
d3=10e3//distance in m
//to find
theta=2*lambda/(%pi*spotsize)//divergenc... |
c6dd16ed8f25b2acc4b7ad75a19010750a75d015 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3169/CH6/EX6.8/Ex6_8.sce | 78db47bd0be6a93c6088e7322b4f5c2836ead36c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Ex6_8.sce | //developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear all;
//example 6.8
//calculation of output voltage
//given data
V1=10//voltage(in kV) at primary winding
C1=2*10^-6//capacitance(in Farad) on primary side
C2=1*10^-9//capacitance(in Farad) on secondary side
pern=5//energy efficienc... |
c06f344fed44c53c243feac7caab57ec5418c158 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH9/EX9.1/Ex_9_1.sce | 82edba842b76a42aa0f974a4387224dafd20ad1b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | Ex_9_1.sce | // Example 9.1;//maximum termperature change
clc;
clear;
close;
f=0.15;//GHz
fc=18;//GHz/degree celsius
ta=f/fc;//
disp(ta,"maximum temperature change alowed in degree celsius is")
|
7bc1755b477a6b5a7f06829b2a7824e605eceeea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH10/EX10.2/Ex10_2.sce | cbfaf34301dc820ba90ec1568718112b498cc636 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 889 | sce | Ex10_2.sce |
// Theory and Problems of Thermodynamics
// Chapter 10
// Chemical Thermodynamics
// Example 2
clear ;clc;
//Given data
P1 = 10.89 // volumetric composition of CO2
P2 = 3.63 // volumetric composition of CO
P3 = 3.63 // volumetric composition of O2
P4 = 81.85 ... |
e77ebd58883aeee9832f6d61569deb4d590b2735 | 573df9bfca39973c9bf2fa36f6e5af2643d7771e | /scilab/lib/substRetro.sci | 86de08e7014379b21bd16f03989fab6b220261d4 | [] | no_license | DCC-CN/152cn | ef92c691edabe211b1a552dbb963f9fd9ceec94a | 4fe0b02f961f37935a1335b5eac22d81400fa609 | refs/heads/master | 2016-08-13T01:34:17.966430 | 2015-04-07T07:31:58 | 2015-04-07T07:31:58 | 44,502,526 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sci | substRetro.sci | function [x] = substRetro(U, d)
// U= matriz triangular superior
// d= vetor de termos independente
n = size(U, 1);
x(n)=d(n)/U(n,n);
for i = n:-1:1
soma = 0;
for j = (i +1):n
soma = soma + U(i,j)*x(j);
end
x(i) = (d(i) - soma)/U(i,i);
end
endfuncti... |
29e8eb0ae356bc3ee59219a71cd84dcff4a9731e | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH10/EX10.1/Example_10_1.sce | 5245371b777598e0538cbd9f4bb9cf9bc67dfc1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,075 | sce | Example_10_1.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 10.1
//Caption : Program to Plot the Graphs of P vs x1,y1 and t vs x1,y1
//Antoinie Equations
//ln P1_sat=14.2724-(2945.47/(T-49.15)) [KPa]
//ln P2_sat=1... |
32f135e4134c14e4014eacfd8634156a0ebe143d | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH5/EX5.10.b/solution5_10.sce | e3019495ab97bc0882f0247136eb9082cfed04c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,093 | sce | solution5_10.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution5_10.sce')
//Obtain path of data file
datapath = path + filesep() + 'data5_10.sci'
//Obtain path of function file
funcpath = path + filesep() + 'functions5_10.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
exec(funcpath,[-1])... |
c9ff2963ced5adf9078f329ba26cabeb9ca29cac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH10/EX10.58/ExampleA58.sce | 76a7f5544f1e5be50d1452261d972046e71d1c03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 699 | sce | ExampleA58.sce | clc
clear
//Page number 498
//Input data
R=8.4;//The universal gas constant in J.mol^-1.K^-1
Cv=21;//The spacific heat at constant volume in J.mol^-1.K^-1
P1=2*10^5;//The initial pressure of gas in N/m^2
V1=20;//The initial volume of the gas occupied in litres
P2=5*10^5;//The final pressure of the gas in N/... |
59c87856ab8da5905c7fe0e4523fb7d2d8427276 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH3/EX3.4/S_3_4.sce | 11d804457373e402bdcc049af42d8f7e7c9d2471 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 888 | sce | S_3_4.sce | clc;
// Given data
// M_A=r_CA * F relation 3.7 from section 3.5
f=200; // N , Magnitude of Force directed along CD
r_CA=[0.3,0, 0.08];//m, vector AC reprecsented in rectangular component
//lambda=CD/norm(CD)-m, Unit vector along CD
//F=f*lambda;//m, Force
CD=[-0.3, 0.24, -0.32];//Vector CD resolved into rectan... |
09cae563b1a31f7f9a47bfd39f474bb8bed1c3c7 | 2de662559376150e2952a0d0e2b0d080997054c5 | /LQG.sce | b42cebb08eabfab13edf7f597e582a1548a37ee1 | [] | no_license | virginiabrioso/controle-otimo | 401ea6c85f80e58628188cbd70675c7c70183d23 | 64ab5a8aa5f1ae60caa46222d9f344c42fa73894 | refs/heads/main | 2023-05-11T19:46:40.895422 | 2021-06-01T00:29:59 | 2021-06-01T00:29:59 | 372,653,014 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,567 | sce | LQG.sce |
clear; xdel(winsid()); clc;
Ts = 0.1;
tfinal = 25;
N=round( (tfinal+Ts)/Ts ); t = 0:Ts:N*Ts-Ts;
// Discrete-time state space model
Ad = [0.9359 0.2428 0.0132 -.0076;
-.2136 0.8093 0.0440 -.0252;
0.0018 -.0015 0.971 0.1965;
0.0060 -.0049 -.0960 0.6551];
Bd = [.0628 .0002;
.2093 .000... |
1366f78c1564eb8e869bb161790f9027f0fed54e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH7/EX7.11/Ex7_11.sce | 95695bacce37952183a6c7796b5c258e9071b295 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | Ex7_11.sce | //Example 7_11
clc;clear;
// Given values
L_r=1/100;// (L_r=L_m/L_p) Length scale factor
//Properties
// For water at atmospheric pressure and at T = 20°C
nu_p=1.002*10^-6;// The prototype kinematic viscosity in m^2/s
// Calculation
nu_m=nu_p*(L_r)^(3/2);
printf("Required kinematic viscosity of model liqui... |
272804df004ee0d4faa52cf93dca31141cd0a20e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH14/EX14.2/ex14_2.sce | 3e09706165089760df18011c27c385e83e6265d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | ex14_2.sce | //Antennas : example 14-2 : pg(669)
c=3*10^8;//velocity of light
f=12*10^9;//frequency
D=4.5;//diameter of parabolic reflector
h=c/f;//wavelength
x=D/h;
R=(2*D^2)/h;
printf("\nThe wavelength, \nh= %.3f m/cycle",h);
printf("\nD=4.5 meter \nD/h = %.f",x);
printf("\nselect equation, \nR > %.f m",R); |
671475cdff3cfa0d9c9f92d4833867382914a8d0 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.7_6.tst | 306ea58e1977fcd546bfaea752c71b3e28c86b16 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 533,948 | tst | 5.7_6.tst | 7 346:1 412:1 596:1 1411:1 1743:1 1940:1 2143:1 2291:1 2510:1 2547:1 2588:1 2696:1 2705:1 2854:1 3202:1 3301:1 3321:1 3518:2 3973:1 4065:1 4581:1 4664:1 4972:1 5186:1 5595:1 5722:1 5860:1 6040:1 6062:1 6063:1 6468:1 7278:1 7686:1 7718:1 8024:2 8602:1 9261:1 9356:1 9389:2 9889:1 9922:1 9954:2 10480:1 10589:1 10724:1 107... |
47fd0d9c9eccaa3aceae00ec76b9afa5a9e49b84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH14/EX14.3/Ex14_3.sce | 58e2e92de7cf7a4c00c0238b73280061959adacc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | Ex14_3.sce | //chapter 14
//example 14.3
//page 301
Av1=20*log10(100) // db
Av2=20*log10(200) // db
Av3=20*log10(400) // db
Av_total=Av1+Av2+Av3
printf("total voltage gain = %.3f db \n",Av_total)
|
0b10a2e4d062e65773f637ac8ad4a19ec97ac117 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH4/EX4.9/respol5.sce | 146db429cebd67b92f98161201288f93b5041c0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | respol5.sce | // Partial fraction expansion for Example 4.29
// 4.9
// z^2 + 2z
// G(z) = --------------------
// (z + 1)^2 (z - 2)
exec('respol.sci',-1);
exec('flip.sci',-1);
num = [1 2 0];
den = convol(convol([1 1],[1 1]),[1 -2]);
[res,pol] = respol(num,den)
|
bb4fff972f64efeaf55b744ececb8872c0119625 | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH3/EX3.3/example3_3_TACC.sce | bed7e2a68540e10e67417c4e4acfb423721db3bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 616 | sce | example3_3_TACC.sce | //example 3.3
clear;
clc;
//given:
H=29.2;//latent heat of vaporisation[KJ/mol]
T=332;//temperature of the system[K]
R=8.314;//universal gas constant [J/K/mol]
//to find Q,W,U for 1 mole of bromine vaporizes
//where Q is heat absorbed or evolved
//W is the work done by system
//U is the change in inte... |
afda8b3b31a64a78ba88c4f324efaeb8410bf4aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH2/EX2.13/ex2_13.sce | 3de4f01a13c245a24ca4c2a0d88bd6ce91c256e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | ex2_13.sce | clc;
i=10; //current
r=0.005; //radius in metre
h1=(i)/(4*2*(%pi)*r); //at half radius H is (1/4)th
disp(h1,"H field intensity at one half of radius in A/metre = "); //displaying result
h2=(i)/(2*(%pi)*0.01); //calculating H at surface
disp(h2,"H field intensity at surface in A/metre = "); //displaying resu... |
6b2861c9bf3bb834d25310c211ed162aaefa6715 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/SH5.prev.tst | 37f719e6408ec7068433e0872588cb5b86d60123 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | tst | SH5.prev.tst | expression: 2*n*a(n) +(-23*n+36)*a(n-1) +6*(-2*n+3)*a(n-2)=0
postfix1: ;2;n;*;a(;n;a);*;0;23;n;*;-;36;+;a(;n;1;-;a);*;+;6;0;2;n;*;-;3;+;*;a(;n;2;-;a);*;+;0;=
rebuilt1: 2*n*a(n)+(-23*n+36)*a(n-1)+6*(-2*n+3)*a(n-2)=0
postfix2: ;2;n;*;a(;n;a);*;0;23;n;*;-;36;+;a(;n;1;-;a);*;+;6;0;2;n;*;-;3;+;*;a(;n;2;-;a);*;+;0;=
rebu... |
0e146bb5656aa8c92e13d4f3d0d13511f7553ea1 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/bartlett/bartlett8.sce | 4aa8a4cb40a31054d3449bbb65c9d684bb92e94e | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | bartlett8.sce | //too many i/p
w=bartlett(2,4);
disp(w);
//output
// !--error 58
//Wrong number of input arguments.at line 2 of exec file called by :
//\bartlett8.sce', -1
//
|
d51004eaec5406392d2c417a09fa93d352cafade | a30abbc00448cb5a15a3ef1c07b1ac14e3142ce8 | /src/library_apps/mpreduce/src/packages/redlog/ofsf/ofsf-big.tst | be70133a908697d3059f6615171c2b5677ce24be | [] | no_license | geovas01/mathpiper | 692178b2d9647a8a99fe43db44a85d38cc9f7075 | a1fdacb1dc7155183974fa2ea5d92fba597f23fc | refs/heads/master | 2016-09-05T15:28:49.409648 | 2015-07-17T10:06:45 | 2015-07-17T10:06:45 | 39,245,684 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 241,441 | tst | ofsf-big.tst | % ----------------------------------------------------------------------
% $Id: ofsf.tst 469 2009-11-28 13:58:18Z arthurcnorman $
% ----------------------------------------------------------------------
% Copyright (c) 2006-2009 Andreas Dolzmann and Thomas Sturm
% -------------------------------------------------------... |
bbf8a99fefcc75c0c46f64de5dfb7d265e37f667 | e176c804d3e82d065a9c9635dad92da21c1483a9 | /libs/histogramme.sci | c3335dc673ffe01c12397ed27919527d3a67ca96 | [
"MIT"
] | permissive | Exia-Aix-2016/ExoLife | 38f7d5e54a1fd26333f19d99a8b63f0d64cc4c4c | a88d4bc3b852f8a85b6c8cc0979ced29fb28b751 | refs/heads/master | 2021-09-07T01:47:04.742247 | 2018-02-15T11:57:47 | 2018-02-15T11:57:47 | 120,471,380 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sci | histogramme.sci | function output = histogramme(img)
hist = zeros(1,256)
xmax = size(img,1)
ymax = size(img,2)
for x=1:xmax
for y=1:ymax
hist(double(img(x,y))+1) = hist(double(img(x,y))+1)+1
end
end
output = hist
endfunction |
e2b309446a4f7d4c4e6fbedd34a0aeabcb188f4d | 8ea401b354e99fe129b2961e8ee6f780dedb12bd | /macros/replace.sci | 9dc3eb2ac14acbfe9752a47f3d6f7458ae4f7839 | [
"BSD-2-Clause"
] | permissive | adityadhinavahi/SciPandas | 91340ca30e7b4a0d76102a6622c97733a28923eb | b78b7571652acf527f877d9f1ce18115f327fa18 | refs/heads/master | 2022-12-20T04:04:35.984747 | 2020-08-19T16:10:51 | 2020-08-19T16:10:51 | 288,765,541 | 0 | 1 | null | 2020-08-19T15:35:04 | 2020-08-19T15:14:46 | Python | UTF-8 | Scilab | false | false | 666 | sci | replace.sci | function replace()
// Replace values given in to_replace with value.
//
// Syntax
// dfr.replace(input_string)
//
// Parameters
// input_string : String containing the parameters of values to be replaced with the target value. Any additional parameters supported can also be passed
// For... |
52f2afa397aeaa4b917c664f33b8b4e22d7ef1ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH9/EX9.31/Example_9_31.sce | 352962e8d3f97e92ac42abe35e93785799c87717 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | Example_9_31.sce | clc;
clear;
printf("\n Example 9.31\n");
o_d=10e-3;//outer diameter of the tube
i_d=8.2e-3; //inner diameter of the tube
h=140;//coeffecient of heat transfer between gas and copper tube
k=350;//Thermal conductivity of copper tube
L=0.075;
b=%pi*o_d;//perimeter of tube
A=%pi/4*(o_d^2-i_d^2);//cross sectio... |
bcd7b8ea12d59659985ea14978ba5d5bc2bc5d3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH1/EX1.5/Ex1_5.sce | 60aa042b0dc0dfb2c4e12dcf34e1c89e233f401b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | Ex1_5.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 1.5\n\n\n");
// Chapter 1: Fundamental Concepts
// Problem 1.5 (page no. 25)
// Solution
//Conversion Problem
// 1 inch=0.0254 meter so, 1=0.0254 meter/inch //Eq.1
// 1 ft=12 inch so, 1=12 inch/ft.........//Eq.2
//Multiplying Eq.1 & Eq.2 // We get... |
c3511ec3bfcde58abf3605a25a12422dbd0be7ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH6/EX6.18/Fig6_18.sce | 695254b9ff9f092e9d85878b88011b2c2247b6b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 787 | sce | Fig6_18.sce | //Caption:Scilab code to Perform Average Filtering operation
//Fig6.18
//page 349
clc;
close;
a= imread('E:\DIP_JAYARAMAN\Chapter6\lenna.jpg');//SIVP toolbox
a=imnoise(a,'salt & pepper', 0.2); //Add salt&pepper noise tothe image
a=double(a);
[m n]=size(a);
N=input('enter the window size='); //The window size... |
6393f8f531d15bc4a7a5650d1270d15333d3c48e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH8/EX8.5/85.sce | 9ec0fd71c5834887ccbe78d3ea50d229b8fe5a48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 785 | sce | 85.sce | clc;
//Example 8.5
//page no 81 fig 8.3
printf(" Example 8.5 page no 81 fig 8.3\n\n\n");
//a cylindrical tank filled with water
//applying bernoulli equation
z1=9//elevation head at section 1
h2=1//height at section 2
D1=3//diameter of cylindrical tank
D2=.3//diameter of outlet hole of tank
g=9.807//gravitat... |
7c10806cd1e647e4b4bbb55a30d0511ed767638a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH27/EX27.10/Ex27_10.sce | 620dec6ac061260fe38351383447128c84163b2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,877 | sce | Ex27_10.sce | //Variable declaration:
f = 100000 //Flow rate of flue gas (acfm)
i = 0.1 //Interest rate
//From table 27.4:
//For finned preheater:
ac1 = 3.1 //Equipment cost ($/acfm)
ac2 = 0.8 //Installation cost ($/acfm)
ac3 = 0.06 ... |
2af0f3e25d6e041a44ad1bb366346bf3bc75140c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH3/EX3.11/Ex3_11.sce | 428e8b06461dcdf469fbeb8e50f3788462071abf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 837 | sce | Ex3_11.sce | //Ex3_11 Pg-186
clc
Vmin=0.7 //minimum voltage across diode in V
V=5 //supply voltage in V
V_R1=V-Vmin //voltage across resistor R in V
Imin=10^(-3) //minimum current
R1=V_R1/Imin
printf("Maximum value of R =%.1f kohm \n ",R1*1e-3)
I=5*10^(-3) //current through resistance in A
V_R2=V-Vmin //voltage acro... |
edca8eeea253c241882c948d31eebade8d5facbf | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/demos/microdaq.dem.gateway.sce | db53b33e0a1942d82d035efe01bfe4574ae4ca5a | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 702 | sce | microdaq.dem.gateway.sce | // Copyright (c) 2015, Embedded Solutions
// All rights reserved.
// This file is released under the 3-clause BSD license. See COPYING-BSD.
function subdemolist = demo_gateway()
demopath = get_absolute_file_path("microdaq.dem.gateway.sce");
subdemolist = ["Data acquisition", pathconvert("data_acquisition/micr... |
31a824416fa986c16116c37c8055f5bad4bc6fab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH4/EX4.6/Ex4_6.sce | bf1809d48bc150a9f25fda86833c366e49d88dac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | Ex4_6.sce | //Chapter 4 Solutions Nonelectrolytes
clc;
clear;
//Initialisation of Variables
m= 92.13 //gms
M= 78.11 //gms
n= 1 //moles
p= 119.6 //mm
p1= 36.7 //mm
//CALCULATIONS
n1= m/M
x= n/(n+n1)
y= 1-x
P= y*p
P1= x*p1
P2= P+P1
m1= P/P2
m2= 1-m1
//RESULTS
mprintf("Mole fraction of benzene=%.3f",m1)
mprintf("\nMole fraction o... |
e72bdeb04d7d26d714da7a4fd63a532dc0419042 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH12/EX12.16/example16_sce.sce | 671209a40c6e74ccd3c5aded76c3fd4a068aad0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | example16_sce.sce | //chapter 12
//example 12.16
//page 508
printf("\n")
printf("given")
R1=2.7*10^6;R2=560*10^3;f1=150;Yfs=8000*10^-6;Ie=1.2*10^-3;Rl=80*10^3;R6=8.2*10^3;
Zi=(R1*R2)/(R1+R2)
Xc1=Zi/10
C1=1/(2*3.14*f1*Xc1)
Xc2=.65/Yfs
C2=1/(2*3.14*f1*Xc2)//use 15pF as standard value
re=26*10^-3/Ie
Xc3=.65*re
C3=1/(2*3.14*f1*Xc... |
91a60b58eca9fd2fbc397e64d89f41c7c307bc16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH12/EX12.11/12_11.sce | dd21633483de14eadd8e4a6dd691fc5cc9fcf862 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | 12_11.sce | clear; clc; close;
Vcc =25;
Rl = 4;
Po_max = (Vcc^2)/(2*Rl);
Pi_max = (2*Vcc^2)/(%pi*Rl);
n_max = (Po_max/Pi_max)*100;
Vl_p = Vcc;
P2q = Pi_max-Po_max;
disp(Po_max,'Output power(Watts) = ');
disp(Pi_max,'Input power(Watts) = ');
disp(P2q,'Power dissipated(Watts) = ');
disp(n_max,'Efficiency(Percent... |
0b62ba90e4bd433954bd08293786b18fe4c0cc7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH4/EX4.6.3/4_6_3.sce | e32bbeb30334a587aa1dd2527be42a85cb9b3715 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | 4_6_3.sce | clc
pathname=get_absolute_file_path('4_6_3.sce')
filename=pathname+filesep()+'463.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
n1=(1-conv1)*basis*x
n2=conv2*basis*x
E1=n2
E2=basis*x - E1-n1
n3=E1-E2
n4=2*E2
n5=basis... |
85467825abe8f5433285ec512eb753ccce138cbc | 939d8a9ae374f022f5fc19383476f574721d7533 | /room_doctest.tst | e10f9592cb8327b68a53e4b84935bb6638dfbd74 | [] | no_license | mash-97/hotels | 617b501d74465adc5c2572c9cf4270e8d0d77f12 | 93e74886d3429751510527068a790443bfa60d21 | refs/heads/master | 2023-04-10T22:09:29.120914 | 2021-04-24T21:06:31 | 2021-04-24T21:06:31 | 360,302,104 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,537 | tst | room_doctest.tst | >>> from room import *
>>> my_room = Room('Double', 237, 99.99)
>>> str(my_room)
'Room 237,Double,99.99'
>>> r = Room("Queen", 105, 80.0)
>>> r.set_up_room_availability(['May', 'Jun'], 2021)
>>> r.set_up_room_availability(['Feb'], 2020)
>>> len(r.availability)
3
>>> len(r.availability[(2021, 6)])
31
>>> r.availability[... |
aa976279eab0b835090ac6a347da34077c2eebf3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH10/EX10.9/exa10_9.sce | b3d3fd2bfea75646e83eff6ebf32aac9657170de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | exa10_9.sce | //Example 10.9
// Calculations with s-plane Vectors
s=%s;
num=-6*s; // Numerator of transfer
den=s^2+12*s+45; // Denominator
X=complex(10,0); // Input signal phasor
s_0=complex(-4,3)// complex frequency
H_s=(num)/(den)// Transfer-function of the network
H_s_0=horner(H_s,s_0);
Y=H_s_0*X; // forced response phas... |
45f348eccdf101aba74f4a8875b9dd6ed41901a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH5/EX5.4/Ex5_4.sce | 0ee46a4ec28f3f20f38d5cb9195b1ed5169d982c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | sce | Ex5_4.sce | clc;
v=3300; // rated voltage of motor
zs=0.4+%i*5; // synchronous impedance per phase
E=4000; // excitation EMF
pi=1000; // input power
vp=v/sqrt(3); // per phase rated voltage
ep=E/sqrt(3); // per phase excitation EMF
al=atand(real(zs),imag(zs));
t1=(pi*1000)/3;
t2=(vp^2/abs(zs)^2)*real(zs);
t3=abs(zs)/(vp*... |
c145a90c0eb11b51a69c31f62d20b3c311489fa1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH2/EX2.1/Ex2_1.sce | 0264748413b6195fe3aacca6ad6c8a159ea9562d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | Ex2_1.sce | //Ex_2_1
clc;
clear;
close;
format('v',6);
//given data :
LTsc=1.6;//H(Series cumulative)
LTd=0.4;//H(differentially)
L1=0.6;//H
M=(LTsc-LTd)/4;//H(Mutual Inductance)
L2=LTsc-2*M-L1;//H
K=M/sqrt(L1*L2);//Coupling Coefficient
disp(M,"Mutual Inductance(H)");
disp(K,"Coupling Coefficient");
|
b9d6cbed2ca94ee12ef99d3fa972a1df08d3b2ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH3/EX3.23/EX3_23.sce | f6de6134e13838d6da66287dca62d68913c20697 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,104 | sce | EX3_23.sce | //example 3.23<i>
//Find the convolution sum
clear ;
close ;
clc ;
t= -5:1/100:5;
for i =1: length (t)
if t(i) <0 then
h(i)=0;
x(i)=0;
else
h(i)=2^t(i);
x(i)=1;
end
end
y = convol (x,h) ;
//figure
f=scf(0);
plot2d (t,h)
xtitle ( ' Input Re spons e ' , ' t ' , ' h ( t ) ' );
xs2jpg(... |
71267dea2d60b0b1a7494486f8b348d90a59f43f | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH13/EX13.4.b/13_4_soln.sce | be85caad3e38ab14bfe5bfaa55b5a34f4d038f36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sce | 13_4_soln.sce | clc;
pathname=get_absolute_file_path('13_4_soln.sce')
filename=pathname+filesep()+'13_4_data.sci'
exec(filename)
// Solution:
// final pressure in the cylinder,
// General Gas Law,
p2=((p1+14.7)*V1*(T2+460))/(V2*(T1+460))-14.7; //psig
// Results:
printf("\n Results: ")
printf("\n The final pressure in the cylin... |
645551ca9cdba2e353d810e215b2bd47aa00daf6 | d0be4aa35a2d245d22814309fdcff594f6964c2d | /code/utkarsh_experiment_5.sce | 61b8fc5b31ae054b25f6f6d29e5a97f76938f0a4 | [] | no_license | utkarshsharma00/digital_circuits_lab_sem_5 | 450bbe574efbf97b00dcd300f22978cf25a5eb36 | fa9a05c6ea2c5f73598d24f77382c1a00259d3d9 | refs/heads/master | 2020-07-23T13:44:41.110959 | 2019-10-21T12:48:16 | 2019-10-21T12:48:16 | 207,578,144 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 859 | sce | utkarsh_experiment_5.sce | clc;
xdel(winsid());
x = round(rand(1,10));
nx = length(x);
sign = 1;
i = 1;
while i < nx + 1
t = i:0.001:i + 1 - 0.001;
pi = 3.14;
if x(i) == 1 then
unipolar_nrz = squarewave(t * 2 * pi, 100);
unipolar_rz = (1 + squarewave(t * 2 * pi, 50))/2;
ami = sign * squarewave (t * 2 * pi, 10... |
66dd785ccab15e0d4331c28ccc6675f57276f6f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH7/EX7.9/7_9.sce | 088b73f1f7202a08e1152c90ff73add0d408d27d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 726 | sce | 7_9.sce | clc,clear
printf('Example 7.9\n\n')
V_L=500
R_a=0.03,X_s=0.3 //armature reactance and synchronous reactance
Z_s=complex(R_a,X_s)//synchronous impedance
theta=(%pi/180)*phasemag(Z_s) //phasemag returns angle in degrees,not radians
phi=acos(0.8)
eta=93/100
output_power=100*746
input_power=output_power/eta
I_L... |
1e3c03660875902d980b6b027d41f8562967dd49 | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map2303.sce | 1d004b3ea5452ae43db99609883731dc87b5eaa0 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 4,616 | sce | map2303.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map2303" Width="13" Height="17" CellSize="40" BackgroundSize="1" Background="15plus.png">
<Cell Name="雪块" X="1" Y="1" />
<Cell Name="木箱" X="4" Y="1" />
<Cell Name="雪树" X="5" Y="1" />
<Cell Name="冰块" X="6" Y="1" />
<Cell Name="冰块" X="7" Y="1" />
<Cell Na... |
2332b55e39a434e7f113d7f9332948ca8eeecc01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH21/EX21.9/ex21_9.sce | 045466567fa7a5b9cb47819e14bf78714873da4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | ex21_9.sce | clc;
clear all;
E=1000;//applied electrical field
P=4.3E-8;//polarisation
e0=8.854e-12;//permittivity of vacume
er=1+(P/(E*e0));//relative permittivity of NACl
disp('',er,'relative permittivity of NACl is:')
|
2221374a3243c7fd2ead350e46f79695572c9cd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH3/EX3.10/3_10.sce | a6b70a5e4894c56ba597dc62bd4232a3ed53d200 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | 3_10.sce |
clc
//initialisation of variables
d= 1 //ft
h= 4 //ft
h1= 3 //ft
p= 25 //percent
g= 32.2 //ft/sec^2
//CALCULATIONS
h2= ((h/4)-(h1/4))*h*2
w= sqrt(h2*2*g/(d/2)^2)
N= w*60/(2*%pi)
h3= (h-h1^2/4)*2
w1= sqrt(h3*2*g/(d/2)^2)
N1= w1*60/(2*%pi)
//RESULTS
printf ('original volume= %.1f R.P.M ',N1)
|
ead61d9abfb9dfd994433e0d5df04d2e3bac05b4 | 9d0ab5efb08cc05ae362e8a981bdf5fa2debd7f6 | /02/AddSub16.tst | 9230272ac6c920ab7ea4ab7e3e596f6cbef4a617 | [] | no_license | nandha1nks/Nand2Tetris | bca96e324a1ff7ed425e33a37e3b7579d38fd29f | 82769b7a4e69b11c0bacd100991dfdf2b36a5f1d | refs/heads/master | 2023-01-02T11:57:25.843133 | 2020-10-29T10:10:27 | 2020-10-29T10:10:27 | 295,441,600 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,230 | tst | AddSub16.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/02/Add16.tst
load AddSub16.hdl,
output-file AddSub16.out,
compare-to AddSub16.cmp,
output-list a%B1.16.1 b%B1.16.1 sel out%B1.16.1;
set a %B0000000000000000,
set ... |
995b5acd9e4ed732ac9b151a4477a5090a0bc6d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH8/EX8.12/8_12.sce | 7f77f76e4c5a9290083e494565028c35862d2b92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | 8_12.sce | //calculating required data//
//example 12//
clc
//clears the command window//
clear
//clears//
V=10;//high input voltage//
//first part//
//digital input is 101001//
Vo=(10*2^0+0+0+10*2^3+0+10*2^5)/2^6;//output voltage//
printf('output voltage for digital input 101001=%f volt\n',Vo);//displaying the result//... |
38ec8be5d86ea92fee43142cfe621169f1e1fd30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH4/EX4.10/Ex4_10.sce | 784abaee42b7993d0a58a558dcfe25ce86473a0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,335 | sce | Ex4_10.sce | clear all; clc;
//Value of s differs. The one given in the book is incorrect. On calculation the value is equal to the one provided here.
disp("The dynamic pressure at the inlet is calculated from pd1=rho*V1^2/2")
Q=220*0.00223//0.00223 is conversion factor
D=5
A=%pi*(D^2)/4
V_1=(Q*144)/(A)
printf(" V1=Q/A= ... |
a30339a27c3abac771e3bbce45674c5a5843b465 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_0/verificapar.sce | a95d2ff67180ece4b7970e1fd219bfadec2e1a25 | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sce | verificapar.sce | function op = verificapar(n)
if modulo(n,2)==0 then
op = 1
else
op = 0
end
endfunction
|
ac9483dea1c218699107cd84f4746141b40e6ba1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH4/EX4.5/4_5.sce | 886b842d72498e35dbac9469de482c4ccfa60914 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | 4_5.sce |
clc
//initialisation of variables
H1= 10//ft
H2=2 //ft
d= 0.62
so= 3 //in
w= 5 //ft
g= 32.2 //ft/sec^2
b= 2.5 //ft
b1= 7.5 //ft
//CALCULATIONS
A1= w*b
A2= w*b1
a= so^2/144
T= (2*A1*(H1^0.5-H2^0.5))/(d*a*(1+(A1/A2))*sqrt(2*g))
//RESULTS
printf (' Time required to lower the level of water = %.1f sec',T... |
5cff650d01b4805a6d188387d0d043b3cc16df7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH10/EX10.18/10_18.sce | 82c504464aedcfa80a7597e3e77491a5d53d4cb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | sce | 10_18.sce | clc
//Initialization of variables
m=1 //lbm
disp("From psychrometric charts,")
t1=82 //F
phi1=0.4
H1=30 //Btu/lbm dry air
w1=65 //grains/lbm dry air
w2=250 //grains/lbm dry air
//calculations
dmf3=(w2-w1)*0.0001427
hf3=68
hf4=43
H2=62.2
H1=30
mf4= (H1-H2+ dmf3*hf3)/(hf4-hf3)
per=dmf3/(dmf3+mf4)
//resul... |
77fba2ad23e93afd9debcb7693642ae62848cce9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.26/Ex12_26.sce | 06f463fd1d072bf80895bf1d29ec925ea123ae3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | Ex12_26.sce | //Chapter 12
//page no 494
//given
clc;
clear all;
Voutp=20; //in dB
Pin=1.2; //in mW
m=0.035;
Vavg=10^(Voutp/20); //in
R=Vavg*sqrt(2)/Pin/m;
printf("\n R = %0.1f V/W",R);
|
93f651890f2173f7a4d6e978b30d8c4ce32ba8b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH12/EX12.13/Ex12_13.sce | 130913c7d6b54af88bd68d31a5166187edbb1022 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | Ex12_13.sce | //EX12_13 Pg-12.30
clc
clear
m1=0.55;//first modulation index
m2=0.65;//second modulation index
mt=sqrt(m1^2+m2^2);
Pc=360;;//power radiated by the carrier signal
Psb=Pc*mt^2/2//total sideband power radiated
printf("Therefore total sideband power radiated Psb=%.3f W",Psb)
//in the question Pc is taken as 360W ... |
633f0ef2306a74fd4a36f20cac84835f3cd2a575 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH1/EX1.36/Ex_1_36.sce | 025ee6db644b928ad1d717423416a8f4a689046a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | Ex_1_36.sce | //Example 1_36
clc;
clear;close;
//Given data:
dv_by_dt=25/10^-6;//V/s
L=0.2*10^-3;//H
Vrms=230;//V
damping=0.65;//damping factor
Vm=sqrt(2)*Vrms;//V
C=1/(2*L)*[0.564*Vm/dv_by_dt]^2;//F
R=2*damping*sqrt(L/C);//ohm
disp(C,"Value of C(F)");
disp(R,"Value of R(ohm)");
|
6f08cdc4809a4b35fd26740b982e5ffe17c8a689 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.23/18_23.sce | 277ea561a7277db1e86d0f0568f5ccd566938f86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | 18_23.sce | //ques-18.23
//Calculating standard free energy change for the reaction
clc
//G = free energy (in kJ/mol)
G1=-16.8;//ammonia
G2=-86.7;//NO
G3=-237.2;//water
G=G2+G3*(1.5)-G1;//free energy change
printf("The free energy change required is %.1f kJ/mol.",G);
|
8234ec578273e60e733b777d2d74bb4bdf677044 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH7/EX7.11/Ex7_11.sce | 1d82071f2d752c36917085e5f563209d6af2d709 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | Ex7_11.sce | clear
//Given
P=110 //W
P1=100 //W
n=5
V=220 //V
t=2 //hours
n1=4
P2=1120 //W
m=1.5 //per KWh
//Calculation
W=n*P1
W1=V*t
W2=n1*P
W3=W+W1+W2+P2
E=(W3*t)*10**-3
E2=E*30
B=m*E2
//Result
printf("\n... |
7d750985469541f3c79c1e9fd4f71f2c31da722f | d737fa49e2a7af29bdbe5a892bce2bc7807a567c | /software/qt_examples/src/pyqt-official/quick/canvas/contents/images/lineedit.sci | 054bff78be3a8db45a89791b694a5b3ecb72d744 | [
"MIT",
"CC-BY-NC-SA-4.0",
"GPL-1.0-or-later",
"GPL-3.0-only"
] | permissive | TG-Techie/CASPER | ec47dfbfd6c3a668739ff4d707572e0b853518b4 | 2575d3d35e7dbbd7f78110864e659e582c6f3c2e | refs/heads/master | 2020-12-19T12:43:53.825964 | 2020-01-23T17:24:04 | 2020-01-23T17:24:04 | 235,736,872 | 0 | 1 | MIT | 2020-01-23T17:09:19 | 2020-01-23T06:29:10 | Python | UTF-8 | Scilab | false | false | 87 | sci | lineedit.sci | border.left: 10
border.top: 10
border.bottom: 10
border.right: 10
source: lineedit.png
|
0ea8c1a8a7dd0a0eef886b586d08401606340f2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH3/EX3.1/3_1.sce | 1d8ef320e0139ea374e1428ffbc7129aacb7d004 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | 3_1.sce | clc
//initialisation of variables
Q= 16 //gpm
w= 62.4 //lb/ft^3
d= 1 //in
h= 2+(5/12) //ft
g= 32.2 //ft/sec^2
x= 11.5 //ft
h1= 1.2 //in
//CALCULATIONS
Cd= Q*10/(60*w*(%pi*(d/12)^2/4)*sqrt(2*g*h))
Cv= sqrt(x^2/(4*(h1/12)*h*12^2))
Cc= Cd/Cv
Cr= (1-Cv^2)/Cv^2
//RESULTS
printf ('Cr = %.3f ',Cr)
|
06276bcfcbf248c30112ef6dee4c96bf2642240f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH3/EX3.3/Ex3_3.sce | c05d25941d8c16ef9da7ebad2a7223505b5fef9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | Ex3_3.sce |
clc
// Variable initialization
F=50 //Supply Frequency In Hz
Vm=400 //Supply Voltage In Volts
Ip=20 //Peak Circulating Current In Ampere
A=60 //firing angle
// solution
Ea=Vm/(sqrt(3))
W=2*%pi*F
Lr=[(3*sqrt(2)*Ea)/(W*Ip)]*(1-sind(A))
Lr1=Lr*1000//Inductance in mH
printf('\n\n Inductance Value Needed=%0.1... |
c8d5a2047e186ad428da23c24751ddbd426ed43f | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/vco/vco5.sce | 3ccebbcb5064631a5cd22023e205c19e947cc357 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | vco5.sce | //i/p is a matrix
x=[-1 0.3 -0.2; 0 0.2 0.3; 1 0.2 0.3];
y=vco(x,150,500);
disp(y);
////output
// - 0.3090170 0.8443279 0.9297765
// 1. - 0.9510565 - 0.4817537
// - 0.8090170 0.3681246 - 0.1873813
//
|
ad7fc696cbd429d9de0b79c40128ec1cd4b49fa8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH5/EX5.2/Ex5_2.sce | 0a5f9096fc8fe0de94a861ee9896a115d6a2609a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 959 | sce | Ex5_2.sce | // Example no.5.2
// To calculate (a) the responsivity R and (b) the cutoff wavelength
// Page no.198
clc;
clear;
// Given data
neta=0.9; // The quantum efficiency
Eg=1.42; // The band-gap energy in eV
lambda=1.1; ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.