blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1e85fcd5de5b7827632257ea0e6f05732a9acc18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH1/EX1.51/example1_51.sce | aca0208e8ef734589b4bf8685158f7acc11bf4ca | [] | 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 | 392 | sce | example1_51.sce | clc
// Given That
x = 2.948e-5 // distance moved by movable mirror in meter
n = 100 // no. of fringes cross the field of view
// Sample Problem 51 on page no. 1.58
printf("\n # PROBLEM 51 # \n")
lambda = 2*x/n // calculation for wavelength of monochromatic light
printf("\n Standard formula used \n lambda = 2*x/n. \n... |
6ad2ffd145b4ef6197fccbfa1cdea35386fa858a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH12/EX12.1/12_1.sce | 7e5c90afe2015674779e255720e04d00a9f6d774 | [] | 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 | 448 | sce | 12_1.sce | clc
//initialization of variables
w1=2 //lbm
w2=1 //lbm
P=30 //lbm/in^2
T=60+460 //R
//calculations
R1=35.1
R2=55.1
Rm=(w1*R1+w2*R2)/(w1+w2)
vm=(w1+w2)*Rm*T/(144*P)
p1=w1*R1*T/(144*vm)
p2=w2*R2*T/(144*vm)
//results
printf("Gas constant of the mixture = %.1f lb/in^2",Rm)
printf("\n Volume of the mixture =... |
e5bc56f087ed90de2096187f9fec95e85147f634 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH1/EX1.12/ex12.sce | 007619899ef11925688a468ccb2628cd2a12f6b6 | [] | 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 | 338 | sce | ex12.sce | clc
clear
//Input data
Z=70;//Vaccum gauge reading in cm of Hg
Pa=101.325;//Atmospheric pressure in kPa
d=13.6*10^3;//Density of Hg in kg/m^3
g=9.81;//Gravity in m/sec^2
//Calculations
Pv=(d*g*Z)/10^5;//Vaccum pressure in kPa
Pab=Pa-Pv;//Absolute pressure in kPa
//Output
printf('Absolute pressure Pab = ... |
72e1b3277c923276ab5c08a9ce9214ef84559d41 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/m2sci/sci_subplot.sci | 6dbe2278f65ff112bcb4a4b0e791363ec3220569 | [
"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 | 905 | sci | sci_subplot.sci | function [stk,txt,top]=sci_subplot()
// Copyright INRIA
txt=[]
if rhs==1 then
if isnum(stk(top)(1)) then
m=evstr(stk(top)(1))
p=modulo(m,10)
n=modulo((m-p)/10,10)
m=round((m-p-10*n)/100)
j=int((p-1)/n)
i=p-1-n*j
rect=[i/n,j/m,1/n,1/m]
i=string(i);j=string(j),n=string(n);m=string(m)
... |
e2f70651a118a306556028222f3afd319a115a2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH34/EX34.16/Ex34_16.sce | 9dfc487f1a4dbdf54503dd8591f046896f3d5d4e | [] | 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,299 | sce | Ex34_16.sce | // Example 34_16
clc;funcprot(0);
//Given data
CC_kw=15000;// Capital cost/kW installed
TP=2200;// Total power of the diesel power plant in kW
AOC=600000;//Annual operating costs in rupees
FC=100000;// Fixed cost in rupees
VC=200000;// Variable cost in rupees
AMC=FC+VC;// Annual maintainence costs in rupees
Cf... |
8ef319fa77de65c8f36a0192c5411dccedcd1500 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH14/EX8.14.1/Ex8_14_1.sce | 3af4559d141f5d58d11646988539ab8597e6f9a4 | [] | 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 | 345 | sce | Ex8_14_1.sce | //Section-8,Example-1,Page no.-IC.9
//To calculate the lattice energy of NaCl crystals from the given data.
clc;
N_o=6.023*10^23
A=1.748
Z1=1 //Z+
Z2=1 //Z-
e=1.602*10^-19
e_o=8.854**10^-12
r_o=0.2814*10^-9
n=8
U_c=((-N_o*A*Z1*Z2*e^2)/(4*%pi*e_o*r_o))*(1-(1/n))
disp(U_c,' Lattice energy of... |
71586d361221c65adafca2ac79151bf50648c6db | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH4/EX4.2/Exa_4_2.sce | d81f7d440632ee71587419199c1c69cf63f1bec5 | [] | 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 | 548 | sce | Exa_4_2.sce | //Exa 4.2
clc;
clear;
close;
format('v',8);
//Given Data :
T1=290+273;//Kelvin
T2=8.5+273;//Kelvin
Q1=300;//KJ
//Case 1 :
Q2=-215;//KJ
sigmaQbyT=Q1/T1+Q2/T2
disp(sigmaQbyT,"(i) Q1/T1+Q2/T2 = ");
disp("It is less than zero. Cycle is irreversible")
//Case 2 :
Q2=-150;//KJ
sigmaQbyT=Q1/T1+Q2/T2
disp(sig... |
c872942f181a410ee386ee6dd5c43e870d97ec3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH7/EX7.8/example_7_8.sce | 6d9de8a4fda9e0f3350f7240c1f0435a0e5e34c7 | [] | 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,753 | sce | example_7_8.sce | //chapter 7
//Example 7.8
//Page 187
//directZbus
clear;clc;
//Given Impedances
Z10 = %i*1.2;
Z21 = %i*0.2;
Z23 = %i*0.15;
Z13 = %i*0.3;
Z30 = %i*1.5;
//1*1 bus
Zbus = Z10;
disp('1X1 bus impedance matrix with bus 1 and reference bus')
disp(Zbus)
//to establish bus 2
[m,n] = size(Zbus)
for i = 1:m
for j = 1:n
Zb... |
6b6b4d4b1c036ce6a77908426345ec3511fe76b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH2/EX2.18/ex2_18.sce | c156835fedebf88460a8e94826bcec2450bf67c8 | [] | 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 | 467 | sce | ex2_18.sce | // Example 2.18 page no-72
clear
clc
//(a)
sigma=100 //Ohm-cm
e=1.6*10^-19 //c
mup=1800 //cm^2/V-sec
ni=2.5*10^13 // /cm^3
printf("\n(a)\nAs it is p-type semiconductor, p>>n.")
pp=sigma/(e*mup)
n=ni^2/pp
printf("\nPp=%.2f*10^17 holes/cm^3\nn=%.1f*10^9 electrons/cm^3",pp/10^17,n/10^9)
//(b)
mun=... |
9aec87a6e8c11d3c0dd237dd1d362b170f920d75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH9/EX9.4/Ex9_4.sce | fb09102b01ce106768990ac2fb52e4c3b100d85c | [] | 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 | Ex9_4.sce | clc;
//step1
Vcc=20; //volt
R2=20000; //ohm
R1=150000; //ohm
Vb=20*(R2/(R2+R1)); //Volt
Ve=Vb-0.7; //volt
Re=2200; //ohm
Ie=Ve/Re; //Ampere
re=0.025/Ie; //ohm
Rc=12000; //ohm
RL=50000; //ohm
rc=(Rc*RL)/(Rc+RL); //ohm
Av=rc/re;
disp('',Av,"Av=");//The answers vary due to round off error
|
37f1824a74f5419f2135717d554b747c7e9dcca9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%p_o_l.sci | d959f7d38f6008c19aed8741c01ad54f803972d7 | [
"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 | 109 | sci | %p_o_l.sci | function [r]=%p_o_l(l1,l2)
//r=%p_o_l(l1,l2) <=> r=(l1==l2) list==polynomail
//!
// Copyright INRIA
r=%f
|
ab262e1388ce3cd1156a74d4349d46bca26d566c | f26729da8f4278193be7d8f15e38bad1e43c0376 | /sdr_rcv.rcv.2.tst | 4b493a4e9f2f3e4265ec14070cae26c7449c0636 | [] | no_license | shaktixcool/MQ-study-notes | 09325eaa468f6aadfc5af2e3d6ff0ca6a31f11ec | bb75cdbd861b267dcd5011d057a7b31dc819cb08 | refs/heads/master | 2020-03-25T19:34:21.805882 | 2016-12-04T15:30:44 | 2016-12-04T15:30:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 66 | tst | sdr_rcv.rcv.2.tst | DEFINE CHANNEL (CS) +
CHLTYPE (RCVR) +
TRPTYPE (TCP) +
REPLACE
|
c6fed152566fb346c92493d7601326d2a8c50ada | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH3/EX3.5/Ex_3_5.sce | 5a066727338bbc8f60aeb09e09ad11e29c6f62a1 | [] | 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,111 | sce | Ex_3_5.sce | //Example 3_5
clc;
clear;close;
//Given data:
V=200;//V
R=10;//in ohm
L=20;//mH
C=100;//pF
f=50;//Hz
//Solution :
Z1=R+%i*(2*%pi*f*L*10^-3-1/(2*%pi*f*C*10^-6));//ohm
Z3=R+%i*(3*2*%pi*f*L*10^-3-1/(3*2*%pi*f*C*10^-6));//ohm
Z5=R+%i*(5*2*%pi*f*L*10^-3-1/(5*2*%pi*f*C*10^-6));//ohm
Z7=R+%i*(7*2*%pi*f*L*10^... |
1aaf6fac2b2af33be7acdb0e2878e16cad4efaf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH6/EX6.5/eg6_5.sce | 360802b290dbd16bf1811f008bd86addfe6562f3 | [] | 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 | eg6_5.sce | clear;
clc;
l=270;
T=1800;
w=1;
h=90-30;
ap=30;
x=(l/2)-T*h/(w*l);
x1=-x+l/2;
sag1=w*x1*x1/(2*T);
sag2=w*x*x/(2*T);
hob=w*(l-x)^2/(2*T);
clearance=ap+sag1-sag2;
printf("The clearance between the conductor and water at point m is:%.2f m",clearance);
|
8738a77bf3421371575e634db9f487e764de2d45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH7/EX7.a.1/Example_a_7_1.sce | 6baf8504d514f05007e4cb51568cc9a228e7b063 | [] | 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 | 532 | sce | Example_a_7_1.sce | //Example_a_7_1 page no:269
clc;
R=2;
C=-2*%i;
L1=8*%i;
L2=6*%i;
V=5/(0.5+(1/L1)+(1/(4*%i)));
Vmag=sqrt(real(V)^2+imag(V)^2);
Vang=atand(imag(V)/real(V));
Vabmag=Vmag*6/4;
Vabang=Vang;
disp(Vabmag,"the magnitude of voltage across AB is (in V)");
disp(Vabang,"the angle of voltage across AB is (in degree)");
... |
fcc28e6413659ef73e07a383f02a577c7d53807b | b68ae1fc3cd37c85031f69e42d92903b7f1a90ab | /projects/08/FunctionCalls/SimpleFunction/SimpleFunctionVME.tst | 17be84bd4ef4a5b706374a45edd74ca23a66748a | [] | no_license | bricef/The-Elements-of-Computing-Systems | fb3aa100c18176ccfc876e9d30319c0b8a5c7635 | 6be81eacaa30ad57b06f018c0aecbcf7e04841bc | refs/heads/master | 2021-01-18T13:43:02.653913 | 2011-04-06T19:23:52 | 2011-04-06T19:23:52 | 1,578,790 | 5 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | tst | SimpleFunctionVME.tst | // This file is part of the materials accompanying the book
// "The Elements of Computing Systems" by Nisan and Schocken,
// MIT Press. Book site: www.idc.ac.il/tecs
// File name: projects/08/FunctionCalls/SimpleFunction/SimpleFunctionVME.tst
load SimpleFunction.vm,
output-file SimpleFunction.out,
compare-to ... |
b71dcf654141a9ccbe07326bd0f27db520e05af1 | c0e48812b6769e5283b0b14716cb8278969ad2fd | /src/make.tst | 3f9a784f7cb8b437da70dbeaaa04340e0cd91820 | [] | no_license | JimmySenny/demoInterview | f61478c707dc5cc76ea1526b400f777faa3760d4 | 0917fb3293cbb60a66959ada8f425f819ebe8663 | refs/heads/master | 2023-02-03T00:03:03.629201 | 2020-12-23T11:29:30 | 2020-12-23T11:29:30 | 320,151,328 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | tst | make.tst | include ../etc/Makefile
BIN_NAME = tst_pufa
OBJ_LIB = ${WORKDIR}/lib/libtst.a ${WORKDIR}/lib/libcomm.a ${WORKDIR}/lib/libpufa.a
EXECOBJ = ${WORKDIR}/bin/${BIN_NAME}.out
LINKRULE = ${CC} -o ${EXECOBJ} ${OBJ_LIB} -L${WORKDIR}/lib -ltst -lcomm -lpufa
TARGETS = ${EXECOBJ}
all:${TARGETS}
${EXECOBJ}: ${OBJ_LIB}
${... |
2e5bd46a6e76cb075833da9979034d4a8a2c59cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH7/EX7.5/Ex7_5.sce | a098ea34c05c2706930c86cfa158f70a00789896 | [] | 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,190 | sce | Ex7_5.sce | // SAMPLE Pr_BOBLEM 7/5
clc;funcprot(0);
// Given data
omega=3;// rad/s
p=8;// rad/s
gamma=30;// degree
y=0.300;// m
z=0.120;// m
// Calculation
// Velocity
omega=[0,0,3];// rad/s
r_B=[0,0.350,0];// m
v_B1=det([omega(2),omega(3);r_B(2),r_B(3)]);// m/s
v_B2=-det([omega(1),omega(3);r_B(1),r_B(3)]);// m/s
... |
b3d712d1d1471d18fa08beeadf165d4422051703 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2399/CH5/EX5.2.2/Example_5_2_2.sce | 9ba9a160c7a75a5af9743abe3d8f25b6e00af8a2 | [] | 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 | 861 | sce | Example_5_2_2.sce | // Example 5.2.2
clc;
clear;
n1=1.47; //refractive index of fiber
n=1; //refractive index of air
d=40d-6; //core diameter
y=4d-6; //lateral dispalcement
a=d/2; //computing core radius
eta_lateral = (16*(n1/n)^2)/(%pi*(1+(n1/n))^4)*(2*acos(y/(2*a))-(y/a)*(1-(y/(2*a))^2)^0.5); //co... |
8aa0f0d38c1f524433620381900a0bc682c2b1ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.2.c/EX3_2_C.sce | 34a02be95c70f36134c1ab6f5ebf7e6827f59339 | [] | 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 | 58 | sce | EX3_2_C.sce | //EXAMPLE 3.2.C
clc;
Syms s t
w=2;
laplace(cosh(w*t),t,s)
|
c1bc64e77d72a7841a5b2ecfc02d2b1c0d17e2f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH7/EX7.6/7_6.sce | db2d1a9be5a851a1f08a47d90c1411a603c1419d | [] | 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 | 274 | sce | 7_6.sce |
clc
//initialisation of variables
g=32.2
h=25//ft
f=0.01
d=1//m
d1=12//in
pi=22/7
//CALCULATIONS
k=(4*f*2000/d)+1
v=sqrt(2*g*h/k)
k1=4*f/d
l1=((d1*2*g)/(v*v))-1
l=l1/k1
dis=pi*d*v/4
//results
printf (' Discharge through pipe= %.2f ft^3/sec ',dis)
|
38a9d60e0707e0286385ecadcd91f26e27722da1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH23/EX23.7/ex23_7.sce | 4fe1a8bc0ee7e36ddc73e65d6c298122865f89bd | [] | 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 | 292 | sce | ex23_7.sce | //23.3
p=30//in cm
f=10//in cm
x=(1/f)-(1/p)
q=1/x
M=-(q/p)
disp("part a")
disp(q,"The position of final image in cm=")
disp(M,"The magnification=")
p=5//in cm
f=10//in cm
x=(1/f)-(1/p)
q=1/x
M=-(q/p)
disp("part b")
disp(q,"The position of final image in cm=")
disp(M,"The magnification=")
|
141d14c9479122787842b50252f741852f14d8ac | dd62f0e176af8b35f4de2d6b64692105fd90afd6 | /frd.sci | f0f1921e6748a3d2db0287cb7f4343ac0bfd92ef | [] | no_license | FOSSEE/FOSSEE-System-Identification-Toolbox | 2a631de0f2d6b993b3f19df4a220b274a1d85edb | 11ee9c829fe88301c69b731cdf9fe7957d0fa68c | refs/heads/master | 2018-10-15T08:25:21.323393 | 2018-07-31T10:56:53 | 2018-07-31T10:56:53 | 108,255,727 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,548 | sci | frd.sci | function varargout = frd(varargin)
// Stores frequency and response data
//
// Calling Sequence
// plantData = frd(respData,frdData,Ts)
// Parameters
// frdData : nx1 matrix of non-decreasing frequency points
// respData : nx1 matrix of the frequency response
// Ts : non-negative real number
// plantData : frd type ... |
c05d3fe3758793207cc0209692a53f3c546d2018 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH2/EX2.7/Ex2_7.sce | 4cf551afed6f184a0590ab84c5aa5e47022f26ce | [] | 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 | Ex2_7.sce |
// Ex2_7
clc;
// Given:
h=6.6262*10^-34;// in J.s
f=17.24*10^6;// in Hz/T
m=5.05*10^-27;// in J/T
// Solution:
E=h*f;
g=E/(m)
printf("The nuclear g factor for P is = %f",g)
|
26de42316fa0ec5acf7eb7cdab965c29a627e368 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH2/EX2.5/ex2_5.sce | c43be15f8017beb9b90103296bead44027c15ece | [] | 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 | 478 | sce | ex2_5.sce | // Example 2.5
format('v',6)
clc;
clear;
close;
// given data
Vin= 15;// in V
V_K= 0.7;// in V
R_L= 10;// in kΩ
R_L= R_L*10^3;// in Ω
// The output voltage
Vout= Vin-V_K;// in V
// The current
I= Vout/R_L;// in A
// The power dissipation of the diode
P= V_K*I;// in W
I=I*10^3;// in mA
P= round(P*10^... |
7c4d9bcbbb2b73232511d5835a6b8d2441a24e1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH16/EX16.9/Ex16_09.sce | c9209ff5c2b7f8b90edfb3daeaab84b85a9ba097 | [] | 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 | Ex16_09.sce | // Scilab Code Ex16.9: Page-604(2014)
clc; clear;
H0 = 71; // Hubble cinstant, km/s per Mpc
tau = 1/H0*1e+006*3.26*9.46e+012/3.16e+007; // The upper limit of the age of the universe, y
printf("\nThe upper limit of the age of the universe = %4.2e y", tau);
// Result
// The upper limit of the age of the uni... |
fd406bc65fa2b8f9b88f03261e73ddf760efeafd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH9/EX9.9/9Ex9.sce | 402492a7d3b8dd9d508b7ad6d20947d19570c550 | [] | 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 | 143 | sce | 9Ex9.sce | //Chapter 9 Ex 9
clc;
clear;
close;
x=(2^(1/4)-1)*((2^(3/4))+(2^(1/2))+(2^(1/4))+1);
mprintf("The value of the expression is %.0f",x);
|
fa091e17e747124e2077361395bf6c422173d96e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH27/EX27.10/Ex27_10.sce | 68b7dfcf39a5e09f0bb873f263483d1ad41e262e | [] | 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 | 123 | sce | Ex27_10.sce | clear
//Given
A=0.9
Ie=1 //mA
//Calculation
Ic=A*Ie
Ib=Ie-Ic
//Result
printf("\n Base current is %0.3f mA",Ib)
|
4f68507589597c465e2d66241996daec9f8ffff5 | 85a9ded979f001b0f3ebbd97cdae1f2f7fd8165a | /examples/RF/Microstrip_lossless/validation.sce | 986424c2d6427721d5a80e4e3267411a4e8d3605 | [] | no_license | Drinausaur/sparselizard-users | d0c487c1474d484b3063a3b16530ac63a146c886 | 23bd4f5b8dc363c5b3ed57b784b5e148c39cb098 | refs/heads/main | 2023-08-10T19:48:31.262045 | 2021-10-01T18:22:03 | 2021-10-01T18:22:03 | 412,572,993 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | validation.sce | clear
Z0 = 376.730313668;
h = 0.2e-3;
w = 0.2e-3;
t = 0.035e-3;
er = 4.4;
weff = w + ( t/%pi ) * log( 4 *exp(1) / ( sqrt( ( t/h ).^2 + (t/(w*%pi+1.1*t*%pi ) ).^2 ))) * ( er+1) / (2*er);
X1 = 4*( 14 * er + 8 )/( 11*er )*h/weff;
X2 = sqrt( 16*(h/weff).^2*( ( 14*er+8 )/(11*er)).^2 + ( er +1 )/( 2*er ) * %pi*%pi )
Z = Z... |
228f336ff326661ddfa572cad794b3f417fb8ca8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH11/EX11.2/Ex11_2.sce | 943316882f0ab6aa89ffb59fb56211759474105d | [] | 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 | 629 | sce | Ex11_2.sce | //Chapter 11: Broadband and Frequency-Independent Antennas
//Example 11-7.1
clc;
//Variable Initialization
gain_dbi = 7.0 //Gain (dBi)
bandwidth = 4 //Relative bandwidth (unitless)
s_lambda = 0.15 //Spacing (lambda)
k = 1.2 //Scale constant (unitless)
//Calculation
alpha = atan((1-... |
bedf727879785afd3521f06efc656a803ece5410 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PDE3.prev.tst | 666d5d36056f2dc73a1a4b5dd7f84229bcb9e4a9 | [
"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 | 44 | tst | PDE3.prev.tst | (x^3 + x^2*y + y^2).derivative("x", 3) = 6
|
b0aa2847339ec239de065dd91b6d3691650a4b0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH20/EX20.4/20_04.sce | 041cae4a76f3e82e15977c147dbf4fa2396d3915 | [] | 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 | 991 | sce | 20_04.sce | //Chapter 20, Problem 4, Fig.20.7
clc;
Vl=415; //3-phase supply
Pr=24000; //resistance in ohm
Py=18000; //resistance in ohm
Pb=12000; //resistance in ohm
Vp=Vl/sqrt(3); //phase voltage
I... |
36699a0c4f47a1fb0a8845d5f3b2c66951eaf495 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH3/EX3.4/Ex3_4.sce | 57498a0ea99c933d11a230dfb8be18926a2954fa | [] | 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 | 389 | sce | Ex3_4.sce | // Example 3_4
clc;funcprot(0);
// Given data
V=90;// km/h
C_D=0.2;// The drag coefficient
rho=1.23;// The density of air in kg/m^3
A=2.3;// m^2
// Calculation
V=V*(1000/3600);// The velocity in m/s
F_D=(1/2)*rho*(V^2)*A*C_D;// The drag force in N
W=F_D*V;// The work done in W
Hp=W/746;// The required hors... |
0da279c6c736d6fe99a5346514d9ef68573439b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH18/EX18.10/ex18_10.sce | 5d1de5546b0361da4c31424565e49e47d62835e7 | [] | 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 | 211 | sce | ex18_10.sce | // Example 18.10, page no-466
clear
clc
epsr=1.0024
N=2.7*10^25 //atoms.m^-3
eps=8.854*10^-12//F.m^-1
alfe=eps*(epsr-1)/N
printf("The polarisability of argon atom is %.1f * 10^-40 F m^2",alfe*10^40)
|
ab27faf2e2fc75261c9d2f26f48e8d6194bcb135 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.18_4.tst | 45e2bab4973624b2db8af267c520fc6c3a7de420 | [] | 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 | 26,787 | tst | bow.18_4.tst | 18 7:0.3333333333333333 8:0.058823529411764705 17:0.3333333333333333 31:0.75 86:1.0 88:0.5 91:1.0 95:1.0 101:1.0 116:1.0 123:3.0 129:1.0 164:1.0 184:1.0 193:0.5 196:3.0 209:1.0 214:1.0 239:0.6666666666666666 337:1.0 478:1.0 692:1.0 827:1.0 876:1.0 983:1.0 2380:1.0 2676:1.0 3526:5.0 3528:2.0 3530:0.047619047619047616 37... |
51e94643f43b6621b5d53d9e28cf896ee1f8b657 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH6/EX6.4/6_4.sce | 31328632c78797833ef3a623ef681dcaf4467c8c | [] | 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 | 526 | sce | 6_4.sce | //Find Elastic Strain Energy
//Ex:6.4
clc;
clear;
close;
v=0.31;//poisson's ratio
bv=.25*10^-9;//burger's vector in m
ri=1.1*10^-9;//in m
r0=10^5*bv;//in m
sm=45*10^9;//shear modulous in n/sqm
gb_2=sm*bv^2;
u_ed=(gb_2/(4*3.14*(1-v)))*log(r0/ri);
disp(u_ed,"Elastic Strain Energy of Edge dislocation (in J/m) ... |
33293b2fd639618734ee36e5808e5949f708c7c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH4/EX4.1/Ex4_1.sce | 67e8c11b7448ba116f01b547c3da1d536c98e4fb | [] | 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 | 463 | sce | Ex4_1.sce | //Chapter 04:Number Theory and Cryptography
clc;
clear all;
//To find the quotient and remainder
dividend=101
divisor=11
quotient=int(dividend/divisor) //To find quotient
remainder=modulo(dividend,divisor) //To find remainder
dividend_a=(divisor *quotient)+remainder //To find dividend
mprintf("The quotient when %d ... |
a35ca0bc9b3cfd273ee5f45d066145324f368306 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH22/EX22.2/Ex22_2.sce | f0b99440a9c79b55330720cfed2a02aa1de2d858 | [] | 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 | 541 | sce | Ex22_2.sce | // Initilization of variables
s=1 // m
mu=0.192 // coefficient of static friction
g=9.81 // m/s^2
// Calculations
// The maximum angle of the inclined plane is given as,
theta=atand(3*mu) // degree
a=(2/3)*g*sind(theta) // m/s^2 // by solving eq'n 4
v=sqrt(2*a*s) // m/s
// Let the acceleration at the centre be... |
253824f929a6ebd74b4da78d68a14b34781eccd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH3/EX3.19/Ch03Ex19.sce | 3f97143bd34c714a376b599d5b6e8467775bc347 | [] | 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 | 917 | sce | Ch03Ex19.sce | // Scilab code Ex3.19: Pg 101-102 (2008)
clc; clear;
C = 270e-12; // Capacitance, F
A = 60e-04; // Cross-sectional area of plate, m^2
E = 350e03; // Dielectric strength, V/m
epsilon_r = 2.1; // Relative pemittivity
epsilon_o = 8.854e-12; // Permittivity of fr... |
c28ccd500b010a532b40662e880959d23a95c148 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH16/EX16.2/Ex16_2.sce | dd10cb42995e746cfb7bba8dc1cbee07df213d3c | [] | 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 | 416 | sce | Ex16_2.sce | clc
// initialization of variables
clear
b=10 //mm
M=1
t=50 //mm
rho=5 //mm
h=25 //mm
c=60 //mm
SF=4.0
//part (a)
S_cc=2.8
q=0.94
S_ce=1+q*(S_cc-1)
// M is not known. take it as unity
S_n=3*M*t/(2*h*(c^3-t^3))
S_e=S_ce*S_n
printf('part (a)')
printf('\n Effective stress = %.1e M',S_e)
//part (b)
S_ma... |
5bac0c9d107566e3e55fbc647c8784b9a6902cfa | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/Nozzle_Quasi1D_P6.tst | ceb0a47050b3c5c6008f584c88f35e8ed6b5030d | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 866 | tst | Nozzle_Quasi1D_P6.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Euler, quasi 1D nozzle, stagnation inflow bc</description>
<executable>CompressibleFlowSolver</executable>
<parameters>Nozzle_Quasi1D_P6.xml</parameters>
<files>
<file description="Session File">Nozzle_Quasi1D_P6.xml</file>
</files>
... |
0a240443a43d4230f125fd28a3e6afc22853cad7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH4/EX4.4/Ex4_4.sce | 2612e9b13530707f201fd6166f0a53d58409f4f9 | [] | 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 | 506 | sce | Ex4_4.sce | //Ex4_4
clc
A = 4*10^-6
W = 1.5*10^-6
apsilent_r = 16//for germanium
apsilent_not = 8.85*10^-12//permitivity in vaccum
disp("A = "+string(A)+"m_sq")//cross sectional are
disp("W = "+string(W)+"m")//width of depletion layer
disp("apsient_r = "+string(apsilent_r))//relative permittivity
disp("CT = apsilent*A/W")... |
e46faf7b5df1dcebc109cc30e9095122d80d8b10 | 717ddeb7e700373742c617a95e25a2376565112c | /1340/CH6/EX6.4/6_4.sce | 0c494884e8fbc00e38e594a01cc60c8d14f9b374 | [] | 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 | 1,051 | sce | 6_4.sce | clc;// in-built fuction routh_t can be used to generate the routh table
s = poly(0,'s');
tf = syslin('c',10/(s^5+7*s^4+6*s^3+42*s^2+8*s+56));
deno = denom(tf);
coef = coeff(deno);
routh = [coef([6,4,2]);coef([5,3,1])];
// we will get a row of all zeroes
T = routh(2,:)/7;
coef1 = coeff(T);
// auxillary polynomi... |
c82cdf25d6f2c0c8e41a08af1845c218727936a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH2/EX2.4/Chapter2_Example4.sce | 3002c430c4451f6d54bb2da11c93aa3dab43d84c | [] | 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,272 | sce | Chapter2_Example4.sce | //Chapter-2, Illustration 4, Page 58
//Title: Gas Power Cycles
//=============================================================================
clc
clear
//INPUT DATA
rv=9.5;//Compression ratio
P1=100;//Air pressure in kPa
T1=290;//Air temperature in K
V1=600*(10^-6);//Volume of air in m^3
T4=800;//Final tem... |
84c5307e98b059bb2dcc2880bd4f043f2fecd1a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH1/EX1.10/Ex1_10.sce | 95e8549a900412d918ad045ff405b56a3a6c2f14 | [] | 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 | 283 | sce | Ex1_10.sce | //Example 10 Page No: 1.86
//given
inb1=22e-6;//A
inb2=26e-6;//A
//determine input offset current input base current
i1=inb2-inb1;
i2=(inb2+inb1)/2;
format(10);
disp('Input offset current = '+string(i1*10^6)+' μA');
disp('Input base current = '+string(i2*10^6)+' μA');
|
9992989e541776dddf3c868eb94e2f03ba667b68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH3/EX3.2.s/3_02_solution.sce | c487614c3b5888b587a9684709a160021058d0d2 | [] | 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 | 309 | sce | 3_02_solution.sce | //Soultion 3-02
WD=get_absolute_file_path('3_02_solution.sce');
datafile=WD+filesep()+'3_02_example.sci';
clc;
exec(datafile)
h = h / 1000; //converting height of Hg column from [mm] to [m]
P = rho * g * h; //Basic pressure eqaution [Pa]
P = P / 1000;
//result
printf("Atmospheric pressure is %1.1f kPa", P);
|
2de022afd78944079712a6c9e251156e7713f826 | 449d555969bfd7befe906877abab098c6e63a0e8 | /60/CH3/EX3.17.a/ex_17_a.sce | 37b01c0359d0c9f2b01fdad9f31d1353facd51fc | [] | 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 | 555 | sce | ex_17_a.sce | //example(3.17)
c=[51200 0 -39712 0 7392 0 -170 0 1 ]
p8=poly(c,'x','coeff')
roots(p8)
xset('window',0);
x=-11:01:11; // defining the range of x.
deff('[y]=f(x)','y=x^8-170*x^6+7392*x^4-39712*x^2+51200'); //defining the... |
1d4d7e6528fc8bf917cb103f7d3cdcccde6e09a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH11/EX11.10/Ch11Ex10.sce | 4533e2610106fb9e21d815744d1e4c97b5d36315 | [] | 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 | 708 | sce | Ch11Ex10.sce | // Scilab Code Ex 11.10: Page-568 (2011)
clc;clear;
function s = sine(x)
s = x - x^3/factorial(3) + x^5/factorial(5) - x^7/factorial(7) + x^9/factorial(9);
endfunction
function s = cosine(x)
s = 1 - x^2/factorial(2) + x^4/factorial(4) - x^6/factorial(6) + x^8/factorial(8);
endfunction
k = 1; //... |
670e44d916fddd8d0e5b31858cc4bdc65739583e | 12d519f18a15ef7423dffa1727cb877966fcf913 | /scilab/irr.sci | af2d25bdadafe934b17cfd6c2df6259d7f93450a | [] | no_license | gviolato/gviolato.github.io | e9b799bf61dd345fe06760ebc296f49f467347b7 | 190748c14c115f63e366d2244a572de08daa7e5e | refs/heads/master | 2021-01-17T15:29:43.924914 | 2017-01-25T23:33:53 | 2017-01-25T23:33:53 | 22,399,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,190 | sci | irr.sci | function [r, allrates] = irr(cf)
//IRR Internal rate of return.
//
// R = IRR(CF)
// [R, ALLRATES] = IRR(CF)
//
// Inputs:
// CF - A vector containing a stream of periodic cash flows. The
// first entry in CF is the initial investment. If CF is a
// matrix, each column of... |
eecf408e249240ce6fe14b7b3e0f4d0b7d632424 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH15/EX15.4/Example15_4.sce | 059dd5f1e118fd1a867c966789401117c01a32ef | [] | 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 | 260 | sce | Example15_4.sce | //chapter-15,Example15_4,pg 512
We=7.6*10^-5//speed od gyro
L=490
d=0.094
c=3*10^8
delphi=7.69*10^-5//phase shift
lam=((2*%pi*L*d*We)/(c*delphi))//wavelength of laser light
printf("wavelength of laser light\n")
printf("lam=%.11f m",lam) |
9ad4f48b2ac587bb9651ab68cfdebbd3caa7c585 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/io_info/io_info_rasp30.sce | 49d56db6a024b8470512d05a55854df594fc3b71 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 12,043 | sce | io_info_rasp30.sce | //********** 3.0 **********
dac_loc(1,1).entries(1)= '9 0 1 #int[1]'; dac_loc(1,1).entries(2)= '2'; //DAC2
dac_loc(1,2).entries(1)= '9 0 2 #int[2]'; dac_loc(1,2).entries(2)= '3'; //DAC3
dac_loc(1,3).entries(1)= '8 0 5 #int[5]'; dac_loc(1,3).entries(2)= '0'; //DAC0
dac_loc(1,4).entries(1)= '9 0 3 #int[3]'; dac_loc(1,4)... |
ce4b4be827e4dd96cd679a9abcb44b4cdb1389e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH3/EX3.2/3_2.sce | f67cd83083162962b1a3deb0765945ec2ee2a182 | [] | 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 | 3_2.sce | clc
//initialisation of variables
d1= 4 //ft
d2= 2 //ft
h1= 50 //ft
h2= 45 //ft
g= 32.2 //ft/sec^2
//CALCULATIONS
r= (d1^2/d2^2)
v1= sqrt((h1-h2)*2*g/(r^2-1))
Q= v1*%pi*d1^2/4
//RESULTS
printf ('discharge through pipe= %.2f cubic feet per second ',Q)
|
2f446d9e31e5ebf4ac6f1603f608ab808ddc494b | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH10/EX10.4/example10_4.sce | 8489968237c929bc4a5ab9459ac09fe6253ba11c | [] | 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 | 629 | sce | example10_4.sce | //clc()
Nflue = 100;//kmoles
NCO2 = 9.05;
NCO = 1.34;
NO2 = 9.98;
NN2 = 79.63;
PCO2F = 9.2;//% ( Feed )
PCOF = 21.3;//%
PH2F = 18;//%
PCH4F = 2.5;//%
PN2F = 49;//%
//Taking carbon balance,
F = (NCO2 + NCO )/ ( (PCO2F + PCOF + PCH4F)/100);
//Nitrogen balance gives,
Nair = (NN2 - F*PN2F/(100) )* 100 / 79;
... |
73661a38ea6b4cfd30e6cd5b16ae407b94065605 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/DEPENDENCIES/fpround.sci | 8aaf5b57d5012c4d5abfc353aed6b057bff3a50a | [] | 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 | 132 | sci | fpround.sci | // Function to round a floating point number x to n decimal places
function [f]= fpround(x,n)
f=round(x*10^n)/10^n;
endfunction
|
79c21721c52006376f14c3abaae435417ce02a37 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/percent/%log2for.sci | e4919414d59177171f43543033b61204b11da198 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 232 | sci | %log2for.sci | //[stk,nwrk,txt,top]=%log2for(nwrk)
//
//!
txt=[]
iop=evstr(op(2))
s2=stk(top);s1=stk(top-1);top=top-1
if s2(2)='2' then s2(1)='('+s2(1)+')',end
if s1(2)='2' then s1(1)='('+s1(1)+')',end
stk=list(s1(1)+ops(iop,1)+s2(1),'1')
//end
|
e3e7af9cda528d0a697136048fca6d0fa6502bae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2966/CH1/EX1.72/1_72.sce | d22c3667dc9e587ab04e168a76dd507a1242c31a | [] | 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 | 1_72.sce | //water//
//page 1.90 example 5//
clc
volume_hardwater=15000//in litres//
volume_NaCl=120//Volume of NaCl in litres//
Wt_per_Litre=30//% NaCl consumed by zeolite bed//
total_wt=Wt_per_Litre*volume_NaCl//total gms NaCl consumed by zeolite bed//
CaCO3_equivalent=total_wt*50/58.5//in terms of (gms/lit)//
H=CaCO3_e... |
4d1109d70e78ad726c0e1cfa111ae3be7c0fb742 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH9/EX9.5/Ex9_5.sce | 4daefea05036af77586f2cb186308eb4e4482c58 | [] | 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,414 | sce | Ex9_5.sce | clc
Psat = 3.973 // Saturation pressure in MPa
vf = 0.0012512 // specific volume of fluid in m^3/kg
vg = 0.05013 // Specific volume of gas in m^3/kg
hf = 1085.36 // Specific enthalpy of fluid in kJ/kg
hfg = 1716.2 // Latent heat of vaporization in kJ/kg
sf = 2.7927 // Specific entropy of fluid in kJ/kgK
sfg = 3... |
c703fbc1b93b554d5f24179df2df08601d730143 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/rceps.sci | 8b4d89ac284f37d2a87a8dd3b463b8d273bbaa43 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,045 | sci | rceps.sci | function [y, xm]= rceps(x)
//Produce the cepstrum of the signal x, and if desired, the minimum phase reconstruction of the signal x.
//Calling Sequence
//[y, xm] = rceps(x)
//Parameters
//x: real or complex vector input
//Produce the cepstrum of the signal x, and if desired, the minimum phase reconstruction of the sig... |
c5f41c9cf9a2d9a03b2df0a2d07eed8ddd207275 | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/equationDifferentielle/chapitre4/revision.sce | 770962b673551ac3f6f9602c74b6eea560713209 | [] | no_license | adamdepossylux/stem_cells | 6a2596a0734e3604b570cfdaa1e6cb798d13d7b7 | e1ffdf24a223fea3a3606a0bd262067edc81f5b9 | refs/heads/master | 2020-04-01T17:26:21.772875 | 2017-05-10T15:15:09 | 2017-05-10T15:15:09 | 61,795,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 599 | sce | revision.sce | N=100000;
clf
x=rand(1,N);
u=1+4*rand(1,N);
mu=sum(u)/N
mu1=mean(u)
clf
x=-2+4*rand(1,N);
y=-2+4*rand(1,N);
plot(x,u,".")
clf
x=-2+4*rand(1,N);
y=-2+4*rand(1,N);
I=find((x.^2+y.^2)<=1);
plot(x(I),y(I),".")
//find retourne le vecteur des indices i pour lesquels x(i) est "vrai"
clf
x=-2+4*rand(1,N);
y=-2+4*rand(1,N... |
a6e37fb010db39261558214ddcb18b34a91dcd8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH7/EX7.5/Ex7_5.sce | 2ad5a181b7f6eb0d189c24decdaf16cbf8ae6c58 | [] | 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 | 469 | sce | Ex7_5.sce | //Example 7_5
clc();
clear;
//To find the angular acceleration and angular velocity of one wheel
vtf=20 //units in meters/sec
r=0.4 //units in meters
wf=vtf/r //units in rad/sec
vf=20 //units in meters/sec
v0=0 //units in meters/sec^2
t=9 //units in sec
a=(vf-v0)/t //units in meters/sec^2
alp... |
0a162ef2d4d65a31c67459b19e7a168775000b57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH10/EX10.6/Ex10_6.sce | 97ab27deb8e46a57753af41d8d43a7d17c6164a5 | [] | 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 | 496 | sce | Ex10_6.sce | // chapter 10
// example 10.6
// calculate frequency of EM waves
// page 314
clear;
clc;
// given
V=8.50; // in micro V (voltage across Josephson junction )
e=1.6E-19; // in C (charge of electron)
h=6.626E-34; // in J/s (Planck’s constant)
//calculate
V=V*1E-6; // changing unit from V to microVolt
v=2*e... |
6d27082c5e5e098fdc80e2b6fad4e83e0a3aa974 | 717ddeb7e700373742c617a95e25a2376565112c | /608/CH21/EX21.21/21_21.sce | 2cc2c0368eb6fa3b3623c8e27fb8d4cea2bef108 | [] | 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 | 919 | sce | 21_21.sce | //Problem 21.21: A 200 V, d.c. shunt-wound motor has an armature resistance of 0.4 ohm and at a certain load has an armature current of 30 A and runs at 1350 rev/min. If the load on the shaft of the motor is increased so that the armature current increases to 45 A, determine the speed of the motor, assuming the flux r... |
fe5fef8fc6256f515253fccdc0776b4946a15443 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH9/EX9.12/example12.sce | 70856897e3c04fb72dfca5169cbf6a31eca6eee5 | [] | 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,594 | sce | example12.sce | clc
clear
//input data
P=330//Power output from the turbine is kW
H=70//Head of operating turbine in m
N=750//Speed of the turbine in rpm
nH=0.94//Hydraulic efficiency
n0=0.85//Overall efficiency
FR=0.15//Flow ratio
BR=0.1//Breadth ratio
D1D2=2//Ratio inner and outer diameter of runner
g=9.81//Acceleration ... |
ed4f1383e7fe34da9110f1bb7122cd8fc485d5b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH2/EX2.13/Ex2_13.sce | cb61ce2541fca7d504ef65b956ffa6d37e3f4513 | [] | 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 | 641 | sce | Ex2_13.sce | // Example 2.13
clear all;
clc;
// Given data
rho_NaCl = 2.17; // Density of Sodium Chloride(NaCl) in gram/cm^3
// From standard data table
NA = 0.6022*10^24; // Avogodro number
M_Na = 22.99; // Atomic weight of Sodium(Na)
M_Cl = 35.453; ... |
9b57129312eaf8c0c004d6434fe255beedb07d2b | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/scicos/c_pass2.sci | 18ad75561e17008e491eed0ba705e41aae69ff22 | [
"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 | 32,379 | sci | c_pass2.sci | function cpr=c_pass2(bllst,connectmat,clkconnect,cor,corinv)
// cor ; correspondance table with initial block ordering
//
// bllst: list with nblk elts where nblk denotes number of blocks.
// Each element must be a list with 12 elements:
// 1- function name (in string form if fortran routine)
// ... |
442c28d5650f499c10d04ff20065e694308058de | cc3bff70280a1ee19aaf881e852ab1d5a8a1014d | /Experiment No.6 - Generation of PSK waveforms.sce | 6f57e669856ddf3adc8792a3e5b03323e8c96218 | [] | no_license | imdeepak27/Digital-Communication-Systems | 814380444ff466fdbd693318fdc25815abd85347 | e35a99437a63bb023e2d6468ecfb92633d6049e5 | refs/heads/master | 2022-06-18T01:07:37.718079 | 2020-05-13T04:26:12 | 2020-05-13T04:26:12 | 263,524,581 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | Experiment No.6 - Generation of PSK waveforms.sce | t=[0:0.01:5*%pi];
A=5;
wc=2;
Vm=A.*squarewave(t);
Vc=A.*sin(wc.*t);
Vp=Vm.*Vc;
subplot(3,1,1);
plot(t,Vm,'black');
subplot(3,1,2);
plot(t,Vc,'black');
subplot(3,1,3);
plot(t,Vp,'black');
|
fb9507bd403bb57f9b813f2f0b517a450a0d8f9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH8/EX3.8.1/Ex3_8_1.sce | 6a805703c353338cb43f16d36b327b98c135aad1 | [] | 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 | Ex3_8_1.sce | //Section-3,Example-1,Page no.-EC.19
//To calculate the BOD of the sample.
clc;
DO_b=840
DO_i=230
ml_ad=80 //ml. of sample after dilution
ml_bd=50 //ml. of sample before dilution
BOD=((DO_b-DO_i)*(ml_ad/ml_bd))
disp (BOD,'Biological Oxygen Demand (ppm)')
|
bffd004ad502ae42a2462307b4503301ae8190fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH7/EX7.27/Fig7_27.sce | b59432f68553231dd5c501b6734b8838a7caa3ea | [] | 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 | 554 | sce | Fig7_27.sce | //Caption: Scilab code for Edge Detection using Different Edge detectors
//[1]. Sobel [2].Prewitt [3].Log [4].Canny
//Fig7.27
//page389
close;
clc;
a = imread('E:\DIP_JAYARAMAN\Chapter7\sailing.jpg');
a = rgb2gray(a);
c = edge(a,'sobel');
d = edge(a,'prewitt');
e = edge(a,'log');
f = edge(a,'canny');
Show... |
d59f900104b9030b8fc46f7049a29f66ad8a2ff2 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.7_5.tst | cd75bf2a4cfbd9ef882ec3d53131ba45d4903d4c | [] | 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 | 24,082 | tst | bow.7_5.tst | 7 7:0.5 8:0.2 12:0.5 17:0.4 20:0.5 23:1.0 24:0.4 25:1.0 26:0.03076923076923077 43:0.3333333333333333 48:1.0 55:0.2857142857142857 64:0.2 134:0.14285714285714285 185:1.0 197:0.5 209:1.0 311:1.0 483:1.0 499:2.0 1232:1.0 1708:1.0 1764:1.0 2428:1.0 2577:1.0 2737:1.0 3297:1.0 3300:1.0 3307:0.3333333333333333 3310:1.0 3701:1... |
19aed547a0e3e99d7cba024337cafde5eb9f7abe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH3/EX3.16/Ch03Ex16.sce | cdf254579273e566aca260e7810c604c0ebc2077 | [] | 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 | 863 | sce | Ch03Ex16.sce | // Scilab code Ex3.16 : Pg:121 (2008)
clc;clear;
R = 20; // Radius of curvature of the spherical surface, cm
mu = 1.5; // Refractive index of the material
h = 5; // First height of the incident ray from the principal axis, cm
delta_f_h = h^2/(2*mu*(mu - 1)*R); // Spherical aberration of the spherical s... |
167fa8151a961918e0645ce5840e8e711d7f109c | b667735486117d0c7bb30d616ee6ed37032e947d | /online/labca3_7/documentation/xmlhelp/en_US/lcaNewMonitorValue.sci | 2dc3a0717774ff29a9b7c74d98c65081191039b9 | [
"EPICS",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | KIT-IBPT/MML | 6b8093aec421162c56ada56daa2d43a1b6977e62 | 4ad8cbb61a36a8b145cc6b17e0b5a3a6b4213c26 | refs/heads/master | 2021-08-28T07:39:45.693497 | 2021-08-04T13:14:01 | 2021-08-04T13:14:01 | 226,303,582 | 0 | 0 | null | 2019-12-06T10:28:11 | 2019-12-06T10:28:11 | null | UTF-8 | Scilab | false | false | 2,333 | sci | lcaNewMonitorValue.sci | function lcaNewMonitorValue
// Check if monitored PVs need to be read, i.
//
// Calling Sequence
//
//[flags] = lcaNewMonitorValue(pvs, type)
//
// Description
//
// Check if monitored PVs need to be read, i.e, if fresh data are
// available (e.g., due to initial connection or changes in value and/or
// severit... |
2d4bd76be8a924e43ce442eb2418044869038e58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH3/EX3.14/Example3_14.sce | 9c3653a2b91c4d60d5e9ae0100fba5425ef5a69e | [] | 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 | 599 | sce | Example3_14.sce | clc
//Given that
lambda1 = 6560 // wavelength in Angstrom
n1 = 1 // transition state no
n2 = 2 // transition state no
n3 = 3 // transition state no.
//Sample Problem 14 page No. 141
printf("\n\n\n # Problem 14 # \n")
printf("\n Standard formula Used \n\n For Balmer Series \n 1/lambda = R*(1-(1/n)^2) \n\n For L... |
d91bc3930d2eedecdcc7c4180ad889dec76d9cf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH4/EX4.9/ex4_9.sce | 38da5260cab1ba855730de048dbb6f6523aea0fb | [] | 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 | 404 | sce | ex4_9.sce | //Exa 4.9
clc;
clear;
close;
// Given data
Vin=5;// in V
R1= 1;// in kΩ
R1= R1*10^3;// in Ω
CF= 0.1;// in µF
CF= CF*10^-6;// in F
f= 1;// in kHz
f= f *10^3;// in Hz
T= 1/f;// in sec
delta_Vout= Vin*T/(2*R1*CF);// in V
disp(delta_Vout,"The maximum change in output voltage in volts is : ")
S= 2*%pi*f*Vin;/... |
036360cf40d8649c94cf358d649927170dc40cc2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH16/EX16.15/16_15.sce | 151c739d6c4f04143c8b5493be1e3bb9de1493dc | [] | 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 | 123 | sce | 16_15.sce | clc;
delta_t=277-17;
d=0.15;
alpha=1.32*(delta_t/d)^0.25;
disp("heat transfer coefficient=");
disp("W/m^2 K",alpha);
|
977b8e012137039b85cb54c18f75a67e70608dc0 | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test2-10.tst | b42ce421f97e4cbc84796777b6ff26ab15b45b18 | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | tst | test2-10.tst | main
var i, r;
function pow(b, e);
var t;
{
if e == 0 then return 1 fi;
if e == 1 then return b fi;
let t <- call pow(b, e / 2);
let t <- t * t;
if 2 * (e / 2) != e then
let t <- t * b
fi;
return t
};
function sumpow(b, n);
var i, s;
{
let s <- 0;
let i <- 0;
while i <= n do
let s <- s + ... |
94400fc6cf1e08c1979477356f5d021610a233e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH16/EX16.4/Ex16_4.sce | 06b0cedd2956072e7c3493aafdac8c012dceab82 | [] | 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,060 | sce | Ex16_4.sce | // chapter 16
// example 16.4
// Determine dc supply voltage and charging current
// page-997
clear;
clc;
// given
num_cell=18; // number of cells
AH_output=90; // in AH (AH output per cell)
T=10; // in Hrs
charging_time=8; // in Hrs
AH_efficiency=85; // in %
V_cell=2.4; // in V (voltage per cell)
r=0.1; //... |
1fb587c3ca5448428556d8bdf5d7ea7751d757ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH18/EX18.18/Ex18_18.sce | addf75d75f56bb50d0eab74e4ad8f6e5e6f8c660 | [] | 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 | 395 | sce | Ex18_18.sce | //Initilization of variables
m=50 //kg
vo=4 //m/s
vf=8 //m/s
t=6 //s
g=9.8 //m/s^2
r=0.8 //m
u=0.25 //coefficient of friction
I=30 //kg-m^2
//Calculations
Na=m*g //N
F=u*Na //N
//Angular Speeds
wo=vo/r //rad/s
wf=vf/r //rad/s
//Applying impulse momentum theorem
mb=(I*wf+m*vf*r-I*wo-m*vo*r+F*r*t)/(vo*r+g... |
d15ad0da6137d5f21237925144c2ce1a1cf762f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.64/ex1_64.sce | 62169c7455492ed482a09dbcc9c7aa8d3308ca64 | [] | 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 | 299 | sce | ex1_64.sce | //Exa:1.64
clc;
clear;
close;
T_L=600;//in N-m
T_m=450;//in N-m
N=600;//in rpm
w_o=2*%pi*N/60;//in rad/sec
s=0.08;//slip
w=s*w_o;//in rad/sec
K=w/T_m;//Torque constant
J=(-10/K)/log(0.25);//in Kg-m^2
J_m=10;//in Kg-m^2
J_F=J-J_m;
disp(J_F,'Moment Of Inertia Of Flywheel (in Kg-m^2)='); |
51b82f9d944bb86efcd54cf20f1558977cdf6c1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH9/EX9.1/Chapter9_example1.sce | 9bd2390443bcdc7a5ec5c449b20b9c835128334c | [] | 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 | 418 | sce | Chapter9_example1.sce | clc
clear
//Input data
t=0.2//Thickness of film in micro m
r=1.25//Refractive index of liquid
w=[4000,5000]//Range of wavelength in Angstrom
q=35//Angle observed in degrees
//Calculations
u=asind(sind(q)/r)//Angle of reflection in degrees
w1=(2*t*10^-6*r*cosd(u))/10^-10//Wavelength in Angstrom
w2=w1/2//Wave... |
649a43a2d2832dd88656ac83449c11d35e2b98d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH8/EX8.10/Ex8_10.sce | 1425a94fb8bab6fe8a42cd72efd908733e762da6 | [] | 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 | 596 | sce | Ex8_10.sce | //Ex8_10
clc
fo=150
disp("fo= "+string(fo)+" Hz")//Central frequency of band pass filter
BW=15
disp("BW= "+string(BW)+" Hz")// Upper cut-off frequency or 3-dB bandwidth
Q=fo/BW // Quality factor
disp("Q= "+string(Q))
C=0.05*10^(-6) // Choosing value of capacitor same as in book
disp("C="+string(C)+"farad")
R=... |
be41da5f0927b7fe7e0b3269a988f6d768bc25fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH2/EX2.28/exmp2_28.sce | a6935cd00a90666ff4bd506fef6423b445627c76 | [] | 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 | 193 | sce | exmp2_28.sce | //Example 2.28
clc
leq=500+5000+600
format(5)
disp(leq,"L_eq(in uH) = L1 + L2 + 2M =")
f=(1/(2*%pi*sqrt(150*6100*10^-18)))*10^-3
format(9)
disp(f,"f(in kHz) = 1 / 2*pi*sqrt(C*L_eq) =")
|
a56d81864c9c11ed071a56bddbe12f78ca73f11f | 19499d51e6cb102cb79dfaac1988c6d08b5e8403 | /src/Maple/GeoProver.tst | 2d51ed48c242feb6cb0952ea6c8b130dcbff3ba0 | [] | no_license | hg-graebe/GeoProver | d9a5858a4c26dd2720ca6542bd409623d979ab4f | 94adbfdd0308d92fbfca8c88698c226bfe1fa662 | refs/heads/master | 2021-01-16T18:45:21.145047 | 2018-04-02T08:08:11 | 2018-04-02T08:08:11 | 10,639,777 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,437 | tst | GeoProver.tst | # GeoProver test file for Maple, created on Jan 18 2003
read("GeoProver.mpl"):
read("supp.mpl"):
with(geoprover):
interface(prettyprint=0):
# Example Arnon
#
# The problem:
# Let $ABCD$ be a square and $P$ a point on the line parallel to $BD$
# through $C$ such that $l(BD)=l(BP)$, where $l(BD)$ denotes the
# distance... |
7fa36df29ac9e68ca474f33cb38f006f3545df45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1394/CH21/EX21.3.1/Ex21_3_1.sce | dbd8ffa2a0ee8c572022e12dfe6e1e1306814870 | [] | 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 | 335 | sce | Ex21_3_1.sce |
clc
//initialization of variables
d =1000 // kg/m^3
h = 30 // W/m^2-C-sec
Hvap = 2300*10^3 // J/kg
T = 75 // C
Ti = 31 // C
l = 0.04 // m
epsilon = 0.36
c = 3600 // sec/hr
t1 = (Hvap/h)*(1/(T-Ti))*(l*epsilon*d)// sec
t = t1/c // in hr
//Results
printf("The time taken for drying is %.f hr",t)// answer wron... |
2d0c3fe0b5f13a77f1c744e39558c2fc3bb05005 | 361bde95a22190692c954b03dcc9add9c73f6646 | /ASSIGNMENT-3/LSF.sce | c86b89b0f6412903feca9cd0eabb641c16e6037d | [] | no_license | madhuri1234567/SCILAB | ad80337ea4211ce7c2fc2f8dc44763cdc34738c0 | 29a6a879f90e679ce5b4f560436fe4b186257052 | refs/heads/master | 2020-12-29T21:13:27.352657 | 2020-04-11T09:01:18 | 2020-04-11T09:01:18 | 238,733,957 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | LSF.sce | clc;clear;close
// FOR ANY SYSTEM AX=B & FOR ANY NO. OF EXPERIMENTS
A=input("enter the matrix")
disp(A,'A=');
Y=input("enter the column matrix")
disp(Y,'Y=');
X=((A'*A)^-1)*(A'*Y); //FROM NORMAL EQ.
disp(X,'X=');
M=X(1,1);
C=X(2,1);
disp(M,'M=');
disp(C,'C=');
disp('The line of best f... |
8a3c91ed2113e23b2d4d2e4fbb0b38b4a0229c22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH5/EX5.11/ex5_11.sce | 21cd8ec1be51c1058c7da30a2c3c0964a555e1e7 | [] | 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,077 | sce | ex5_11.sce | //find sending end voltage and current and power and efficiency
clear;
clc;
//soltion
//FUNCTIONS
function [z]=rxr(A,B)//Function for the multiplication of rectangular
z(1)=A(1)*B(1)
z(2)=A(2)+B(2)
endfunction
function [a]=r2p(z)//Function for rectangular to polar
a=z(1)*complex(cosd(z(2)),s... |
649ae4d02eeb4afbafba4a92089dbe80b1d7a7ee | 1882776b738d554e2d186ea80d031b9fd423c9be | /Makefile.tst | 02b8f57d5b09d4f852cb33fb5446a6ea99953fdf | [] | no_license | tokenrove/dentata-beta | 2571a3657db944da5908d56cf7a91aace7190fab | 20c6e9266e5710a63e62940b08dcd4dc0579dc75 | refs/heads/master | 2021-01-20T09:41:51.005495 | 2017-02-13T02:09:23 | 2017-02-13T02:09:23 | 14,069,809 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 779 | tst | Makefile.tst | #
# Makefile.tst
# Created: Mon Jan 8 07:33:59 2001 by tek@wiw.org
# Revised: Tue Jun 26 20:53:10 2001 by tek@wiw.org
# Copyright 2001 Julian E. C. Squires (tek@wiw.org)
# This program comes with ABSOLUTELY NO WARRANTY.
# $Id$
#
#
TESTTOOLS=./tests/test-set
GENERATEDTESTS=./tests/memcptst ./tests/imagetst ./tests/c... |
34bf2b4cc1f5564be5449332680bbb853d2011f7 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH10/EX10.12/Ex10_12.sce | 744a0da33f9f646b977b3120b69cef8a38d5aab8 | [] | 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 | 692 | sce | Ex10_12.sce | // Variable declaration
alpha = 0.05
n = 400
chi_sq_thr = 16.919
// Calculation
q = [22.4,42.8,65.2,74.8,69.2,52.8,34.8,20.0,10.0,8.0] // list of expected frequency
p = [18,47,76,68,74,46,39,15,9,8] // list of entries
chi_sq_prt = 0
for i = 1:10
chi_sq_prt = chi_sq_prt + (p(i)-q(i))^2/q(i)
end
//... |
07f9e380314854bac3c76f363002ab5108fb0564 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/DEPENDENCIES/Example2_1b.sce | 9d9923e9d5ca9f507e02445454c57bebed489ff1 | [] | 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 | 287 | sce | Example2_1b.sce | exec('Example2_1a.sce', -1)
clc
//Sample Problem 2-1b
printf("\n**Sample Problem 2-1b**\n")
time = distance_covered / velocity //in hr
delta_t = time + next_time /60 //in hr
printf("Time interval from the begining of the drive to the arrival at the station is %f hr", delta_t) |
a4ea7d86b6b69e389cf2151a89fe4d6c06df8f10 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.12_13.tst | 6ecfb47d6ecaa2368bb553f7e44653073cc5503d | [] | 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 | 20,609 | tst | bow.12_13.tst | 12 4:1.0 15:0.038461538461538464 28:0.14285714285714285 29:0.5 60:0.03125 78:1.0 256:0.5 505:0.25 614:1.0 653:0.3333333333333333 657:1.0 1127:1.0 3267:1.0
12 13:0.05263157894736842 14:0.5 15:0.038461538461538464 18:1.0 36:1.0 39:0.2 57:1.0 60:0.03125 164:1.0 180:0.25 192:1.0 218:1.0 505:0.25 517:1.0 518:1.0 603:0.5 660... |
696d12c080eb3e2bbbb0d8d5b97044d16464196c | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH3/EX3.04/3_04.sce | 4030fcd5182f730ccd8bb3625f0f21bb9b00ce64 | [] | 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,766 | sce | 3_04.sce | //temperature and pressure//
pathname=get_absolute_file_path('3.04.sce')
filename=pathname+filesep()+'3.04-data.sci'
exec(filename)
//Assuming temperature varies linearly with altitude:
//Temperature gradient(in F/ft):
m=(T1-T2)/(z2-z1)
//Value of g/(m*R):
v=g/m/R/32.2
//Pressure at Vail Pass(in inches of Hg):... |
6c035c33f1eadfc9f693910a04771bbfc3c07e54 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH7/EX7.2/7_2.sce | 43751b0616b2e18f8ae6d44f1a24b97d3bfc6f0d | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 977 | sce | 7_2.sce | clc;
//part I
%H2=0.494;
%CO=0.18;
%CH4=0.2;
%C4H4=0.02;
%O2=0.004;
%N2=0.062;
%CO2=0.04;
O_H2=%H2/2;
O_CO=%CO/2;
O_CH4=%CH4*2;
O_C4H4=%C4H4*6;
O_O2=-%O2*1;
C_CO=%CO;
C_CH4=%CH4;
C_C4H8=4*%C4H4;
C_CO2=%CO2;
H_H2=%H2;
H_CH4=2*%CH4;
H_C4H8=4*%C4H4;
O_Tot=O_C4H4+O_CH4+O_CO+O_H2+O_O2;
C_Tot=C_CO+C_CH4+C_C4H8+C_CO2;
H_T... |
768d4d2d4d787dfa8568a7dc7ecb95ff6633cf0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH4/EX4.9/ex_4_9.sce | 2d1689658f11f3575f258d5863ee8948c6f68a54 | [] | 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 | 376 | sce | ex_4_9.sce | ////Ex 4.9
clc;
clear;
close;
format('v',5);
I2=1;//mA
Rf=4.7;//kohm
//Case 1st
I1=500;//micro A
Vout1=-I1*10^-6*Rf*10^3;//V
disp(Vout1,"For 500 micro A current, Output Voltage(V)");
//Case 2nd
I2=1;//mA
Vout2=-I2*10^-3*Rf*10^3;//V
disp(Vout2,"For 1 mA current, Output Voltage(V)");
deltaVout=Vout2-Vout1;... |
69031b69d83d39d37f38a9c461251e781fc8b8f4 | ecd2d931395f0b1280d01efdf8fd451286106a32 | /data/out/LoadAndVerify.sce | 9514b89ce529c50c3a41ea5e9678eda11201f14d | [] | no_license | MaxRCC/TDB32 | 90c079862496647b9e6f9630fe7040263cd92429 | 4b5910b24c2126b2dd6ce672f5c01f1a5d4216aa | refs/heads/master | 2022-01-06T08:46:25.206207 | 2018-09-03T18:41:17 | 2018-09-03T18:50:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,217 | sce | LoadAndVerify.sce | clf;
clear all;
//str = 'Pos_0.txt';
str = 'Pos_3.txt';
//str = 'tbOutData.txt';
tbdata = csvRead(str,ascii(9), [], 'string');
fs = 250000;
[n m]=size(tbdata);
data= bin2dec(tbdata);
mat = []
N = length(data)/61;
for k=0:N-1
beam = data(k*61+1: (k+1)*61) - 2^17;
mat = [mat abs(beam)]
end
D = 512
mat = mat(:,... |
4c5238516afb5268e088aae9fbdfe3d3f10fcfec | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/vpw-pizzabonnen+/inputs.sce | e79432468882ab6c1747a964d06e2ab36a92cc8f | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,158 | sce | inputs.sce | pizzas0 = []
bonnen0 = []
pizzas1 = [4813,1719,3762,9829,6090,4,2511,7053,2252,1708,487,8406,9927,6621,7305,2112,8230,6189,2691,8394,964,6144,7224,5138,9654,4833,3985,4846,1301,7094,5873,4544,3873,5177,1674,9210,9359,6573,6267,9117,3432,7815,8318,2343,853,1392,8598,8925,6933,4256,250,4136,7105,3898,4725,3122,788,4864,... |
0a25cebee285980fb8aa7f541d1f0675c6eb3e66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2129/CH5/EX5.13.9/ex5_13_9.sce | 37ef9427ff5f5ccb68aad2b15de6dab7f54d37a0 | [] | 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 | 631 | sce | ex5_13_9.sce | //Exa 5.13.9
clc;
clear;
close;
//Given data
bita = 100;
V_CE = 0.2;//in V
V_BE = 0.8;// in V
R_C= 500;// in Ω
R_B= 44*10^3;// in Ω
R_E= 1*10^3;// in Ω
V_CC= 15;// in V
V_GE= -15;// in V
// Applying KVL to collector circuit
// V_CC-V_GE - I_Csat*R_C-V_CE-I_E*R_E=0, but I_Csat= bita*I_Bmin and I_E= 1+bita
... |
d880a3f1e0afa9eab6dbe9bcaa91cde061bc14ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH4/EX4.1/ex4_1.sce | 3352f8ca0e3d66a477227103c73aac0c7e499104 | [] | 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 | ex4_1.sce | // Exa 4.1
clc;
clear;
close;
// Given data
p = 1.0;// in MPa
p = p * 10^6;// in N per m^2
del_v = 1.5;// in m^3 per min
del_v = del_v * 60;// in m^3 per h
W = p * del_v;// in J
W = W * 10^-6;// in MJ
disp(W,"Work done by the pump upon the water in MJ");
|
b191de3e84cac2cdbfd127318a20e37310d055a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH5/EX5.7/Chapter5_Example7.sce | acd4347c6d6efd61988f882e08cc89c61c39c87c | [] | 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,663 | sce | Chapter5_Example7.sce | //Chapter-5, Illustration 7, Page 255
//Title: Air Compressors
//=============================================================================
clc
clear
//INPUT DATA
D=0.2;//Bore in m
L=0.3;//Stroke in m
r=0.05;//Ratio of clearance volume to stroke volume
P1=97;//Pressure at entry in kN/(m^2)
P4=P1;//Pressu... |
f2c5d5255ec3832e1a46c9b9add47203b797783a | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/optim/aplat.sci | cedd23f630b540252fc2f46824f1235ba38c9a07 | [
"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 | 504 | sci | aplat.sci | function [r,ind]=aplat(l,r)
//flattens a list. If l is constant it puts it in a list
//ind contains the list structure
// Copyright INRIA
if type(l)==1|type(l)==5 then r=list(l);ind=-1;return;end
n=size(l)
[lhs,rhs]=argn(0)
if rhs==1 then r=list(),nr=0,end
ind=list()
i=0
nind=0
for li=l
i=i+1
if type(li)==15 then
... |
103a8fcaf2e7af9828a7012f002eb2a16b457c04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH5/EX5.18/Ex5_18.sce | abfb86a814234506763ef2448820fa7a72bc79b9 | [] | 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,602 | sce | Ex5_18.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 5 Example 18")
T1_a=800;//temperature of reservoir a in K
T1_b=700;//temperature of reservoir b in K
T1_c=600;//temperature of reservoir c in K
T2=320;//tempera... |
93897285f63383d073649a8ea4793c5916e5f32b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH1/EX1.12/exa_1_12.sce | 919f28f5968da7bbc45cfbfb44c898216c3ff5c1 | [] | 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 | 713 | sce | exa_1_12.sce | // Exa 1.12
clc;
clear;
close;
// Given data
V_D1=0.7;// in volt
V_D2=V_D1;
V_BE= 0.7;// in volt
Bita= 100;
R3=180;// in ohm
V_EE= 15;// in volt
V_CC=15;// in volt
R_C=470;// in ohm
V_B3= -V_EE+V_D1+V_D2;// in volt
V_E3= V_B3-V_BE;// in volt
I_E3= (V_E3-(-V_EE))/R3;// in amp
// Part (i)
I_CQ= I_E3/2;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.