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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
84fd85b2f316ba706118462f65a8893e17b402de | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH10/EX10.28/Ex10_28.sce | 0aa0d80f47f0973b3916d7c4f9b019ee5f613f3c | [] | 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 | 315 | sce | Ex10_28.sce | //Initilization of variables
l=62.4 //lb/ft^3
h=12 //ft
f=105 //lb/ft^3
//Calculations
p1=l*h //lb/ft^2
//Total force on left side
//Simplfying the equation we get a three degree equation in d
//solving for d
p=[1/3 0 -144 467]
r=roots(p)
d=r(3) //ft
//Result
clc
printf('The value of d is %f ft',d)
|
e4e7306e25bd2917ee0e864d9fab148411d4c5a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH2/EX2.24/2_24.sce | b3385cc5cffe322f4a17ecb96c98fc82062fb302 | [] | 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 | 284 | sce | 2_24.sce | //acids and bases//
//example 2.24//
pH=7.3;//pH value of human blood//
H=10^-pH;
H1=H/10^-6
printf("H+ concentration of human blood is %f*10^-6M",H1);
k=1*10^-14;//water ionization constant//
OH=k/H;
OH=OH/10^-6;
printf("\nOH- concentration of human blood is %f*10^-6M",OH); |
e57f762b6563127828b79c8be31c03e32a0c2b97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH5/EX5.7/exa_5_7.sce | d1cd22e98cc96a7e1ec13cb25d78bd86b60d6739 | [] | 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 | 207 | sce | exa_5_7.sce | // Exa 5.7
clc;
clear;
close;
// Given data
Vf= 0.7;// in V
If= 10;// in mA
If= If*10^-3;// in A
toh= 70;// in ns
Cd= toh*If/Vf;// in nf
disp(Cd,"Diffusion capacitance for a si diode in nf is :")
|
ba1b881cf4cf3844bdcf493ed1c2e60c3bba40dd | a5f3b0001cdb692aeffc444a16f79a0c4422b9d0 | /main/forms/qa/unoapi/forms.sce | 945bf6f70fe47c1384da69e55f989ec421f71f9c | [
"Apache-2.0",
"CPL-1.0",
"bzip2-1.0.6",
"LicenseRef-scancode-other-permissive",
"Zlib",
"LZMA-exception",
"LGPL-2.0-or-later",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-philippe-de-muyter",
"OFL-1.1",
"LGPL-2.1-only",
"MPL-1.1",
"X11",
"LGPL-2.1-or-later",
"GPL-2.0-only",
... | permissive | apache/openoffice | b9518e36d784898c6c2ea3ebd44458a5e47825bb | 681286523c50f34f13f05f7b87ce0c70e28295de | refs/heads/trunk | 2023-08-30T15:25:48.357535 | 2023-08-28T19:50:26 | 2023-08-28T19:50:26 | 14,357,669 | 907 | 379 | Apache-2.0 | 2023-08-16T20:49:37 | 2013-11-13T08:00:13 | C++ | ISO-8859-1 | Scilab | false | false | 2,010 | sce | forms.sce | # *************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to y... |
c2d8b35c81d8ae90b00a3a700480d601318bc2cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH12/EX12.13/ex12_13.sce | 0991b1ce1b988195ad42db03d46a702a64ec8986 | [] | 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 | 233 | sce | ex12_13.sce | clc;
F=8.2*10^-8; //force in Newton
e=1.6*10^-19; //charge on an electron in Coulomb
E=F/e; //calculating electric field in V/m using E=F/Q
disp(E,"Electric field in v/m = "); //displaying result |
7e6cd146b1724f588e8960c7aa76c60606e37fef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH3/EX3.9/Ex3_9.sce | faabd512edfe0fb55e548657aa686f830937a019 | [] | 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 | 603 | sce | Ex3_9.sce | //Initilization of variables
Ra=5000 //N
Ma=10000 //Nm
alpha=60 //degree //angle made by T1 with the pole
beta=45 //degree //angle made by T2 with the pole
theta=30 //degree //angle made by T3 with the pole
Lab=6 //m
Lac=1.5 //m
Lcb=4.5 //m
//Calculations
T3=Ma/(4.5*sind(theta)) //N //take moment at B
// Now... |
849dafa00e89b941cca803471c6a132ae77d633f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH17/EX17.5/Ex17_5.sce | fdd410686ba49a64443d7d4c17db2677cacfbeb2 | [] | 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 | 807 | sce | Ex17_5.sce |
clc
// given that
A = 6.45e-4 // Area of plat in m^2
l = 2e-3 // separation between plates in m
epsilon_r = 6 //dielectric constant of material
epsilon_0 = 8.85e-12 // universal constant
V = 10 // Applied voltage in Volt
printf("\n Example 17.5")
printf("\n Part A:")
C = epsilon_0*epsilon_r*A/l // Capacitanc... |
ba5c8bbef0d1c6980152abde3f321b0cda7d5e56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH1/EX1.1/1_01.sce | 670bf18b486040a0acede03d996f00605972bca6 | [] | 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 | 224 | sce | 1_01.sce | //Chapter 1, Problem 1
clc;
I=5; //current
T=2*60; //time taken to flow current
Q=I*T; //calculating quantity of electricity
printf("Quantity of electricity Q = %f C \n\n\n",Q);
|
6b2d1396224148a5348d2cec1dce618119925ff9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH12/EX12.7/ex12_7.sce | 8110d71d0c26e3dc2ca249d95336d1282363d645 | [] | 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 | 322 | sce | ex12_7.sce | // Exa 12.7
clc;
clear;
close;
// Given data
V_i = 5.1;// in V
n = 8;
Re = 2^n;
Resolution = V_i/(2^n-1);// in V/LSB
disp(Resolution*10^3,"The Resolution in mV/LSB is");
// When
V_i = 1.28;// in V
D = round(V_i/Resolution);
D_in_binary= dec2bin(D);// in binary
disp(D_in_binary,"The digital output is :")
... |
60d89c3e1cc7f3472a53ca8b9758118ac3dfbad0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH10/EX10.14/10_14.sce | d103a29a22603ebda3a02512456317ed604a4612 | [] | 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,270 | sce | 10_14.sce | clear;
clc;
//Example - 10.14
//Page number - 353
printf("Example - 10.14 and Page number - 353\n\n");
//(1)
//This part involves proving a relation in which no mathematical components are involved.
//For prove refer to this example 10.14 on page number 354 of the book.
printf(" (1).This part involves provi... |
cb4ad40c2eb98773ee820eb1063b441b153aef42 | 08ee8059476493a308f8e13adcbace48d7bcfc92 | /Scilab_packetTracer_codes/noise.sce | 6211c7bd82702fb4307ce8ad31f974d1f46def38 | [] | no_license | Rushi-Bhatt/Self-Study | 7ed44b7821154b7906c7d532255ea648ec9d6299 | 90cc75440328ba21769ffac878f46feadeb2f06f | refs/heads/master | 2021-01-11T15:29:31.739065 | 2017-02-08T22:17:57 | 2017-02-08T22:17:57 | 80,360,471 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | noise.sce | figure
t=0:50
y=4*sin(2*%pi*t/10)
subplot(311)
title("Original Signal")
plot(t,y)
x=5*rand(t)
z=y+x
subplot(312)
title("Signal after adding noise")
plot(t,z)
subplot(313)
r=z-x
title("Signal after removing noise")
plot(t,r) |
6a3e4383917927d500c7dcaba19a1d4d50f0ad5b | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.20_4.tst | 2c3a317c5119d87a109be2d54973588cd24106f2 | [] | 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 | 25,030 | tst | bow.20_4.tst | 20 8:0.05 12:0.5 14:0.25 21:0.5 31:0.14285714285714285 45:1.0 84:1.0 88:1.0 101:1.0 123:0.3333333333333333 129:0.5 134:0.16666666666666666 184:1.0 226:1.0 259:0.2 295:2.0 328:0.16666666666666666 400:0.3333333333333333 417:0.3333333333333333 453:1.0 698:1.0 800:1.0 898:0.038461538461538464 3407:1.0 3934:1.0 3984:1.0 402... |
efaf83a89c40347cc0e8bb6e3534cbbfa0f96a33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH5/EX5.8/Chapter5_Example8.sce | c93fc96a558f548ac6495c579fa16b82ab3553d2 | [] | 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 | Chapter5_Example8.sce | //Chapter-5, Example 5.8, Page 177
//=============================================================================
clc
clear
//INPUT DATA
x=0.2;//Diatance of plane from the wall in m
t=10;//Time for heat flow in h
T=[25,800];//Initial and final tempertaure in degree C
k=0.8;//Thermal conductivity in W/m.K
a=... |
d399e0177ae7a6bf8bf6d95ab07f9b216feb2dcc | efd8a524f4cb26e7523ef0e7211ba3ea3b60177d | /tests/test-cflag-not-found.tst | 45a5fc2265615078bc36cf0b2bc8004caf83cd6b | [
"Apache-2.0"
] | permissive | archiecobbs/csvprintf | 2788ee5c236d0e3ea329c927f15464c09ecef118 | 270286b352559219b26127775238331e052150ec | refs/heads/master | 2023-08-03T18:32:23.588637 | 2023-07-31T21:45:54 | 2023-07-31T21:45:54 | 34,139,639 | 38 | 4 | null | 2015-12-05T20:53:45 | 2015-04-17T20:53:56 | C | UTF-8 | Scilab | false | false | 154 | tst | test-cflag-not-found.tst | FLAGS='-X -c bbb -c zzz'
STDIN='aaa,bbb,ccc\n"a1","b1","c1"\n"a2","b2","c2"\n'
STDOUT='!IGNORE!'
STDERR='csvprintf: column "zzz" not found\n'
EXITVAL='1'
|
ca771c16b07c930b4dafd1959ffcdc94d50a1773 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH3/EX3.51/3_51.sce | a7ecf46f4327234882ddaa7d1e5bf5eb015e8a3f | [] | 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 | 955 | sce | 3_51.sce |
clc;
clear;
//Example 3.51
rho=975 //[kg/m^3]
k=0.871 //[W/m.K]
dT=10 //[K]
mu=380.5*10^-6 //[N.s/m^2]
lambda=2300 //[kJ/kg]
lambda=lambda*1000 // Latent heat of condensation [J/kg]
Do=100 //Outer diameter [mm]
Do=Do/1000 //[m]
g=9.81 //[m/s^2]
//for horizontal tube
h1=0.725*((rho^2*lambda*g*k^3)/... |
7f05ae1d52b3c569f40ab4169cf20b5588024232 | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/pcread.sci | e45727ff68051600cf728e4de52b02bffb09c554 | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 704 | sci | pcread.sci | //Author-Nihar Rao
function[point] = pcread(inputPath)
[lhs rhs]=argn(0);
if lhs>1
error(msprintf(" Too many output arguments"));
elseif rhs>1
error(msprintf(" Too many input arguments,maximum number of arguments is 1\n"));
elseif rhs<1
error(msprintf("the function needs ... |
d2c570b32f8721dc92a1e0fc5636e35659520a81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH5/EX5.9/Ex5_9.sce | fd78ee0e8de282a0810a6ffa948717549e705f13 | [] | 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 | 618 | sce | Ex5_9.sce | clear
//
//
//
//Variable declaration
n1=1.563 //Core refractive index
n2=1.498 //Cladding refractive index
//Calculation
NA=sqrt(n1**2-n2**2) //numerical aperture
phimax=asin(NA) //acceptance angle(radian)
phimax=asin(NA)*180/%pi
phimaxd=int(phimax) //acceptance angle(degre... |
040a3a02d6fe7f700353356a661915c88342c75f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH10/EX10.7/Ex10_7.sce | 5b2b526d7c7da89c04d692773fa470c013b9309a | [] | 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 | 446 | sce | Ex10_7.sce | //Chapter 10 : Crystallography and Crystal Imperfections
clear;
//Variable declaration
x=2 //x intercept
y=3 //y intercept
z=3 //z intercept
//Calculations
rx=(1/x)*6 //reciprocal of x intercept
ry=(1/y)*6 //reciprocal of y ... |
88befb3e02d7a00d12196715c21c065ad5637ffb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH2/EX2.4/Example2_4.sce | 83fe5296eb60a6f1dda4f40d997aae8a1824e0d3 | [] | 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 | Example2_4.sce | //Example 2.4
clc
format(6)
disp("It is necessary to analyze each network to determine the critical frequency of the amplifier")
disp("(a) Input RC network")
fc1=1/(2*%pi*[680+1031.7]*(0.1*10^-6))
disp(fc1," f_c(input)(in Hz) = 1 / 2*pi*[RS+(R1||R2||hie)]C1 =") // in Hz
disp("(b) Output RC network")
form... |
6df9ce6b9f42b593bc38631787534769ba8963bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH1/EX1.10/Ex1_10.sce | 7f2dafb963b09d59190090b6030cb6ee3724c701 | [] | 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 | Ex1_10.sce | //Example 1_10
clc();
clear;
//To Find the thickness of the glass plate
lamda=4800 //units in Angstrom
lamda=4800*10^-10 //units in mts
n=5
u1=1.4 //first refractive index
u2=1.7 //second refractive index
t=(n*lamda)/(u2-u1) /... |
77dd0c338a6ed0628752f735d03458fc73a30f29 | 68f6f3335d41b95146619ddf406414da5c1bc975 | /metodos-numericos/parcial-practico-1/ej2.sci | 20cbf30d89e7c51a3c3a556f2811350a882a6bb4 | [] | no_license | nachocattoni/Ita | be52ab7f80cb0dd7d0a0ef470c72a7f997f2e75b | f7e102a2917ebe59358dbd9d5f7af81703c16fde | refs/heads/master | 2021-05-02T08:09:23.784800 | 2018-02-08T02:50:30 | 2018-02-08T02:50:30 | 120,845,736 | 0 | 0 | null | 2018-02-09T02:29:22 | 2018-02-09T02:29:21 | null | UTF-8 | Scilab | false | false | 581 | sci | ej2.sci | clear
clc
function x = f(x0, y0, x1, y1)
x = (x0*y1 - x1*y0) / (y1 - y0)
endfunction
function x = g(x0, y0, x1, y1)
x = x0 - y0 * (x1 - x0) / (y1 - y0)
endfunction
x0 = 1.31
y0 = 3.24
x1 = 1.93
y1 = 4.76
format(25)
disp(f(x0, y0, x1, y1));
disp(g(x0, y0, x1, y1));
//// Ademas de esto, me ayude con los cal... |
09fab0437b710a27f57739f4beb7a37c4bfbe2be | c90039f74887835096a93884110d643c4823e530 | /doc/oficial/dados para treinamento RNA/RNA_ANALISE_TECNICA/Indicador/Volume/RNA_VOLUME.sce | b860a75818314c6b92770ba99e1b201d19a21de1 | [] | no_license | igorlima/CellInvest | da991366b329b5d8021e9b949d7b726023489ec8 | c5411247e504b8a8d0ad77d32d41bbd2aee39930 | refs/heads/master | 2020-04-06T03:40:05.614164 | 2012-10-23T12:58:20 | 2012-10-23T12:58:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | RNA_VOLUME.sce | path_rna_volume = get_absolute_file_path('RNA_VOLUME.sce');
exec( path_rna_volume+"\OBV\RNA_OBV.sce" );
N_VOLUME = getN( path_rna_volume + "\N_VOLUME.txt" );
W_VOLUME = getW( path_rna_volume, "VOLUME" );
function saida_da_rna = rna_volume( alpha_obv )
saida_da_rna = ann_FF_run( [ rna_obv(alpha_obv) ], N_VOLUME, W_V... |
6bbd4db587dde0a7dc01a906a5a917315b43371a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH2/EX2.15/Example_2_15.sce | d4f84ca142651e35f8162b1beb15bb1812a0a45a | [] | 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 | 600 | sce | Example_2_15.sce | // Example 2.15 A random variable x follow Poisson distribution
clc;
clear;
m=3;
disp(m,"Parameter =");
function value = poisson(m, x)
value = (exp(-m)*(m^x))/(factorial(x));
endfunction
X_0=poisson(m,0);
X_1=poisson(m,1);
X_2=poisson(m,2);
X_3=poisson(m,3);
disp(X_0,"Probability when x=0 is ");
disp(X_1... |
a7e12a2b7c60674fbdc974db39410e67e852dd8d | b198c5fb5f24c67daa80a383a5a0dadf46603c86 | /BrunoReinoso_GradienteDescendente.sce | 254fd2184d906077772ada1272c3b767cfc0031b | [] | no_license | Breinoso2006/Otimizacao | 014ca6926b0da7bfa95cf044ad99368257b4426c | a1e845aa6fd1946d895a6861648284cc2accae94 | refs/heads/main | 2023-05-06T13:20:04.444010 | 2021-05-26T18:45:35 | 2021-05-26T18:45:35 | 371,136,003 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,458 | sce | BrunoReinoso_GradienteDescendente.sce | clear
clc
global d;
global x;
global lamb;
x = [2, 1];
lamb = 0;
//Função analisada
function z = f(p)
z = (p(1)-p(2)^3)^2 + 3*(p(1)-p(2))^4;
endfunction
//Derivada Primeira Em X
function resp = derivadaPrimeiraEmX(p)
h = 0.00001;
h2= [h, 0];
resp = (f(p+h2)-f(p))/h;
endfunction
//Derivada Primeira E... |
0c605fd22e34d7a460915a850908136a1ecfc8a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH4/EX4.43/Ex4_43.sce | 4c470e9a3726d5c6a42bd68c9e8f463a234784a9 | [] | 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 | 209 | sce | Ex4_43.sce | //pagenumber 226 example 43
re=100;//ohm
beta1=100;
rb=1*10^3;//ohm
stability=(1+beta1)/(1+beta1*(re/(re+rb)));
r1=3.8//r2
disp("r1 = 3.8*r2");//correction in the book not given in question
|
30429a3cc05e8069edb7c74ddb90565c43c7b408 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH4/EX4.1/Ex4_1.sce | a1fb9414d48edaa457a47da409418374f59ccc34 | [] | 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 | 325 | sce | Ex4_1.sce | //Finding capacitance
//Example 4.1(pg 110)
clc
clear
// Let C1 and C2 be unknown capacities
//C1+C2=0.16
//(C1*C2)/(C1 + C2)=0.03
// from the above 2 equations we get the following polynomial
s=poly(0,"s");
p=s^2 -0.16*s +0.0048
[c1]=roots(p)
c2=0.16-c1
printf('Thus the capacitance of condensers is %3.2f microF \n ',... |
59c7ca0bd78358fc69a8c118877b1d72ab119be1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH3/EX3.1.3/3_1_3.sci | e4fdf2d4394d23fda05172719a48c77f871367d0 | [] | 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 | 272 | sci | 3_1_3.sci | //page 145
clear;
close;
clc;
A=[1 3;2 6;3 9];
disp(A,'A=');
ns=kernel(A);
disp(ns,'Null space=');
disp(A(1,:)*ns,'A(1,:)*ns=');
disp(A(2,:)*ns,'A(2,:)*ns=');
disp(A(3,:)*ns,'A(3,:)*ns=');
disp('This shows that the null space of A is orthogonal to the row space.');
//end
|
0886fb0de9fc66b739a8ac28c2c02e1d14f441cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH17/EX17.10/17_10.sce | 45487e845632e47da9b45d8df885501b089f84ff | [] | 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 | 706 | sce | 17_10.sce | //pathname=get_absolute_file_path('17.10.sce')
//filename=pathname+filesep()+'17.10-data.sci'
//exec(filename)
//Speed of engine(in rpm):
N=1500
//Brake torque(in Nm):
T=300
//Fuel consumed(in kg):
m=4
//Cooling water circulated(in kg/min):
m1=15
//Calorific value of fuel(in kJ/kg):
C=42000
//Mechanical ef... |
8565fefdfd646249e2d9d35f59a234f5899d9bbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH4/EX4.13.1/Ex4_13.sce | c5647d7d1906219039ee62eda09620d1f9e238fd | [] | 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 | 387 | sce | Ex4_13.sce | clc
clear
//At 7 bar and 300 Celcius
P=7; //in bars
Cps=2.1;
Tsup=300+273; //in K
Tsat=165+273; //in K
Hg=2763.5; //in kJ/kg
H1=Hg+(Cps*(Tsup-Tsat));
x2=0.9; //Dryness Fraction
Hf=697.2; //in kJ/kg
Hfg=2066.3; //in kJ/kg
H2=Hf+(x2*Hfg);
m=(H1-Hg)/(Hg-H2);
printf(... |
01e2a43dc614357db7fabdeb0715a7c1ae7254dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH3/EX3.26/EX3_26.sce | c1e57f9b5c2b3f8f067b5616036d90e65393b225 | [] | 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,082 | sce | EX3_26.sce | clc;funcprot(0);//EXAMPLE 3.26
// Initialisation of Variables
p1=1;................//Initial pressure in bar
t1=363;.............//Initial temperature in K
r=9;.................//Compression ratio
p3=68;...............//Max pressure
p4=p3;
Qs=1750;..............//Total heat supplied
ga=1.4;...............//Rati... |
4dab81bcf202fa182a5ed617960a5e7cbda3c0c3 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/plasma/readmag.sce | 9f27991665e7f5c65b73d4ae5fe629f75ab9a867 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 914 | sce | readmag.sce | function b=readmag(filepath)
//fd=mopen('out/jobmkgt9.out','r');
fd=mopen(filepath,'r');
//mymat=rand(1,6);
nx=39;
ny=39;
nz=39;
nod=mfscanf(fd,'%s\n');
nod=mfscanf(fd,'%s\n');
nod=mfscanf(fd,'%s %d %d %d\n');
//nx=mfscanf(fd,'%s %d');
//ny=mfscanf(fd,' %d');
//nz=mfscanf(fd,' %d\n');
nod=mfscanf(fd,'%s %f\n');
no... |
38837d4ea997a962151641718bf6838d71ddf1a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.11/Ex4_11.sce | 63ecf56948a0b5f8e2d5103e2a71ee728a8af1b1 | [] | 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 | 480 | sce | Ex4_11.sce | clc;
P=4;//No of poles
Pout=100000;//Output power in watts
Vt=200;//terminal voltage
Z=256;//No of conductors
A=4;//no of parallel paths of armature conductors
Ia=Pout/Vt;//armature current
Bcp=0.25;//interpolar flux density in tesla
gcp=0.01;//interpolar air gap length
U=4*%pi*0.0000001;//permeability of air
... |
321df15504e6d6eac154a485c9b9fcc168042231 | efe59cd4cca137aba9af447e8040b1eac3738006 | /examples/varargs/exemplo_funcao_argumentos_entrada_saida_variavel.sce | dc3122763a1ac751db8fba30fbe9bd69d021fed0 | [] | no_license | thejefecomp/scilab-codes | fd13f6aa666135c0fb08989e25b0ca1354c58b51 | 6eefce6eed8af0b54f2d6172f6e2b05513327184 | refs/heads/master | 2023-07-31T13:23:50.467306 | 2021-09-23T09:00:49 | 2021-09-23T12:04:06 | 287,115,880 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,188 | sce | exemplo_funcao_argumentos_entrada_saida_variavel.sce | // Este programa especifica exemplos de utilização de funções com ambos argumentos de entrada e saída variáveis.
//Esta função implementa uma função de soma aritmética com argumentos de entrada e saída variáveis.
function varargout=soma(varargin)
numeroEntradas = length(varargin)
//Alternativa: varargout(1) = 0
r... |
028730cb23c9ddf928d2eb92fae91dfa51d1a25b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH5/EX5.13/Ex5_13.sce | fefeb7f2cdeab7450aca3aee74e4ecedabf8b48d | [] | 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 | Ex5_13.sce | clc;clear;
//Example 5.13
//given data
V=6/1000;//in m^3
Pgage=75;
Patm=100;
m1=1;
Qind=0.5;//d stands for .
t=30*60;//in s
//calculation
Pabs=Pgage+Patm;
//from Table A-5, ths saturation temp
T=116.04;
disp(T,'the temperature at which cooking takes plac in C');
//mass balance me=(m1-m2)cv
//energy ... |
71dfba315bff71522285784fbe7e7f13781b5f47 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/elem/coth.sci | c7e0e699a325a388570892c33ae7b0ae769eb26a | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | 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 | 235 | sci | coth.sci | function [t]=coth(x)
//Syntax : [t]=coth(x)
//
// hyperbolic co-tangent of x
//!
if type(x)<>1 then error(53),end
[m,n]=size(x);
t=exp(x);
if m<>n then t=(t-ones(m,n)./t).\(t+ones(m,n)./t)
else ti=inv(t);t=(t-ti)\(t+ti)
end
|
5f292d1ded5d266543db5b7d2c4b0645311c0156 | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH6/EX6.4/ex4.sce | 6cb6955e655f48ddef99b446de8a3d3e36a7ce2d | [] | 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 | 557 | sce | ex4.sce | // Example 6.4 : Design of the circuit with output current =100uA
V_DD=3; // (V)
I_REF=100*10^-6; // (A)
I_D1=100*10^-6; // (A)
L=1*10^-6; // (m)
W=10*10^-6; // (m)
V_t=0.7; // (V)
k_n=200*10^-6; // k_n=k'_n (A/V^2)
V_A=20; // V_A=V'_A (V)
V_OV=sqrt(I_D1*2*L/(k_n*W));
V_GS=V_t+V_OV;
R=(V_DD-V_GS)/I_REF;
V... |
3d6f5e391cdd4467502f1edfa40d76633cc0c082 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/latcfilt/latcfilt9.sce | a5b624473e609353baafa384170a190cd773b7bd | [] | 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 | 344 | sce | latcfilt9.sce | k=[1 2 3;3 4 5];
v=[2 6 4;4 2 8];
x=[2 3 5 6;2 3 6 3];
[f,g] = latcfilt(k,v,x);
disp(g);
disp(f);
//output
//!--error 10000
//k cannot be a matrix
//at line 13 of function latcfilt called by :
//[f,g] = latcfilt(k,v,x);
//
//matlab
//Error using latcfiltmex
//Lattice and ladder coefficients must be vectors for... |
cfe70247d3b7619175d28e138418457f7ae6e864 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH10/EX10.6/ch10_6.sci | 0b5bfa7df77fe910c12b1a14dbbddb1f2fd8b562 | [] | 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,300 | sci | ch10_6.sci | //to calculate starting torque and starting current,motor performance
clc;
clear
V = 220;
V_a=110*complex(cosd(90),sind(90));
V_m=220*complex(cosd(0),sind(0));
R_1=3;
R_2=2.6;
X_1=2.7;
X_2=2.7;
X=110;
V_f=(1/2)*(V_m-imult(V_a));
V_b=(1/2)*(V_m+imult(V_a));
Z_f=(complex(0,X)*complex(R_2,X_2))/(complex(0,X)+complex(R_2... |
20aec8bd8a70e1acc6f8b2abce6e35de0110245d | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /new/DataMining.tst | 84741e6a97db24fe7d5cdc6b47e91da997ba6386 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 47,248 | tst | DataMining.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2016 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
c7055e38ca0e0972f18f2bdc3d474a2d1c0615b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH7/EX7.1/1.sce | 35b7a3111f6928ec39edaeb4d8e115863dbc5e69 | [] | 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 | 352 | sce | 1.sce | clc
clear
//input
e=1.6*10^-19 //charge of electron
r=0.075*10^-3 // radius of electron
ep=8.85*10^-12 //permittivity of free space
//calculation
v=-e/(4*%pi*ep*r)//electric potential
e=-e/(4*%pi*ep*r*r)//electric field strength
//output
printf("resultant potential is %3.3e V",v)
printf("\n resultant electri... |
8d288a6e9399dc6796b9b6fe410f49ef97ac461b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH20/EX20.16/Ex20_16.sce | 7960cd6f261f3c5d99af8192afc09d5fe4cc551a | [] | 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 | 694 | sce | Ex20_16.sce | clc
// Given that
N = 3000 // Speed in rpm
T = 66.5 // Torque in Nm
d = 60 // Bore in mm
L = 100 // Stroke in mm
Vc = 60 // Clearance volume in cc
r_e = 0.5 // Relative efficiency
cv = 42 // Calorific value in MJ/kg
printf("\n Example 20.16\n")
Vs = (%pi/4)*((60*(10^-3))^2)*(L*(10^-3))
r_k = (Vs+(Vc*(10^-6))... |
747a39bd7d4bc10d0ed34fdd57a8d3100dc92acb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH6/EX6.7/Ex6_7.sce | b64b1139341df4d5b94bc2b2e986bc7ff4993b62 | [] | 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 | 645 | sce | Ex6_7.sce | // exa 6.7 Pg 177
clc;clear;close;
// Given Data
Wmax=40;// kN
Wmin=20;// kN
L=500;// mm
Se_dash=350;// MPa
Sut=650;// MPa
Syt=500;// MPa
n=1.5;// factor of safety
ka=0.9; // surface finish factor
kb=0.85;// size factor
ke=1;// load factor
Kf=1;// fatigue strength factor
Wm=1/2*(Wmax+Wmin);// N
Wa=1/2*(Wmax-Wmin);// ... |
04e74d9807cfadc4a33468392aa22c767e66957b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH11/EX11.7/Ex11_7.sce | 08147d6e739190a6cecd3237aee26f853085299b | [] | 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 | 272 | sce | Ex11_7.sce | clc//
//
//
//Variable declaration
chi1=2.8*10^-4; //susceptibility
T1=350; //temperature(K)
T2=300; //temperature(K)
//Calculation
chi2=chi1*T1/T2; //susceptibility
//Result
printf("\n susceptibility is %0.3f *10^-4",chi2*10^4)
|
6a0ff926fffae28f11ec1342cf8482e70e25385b | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH7/EX7.4/ex4.sce | 4693cab224f12ff81656b679d9d1e3e1c52c6a4e | [] | 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 | 858 | sce | ex4.sce | //example 4
//comparison of ideal carnot heat engine with actual heat engine
clear
clc
Qh=1000 //rate of heat transfer to heat engine in kW
W=450 //rate of production of work in kW
Ql=Qh-W //rate of heat rejected by heat engine in kW
nthermal=W/Qh //efficiency from the definition of efficiency
Tl=300 //temperat... |
599b0c868aca993a8d6dfe9129336b44e28fa614 | e0d0f91c5f4c3a7f3e8d1d5be59317de8305c081 | /dataset/presentation_program/rest_2015.sce | 069c46bad36f162460d80aaaee4a949ea60eb76d | [] | no_license | micchu/TwoChannelNIRS | 01687eb41ecac8bcca91dc27c293e02b55ebb89d | e8a291a8678e0006a5d4ab5fd74f518c333ac64c | refs/heads/master | 2021-01-10T06:28:57.272767 | 2016-03-09T10:39:54 | 2016-03-09T10:39:54 | 51,119,550 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | rest_2015.sce | scenario = "rest_2015";
no_logfile = false;
default_font_size = 120;
begin;
picture {} default;
trial {
trial_duration = 300000;
picture{
text { caption = "+"; };
x = 0; y = 0;
};
};
|
fba1d09bdb42ca0dfa7bfd8bd5d76b853ef499f2 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MathematicalFunctions/FLCap-Netezza-01.tst | cf9f0d565ba2f7f77e3b41596911643a6885e302 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,326 | tst | FLCap-Netezza-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
72e96e43e6e0fd1081d15d3112d2da0217c66531 | ca1eaf862df63e8164039eec4e299554cf91908b | /tests/advanced.tst | 19c23b2c9ecffc78cd330e63e3a0b5597bb86c6f | [
"Unlicense"
] | permissive | Coloquinte/Single-row-problem | 9e146856ca76e733d680763b682cb0362cd2132d | eac4ccb780627999b46df6a6e9ff1f4ed8a9d03c | refs/heads/master | 2021-01-22T02:08:24.392105 | 2017-01-06T20:59:05 | 2017-01-06T20:59:05 | 19,968,781 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | tst | advanced.tst | 10 80
3
4
3
25 2
22 1
15 1
1
5
1
17 4
0
6
1
2
7
1
54 1
39 1
1
4
1
48 2
1
3
1
76 2
0
4
0
-1
|
e5504cc396c1cc496a908f791aa7acc60acd889c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH13/EX13.3/Ex13_3.sce | f4a931791865d5b9c098b2505ce4fce72011c672 | [] | 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 | 509 | sce | Ex13_3.sce |
//Variable Declaration
CIR1=27.53 //Carrier to interference ratio from Example 13.1(dB)
CIR2=23.53 //Carrier to interference ratio from Example 13.2(dB)
//Calculation
ICRu=10**(-CIR1/10) //Interferece to carrier ratio for uplink
ICRd=10**(-CIR2/10) //Interferece to carrier ratio for downlink
ICRant=ICRu+ICRd ... |
f796dcce4bb8293fc6732574b22c4de8c5341fe9 | 12817c122486397fcb765ebb74f61e7d383d8821 | /Maclaurin.sci | 15118552ec80ada7e53f2b2c00098597f87a016e | [] | no_license | jluisfgarza/NumericalMethods | d58b0d901e1f64ff0db8939106df2950bb7f1a65 | 6b74a992e6ea891191b8bab79e9c09a149fecba7 | refs/heads/master | 2021-01-10T09:50:44.828082 | 2020-04-20T11:29:30 | 2020-04-20T11:29:30 | 53,004,641 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,647 | sci | Maclaurin.sci | clear
/////////////////////////////////////////////////////////////////////////////////
// Autor: Juan Luis Flores Garza
// A01280767
// Fecha: 1/18/2016
// Version 1.0
//
// cos x = 1 - x 2 / 2 ! + x 4 / 4 ! - x 6 / 6 ! + x 8 / 8 ! ......
// Aplicacion para obtener la aproximacion de la funcion ... |
b4ec24fa4e1c4c207f35e8bd503b859bd613deed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH16/EX16.1/Ex16_1.sce | b3251fa8a7ac839093236f8cefc37ff70f822f11 | [] | 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,460 | sce | Ex16_1.sce | clear;
clc;
disp('Example 16.1');
// aim : To determine
// (a) the net power output of the turbine plant if the turbine is coupled to the compresser
// (b) the thermal efficiency of the plant
// (c) the work ratio
// Given values
P1 = 100;// inlet pressure of compressor, [kN/m^2]
T1 = 273+18;// inlet temp... |
fa3624a136addf992c78803aabd759cdc6ee4ec1 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/poly2rc/poly2rc9.sce | 3d84010224a4bb86efe54d0e59114dba5b326a3d | [] | 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 | 298 | sce | poly2rc9.sce | //check o/p when more than 2 i/p arguments are passed to the function
a=[12 3 4 5 5 6];
b=poly2rc(a,0.2,4);
disp(b);
////output
//b=poly2rc(a,0.2,4);
// !--error 58
//Wrong number of input arguments.at line 2 of exec file called by :
//x Test/poly2rc/poly2rc9.sce', -1
|
648cbc671cfa5d00d300e3a4b9f258580b74d6a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH6/EX6.15/ex15.sce | ec1e38382c995a396e9ada39fbaff19faf24319a | [] | 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 | 822 | sce | ex15.sce | clc
clear
//Input data
x=0.3;//Thickness of brick wall in m
ti=24;//Inside surface temperature of wall in degree centigrade
to=-6;//Outside surface temperature of wall in degree centigrade
h=2.75;//Height of the wall in m
L=6.1;//Length of the wall in m
K=2.6;//Thermal conductivity of brick material in kJ/m hr ... |
b78f28824873adbe1a753dfa2370e8210dd4438b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH5/EX5.12/Ex5_12.sce | f237aac99a1cbf11fc32354313f488b3e28cd70e | [] | 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 | 426 | sce | Ex5_12.sce |
//
//
aa=1.725
ab=2.245
ba=2.145
bb=3.045
AB=200
rla=450
aAB=ab-aa
printf("\n apparent difference of level between A and B is %0.3f meters',aAB)
dB=bb-ba
printf("\n apparent difference of level at B %0.3f meters',dB)
td=(aAB+dB)/2
printf("\n true differece of level= %0.3f ",td)
CB=bb
CA=CB-td
e=ba-CA
pri... |
75290c8afebae09ad067257f30645d2566d0ba08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.65/EX_2_65.SCE | ddcab204e270e2bbb5d76e1d4c4a8e081c4ac1dc | [] | 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 | 738 | sce | EX_2_65.SCE | // Example 2.65:resonant frequency ,impedence,Q-factor,Bnadwidth,line current and resonant frequency
clc;
clear;
V=10;//
L=1.2;//in micro henry
C=200;//in micro farad
R=8;//in ohms
fr=(1/(2*%pi))*(sqrt((1/(L*10^-3*C*10^-12))-(R^2/(L*10^-3)^2))*10^-3);//resonant frequency in killo hertz
Zr=(L*10^-3)/(C*10^-9*R);//IN KI... |
6a9bcccc480a42a6b48be0e8d2a7d93f7df7ee96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH8/EX8.2/exa8_2.sce | 1e8d8cb42f0c534a7eb0ad5b77a2dce199e51a68 | [] | 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,003 | sce | exa8_2.sce | // Example 8.2
// Power Transmission with Transformers
// From figure 8.8(a)
P=15000; // Watts ; Objective of the problem
R_S=2;//source resistance
R_L=3;// Load resistance
I_out_m=sqrt(2*P/3);
V_out_m=R_L*I_out_m;
I_m=I_out_m; // Line current
V_s_m=(R_L+R_S)*I_m; // Ohm's Law
Eff=R_L/(R_L+R_S);
P_S=0.5*2*... |
b0b7a3ff496520decf8a6955e03e2391f1675b7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH9/EX9.12/Ex9_12.sce | 9e02a54cb522f6e29ee0844a8ea4ff1a4c8da2c7 | [] | 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 | 734 | sce | Ex9_12.sce | // Calculating the armature voltage drop
clc;
disp('Example 9.12, Page No. = 9.49')
// Given Data
P = 300;// Power rating (in kW)
V = 500;// Voltage rating (in volts)
a = 6;// Number of parallel paths (Since lap winding)
p = 0.021;// resistivity (in ohm mm square)
Ns = 150;// Number of slots
Lmt = 2.5;// Lengt... |
33d6256d5936cfa0c2216b8de1f8cc761b9e4661 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/ctp.tst | 13c3a86da2bfd5e3af2ce61d6432bdfb95ba5c36 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,672 | tst | ctp.tst | tykwa nwtykwa³ᐟ V;PFV;3
xu nxu³ᐟ V;HAB;2
sweʔn nsweʔn²⁴ V;HAB;3
xtyu nxtyu¹² V;HAB;3
stun nstun² V;PROG;3
na kwna²¹ V;PROSP;3
xta nxta¹ V;HAB;3
snyaʔ nsnyaʔ¹ V;PROG;3
xka nxka⁴³ V;PROG;1
skwen nskwen¹ V;PROG;2
xjaʔ nwxjaʔ¹ V;PFV;2
kilyu nkilyu² V;HAB;2
jkwi jykwi²¹ V;PROSP;3
xku xku³ᐟ V;PROSP;2
laʔ kilaʔ² V;PROSP;2
tun... |
af453c0c38ef0b36a818f763d50ef2cd29325db1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH15/EX15.2/15_02.sce | 40b6b3cbdfc027ad47e592dfbc4597a507b4a94c | [] | 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 | 15_02.sce | //Chapter 15, Problem 2
clc;
f1=50; //frequency in hertz
L1=40e-3; //inductance
V=240; //voltage
V2=100; //voltage
f2=1000; //frequency in hertz
Xl=2*%pi*f1*L1; //inductive reactance
Xl2=2*%pi*f2... |
e07677cb9d1390c27295c622255c298ed4099f6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH5/EX4.6/EX4_6.sce | 017e2f286aa59dead603e7c197cddcdf09d86782 | [] | 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,048 | sce | EX4_6.sce | // Grob's Basic Electronics 11e
// Chapter No. 04
// Example No. 4_6
clc; clear;
// Assume that the series circuit in Fig. 4–20 has failed. A technician troubleshooting the circuit used a voltmeter to record the following resistor voltage drops. V1=0 V; V2=0 V; V3=24 V; V4=0 V. Based on these voltmeter readings, wh... |
6e0ad91f3f608f3a7cc0270be24baf8d8bfcccef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH5/EX5.13/ex5_13.sce | cf63e54914474842f9626e33f16dc659bbef769d | [] | 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 | 200 | sce | ex5_13.sce | //Page Number: 298
//Example 5.13
clc;
//Given
f=9D+9;//hz
v0=250;//V
l=0.5;//cm
l1=l/100;//m
//Bandwidth
n=3;
df=(n+(3/4))/(6.774D-6*l1*sqrt(v0));//hz
disp('Mhz',df/10^6,'Bandwidth:');
|
5b896755fac686e911c094e46744bb7f3afe7d4a | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/CJ90AVG/ATWM1_Working_Memory_MEG_CJ90AVG_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | a635569f2c4b09b4bfb6da6d2e7470350ec8301d | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,596 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
57c59c2b93b537a04fef46565693877f788f5a0d | b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf | /TD6/Scripts/circul.sci | 094d22e2afc5e49732e9897560dbb2478aa7780b | [] | no_license | MFrizzy/Modelisation | 51794b2edf421f9d2206cb73972d8d8d7b1e9759 | 0ca819afbcbe00f58f3bbaa8fc97164ae2c1d3cb | refs/heads/master | 2021-08-29T12:02:20.042037 | 2017-12-13T22:39:21 | 2017-12-13T22:39:21 | 106,943,303 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,493 | sci | circul.sci | //
// Strategie circulaire
// Affecte aux trois serveurs successivement
function [Q1, Q2, Q3] = circul(Tmax, lambda, mu)
Q1 = [0, 0, 0]; Q2 = Q1; Q3 = Q1;
i = 0;
ta = 0;
while (ta < Tmax)
ia = randExp(1, lambda)
i = i+1
ta = ta + ia
nq =
ts = randExp(1, mu(nq... |
5a854018e4e871b01bbc7805666454509e7f09ec | 936c3b35ba232dc3649cc1c6275365a215b2b00d | /estimation_par_discretisation.sce | e03d5d47560377767235490c65af86bb02b8c26b | [] | no_license | Pierre-Edouard/Projet-modal-sna | 7adb267a560af6286807a0a4330f83898a9fc11c | e73a5361f4b081c7c5c019fc48fcab91206db0c3 | refs/heads/master | 2016-09-05T18:30:16.523787 | 2013-05-17T14:15:08 | 2013-05-17T14:15:08 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 3,496 | sce | estimation_par_discretisation.sce | //------------------------------------------------------------------------------
// Estimations utilisant la simulation par discrétisation en temps
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// Evolut... |
76512d07822624e56307ba7b378c5e34c6f45f0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH4/EX4.9/eg_4_9.sce | e0b020658ccc3ce8e62849123108f2bedcd37e39 | [] | 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 | 118 | sce | eg_4_9.sce | clc;
k=[0 1 1 1;
0 1 1 0;
0 0 1 0;
0 0 1 0];
disp("The prime implicants of the function f");
karmap(k); |
173209240a600d44a94a0496bd5b702c6c634c7e | 22fb05c47ca5991df992d614e034619038845467 | /MapReduce/ProgramsandModules/n2w.tst | 9d25f9c24ba99e7ebdd7e9818bd3023e7b5b460f | [] | no_license | KrupeshD/PythonSampleCode | 31652f744159eb6af07c68bdc9d2ae57b4238a60 | a6433b1e896cd62e5c4bc2ee829d6f352b8b303f | refs/heads/master | 2021-01-11T10:10:45.739178 | 2017-06-10T03:34:29 | 2017-06-10T03:34:29 | 72,616,621 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13 | tst | n2w.tst | 1 23 45 6477
|
077d11c0969742213470f623245f199ba5918bc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH1/EX1.2/1_2.sce | 2f5e8798ce1d9791c9daa4cdd610042e3ae24959 | [] | 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 | 706 | sce | 1_2.sce | clc
//Initialization of variables
T=460+100 //R
P=15 //psia
MW=32 //lb
g=32.2//ft/s^2
ratio=0.4
//Calculations
R=49710/32
d=P*144/(R*T)
Gamma=d*g
volume=1/d
P2=P*(1/ratio)^1.4
P2f=P2*144
T2=P2f*ratio/(d*R) -460
P3=P/ratio
//Results
printf('part a')
printf('\n Density of oxygen = %.5f slug/ft^3',d)
pr... |
659334d2acd548fdcb68e5feeb45778dc5a083ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH8/EX8.2/ex8_2.sce | 92ed805cf19b5c299f4bb98e368e5e35b6a14602 | [] | 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 | 226 | sce | ex8_2.sce | // Exa 8.2
clc;
clear;
close;
// Given data
R_f = 200;// in kohm
R1 = 2;// in kohm
A_V = - (R_f/R1);
V_in = 2.5;// in mV
V_in= V_in*10^-3;// in V
V_o = (A_V * V_in);// in V
disp(V_o,"The output voltage in V is");
|
572fb2697126e9f0aa298a79f3b86b352a165656 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_-_1_T._Singh_704.zip/Electrical_Machines_-_1_T._Singh_704/CH2/EX2.47/ex2_47.sce | 1cfa05a26292853ca8b3da1ac246a9e92b221d7b | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | ex2_47.sce | errcatch(-1,"stop");mode(2);//Caption:Determine the input in Watts & efficiency of the generator
//Exam:2.47
;
;
O_p=50;//output of a machine (in KW)
O_p1=50*(10)^3;//output (in watts)
L_i=4000;//internal losses(in watts)
I_p=O_p1+L_i;//input(in watts)
disp(I_p,'input(in watts)=');
E=(O_p1/I_p)*100;//efficie... |
c18c17539d825ca28aeb9611a2f23350e28f8e87 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /scilab/Calibration_Equity/src/Calib_Ave/src/builder.sce | ab7526199e31ce471f8cf85d77458cdc9e53da1c | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 836 | sce | builder.sce | ilib_name="libcalib"
files=["dcalib.o";"calib_ave_scilab.o";"tree.o";"inout.o";"rollback.o";"./optim-code/testing.o";"./optim-code/stopping.o";"./optim-code/QuasiNewton.o";"./optim-code/lineSearch.o";"./optim-code/cholesky.o";"./optim-code/BFGSupdate.o"];
libs=[];
table=["calib_ave_scilab","dcalib"];
... |
38c46be5c5a68febcb7fe6f8949bbea9c379ae50 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/mtlb_sparse.man.tst | 84f164c918188740793c2700665b1c794a81a221 | [
"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 | 86 | tst | mtlb_sparse.man.tst | clear;lines(0);
X=sparse(rand(2,2)); Y=mtlb_sparse(X);
Y, full(Y), [ij,v,mn]=spget(Y)
|
39a06d943300e2346ad271b2dfdf81f474f68771 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH8/EX8.2/Ex8_2.sce | a12859f9340bc105ab640f065a037f29985c0f3c | [] | 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,122 | sce | Ex8_2.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 8 Example 2")
disp("from steam tables,at 5 MPa,hf_5MPa=1154.23 KJ/kg,sf_5MPa=2.92 KJ/kg K")
disp("hg_5MPa=2794.3 KJ/kg,sg_5MPa=5.97 KJ/kg K")
hf_5MPa=1154.23;
s... |
c5666f21f9a07c2aecec83080a924283eb279f2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH2/EX2.13/Ch02Exa13.sce | 6fe13a33431b6c4b04f2b65b929ca26b54908792 | [] | 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 | 797 | sce | Ch02Exa13.sce | // Scilab code Exa2.13 : : Page 93 (2011)
clc; clear;
M_A = 4; // Mass of alpha particle, amu
M_U = 235; //Mass of U-235, amu
M_P = 239; // Mass of P-239, amu
Amount = 120.1; // quantity of P-239, g
E_A = 5.144; // Energy of emitting alpha particles, Mev
E_R = (2*M_A)/(2*M_U)*E_A; // The recoi... |
102fb492ba1a2b277a6aac8f3404a8ac7ee15496 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3169/CH6/EX6.9/Ex6_9.sce | 8bea634a3ad151f48dea3e7a62fe59a58b6d4d05 | [] | 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 | 594 | sce | Ex6_9.sce | //developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear all;
//example 6.9
//calculation of self capacitance and leakage reactance
//given data
Vi=350*10^3//rating(in VA)
V=350*10^3//secondary voltage(in V)
V1=6.6*10^3//primary voltage(in V)
perV=8//percentage ratedd voltage
perR=1//per... |
455a1d22d350a41a86a59708880f0547b847ac87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH4/EX4.11/4_11.sce | 61973a02f07323df2ad1925c8c04fd3707612ff5 | [] | 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 | 4_11.sce | T=320;//47C in kelvin//
R=8.31*10^7;//Universal gas constant in erg per degree per mole//
M=32;//molecular weight of O2 in gram per mole//
C2=(3*R*T)/M;//mean square velocity of Oxygen in (cm/sec)^2//
Crms=sqrt(C2);//Root mean square velocity of Oxygen in cm/sec//
printf('Root mean square velocity of Oxygen=Crms=%... |
f597969be05bde6835d897b807aa41e805755e36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH5/EX5.8/5_8.sce | 28bab45ab2ede982a93ad04ef978db7e1792fbdb | [] | 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 | 227 | sce | 5_8.sce | //Eg-5.8
//pg-231
clear
clc
A=[1 2 4;3 1 2;4 2 5];
invA=inv(A);
z=[1;1;1];
for i=1:25
a=invA*z;
b=(sum(a.^2))^.5;
z=a/b;
end
la_d=b;
minval=1/b;
disp("minimum eigen value of A")
disp(minval)
|
467a30e8ceee6f6912eada85da180a70e26a354e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/percent/%salss.sci | 7be48a3deb054526992e7167b91b8b8ede311503 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 93 | sci | %salss.sci | function s2=%salss(d1,s2)
// s=d1+s2
//!
// origine s. steer inria 1987
//
s2(5)=s2(5)+d1
|
4f782fe6ba3cd233e60fe14e428d01eb267e567c | 8881166f518b8c3365fd0a2c0395dbbe4b666a4c | /Examples/PaPi/AutomaticProcedures/RandomExamples/Simulation/RTmain.sce | 21bcb05f4bfd44f35a7e3226d7a1a6043d62da1d | [] | no_license | christianausb/OpenRTDynamics | e1e31e61060611a710cf870538969ba5047061f6 | df0c6946622d9a54ab63796337003fb318931b36 | refs/heads/master | 2021-01-21T06:59:51.243998 | 2018-07-13T13:17:29 | 2018-07-13T13:17:29 | 10,501,420 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,880 | sce | RTmain.sce | //
//
// This a template for writing real-time applications using OpenRTDynamics
// (openrtdynamics.sf.net)
//
//
//
// The name of the program
ProgramName = 'RTmain'; // must be the filename without .sce
thispath = get_absolute_file_path(ProgramName+'.sce');
cd(thispath);
funcprot(0);
//
// To run the generated... |
4c9703dc46eca5c9596a378e6e617a3cdbe27607 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH11/EX11.10/Ex11_10.sce | 3a40ed8751bc8ba7a3edde59092af7ae4434938e | [] | 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 | 136 | sce | Ex11_10.sce | clear
//Given
x=1.68*10**-4
T1=293
T2=77.4
//Calculation
x1=(x*T1)/T2
//Result
printf("\n Susceptibility is %0.2f *10**-4",x1*10**4)
|
1bd9d15961c5897af2cdb116ee3a99f64921872c | eee6b5ba0933f6b42d6abe6b5180679afff46b59 | /model2_turbulent.sce | 4ea7c9b21a1d1cb7432d15d8ef2020a81e59f074 | [] | no_license | Cedev/fluidic-amplifiers | f3e528dc22cc2824cf0c5c869c7e04489c3b116f | 08db2e272a580947d744605bbc42c536ce7e43cf | refs/heads/master | 2021-05-17T16:30:12.460688 | 2020-04-05T15:35:28 | 2020-04-05T15:35:28 | 250,872,346 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | model2_turbulent.sce | exec("model_defaults.sce", -1)
// CONTRL
FINTIM=4E-2
exec("model2_geometry.sce", -1)
// PARAM - supply
P0=7.5
L=0
CS=0.85
// PARAM - control
PRE1=1
PRE2=1
POST1=0
POST2=1
P1=0.275
P2=0.0
TRISE=1.5E-3
exec("simulate_model.sce", -1)
|
aa3d125be459eea4fea88f8590917a10f99ef8c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH8/EX8.3/Ex8_3.sce | f7a1069eb05d4325dc6ed4bb1fef199acb9f1d49 | [] | 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 | 272 | sce | Ex8_3.sce | clc
//initialisation of variables
clear
ihp= 500 //ihp
w= 300 //rpm
p= 80 //per cent
r=2
P1= 250 //psia
P2= 30 //psia
df= 0.82
//CALCULAATIONS
tm= 0.5*P1*(1+log(r))-P2
D= (ihp*33000*(p/100)*12*4/(2*df*tm*%pi*w))^(1/3)
//RESULTS
printf (' Bore = %.1f in',D)
|
3405f783817c8b2b62220d8f871c2b4f7efa4bca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH10/EX10.3/Ex10_3.sce | 3b823ade911a0ca2dced3093026aecfa7aef37ff | [] | 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 | 277 | sce | Ex10_3.sce | clc
//initialization of new variables
clear
M=1
T0=300 //k
P0=4 //atm
gama=1.4
//calculations
Tr=1+(gama-1)*M^2/2
Pr=Tr^(gama/(gama-1))
P=P0/Pr
T=T0/Tr
//results
printf('At the section:')
printf('\n Pressure is %.2f atm',P)
printf('\n Temperature is %.2f K',T)
|
99de4ede3a8bf9f59545c5bb6ce81c1d0cd32a41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH8/EX8.5/Ex8_5.sce | 608751ccfecb272b70bac9e4dfe86d2d66c05e1a | [] | 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 | 535 | sce | Ex8_5.sce | clear all; clc;
disp("Ex 8_5")
// Equations of equilibrium give:
// Summing forces in Y dirction
NC=400
mub=0.2//coefficient of friction
NB=400
FB=mub*NB// post slips at B only
//Summing moments about C and equating to zero
P=(FB*1)/0.25
// summing forces in X direction and equating to zero
FC=P-FB
printf('\n\n P = %0.... |
a276d29336692b47536e39aab020dec9ed5db24c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1094/CH2/EX2.2.3/EX2_2_3.sce | 2b67dcd36f09a13dfd289a9a8a44e46db23fd4c5 | [] | 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 | 409 | sce | EX2_2_3.sce | //Exa:2.2.3
clc;
clear;
close;
V_s=400 //3 phase supply voltage (in volts)
Z_ph=8+%i*6 //impedance per phase(in ohms)
V_AN=V_s/sqrt(3)
I_ph=V_AN/Z_ph
disp(abs(I_ph),'phase current(in A)=')
disp(atand(imag(I_ph)/real(I_ph)),'phase=')
I_L=abs(I_ph)
disp(I_L,'line current(in A)=')
pf=cosd(atand(imag(I_ph)/real... |
e2d71c245597a386842e39c7a8c67f744754996b | 449d555969bfd7befe906877abab098c6e63a0e8 | /803/CH8/EX8.4/ex8_4.sce | 274ea86a48dd656e2a5f805bc523f96bc0dcf56b | [] | 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 | 488 | sce | ex8_4.sce | clc
b=[0 1 2 3 4 5 6];..........................//breakdown/day
f=[340 121 53 30 12 4 0];...................//frequency
Den=sum(f);
ans=0;
for i=1:7
ans=ans+[f(i) * b(i)];
end
Mean=ans/Den;...............................//calculation of expectance
disp(Mean,"mean");
k=0:1:6;
y=(exp(-Mean)*(Mean^k)). /f... |
519e5aff464ba0177a99af1dcaeb992de2173891 | 29d0a9144c1926fef6ef23493d08728073758805 | /cfg/intop1-eth03.tst | a9c547334e2824bddc859d39f35c8c33756f7788 | [] | no_license | mikma/freeRouter | 47c1516edf6fc5c75cc6ce626cd7ce024147d5a5 | 96106c23a7144558ffb7fb831297194327ee3ef1 | refs/heads/master | 2023-06-08T06:51:14.563806 | 2020-01-22T14:56:13 | 2020-01-22T14:56:13 | 235,618,523 | 0 | 0 | null | 2020-01-22T16:46:19 | 2020-01-22T16:46:18 | null | UTF-8 | Scilab | false | false | 728 | tst | intop1-eth03.tst | description interop1: spantree nonroot
exit
addrouter r1
int eth1 eth 0000.0000.1111 $1a$ $1b$
int eth2 eth 0000.0000.1112 $2a$ $2b$
!
vrf def v1
rd 1:1
exit
bridge 1
stp-priority 40960
stp-mode ieee
mac-learn
exit
int eth1
bridge-gr 1
exit
int eth2
bridge-gr 1
exit
int bvi1
vrf for v1
ipv4 addr 1.1.1.1 2... |
f98712e02fcaa0f8b086a0eeeb6fd60d4264b8fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH8/EX8.7/ex8_7.sce | 0c4983cbc0b2e7457a92d613b775316159f63646 | [] | 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,614 | sce | ex8_7.sce | clear;
//clc();
// Example 8.7
// Page: 179
printf("Example-8.7 Page no.-179\n\n");
//***Data***//
P = 1;//[atm] Total pressure in the vapor phase
// Since the two liquids are not soluble in each other so Raoult's law will apply separately for these two phases.
// From Raoult's law we have
// (y_i*P)... |
49d86def41ef690aa7ea660e6457b87035f5b394 | 04101e89f0980b65ec0350667a3cbf16ccd56630 | /Classical_Polynomial_Interpolation.sce | 5f8d5a62e39765fcc5ead0e1e21ba33aedf18500 | [] | no_license | francissinco/Numerical-Analysis-in-Scilab | a810d30dc1ba032a6a9bc37a6f5345185781380e | 51f9d2da4d31e865be158bea2b7cf563ccbe21eb | refs/heads/master | 2021-01-10T11:45:15.197910 | 2016-05-06T10:34:45 | 2016-05-06T10:34:45 | 52,008,949 | 0 | 0 | null | 2016-05-06T10:34:45 | 2016-02-18T13:27:34 | Scilab | UTF-8 | Scilab | false | false | 2,711 | sce | Classical_Polynomial_Interpolation.sce | //Francis Brylle G. Sinco
//MS Applied Mathematics
//Math 271.1
//University of the Philippines - Diliman
//29 July 2010
//This program implements the Classical Polynomial Interpolation to the function f(x)=1/(1+25x^2) on [-1,1] using equidistant points and using Chebyshev points
//THE QUANTITIES USED
//n = degree ... |
317940e8fd9a97c07876d110b23ba417dd5143e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH13/EX13.12/13_12.sce | 254dde423a3806abe2229d67db59400f90f4104b | [] | 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 | 182 | sce | 13_12.sce | clc
//initialisation of variables
F1= 31350 //cal
F2= 26224 //cal
F= 96500 //coloumbs
//CALCULATIONS
F3= -F1+F2
E= F3*4.184/F
//RESULTS
printf (' value of E = %.4f cal',E)
|
6dffc855a072521e3eb14df4dd1e666eacb1d451 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH2/EX2.17/Ex2_17.sce | 25e33747e31e8728a4ab763bde57b4b2dfa9c7c5 | [] | 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 | 363 | sce | Ex2_17.sce | //Example 2.17
//See Figure 2.47
//Using the points (6.4s,2000m) and (0.50s,525m) marked in the figure
delta_x=2000-525;//Change in displacement (m)
delta_t=6.4-0.50;//Change in time (s)
v=delta_x/delta_t;//Velocity (m/s)
printf('Average velocity = %0.1f m/s',v)
//Openstax - College Physics
//Download for free ... |
826c71959cf56634940fcaccdbc845627e780913 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/m2sci/sci_schur.sci | d1bca99728ece1d9ef2d9bf82a9a000a7f80dbef | [
"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 | 269 | sci | sci_schur.sci | function [stk,txt,top]=sci_schur()
// Copyright INRIA
txt=[]
s=stk(top)
if lhs==1 then
stk=list('schur('+s(1)+')','0',s(3),s(4),'1','?')
else
stk=list(list('schur('+s(1)+')','-1',s(3),s(4),'1','?'),..
list('schur('+s(1)+')','-1',s(3),s(4),'1','?'))
end
|
0d2e2fb176e81e045ee3936af8921a79f0c9531b | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/udecode/udecode8.sce | 8c31c979726535cef00ce2377d940bf1147d0a1a | [] | 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 | 199 | sce | udecode8.sce | //check o/p when i/p vector is empty
u=[];
y=udecode(u,3);
disp(y);
//output
// !--error 10000
//Input value must be an integer
//at line 49 of function udecode called by :
//y=udecode(u,3);
|
7310f4593be78308b117f1c9a0894f0a103d40cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH1/EX1.4.11/Example1_17.sce | f427f4eb397cd80f5fcb4d58641002a35f65ae3f | [] | 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 | 428 | sce | Example1_17.sce | //Chapter-1,Example1_4_11,pg 1-37
D_4=0.4 //diameter of 4th dark ring
D_12=0.7 //diameter of 12th dark ring
const=D_4^2/(4*4) //assume (R*wavelength = const) for 4th dark ring
D_20=sqrt(4*20*const) ... |
688e24ef2ec080ff99db79efdb7bb1ac2fa754f2 | 72a89c36e897f2d57093d9b9bebbff493188ecbe | /lesson2/plotpoly.sce | acb7bb7ddadf4d636e5eb3f1ff97a0800e185c1c | [] | no_license | elect000/ma-simu | e9b8c69fc26ae69a39e6a2103e5180e418285da0 | 372cdf06772cde9f53726d1e2dc4870bec504cc9 | refs/heads/master | 2020-03-31T23:47:37.622128 | 2018-12-14T14:22:10 | 2018-12-14T14:22:10 | 152,669,779 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sce | plotpoly.sce | a = [3 -2 1];
xfrom = -1;
xto = 2;
xdiv = 30;
x = linspace(xfrom, xto, xdiv);
y = zeros(1,xdiv);
n = size(a,2) - 1;
for i=1:n
y = (y + a(i)) .* x;
end
y = y + a(n+1);
plot(x,y);
|
faf92d7467735c374dbda7b08f7ad2fdaac0459e | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH8/EX8.1/example8_1.sce | 91d0fe0b9caff1101a3ad22306d7e276afc9a1b7 | [] | 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 | 769 | sce | example8_1.sce | //clc()
T = 280;//K
P = 105;//kPa
Pas = 13.25;//kPa ( Vpaour pressure of acetone )
Pa = Pas;// ( As gas is saturated, partial pressure = vapour pressure )
Mfr = Pa / P;//(Mole fraction)
Mpr = Mfr * 100;
disp("%",Mpr,"(a)The mole percent of acetone in the mixture = ")
Ma = 58.048;//(molecular weight of acetone)... |
90a5ffcfc1578773ce7d5522c7a99d18b357ee7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH4/EX4.2.1/4_2_1.sce | 8c63f39ab09fc80ece0229379a3ef15a8e93159d | [] | 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 | 714 | sce | 4_2_1.sce | //Transport Processes and Seperation Process Principles
//Chapter 4
//Example 4.2-1
//Principles of Steady State Heat Transfer
//given data
//si units
//nomenclature of unmentioned specifications similar to previous example
k=0.151;
T1=274.9;
T2=297.1;
r1=5/1000;
r2=20/1000;
L=1;
A1=2*3.14*L*r1;//area of i... |
3222688a55d6a356395458384624c6435205fa11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH8/EX8.1.c/8_1_c.sce | 58df853d357109b1b031bc6698b9cebf6764c699 | [] | 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 | 227 | sce | 8_1_c.sce | //determine the nyquist rate
//example 8_1<c>
clc;
clear all;
//x(t)=1+cos(200*pi*t)+sin(400*pi*t)
wq=200;
wp=400;
wf=0;
if wp>=wq then
wf=wp;
else
wf=wq;
end
F1=wf/2;
Fs=2*F1;
disp('Nyquist Rate=');
disp(Fs);
|
42514f1030e7c92b018e653b6fc91408fa8a9691 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/hat.man.tst | 748bf5d22f7e4c8ff22be4da99063f45babeaebc | [
"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 | 78 | tst | hat.man.tst | clear;lines(0);
2^4
[1 2;2 4]^(1+%i)
s=poly(0,"s");
[1 2 s]^4
[s 1;1 s]^(-1)
|
aa105868773b25c686d4e3242161c4973a57b0fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH20/EX20.4.4/20_4_4.sce | 41811cbfc1ec91b992cb547f2bcc9d89d4d1e650 | [] | 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 | 137 | sce | 20_4_4.sce | clc;
//page no 775
//prob no. 20.4.4
Dm=6.6;z=12.5;del_3=6;
del_wg=Dm*z*del_3;
disp('ps',del_wg,'Expected waveguide dispersion is'); |
1627b3fe56bf7c661d69181ab98f05b5db333f38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH3/EX3.2/Ex3_2.sce | 73337b5a51ee3d664f96b74907471082a891f847 | [] | 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 | 232 | sce | Ex3_2.sce | //Example 3.2, Page 80
clc
h=6.63*10^-34//Joule-sec
v=1.635*10^3//m/s
M=4*10^-3//in kg/mole
No=6.02*10^23//atom/mole
m=M/No
printf("\n Mass of Helium atom is %e kg",m)
lambda=h/(m*v)
printf("\n De broglie wavelength is %e m",lambda) |
9689229a5a2e0748ed62c2c8c90ef28d13bdb521 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH6/EX6.11/exa_6_11.sce | d51e8bd052a98314c78568753c9a3effa0accb95 | [] | 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 | exa_6_11.sce | // Exa 6.11
clc;
clear;
close;
// Given data
P=500;// in ohm
S=P;
Q=S;
R=P;
R_Th=R;// in ohm
Rg=100;// in ohm
E=10;// in volt
Ig= 1;// in nA
Ig=Ig*10^-9;//in amp
// Formula Ig= E_Th/(R_Th+Rg) and E_Th= E*del_R/(4*R) so
// Ig= (E*del_R/(4*R))/(R_Th+Rg) and
del_R= Ig*(R_Th+Rg)*4*R/E;// in ohm
del_R= del_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.