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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d57ee510370da40c78d4391f47165a3f62137bca | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH7/EX7.03/7_03.sce | e354fdf24cd68e135eafa24628b8fe2e65f1c5ec | [] | 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,232 | sce | 7_03.sce | //pathname=get_absolute_file_path('7.03.sce')
//filename=pathname+filesep()+'7.03-data.sci'
//exec(filename)
//Mass of steam(in kg):
m=15
//Entering steam:
//Pressure(in bar):
p1=10
//Temperature(in K):
T1=300+273
//Leaving steam:
//Pressure(in bar):
p2=0.05
//Dryness fraction:
x=0.95
//Velocity(in m/s):... |
e69d2b8f8c51b5e727b67e64c6b1c0271808fa37 | 69147dbbf89bfbceb8875e0e1545e513ebfaf1be | /TopReleasesPrimGenre_6.tst | bcad1ab238b841965763187cf02c4a2bc25ed99f | [] | no_license | Cbro/Oracle-scripts | 225e7121f3e8b6d77d9da786ddbad58502486989 | 97769548e7a2794d6cc75a1ac46821f58d347dec | refs/heads/master | 2020-12-24T14:36:20.643782 | 2011-05-07T18:55:51 | 2011-05-07T18:55:51 | 667,071 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,351 | tst | TopReleasesPrimGenre_6.tst | PL/SQL Developer Test script 3.0
46
-- Created on 11/04/2008 by MKAUL
declare
-- Local variables here
i integer;
vTrackID track.id%type;
vRankNum INTEGER;
begin
for x in (
-- Test statements here
select x.release_id,
x.rank_num
from
(
select /*+ FIRST_ROWS */ y.id re... |
8c21ea46c6147b59ee2b5c09eb2dbfc43a55933d | 5887829f5a0a005033807cf7dc4fb7231eb280ec | /Listing/chapter 4/Listing423.sce | 8dc0af8414d1c0e7275531f299be909e029735c0 | [] | no_license | joaolrneto/learning_scilab | 78ecc0019f167b57bc35647c4ac785ece01e443e | 9624c9a6736860a8a836b0f801256b6224756585 | refs/heads/main | 2023-03-17T22:17:51.853368 | 2021-03-15T20:58:34 | 2021-03-15T20:58:34 | 344,478,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 69 | sce | Listing423.sce | clc
clear
clf()
t=[0:%pi/20:2*%pi]';
z=sin(t)*cos(t');
plot3d(t,t,z)
|
3e6957fff84c3bc9dd1febee90a7408bc7bba68c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH5/EX5.15.4/Example5_28.sce | dab15371ce6ddfa9cb21040c857f1ac6d9597580 | [] | 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 | 406 | sce | Example5_28.sce | //Chapter-5,Example5_15_4,pg 5_43
//probability of finding the particle is P = integral x1 to x2 of sci * sci_c
//interval is (0,1/2)
x1=0
x2=1/2
//sci= x*sqrt(3)
//complex conjugate is sci_c = x*sqtr(3)
function y=f(x),y=(x*sqrt(3))^2, // y = sci * sci_c
endfunction
P... |
6f749042d85dc6cf4c1c48b992b058834cad9429 | 1a50fe78c1413f8559b28861ace1767322e787bd | /macros/slr_convert_arglist.sci | 85df03e3233e8f6a3adb6a04075a46fc8fc4b9da | [] | no_license | pivui/slr | 105b6b4035974bd4e4b17283c98fa287627f5618 | d10c2f46ee7563d0bd05bfea74408ba30aaf856b | refs/heads/master | 2019-07-11T14:06:45.762247 | 2018-02-27T16:29:08 | 2018-02-27T16:29:08 | 91,713,612 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,777 | sci | slr_convert_arglist.sci | // Author : Pierre Vuillemin (2017)
// License : BSD
function s = slr_convert_arglist(attr_list, out_type)
// Creates a structure or mlist from a list of key-value pairs.
//
// Syntax
// s = slr_convert_arglist(attributes)
// s = slr_convert_arglist(attributes, mlist_type)
//
// Parameters
... |
c0d5fc0bc3bc2a333c62740ce0bdc5b81123e2e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH18/EX18.21/ex18_21.sce | 2ac0ccd8ac3554d250caa7674caee67daac936b5 | [] | 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 | 291 | sce | ex18_21.sce | clc;
clear all;
Rh=3.66e-4;//hall coefficient of specimen
rho=8.93e-3;//resistivity of specimen
e=1.6e-19;//charge of electron
nh=1/(Rh*e);//carrier concentration
disp('m^-3',nh,'carrier concentration is');
u=Rh/rho;//mobility of specimen
disp('m^2/(V*s)',u,'mobility of specimen')
|
0a3a54cef0bf874362d7261a8d5aabdf0bd0a365 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH6/EX6.4/ex6_4.sce | 702b265e7a30470d314face0362c79563e405dfb | [] | 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 | 342 | sce | ex6_4.sce | //Exam:6.4
clc;
clear;
close;
h=6.625*(10^(-34));//Planck's constant(in m2*kg/s)
c=3*10^8;//speed of light (in m/s)
L_r =150*8/100;//Lamp rating(in joule)
wavelength=4500*10^-10;//in meter
W=h*c/wavelength;//work function
N=L_r/W;//number of photons emitted by lamp per second
disp(N,'number of photons emitted... |
01234eb0440abedd2f1c56ef2e7e195aa3282d3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH3/EX3.30/3_30.sce | 996eeead8e250c42d4111429d37b6aa8b7e3408b | [] | 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 | 571 | sce | 3_30.sce |
clc;
clear;
//Example 3.30
k=0.02685 //W/(m.K)
v=16.5*10^-6 //kg/(m.s)
Npr=0.7 //Prandtl number
Beta=3.25*10^-3 //K^-1
g=9.81 //m/(s^2)
Tw=333; //[k]
T_inf=283 //[K]
dT=Tw-T_inf //[K]
L=4 //Length/height of plate [m]
Ngr=(g*Beta*dT*(L^3))/(v^2) //Grashoff number
//Let const=Ngr*Npr
const=Ngr*N... |
fcd1e881cf3e4534373f7d939a12aafb23d1fd89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH20/EX20.12/example20_12.sce | cddb1bd45db28f2fb313c0426f6cf98313f4ca0b | [] | 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 | 188 | sce | example20_12.sce | l=0.5;
f=60;
i=0.25;
p=5;
disp("Part a");
r=p/i^2;
disp("the ac resistance (in Ω) of the coil is"); disp(r);
disp("part b");
q=2*%pi*f*l/r;
disp("the Q of the coil is"); disp(q); |
8019f3aee23aa0e9af949223017fe88f87048a9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /863/CH2/EX2.10/Ex2_10.txt | f5e485bd778e217de68d687178859bf6e08eb735 | [] | 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 | 533 | txt | Ex2_10.txt | //Caption:Calculate output voltage for (a)10V and 1ms Pw (b)10V and 2ms PW (c)20V and 1ms PW
//Ex2.10
clc;
clear;
close;
e1=10//Voltage applied(in volts)
e0=0//Voltage at t=0sec(in volts)
t1=1//PW(in ms)
t2=2//PW(in ms)
e2=20//Input voltage(in volts)
r=10//Resistance(in kilo ohm)
c=20//Capacitance(in micro f... |
ef342ed8e27eda0f358b48da20a9d8ece0fc1b4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH4/EX4.22/Ex4_22.sce | 996b88c6a666fa4948d660ca5a618bbd171ff210 | [] | 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 | 308 | sce | Ex4_22.sce | clc;
clear;
lambda_ave=5893*10^-10 //mean wavelength in m
X2_minus_X1=0.2945*10^-3 //displacement of mirror in m
//calculation
lambda1_minus_lambda2=lambda_ave^2/(2*X2_minus_X1)
mprintf("The difference in wavelengths is = %1.3e m",lambda1_minus_lambda2)
//The answer varies due to round off error.
|
70f32ef519020ec513e4012f627ce34963ff939e | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH4/EX4.57/57.sce | 2b673337b1cd858471e094e62be49cd1bcff23a9 | [] | 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 | 208 | sce | 57.sce | clc
m=1; //kg
p1=120*10^5; //N/m^2
t1=400; //0C
p2=38; //bar
h1=3051.3; //kJ/kg
v1=0.02108; //m^3/kg
u1=h1-p1*v1/10^3; //kJ/kg
u2=2602; //kJ/kg
disp("WOrk done = ")
W=u1-u2;
disp(W)
disp("kJ/kg") |
6614e75f1a45667138bf2d328e4f084a7b1761bf | 57a415cfd3f21f134ac4fd209c0178439bd81c7a | /SADI/Célula de Carga/CODE/mmq.sce | 3e1f19032e6f955d2d41340c65ad359e4101c057 | [] | no_license | kaikecc/PRD_ELETRONICA | d7b9aa1127bf7e4ae78a88d998d4e3e47699878c | db49e3c1f488c0071b485163401afd78bc0cecd0 | refs/heads/master | 2020-05-01T12:32:41.051074 | 2019-11-12T23:20:37 | 2019-11-12T23:20:37 | 177,468,204 | 1 | 1 | null | 2019-03-26T17:03:05 | 2019-03-24T20:54:12 | null | UTF-8 | Scilab | false | false | 864 | sce | mmq.sce | // MINIMOS QUADRADOS - REGRESSÃO LINEAR
clc
clear all;
arq = uigetfile();
m = fscanfMat(arq);
//X = input("DIGITE A MATRZ X: ");
//c = input("DIGITE O VETOR SOLUCAO: ");
// X = [1,2;1,3.5;1,6.5]
// c = [1.2;3.7;4.5]
a = length(m(:,1))
X = [m(:,1) ones(a, 1)]
c = m(:,2);
function [E , e] = mqrl(X,c)
... |
0fa4205aed675b9da610f63ef8d1dff0fd3edc28 | 34636828482b476708c9d0dbd55f73bbc208a528 | /EE302/scilabfiles/Practice1.sce | 7b0142f922bb9084df9a8ba64988aed6ff69b25a | [] | no_license | Venovan/EE324-EE302-control | 5266ddadb5912968c93909046b0fd7ca4a1fb048 | 888b49e5caccc070006931bc1918d8f9859ae845 | refs/heads/master | 2023-03-22T06:25:11.456310 | 2017-04-28T17:27:03 | 2017-04-28T17:27:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 910 | sce | Practice1.sce | s=%s
K=1,T=1
OS = 0.30
tr = 0.08
SimpleSys =syslin('c',K/(1+T*s))
t =0:0.01:15;
y1=csim('step',t,SimpleSys);
//plot(t,y1)
zeta = - log(OS)/sqrt(%pi^2 + log(OS) ^2)
wn = (1/(tr*sqrt(1-zeta^2)))*(%pi - atan(sqrt(1-zeta^2))/zeta)
u2 = sin(t);
y2 = csim(u2,t,SimpleSys);
//plot (t, [u2;y2]')
//evans(SimpleSys)
p = s^2+9*s+9... |
856d0d31125fa27d58bf7f58d225227c6c742966 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH2/EX2.5/example_2_5.sce | dc380bdf8e49dbcb6841a64fb7d34db0df0dbc8b | [] | 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,175 | sce | example_2_5.sce | //Chapter 2
//Example 2.5
//page 63
//To find flux linkages with neutral and voltage induced in neutral
//To find voltage drop in each of three-phase wires
clear;clc;
Ia=-30+%i*50;
Ib=-25+%i*55;
Ic=-(Ia+Ib);
//(a) to find flux linkages with neutral and voltage induce in it
Dan=4.5;
Dbn=3; //from figure
Dcn=1.5;
Phi_... |
2c5f074ab21e08cbcc1bbade0a212d60ee84bb1a | b198c5fb5f24c67daa80a383a5a0dadf46603c86 | /BrunoReinoso_FletcherReeves.sce | 1f8fbc480f0984de0366e5aece21c8cb6b931263 | [] | 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,884 | sce | BrunoReinoso_FletcherReeves.sce | clear
clc
global d;
global x;
global lamb;
x = [0, 3];
lamb = 0;
//Função Analisada
function z = f(p)
z = (p(1)-2)^4 + (p(1)-2*p(2))^2;
endfunction
//Derivada em X
function resp = derivadaPrimeiraEmX(p)
h = 0.00001;
h2= [h, 0];
resp = (f(p+h2)-f(p))/h;
endfunction
//Derivada em Y
function resp = der... |
7e28f175131e11f77c1b12bd0db72573e8a9b812 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH11/EX11.7/example_11_7.sce | e4ac0031c8a1eb0ad3df7f37a2949885239744fb | [] | 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 | example_11_7.sce | //example 11.7
clc;
clear;
disp('Given karnaugh map '); //given kmap
disp(' 00 01 11 10');
disp('00 11 00'' 11 00''');
disp('01 01'' 11 11 01''');
disp('11 10 11 11'' 10');
disp('10 10'' 10'' 11 11');
disp('Yes, the circuit may ... |
22ba9f9b258c7989c9885aec926e6da1a4283528 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH15/EX15.5/15_5.sce | 5a755fddd1ef71c01141fcee315d75d4cc12743e | [] | 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,887 | sce | 15_5.sce | clear;
clc;
funcprot(0);
//Example - 15.5
//Page number - 520
printf("Example - 15.5 and Page number - 520\n\n");
//Given
T = 27;//[C] - Temperature
// log(P_1_sat) = 13.8216 - 2697.55/(t + 224.37)
// log(P_2_sat) = 13.8587 - 2911.32/(t + 216.64)
//(a)
x_1_a = 0.2;
x_2_a = 1 - x_1_a;
// At t = 27... |
b1ce018f5cd72da249feefd580e7465e5b2f0deb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1844/CH2/EX2.8/2Q8.sce | 74ae98edce352fa6bd8ea7811680ff0224127128 | [] | 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 | 237 | sce | 2Q8.sce | clc
x=380
y=260
s=x*y
s1=10
x2=s1/(2*s)
y2=x2
x1=x*x2
y1=y*y2
printf('Hence precision ration of each line =%f\n',x2)
printf(' Maximum error in 380 m length =%f m\n',x1)
printf(' Maximum error in 260 m length =%f m',y1)
|
1f1d65ecc93422666fd599800ff3d7a5a20916fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH6/EX6.5/Ch06Ex5.sce | 5a4260e73c142b856a6290345a4bacdf4c34af81 | [] | 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 | 613 | sce | Ch06Ex5.sce | // Scilab Code Ex 6.5 : Page-6.15 (2004)
clc;clear;
h = 6.62e-34; // Planck's const, Js
m = 9.1e-31; // Mass of electron in kg
L = 0.1e-9; // Side of the box in m
n1 = 1; // nx box lowest quantum number
n2 = 1; // ny box lowest quantum number
n3 = 1; // nz box lowest quantum number
e =... |
4316a34e7ef5e064c29639ad7d4b51ffcc063991 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH11/EX11.1/Example11_1.sce | a83b2f4c58e023579f0d296b6cee78b75c0cd923 | [] | 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 | 623 | sce | Example11_1.sce | //Example 11.1
clear;
clc;
Vimin=7;
Vimax=25;
Vo=5;
delVi=Vimax-Vimin;
delVovi=3*10^(-3);
Iomin=0.25;
Iomax=0.75;
delIo=Iomax-Iomin;
delVoio=5*10^(-3);
RRRdB=78;
f=120;
liner=delVovi/delVi;
linerper=100*(liner/Vo);
loadr=delVoio/delIo;
loadrper=100*(loadr/Vo);
zo=de... |
5f79a9c726365fce7223274f7724643f1523ca6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH5/EX5.2/5_2.sce | 4df3f173d4b3b8f2b08f50e634b1e02e8d2fbda7 | [] | 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 | 271 | sce | 5_2.sce | clear;
clc;
l=336;
h1=33.6;
h2=29;
w=8.33;
T=3.34e4;
//(a)
lc=l+ (2*T * (h1-h2)/(w*l));
S=w*lc*lc/(8*T);
cl= h1-S;
mprintf("\n (a)Clearance= %.3f m", cl);
//(b)
d1=lc/2;
d2=l-d1;
mprintf("\n (b)Distance of point O from lower support = %.2f m", d2);
|
87e9d91b58ae22362b517d0adf2adbe62ded73a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH1/EX1.1/Ex1_1.sce | 523a16618f28da04f4920f23fb4833dc9b3c839f | [] | 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 | 353 | sce | Ex1_1.sce | // Problem 1.1,Page No.8
clc;clear;
close;
//Rectangle-1
a_1=37.5 //cm**2
y_1=26.25 //cm
//Rectangle-2
a_2=50 //cm**2
y_2=15 //cm
//Rectangle-3
a_3=150 //cm**2
y_3=2.5 //cm
//Calculation
Y_bar=(a_1*y_1+a_2*y_2+a_3*y_3)*(a_1+a_2+a_3)**-1 //cm
//Result
printf("The centroid o... |
e76c73d0baec9d69c6f88cc0ea0215488298bc4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH5/EX5.1/Chapter5_Example1.sce | 995bdd88b64215822cb9412e3c53dea8649bec26 | [] | 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 | 565 | sce | Chapter5_Example1.sce | //Chapter-5, Example 5.1, Page 5.6
//=============================================================================
clc
clear
//INPUT DATA
f=50;//Frequency in Hz
Z=200;//Number of conductors
kp=1;//Pitch factor
kd=0.96;//Distribution factor
q=0.05;//Flux in Wb
//CALCULATIONS
Eph=(2.22*kp*kd*f*q*Z);//EMF g... |
120edfbfb051e682c46f137266ffe2db3f03e29f | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH9/EX9.3.a/9_3_data.sci | 1589c455bc5458d1860fbe70c90805c4f3dbae46 | [] | 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 | 237 | sci | 9_3_data.sci | // Aim:Refer Example 9-3 for Problem Description
// Given:
// poppet area:
A_poppet=0.75; //in^2
// hydraulic pressure:
p_hydraulic=1698; //psi
// full poppet stroke:
l_stroke=0.10; //in
// cracking pressure:
p_cracking=1.1*1132; //psi
|
6ef257946806f47fee0ef310537a68fc6e080b1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH7/EX7.4/ex7_4.sce | 159ce2c04cdb9bbe2d325d8854a67cab32408eb1 | [] | 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 | 660 | sce | ex7_4.sce | // Exa 7.4
clc;
clear;
close;
format('v',5)
// Given data
L = 100;// in µH
L = L * 10^-6;// in H
C1 = 0.001;// in µF
C1 = C1 * 10^-6;// in F
C2 = 0.01;// in µF
C2 = C2 * 10^-6;// in F
f = (1/(2*%pi))*(sqrt( (1/(L*C1))+(1/(L*C2)) ));// in Hz
f = f * 10^-3;// in kHz
disp(f,"The opertaing frequency in kHz is... |
8b2fe296ba83f9b98e893029cbae1c6166537cb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH9/EX9.4/example9_4.sce | 64eecf4fecf098639b80f94e968782e3e58a197b | [] | 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,084 | sce | example9_4.sce | disp('chapter 9 ex9.4')
disp('given')
disp('design an noninverting Schmitt trigger circuit to have UTP=+3volt and LTP=-5volt')
disp('using 741 op-amp with a supply of +or-15volt and Vf=0.7volt')
Vcc=15
Vf=0.7
disp('design first for the UTP')
disp('for adequate diode forward current,let I2=500*10^(-6)A')
I2=500*... |
ea2fe11ec2368ae51944939fdb3f166c758c4d0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH8/EX8.6.41/8_6_41.sce | 1bbfc20db43a8d132546c5d23cc9c856e9ed2643 | [] | 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 | 8_6_41.sce | clc
clear
//Calculation
//Differentiating P=m*(Cj-u)*u and equating it to zero we get jet speed ratio as 0.5
sig=0.5 //Jet speed ratio
eff_max=((2*sig)/(1+sig)) //Propulsive efficiency for optimum thrust power, wrong notation in textbook.
//Output
printf('Propulsive efficiency for optimum thrust power is... |
91c9258ea8d54b72350e83e85bbb4d02a0e89052 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH3/EX3.4/3_4.sce | abe7700195d8628265f6e68bc6031a2f88d9f96b | [] | 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 | 500 | sce | 3_4.sce | T = 1.275e-03; // Torque acting against the fluid in N
N = 10000; // Number of revolutions
W1 = 2*%pi*T*N; // Work done by stirring device upon the system
P = 101.325e03; // Atmospheric pressure in N/m2
d = 0.6; // Piston diameter in m
A = (%pi/4)*(d)^2; // Piston area in m
L = 0.80; // Displacement of diameter i... |
797f0fa56feb1e20113730f6baa8f323017c30d6 | e28bd20fb430c3bdacde74d5950991850ae0ca5e | /codes/dm2_nddl.sci | 3f6e22844918af5c2c576f2f7775e8b34287c9ed | [] | no_license | JohnMada/dm2vibration | 7b19094335f5465a19b165fbcf76a05b63bd17da | ae69057a0a02ae5d34056e64122ff9f2484f7b86 | refs/heads/master | 2021-01-13T03:13:17.354990 | 2017-01-09T02:38:11 | 2017-01-09T02:38:11 | 77,625,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,529 | sci | dm2_nddl.sci | function [K,M] = matrices(EI,dx,rho)
// Construction des matrices de masse et de raideur elementaires
K = zeros(4,4);
M = zeros(4,4);
// Matrice de raideur
K(1,2) = 12*EI/dx^2; K(1,3) = -24*EI/dx^3; K(1,4) = 12*EI/dx^2;
K(2,3) = -12*EI/dx^2; K(2,4) = 4*EI/dx;
K(3,4) = -12*EI/dx^2;
K = ... |
19be33f0336047c03d9626ae8c774a4744d8003c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH32/EX32.4/Ex32_4.sce | f3a9b5b5d3c5261bdf9d6ff75befc90456421d93 | [] | 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 | 498 | sce | Ex32_4.sce |
//To Calculate the Resistance and Energy
//Example 32.4
clear;
clc;
U1=400;//Thermal energy developed in resistor in Joules
i1=2;//Current in Amperes
t=10;//Time in seconds
R=U1/(i1^2*t);//Formula for finding the resistance
printf("(a)Resistance of resistor= %f ohm",R);
i2=4;//New Value of C... |
b671a46117ac1a5da9fcd3188bce889754e73902 | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /step_source.sci | 9741d472685e607db91d90bdab150af6cb31f669 | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 20 | sci | step_source.sci | t=0:1000;
y=ones(1); |
7215664f32fe6de1693b77a077c06da94c485d43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH10/EX10.9/10_9.sce | d169ab53f6253e99869d75634554d1d510be5651 | [] | 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 | 273 | sce | 10_9.sce | clc
//Intitalisation of variables
clear
T1= 500 //C
T2= 400 //C
kp1= 1.64*10^-4
kp2= 0.144*10^-4
R= 4.576 //cal
//CALCULATIONS
dH= (log10(kp2)-log10(kp1))*R*(273+T1)*0.5*(273+T2)/(T1-T2)
//RESULTS
printf ('Heat of formation of one mole of Nh3 = %.f cal ',dH+5)
|
5d1e5b3fbd9bce51fe9fad53211926b8d34746a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH6/EX6.5/Example6_5.sce | 34fb0ad609ebafd74d08916d09d0fda941dc0682 | [] | 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 | Example6_5.sce | //amount of heat absorbed
clear;
clc;
printf("\t Example 6.5\n");
m=466;//mass in g
s=4.184;//specific heat in J/g C
deltaT=74.6-8.5;//change in temp, C/K
q=m*s*deltaT;//amount of heat absorbed, kJ
printf("\t the amount of heat absorbed is : %4.0f kJ\n",q);
//End
|
cfea1ab68533d3f2917be4501edfc156f3f2da74 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_macros/mdaqDIORead.sci | 08125fa75a33d464c7d17254cb3e3a062e072ed7 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 1,379 | sci | mdaqDIORead.sci | function state = mdaqDIORead(arg1, arg2)
state = [];
if argn(2) == 1 then
dio = arg1;
end
if argn(2) == 2 then
link_id = arg1;
dio = arg2;
if link_id < 0 then
error("Invalid link ID!")
return;
end
end
if argn(2) > 2 |... |
af9a69ba9265a7ff30c07aa239dc02393ecfbec3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH3/EX3.17/Ex3_17.sce | d0be8f0ca8607fbea62821b82e8cfb5591672cf8 | [] | 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 | 251 | sce | Ex3_17.sce | //Ex:3.17
clc;
clear;
close;
n1=1.46;// core refractive index
a=4.5;// radius in um
dl=0.0025;// relative index difference
v_c=2.405;
y_c=(2*3.14*a*n1*(2*dl)^(0.5))/v_c;// cut off wavelength in um
printf("The cut off wavelength =%f um", y_c); |
ef153416bead58c41446eb2c89e1890b5c29b3e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH16/EX16.3/16_3.sce | 037cb84042ba726505d41655116ff9554cab15e6 | [] | 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 | 412 | sce | 16_3.sce | //body pushed up the plane
//refer fig. 16.6
//applying equilibrium condition
N=300*cosd(30) //N
mu=0.2
//Frictional force
F=mu*N //N
//initial velocity
u=1.5 //m/sec
//displacement
s=6 //m
//let final velocity be v m/sec
//Equating work done by forces along the plane to change in K.E
v=sqrt(77.71+2.25... |
bbae0c5b7890598223ecd585e9dcb9fd39361c2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2966/CH1/EX1.2.73/1_2_73.sce | 08d73c0d3bda1a88b20da46f87f051704b892ebd | [] | 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 | 373 | sce | 1_2_73.sce | //water//
//page 1.73 example 2//
clc
Vb=27//volume of ferrous ammonium sulphate in blank experiment in ml//
Vt=6.5//volume of ferrous ammonium sulphate in test experiment in ml//
N=0.1//concentration in Normals//
Ve=25//volume of water sample taken in test in ml//
COD=(Vb-Vt)*N*8/Ve//in ppm//
printf("\nChemica... |
1578bbc0558edee0f613bdfbe2286f500b90bc14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH16/EX16.6/Exa16_6.sce | 230e0088b764fea83fc626d417d35ae8282415ea | [] | 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,778 | sce | Exa16_6.sce | //Exa 16.6
clc;
clear;
close;
//given data :
disp("Given the following LP model :")
disp("minimize Z = 2*X1 + 3*X2");
disp("subject to");
disp("X1+X2 >= 6");
disp("7*X1+X2 >= 14");
disp("X1,X2 >= 0");
disp("Standard Form : The standard form of the above model is as follows :");
disp("minimize Z = 2*X1 + 3*X... |
0d5c7d89bdd5fbe8ca54083ac52398c91bc84755 | 207c864c3f938783d617dca78232e70445ae21e6 | /datas.sci | 775bba30d888c47a1294513d14fdeb3f1b996c57 | [] | no_license | raresica/CalculNumeric | a211a57fd4851e546c0b5eb866b3b228534a982c | 5564822ff9f5dab745208898ef9162322b28bff2 | refs/heads/master | 2021-02-11T05:03:13.720791 | 2020-04-15T10:42:58 | 2020-04-15T10:42:58 | 244,457,154 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sci | datas.sci | function [fct,a,b,finf,fsup,tol]=datas()
a=0;
b=1;
deff('z=fct(x,y)','z=2.*x/(sqrt(1+y^4-x^4))');
deff('y=finf(x)','y=x');
deff('y=fsup(x)','y=1');
tol=1e-6;
endfunction
|
ea9ea0fdd4a0d3632b0e5d59b32c759aa640deca | f891f5aed2e66371488173c2b9c4e8f977a9f64a | /SunSpec Utilities/Tests/Ametek_PV_Sim_Setup.tst | 1624c06fe6ce00431fc180d9af99adf41a45b7ae | [] | no_license | jakedm/svp_directories | d9b85c41b45a3ded7572f9f730e8d1efc8515099 | 19272f8784baabf83e197778768933aef015432c | refs/heads/master | 2021-01-18T18:08:29.224016 | 2017-01-16T20:09:35 | 2017-01-16T20:09:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | tst | Ametek_PV_Sim_Setup.tst | <scriptConfig name="Ametek_PV_Sim_Setup" script="configure_PV_sim">
<params>
<param name="pvsim.terrasas.channel" type="int">10</param>
<param name="pvsim.terrasas.vmp" type="float">460.0</param>
<param name="profile.irr_start" type="float">1000.0</param>
<param name="pvsim.terrasas.pmp" type="float">... |
a95bbd0f0f81840b22e28262ad11931b9500ce66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH5/EX5.8/example8.sce | eb2a450d43039430a78282dfd145cc458ae4acbc | [] | 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,228 | sce | example8.sce | clc
clear
//input data
Ca=180//Air velocity at the exit of nozzle in m/s
a1=(90-27)//Nozzle inclination perpendicular to direction of rotation in degree
R=0.5//Degree of reaction
U=180//Blade speed in m/s
//calculations
Cx1=Ca*tand(a1)//Inlet whirl velocity in m/s
b11=atand((Cx1-U)/Ca)//Inlet angle of the ro... |
8457e1f3daf9684131f4d967a71897511cc5c382 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Materials_Science_R._S._Khurmi_And_R._S._Sedha_2153.zip/Materials_Science_R._S._Khurmi_And_R._S._Sedha_2153/CH5/EX5.12.a/ex_5_12_a.sce | e265630709de08711093ec215af1dc61c8f47efb | [] | 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 | 239 | sce | ex_5_12_a.sce | errcatch(-1,"stop");mode(2);//Example 5.12.a : velocity
;
;
//given data :
m=9.1*10^-31; // in kg
e=1.602 *10^-19;
Ef=3.75;// in ev
Wf=(e*Ef);// in J
vf=sqrt(((2*Wf)/m));
disp(vf,"velocity,vf(m/s) = ")
// answer is wrong in book
exit();
|
2576176f9daa1f4132ec6708dc750e8cb45e520f | 5887829f5a0a005033807cf7dc4fb7231eb280ec | /Listing/chapter 3/Listing3124 .sce | a57b063b6fbf69ab0b238e08660b79a950c416f6 | [] | no_license | joaolrneto/learning_scilab | 78ecc0019f167b57bc35647c4ac785ece01e443e | 9624c9a6736860a8a836b0f801256b6224756585 | refs/heads/main | 2023-03-17T22:17:51.853368 | 2021-03-15T20:58:34 | 2021-03-15T20:58:34 | 344,478,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | sce | Listing3124 .sce | clc
clear
n = x_choose(['good';'average';'great'],['Choose an option';'for the dialog'])
|
8710e48e74395b839f57320b7a8b0b53a68f7b7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH7/EX7.6/Ex7_6.sce | 83fffbd0c26a0940143b15a0002a88c5da0b25c8 | [] | 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,022 | sce | Ex7_6.sce | clc
T1 = 200 // Initial temperature of system in K
T2 = 100 // Final temperature of system in K
A = 0.042 // Constant
Q1 = integrate('A*T^2','T',T1,T2)
S = integrate('A*T^2/T','T',T1,T2)
W = poly(0,'W')
Z = (-Q1-W)/T2 + S // Polynomial to be solved for W
// Bisection method to solve for the Work
function ... |
e7e14c06d7c67e5fd9e136f29f149658e0407929 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH8/EX8.46/EX8_46.sce | cdfb757e3df60dc6217591d489974ed3ba1ecd00 | [] | 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,207 | sce | EX8_46.sce | // Example 8.46
// Calculation of maximum repeater spacing of a)ASK hetrodyne b)PSK homodyne
// Page no 500
clc;
clear;
close;
//Given data
S=0.2; // Split loss
c=3*10^8; // velocity of light
lambda=1.55*10^-6; // Wavelength
B1=50*10... |
c1cd8940a781bda395e0211c8bed40cd932603b4 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics__D._K._Bhattacharya_1952.zip/Engineering_Physics__D._K._Bhattacharya_1952/CH12/EX12.29/Ex29.sce | f418cdaa0a91759445211ec4ab620b97c4bcd4a0 | [] | 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 | 208 | sce | Ex29.sce | errcatch(-1,"stop");mode(2);// Additional solved examples , Example 29 , pg 345
ur=4000 //relative permeability
xm=ur-1 //magnetic susceptibility
printf("Magnetic susceptibility=")
disp(xm)
exit();
|
f7fbb39c7631374a69ba9f3d6f03accb65d70313 | 1468f13d61172c83130184bd54d023deb150303d | /test/revoke.tst | 7242fdd65db112e662f52aad80bcc1920ee99ca1 | [
"Apache-2.0"
] | permissive | longde123/sqlparse | 2fce59d9a1fe92b26dcd92b1f0c34cca6487e5be | 4b2101a6ef9d7d4a23445add164fb915e158786a | refs/heads/master | 2021-01-13T12:09:04.472322 | 2016-10-17T13:23:26 | 2016-10-17T13:23:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,322 | tst | revoke.tst | %%-*- mode: erlang -*-
%%-*- coding: utf-8 -*-
% Test control options
[{tests, []}].
%%
%% TESTS
%%
"REVOKE FROM name_user_1".
"REVOKE FROM name_user_1, name_user_2".
"REVOKE FROM name_user_1 CASCADE CONSTRAINS".
"REVOKE FROM name_user_1 FORCE".
"REVOKE ON name_table FROM name_user_1".
% ? "REVOKE ON DIRECTORY na... |
71d77681033fe37da016b957bea215d1ae62ea74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH6/EX6.9/ex6_9.sce | 43fe6f4be26a5e7f3c6b761fe0fe0771664a126e | [] | 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 | ex6_9.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
clear
E=13400//tonf/in^2
E1=5600//tonf/in^2
h=7//tonf/in^2
h1=3.5//tonf/in^2
w=1.5//ij
l=5//tonf
A=%pi/4*1^2//in^2
A1=%pi/4*(w^2-1^2)//in^2
s=1.91//tonf
t=0.787//in
pg=1.72//tonf
//CALCULATIONS\
m=h*t//t... |
19e5752c5bcdb78f1c5e5bdea2163477e4cef9be | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH16/EX16.4/Ex16_4.sce | 814727a32288f84bd6649b655ac615096e86232c | [] | 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 | Ex16_4.sce | //Example 16.4, Page 589
clc
// Using formula logb(m)=n
//n=b^n
F=10^(-5.7)
Y=12.3 //yr
d=365//day/yr
h=24//hr/day
m=60//min/hr
s=60//sec/min
T=(Y*d*h*m*s)/0.693
printf("\n The life time is %e s",T) |
e690d5185ceaf3dfbd33b355608104253fe49908 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.18/2_18.sci | f69e3e59b086fccd0ea6bf2cb17c5ba59a0fb1b5 | [] | 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 | 150 | sci | 2_18.sci | // 2.18
clc;
s=100*10^6;
E=200*10^9;
strain=s/E;
Gf=2;
r_per_unit=Gf*strain*100;
printf("Percentage change in resistance = %.1f ",r_per_unit)
|
24df59974192edcc689701f16956df26802a9ff0 | 271e1c7556443952fc17a95243f62923f3b742a4 | /scilab/utils.sce | 1ee08ec8f7b1483a8fbb7202a5aa716838601597 | [] | no_license | Edlward/aec | 5b38f9d8d502e27ae7037c6bc20568ee0ccb4f50 | 3aa5e2f81be6818c5b9b837512431f527a85dc2c | refs/heads/master | 2021-06-01T03:57:16.874040 | 2016-07-13T18:33:01 | 2016-07-13T18:33:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,725 | sce | utils.sce | // Global settings
Fs = 8000;
SampleLen = 24000;
// Plot more files one below another, so they can be compared in time
// domain.
// Takes filenames as input argument.
function plotOneFileBelowAnother(varargin)
[lhs, rhs] = argn(0);
t = linspace(0, SampleLen / Fs, SampleLen);
f = gcf();
for i = ... |
55071529a92474556d456128e4c4d0678ad5ff77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH3/EX3.33/Ex3_33.sce | b47ba8d7c35cc39d80685919fde93f3210784079 | [] | 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 | 421 | sce | Ex3_33.sce | //Example 3_33
clc;
clear;
close;
format('v',5);
//given data :
R=10;///ohm
L=0.1;//H
C=8;//micro F
f0=1/2/%pi/sqrt(L*C*10^-6);//Hz
disp(f0,"(a) Resonant Frequency(Hz)");
Q=2*%pi*f0*L/R;//Q-factor
disp(Q,"(b) Q-factor");
f1=f0-R/4/%pi/L;//Hz
f2=f0+R/4/%pi/L;//Hz
disp(f2,f1,"(c) Half power frequencies, f1... |
06976211cb29ec874c89886fe633e6a41905872f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH3/EX3.8/Ex3_8.sce | 743a25c4d330c5fd02e2d8ca2407b2b9c450a384 | [] | 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 | 293 | sce | Ex3_8.sce |
////calculate the mutual inductance between the two coil
N1=50
N2=400
A=150e-4
l=200e-2
u=2500
s=l/(4*3.14*10^-7*A*u)
M=(N1*N2)/s
dI1=24
dt=0.03
eM2=M*dI1/dt
disp('induced emf= '+string(eM2)+' volts' , 'Mutual inductance= '+string(M)+' henry' , 's='+string(s)+' AT/Wb')
|
e97a47b85b0404cd7961839b57580eafe78c1474 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/PPF_R10000_Arpack_LM.tst | ce6b2202bb91a4697625b107eae15a8e743c375c | [
"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 | 594 | tst | PPF_R10000_Arpack_LM.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Linear stability with coupled solver (LM with Arpack): ChannelMax Ev = (0.0037303,+/-0.237523i) </description>
<executable>IncNavierStokesSolver</executable>
<parameters>PPF_R10000.xml</parameters>
<files>
<file description="Session File... |
17a75a3ea412bdf51848c489e985e4efd95721de | cdc0f097fcdf85f382c271b211a408ebf86e7439 | /courbe_bezier.sce | 2f386809eea2e361455419607b1538966129781e | [] | no_license | marinelns/spline | 5d905751995408dc2daadef433911a61215671a3 | 04d0ac4b4bb4f3c37b2d0400f8660d4417447ae6 | refs/heads/master | 2021-08-24T00:51:09.316339 | 2017-12-07T09:55:39 | 2017-12-07T09:55:39 | 112,771,948 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,504 | sce | courbe_bezier.sce | function []= Courbe_de_bezier()
resolution=21; //nombre de points evalues sur la courbe de Bezier
a=2;b=4; //domaine des parametres
K=0; //variable d'etat
matrice=0; //ensemble des points de controle
while K~=4 //arreter
K=uimenu('Que voulez-vous faire ?','NEW -cardinal splines... |
4e1493d6a94e782e586756a5e70bc6ba289c9228 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/plasma/lorentz.sce | 1dd1a13acb2cf95fa9af2a09a79c6a7f7ade09ad | [] | 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 | 247 | sce | lorentz.sce | //lorentz force
function [vdott]=lorentzf(q,m,v,e,b)
ac=zeros(3,1);
ac(1,1)=e(1,1)+v(2,1)*b(3,1)-v(3,1)*b(2,1);
ac(2,1)=e(2,1)+v(3,1)*b(1,1)-v(1,1)*b(3,1);
ac(3,1)=e(3,1)+v(1,1)*b(2,1)-v(2,1)*b(1,1);
vdott=(q/m)*ac;
endfunction
|
fc4e8bc66a035cc30083f18669f6338ce8bf56e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH6/EX6.8/Ex6_8.sce | 2e206f6d5d61eb17179d7be7133aff52368be549 | [] | 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 | 731 | sce | Ex6_8.sce | clc
x = poly(0,"x")
// Given that
y = 10+0.3*x-0.05*x^2//Equation of geometry of workpiece surface
V = 15 // Applied potential in Volt
f = 0.75 // Feed velocity in cm/min
k = 0.2 // Conductivity of electrolyte in ohm^-1-cm^-1
Vo = 0.67 // Total overvoltage in Volt
F = 96500 // Faraday constant in coulombs per mole
//... |
aaa31e34edc3dd5b71f325beb339d363b4cd33b0 | 717ddeb7e700373742c617a95e25a2376565112c | /587/CH8/EX8.4/example8_4.sce | 9c91fedd12c953bfcd80b2f092b0396aaa2d9a1b | [] | 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 | 917 | sce | example8_4.sce | clear;
clc;
//Example8.4[Pressure Drop in a Water tube]
Tw=15;//temp of water while entering[degree Celcius]
rho=999.1;//[kg/m^3]
mu=1.138*10^(-3);//Viscosity[kg/m.s]
id=0.05;//Internal diameter[m]
V=5.5*10^(-3);//Flow rate[m^3/s]
l=60;//length of tube[m]
e=0.002*10^(-3);//[m]
//Solution:-
v=V/(%pi*(id^2)*... |
1acd53b996f037ae3a8bc57efd1475edb8dc973c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH10/EX10.7/Ex10_7.sce | 5d78a3296793eadc1301b5648ea3e557f488d91b | [] | 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 | 300 | sce | Ex10_7.sce | clc
clear
//Initialization of variables
disp("From table 1 of keenan and keynes,")
p=70 //psia
x=0.1
p2=198 //psia
//calculations
v1=6.206
v2=0.017
vx=v1-x*(v1-v2)
t2=1400 //F
//results
printf("Final specific volume = %.3f cu ft",vx)
printf("\n Final state is %d psia and %d F",p2,t2)
|
62655b061ec3cf31ac10ba09ac26111fd55280de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH1/EX1.44/Example_1_44.sce | 7499e84976b714ea00acc78adc7fc89805836d2b | [] | 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 | 413 | sce | Example_1_44.sce | // Example 1.44 There is 50 50 chance that a contractor's firm A will bid for construction.
clc;
clear;
A=1/2;
E=3/4;
F=1/3;
disp(F,"Probab. that firm B will get the job if firm A submits a bid is only = ",E, "Probab. that firm B will submit a bid and get the job provided firm A does not bid is = ",A, "Probab. th... |
c2ae148ca76f2317c3c56153159f96fde11779eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH13/EX13.15/Ex13_15.sce | a8dd818cddbc4085d033c3cfec301dde9465648a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | Ex13_15.sce | //=====================================================================================
//Chapter 13 example 15
clc;
clear all;
//variable declaration
A = 0.5;
B = 0.01;
f = 50;
n = 10;
//calculations
Pe = B*(f^2); //eddy current loss at 50 Hz in W
Pe1 = Pe/n; //eddy current loss per kg at 50 Hz in wat... |
8be64127e2fa43cd8231114eb1eaaab7bd1d5a62 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Aim Coaster V2.sce | 8ba66574d1ae0fd82c6a2b8ce3addcff7c0e9845 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 137,347 | sce | Aim Coaster V2.sce | Name=Aim Coaster V2
PlayerCharacters=Aimer
BotCharacters=BOT1.bot;BOT2.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Aimer
AddedBots=BOT1.bot;BOT1.bot;BOT1.bot;BOT1.bot;BOT1.bot;BOT1.bot;BOT1.bot;BOT1.bot;BOT1.bot;BOT2.bot;BOT2.bot;BOT2.bot;BOT2.bot;BOT2.bot;BOT2.bot;BOT2.bot;BOT2.bot
PlayerMaxLives=1
BotMaxLives=1... |
981d4dfc9ee4267cf3e8bc3ee25488c062a3dffa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH1/EX1.8/Ex1_8.sce | 29154d1943c6f65a3c334ca2a7c42012fccc1596 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sce | Ex1_8.sce | clear all;
clc;
P = 1200;//axial pull in lb-wt
d1 = 1;//diameter of one end in inches
d2 = 0.5;//diameter of other end in inches
l = 10;//length of the rod in inches
E = 14*10^6;//modulus of elsticity in lb/in^2
del_l = 4*P*l/(%pi*E*d1*d2);//change in length in inches
printf('The change in length of the rod is... |
f4af3944d420c5acb632506904f8d251534eca86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH3/EX3.8/ex3_8.sce | 894f5a8d46a729e894c5c7c9eb0356721ecf343e | [] | 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 | 111 | sce | ex3_8.sce | // Example 3.8, page no-125
clear
clc
f=1000
//from graph
gain_db=60
gain=1000
printf('Gain= %d',gain)
|
d7c6af9782015782a8410b59f183ce9176183fed | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH9/EX9.6/ex6.sce | e247f28a73f95f01095e39f88489835a4b6560ad | [] | 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 | 927 | sce | ex6.sce | //ques6
//An Actual Gas-Turbine Cycle
clear
clc
ws=244.16;//kJ/kg
nc=0.80;//compressor efficiency
Win=ws/nc;//work input in kJ/kg
nt=0.85;//Turbine efficiency
ws2=606.60;
Wout=nt*ws2;//work output in kJ/kg
Rbw=Win/Wout;//back work ratio
printf('(a) Back work ratio = %.3f \n',Rbw);
//(b) now air leaves the c... |
7354f31ec68df11d76acdc6531b4ec259e64be36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH16/EX16.8/Ex16_8.sce | a0ad6ae1f3da880a339d72776b754d82c70f7c92 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | Ex16_8.sce | //Example 16_8
clc();
clear;
//To find out the speed of the proton
k=9*10^9 //Units in N meter^2/C^2
q=5*10^-6 //Units in C
r=0.5 //Units in meters
v1=(k*q)/r //Units in V
q=1.6*10^-19 //Units in V
m=1.672*10^-27 //Units in Kg
v=sqrt((v1*q*2)/m) //Units in V
printf("The speed ... |
09d55e7ed1b67711254c882dc37f7eda8802a38b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH6/EX6.19/Chapter6_Example19.sce | 34708f97249269c47cd85d9e47ec000ec3631d43 | [] | 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 | Chapter6_Example19.sce | clc
clear
//Input data
l=537;//Latent heat of steam in cal/g
V2=1674;//The specific volume of one gram of steam in cm^3
V1=1.000;//The specific volume of one gram of water in cm^3
p=2.712;//The increase in the pressure in cm of Hg
t=100;//The boiling point of water in degree centigrade
//Calculations
... |
d94ea70b1c141ecc7f7ccf4efcee7a3c37ca104b | 73614745139719e6a73e2ccc5166289b8a21b2fc | /builder.sce | a5db5a3abd23bd850e2f14a137386f89606d43ac | [] | no_license | akshaymiterani/fossee_intqpipopt | 06b1f3ea3373a3d04530b38b929b3b224ee89bd0 | 14fa6a66a984c4d08c20417ba4620fbf531bee2f | refs/heads/master | 2021-01-18T19:54:48.796792 | 2016-06-24T08:52:06 | 2016-06-24T08:52:06 | 61,268,791 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,982 | sce | builder.sce | // Sce file to build the toolbox(intquadprog)
mode(-1);
toolboxTitle = 'FOSSEE_Scilab_intquadprog';
path = get_absolute_file_path('builder.sce');
include_path = path + 'build/Bonmin/include/coin';
lib_path = path + 'build/Bonmin/lib';
sci_path = path + 'build/Scilab/';
cpp_path = path + 'build/cpp/';
help_dir = path... |
f3c9a2b2fbc0a11b026acc60c3fe1e7153b26ca3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH4/EX4.1/example.sce | 7bfde7a2618bf958ab40e343506513355aec29ea | [] | 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 | 836 | sce | example.sce | // bode p l o t is given in the question we have to find transfer function
s=%s;
sys = syslin('c',20*s/((s+1)*(s +10)))
bode(sys)
show_margins (sys ,'bode')
gm= g_margin (sys)
pm= p_margin (sys)
disp (gm ," g a in margin=")
disp (pm ," phas e margin=")
if (gm <=0 | pm <=0)
printf (" system is unstable ")
el... |
7d4a71ae4e84e59afff090388c65b4aa85cbda22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3129/CH4/EX4.1/Ex4_1.sce | c3289ac2bf915541418b1937b876c84fabf382fc | [] | 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 | 627 | sce | Ex4_1.sce | //Finding the saturation Parameters of BJT
//Example 4.1(Page No- 128)
clc
clear
//given data
Vcc = 200;//V
bet_min = 8;
bet_max = 40;
Rc = 11;//Ohm
ODF = 5;//overdrive factor
Vb = 10;//V
Vce = 1;//V
Vbe_sat = 1.5;//V
Vce_sat = 1;//V
Ics = (Vcc - Vce_sat)/Rc;
Ibs = Ics/bet_min;
Ib = ODF*Ibs;
//part(a)... |
f3bb0a2892cd8b783b36ecb24809958d8260944f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH4/EX4.19/Ex_4_19.sce | 9847b5b647d304f024483eaf7ab42831ea889d77 | [] | 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 | 281 | sce | Ex_4_19.sce | // Example 4.19;//LIGHT PULSE SPREAD IN NS
clc;
clear;
close;
NA=0.275;//Numerical Aperture
n1=1.48;//Core refrctive index
L=5;//Length in Km
C=3*10^5;//Speed of light in km/s
dts=((L*(NA)^2)/(2*n1*C))*10^9;//LIGHT PULSE SPREAD IN NS
disp(dts,"LIGHT PULSE SPREAD IN NS")
|
570121c4d4ca8c79775526355b3927d6a8c7cb53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH5/EX5.17/5_17.sce | 16ed961d73c6f215907f9a0b259470690660c0c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | 5_17.sce | clear all; clc;
disp("Ex 5_17")
disp("Free body diagram is as shown in fig 5-32b")
//Initilization of variables
u=[-0.707,-0.707,0] //matrix notation
// Calculations
TB=490.5/0.857
printf('\n\n TB = %0.0f N',TB)
|
388d2697abf7e312864d8ee577f0a2b530fc1725 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.28/EX3_28.sce | aa7dc140e9e0c0edc791969cc70e85866297f38f | [] | 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 | 628 | sce | EX3_28.sce | //EXAMPLE 3-28 PG NO-191
Van=230.94+%i*0;
Vbn=-115.47-%i*200;
Vcn=-115.47+%i*200;
Za=12-%i*16;
Zb=12+%i*0;
Zc=8+%i*6;
Ia=Van/Za;
disp('i) CURRENT (Ia) is in rectangular form = '+string (Ia) +' A ');
Ib=Vbn/Zb;
disp('i) CURRENT (Ib) is in rectangular form = '+string (Ib) +' ... |
1f9f3f6366f42ecc171f092d43043a59324b92da | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/LIRG1.prev.tst | 9faf6e8cbb05bd506552226349105b43bf834087 | [
"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 | 314 | tst | LIRG1.prev.tst | [0,0]: num=0 + 1 * 1
[0,1]: num=0 + 9 * 1
[0,2]: num=0 + 3 * 1
[0,3]: num=0 + 15 * 1
[0,4]: num=0 + 6 * 1
[1,1]: num=9 + 1 * -1
[1,2]: num=3 + 9 * -1
[1,3]: num=15 + 3 * -1
[1,4]: num=6 + 15 * -1
[4,4]: num=-9 + 1 * -9
getGeneratingFunction([1,0,0,9,-9], [1,9,3,15,6]) = [1,8,-6,12,-18]/[1,-1,0,0,-9,9]
|
26ebb300091f70f42e576364953a0c8ee1552282 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnTh/enth.6.tst | 533c90d6d5929beca9b03ed8c3ea4f10dba961fa | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 132,850 | tst | enth.6.tst | a a r s อ า ร ์ ส
a b b a s i d อ ั บ บ า ซ ิ ด
a b e l e s เ อ บ ิ ล ส ์
a b n e y แ อ บ น ี ย ์
a b n e y แ อ ็ บ น ี ย ์
a b r a h a m s o n เ อ อ แ บ ร เ ฮ ิ ม ส ั น
a c c r a อ ั ก ก ร า
a c e r เ อ เ ซ อ ร ์
a c e t y l c h o l i n e e s t e r a s e อ ะ เ ซ ท ิ ล โ ค ล ี น เ อ ส เ ท อ เ ร ส
a c r o p o l i s ... |
bc23ebafc8d2fa85de9d1b770fbc8b6a888a5310 | c565d26060d56f516d954d4b378b8699c31a71ef | /Scilab/virtual_old/mpc/scilabread.sce | 086dea9ca37c4dbddb720ddcce6ec35faa3bf323 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 67,148 | sce | scilabread.sce | 0 0 100 34.60 1402779693565 1402779702750 1402779702768 1402779693638 0.10000E+01
1 2 50 34.60 1402779701444 1402779710625 1402779710643 1402779701511 0.10000E+01
2 2 50 34.60 1402779702312 1402779711511 1402779711527 1402779702395 0.20000E+01
3 2 50 34.60 1402779702503 1402779711707 1402779711725 1402779702591 0.30... |
d8ca46bb6dad9ee146b431403745eed1c1144191 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH18/EX18.7/Example18_7.sce | 86485ee7ddf1c16f7a16d996c85f574af121a826 | [] | 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 | 390 | sce | Example18_7.sce | //computation of free energy of a rxn from equilibrium constant
clear;
clc;
printf("\t Example 18.7\n");
T=298;//temperature, K
R=8.314;//gas constant, J/K mol
Ksp=1.6*10^-10;//solubility constant
deltaG=-R*T*log(Ksp);//here solubility product is equal to equilibrium constant
printf("\t the free energy ... |
cab9dcc7059bbdbefe3b75ab47d40b2862dd411e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH3/EX3.4/3_4.sce | 19556d0e5e1df331415a7d04d42a43e0a321c3f1 | [] | 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 | 3_4.sce | clear all; clc;
disp("Ex 3_4")
//Weight of lamp W=78.5N
disp("Equilibrium Equations")
disp("T_AB - T_AC*cos(30)= 0 ....(1)")
disp("T_AC*sin(30) - 78.5N = 0 ....(2)")
disp("Solving eqn (2) we get the value of T_AC")
a1=30
a=a1*%pi/180
b=78.5
c=b/sin(a)
printf('\n\nT_AC = %0.1f kN',c)
disp(" ")
disp("Putting the above va... |
d94b523137bb1df9319640fe0edf91c79f6ee6dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH6/EX6.4/Ex6_4.sce | ddb985ca876191408093d0721edd91f5e069d00e | [] | 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 | 275 | sce | Ex6_4.sce | //Ex 6.4
clc;clear;close;
format('v',5);
P=4;//no. of poles
Vs=440;//V
c=2;//no. of parallel paths
p=4/2;//no. of pair of poles
Ia=50;//A
Ra=0.28;//ohm
Z=888;//conductors
fi=0.023;//Wb
emf=Vs-Ia*Ra;//V
N=emf/(2*Z/c*p/60*fi);//rpm
disp(round(N),"Speed in rpm");
|
0520431f34d3d0405016e5dd0724ecd9abc718ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH13/EX13.4/13_04.sce | 68ac0e3718c35db8014fa78253b3b0a8614d82c0 | [] | 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 | 69 | sce | 13_04.sce | clear
clc
disp("All the values have to be read from the given graph") |
50c69d718a2873bcb8e4dc7fc209cf4f3087169c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH5/EX5.2/5_2.sce | 9b39e131e6694b208370db1e12334bbdf75221c2 | [] | 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 | 5_2.sce | clc
//initialisation of variables
clear
H1= -337.3 //kcal
H2= -68.3 //kcal
H3= -372.8 //kcal
//CALCULATIONS
Ht= H1+H2-H3
//RESULTS
printf ('Heat change of reaction = %.1f kcal',Ht)
|
c7a07f695c85e1aa4c34e271ba03e04182493f24 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/VW42LKU/ATWM1_Working_Memory_MEG_VW42LKU_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | b80580cc7f2cf76d4bdb974cb5f12f1a52d34f4d | [] | 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,384 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#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_monitor... |
ab8c36c52bb17ad07372e201d91e39f1b22c60b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH3/EX3.13/Exa3_13.sce | b1c5e86a43b69962e4eeb072f0dcd30538c6a5eb | [] | 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 | Exa3_13.sce | //Exa 3.13
clc;
clear;
close;
//Given data :
n=10;//turn ratio
RL=100;//in ohm
ICQ=100;//in mA
RLdash=n^2*RL;//in ohm
MaxPowerOut=(ICQ*10^-3)^2*RLdash/2;//in watt
disp(MaxPowerOut,"Maximum Power output in watt : "); |
89599a4b902fd12f8914e1b1be1fbfbbe3b57392 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.20/Ex12_20.sce | 62642206060e6f4278db2b674ff94a229429a093 | [] | 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 | 779 | sce | Ex12_20.sce | //Chapter 12
//page no 487
//given
clc;
clear all;
Ncso=80;
a=2.43*10^-3;
b=4.65*10^-3;
m=0.05;
//Part (i)
CSO=10*log10(Ncso*(a*m)^2);
printf("\n CSO distortion for 50 channel optical system for m = 5 percent \n CSOdB = %0.1f dB\n",CSO);
//Part (ii)
CTO=10*log10(Ncso*(1.5*b*m)^2);
printf("\n CTO distor... |
931e23faf10e4cac0fa726c20375f48dc9c34ef4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH10/EX10.2/Exa_10_2.sce | f81083bd9aac07a19679c687acf1d4338605d183 | [] | 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 | 510 | sce | Exa_10_2.sce | //Truncation and Windowing
//(a)N=9,Barlett Window.
z=%z;
Fc=0.25;
n=-4:4;
hn=2*Fc*(sinc(0.5*n'*%pi))
Wn=1-(2*abs(n'))/8//Barlett window
hwn=hn.*Wn
Hcz=0;
for i=1:length(hwn)
Hcz=Hcz+hwn(i)*(z^((2-i)));
end
Hcz//indicates delay of 0.15ms
//(b)N=6,vonhann Window
n1=-2.5:2.5;
hn1=2*Fc*(sinc(0.5*n1'*%p... |
2ce64a4991d917f814fb1e188f9f3d6b34eb7b50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH7/EX7.28/7_28.sce | 06f75523cf6212c351d5dbe858c62f5b43175ea7 | [] | 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 | 266 | sce | 7_28.sce | clc
//initialisation of variables
V= -0.440 //volt
V1= 0.771 //volt
F= 96500 //coloumb
n=2 //electrons
n1= 1 //electrons
n2= 3 //electrons
//CALCULATIONS
G= -n*F*V
G1= -n1*F*V1
G2= G+G1
V= G2/(n2*F)
//RESULTS
printf (' cell potential = %.4f volt',V)
|
bc65e01b00ceadd02a72eda61554bdb89e4683ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH4/EX4.20/exa_4_20.sce | b4c0ea7a1c55c648ef6eea0a273b69d32fdd9d2c | [] | 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 | 264 | sce | exa_4_20.sce | // Exa 4.20
clc;
clear;
close;
// Given data
V1= 0.3;// in V
V2= 0.7;// in V
R1= 6;// in kΩ
R2= 6;// in kΩ
Vs= 12;// in V
I1= (Vs-V1)/R1;// in mA
I2= (Vs-V2)/R2;// in mA
disp(I1,"The value of I1 in mA is : ")
disp(I2,"The value of I2 in mA is : ")
|
0e9c1204c0e6cb101038b03b088cb0ac91b7de69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH42/EX42.02/42_02.sce | 17d7090d2d0ff0d5469b458059523fad2b11278c | [] | 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 | 633 | sce | 42_02.sce | //Problem 42.02: A filter section is to have a characteristic impedance at zero frequency of 600 ohm and a cut-off frequency at 5 MHz. Design (a) a low-pass T section filter, and (b) a low-pass pi section filter to meet these requirements.
//initializing the variables:
R0 = 600; // in ohm
fc = 5E6; // in Hz
/... |
ba371f1ff9b58e5014329fb82ea5db03b79a9654 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH7/EX7.4/7_4.sce | 8c1e056ee689c6d7cd0fa467a73dc2a5bdfc493f | [] | 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 | 205 | sce | 7_4.sce | clc
//initialisation of variables
P1= 731.9 //mm
P2= 712.4 //mm
Mb= 18 //gms
r= 0.188
//CALCULATIONS
Ma= r*Mb*P2/(P1-P2)
//RESULTS
printf ('molecular weight of nitro-benzene= % f g mole^-1',Ma)
|
52527989884cbabb856ff804abd0dfe2754a2759 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH5/EX5.8/Ex5_8.sce | 181ba1ef21b60211b5eca71ae8ee713e29d80ff5 | [] | 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 | 531 | sce | Ex5_8.sce | //Fourier Series coefficients of half-wave rectifier output
//Assume the period of the signal T=1
t=-0.5:0.01:0.5;
for i=1:length(t)
if t(i)<-0.25 & t(i)>0.25 then
x(i)=-1;
else
x(i)=1;
end
end
k=-10:10;
for i=1:length(k)
if k(i)==0 then
ak(i)=0;
else
a... |
402ad01d81882831a04f8e3506fd25f018a275da | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_macros/mdaqDSPStop.sci | b825367a6c448f54e2485ae0fa1a20349cc904b8 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 549 | sci | mdaqDSPStop.sci | function mdaqDSPStop(arg1)
if argn(2) == 1 then
link_id = arg1;
if link_id < 0 then
error("Invalid connection id!")
end
end
if argn(2) == 0 then
link_id = mdaqOpen();
if link_id < 0 then
error("ERROR: Unable to connect to MicroDAQ device!");
... |
c06bfd94edc2a3a95efc6f70ff8c33e8e363c1a2 | f5bb8d58446077a551e4d9a6461a55255db523fe | /ajuste_de_curvas/calc3.sce | d448ee78254b4e49606e01154e6073b8d78484a9 | [] | no_license | appositum/numerical-calculus | 6be1a9990a1621c705af6ba5694cf8c7b891d06e | 7759e74ce9ce5c5826f96be7de84a2f7ecb97c91 | refs/heads/master | 2021-07-19T18:19:09.336819 | 2018-11-27T21:52:36 | 2018-11-27T21:52:36 | 143,060,426 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 599 | sce | calc3.sce | // Q = Q1
// Q0 = ln(b)
// e^(Q0) = e^(ln(b))
// b = e^(Q0)
xs = [1.0; 1.25; 1.5; 1.75; 2.0]
fxs = [5.10; 5.79; 6.53; 7.45; 8.46]
a11 = 5
a12 = sum(xs)
a21 = a12
a22 = sum(xs.^2)
A = [a11, a12; a21, a22]
b1 = sum(log(fxs))
b2 = sum(log(fxs).*xs)
b = [b1; b2]
X = inv(A)*b
a0 = X(1)
a1 = X(2)
a = a1
b = exp(a0)
pr... |
45de3e17bbebabca4e400204454aae345f07a600 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH9/EX9.1/Ex9_1.sce | 42121b14fb647e878104f2facefbf276bd18ba48 | [] | 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 | 819 | sce | Ex9_1.sce | //=========================================================================================
// chapter 9 example 1
clc
clear
// Variable declaration
F = 8482; // Tensile force in newtons
lo = 0.30; // length of steel wire in cm
Y = 207*10^9; // Youngs modulus of steel Gpa
r = 3*10^-3; // radiu... |
17b25e8fcfb224ef1922009d66a25caad3a6083b | de14a6897d4397228a52bacb8905b8807370ef4b | /villes_italiennes.sce | 1b87f5c3462aa0da5c49f9a98d657024db763bff | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 775 | sce | villes_italiennes.sce | function A=constrA(G,n)
e=ones(n,1);
A=p*G+(1-p)/n*e*e';
endfunction
function H=constrH(G,n)
H=zeros(G);
for i=1:n
for j=1:n
s=sum(G(:,j));
if s == 0 then
G(:,j)=ones(n,1)/n;
s=1;
end
H(i,j)=G(i,j)/s;
end
end
endfunction
alpha=0.15;
p=1-alpha;
n=11; //n... |
87e5a7cedf7fe35e21aebe9eb3d8cd879553fe21 | 7d50df725bbb6d9f03d14717aa9fc3c0e70a58f2 | /31-addition/addition.tst | 52930b98d629df68a96fc106fade7708240c45e5 | [] | no_license | alexer/manufactoria-solutions | 6f5c6985bcc1ea0f2086a79cb19ca7a3b1e3661a | 52e1c4c975f3ab927fc0ba467a367e4febb152e2 | refs/heads/master | 2021-01-01T19:30:40.579582 | 2012-07-29T02:58:30 | 2012-07-29T02:58:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 281,086 | tst | addition.tst | RGR R|RR|RRR|RRRR|RRRRR|RRRRRR ACCEPT
RGRR R|RR|RRR|RRRR|RRRRR|RRRRRR ACCEPT
RGRRR R|RR|RRR|RRRR|RRRRR|RRRRRR ACCEPT
RGRRRR R|RR|RRR|RRRR|RRRRR|RRRRRR ACCEPT
RGRRRRR R|RR|RRR|RRRR|RRRRR|RRRRRR ACCEPT
RGRRRRRR R|RR|RRR|RRRR|RRRRR|RRRRRR ACCEPT
RRGR R|RR|RRR|RRRR|RRRRR|RRRRRR ACCEPT
RRGRR R|RR|RRR|RRRR|RRRRR|RRRRRR ACCEP... |
b471fa97c596968193757856f8b34c6522152ecc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH12/EX12.3/Ch12Ex3.sce | 433a8395ea437532f29a73b83e997e31e4bc62cc | [] | 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 | 438 | sce | Ch12Ex3.sce | // Scilab code Ex12.3: Pg:467 (2008)
clc;clear;
n1 = 1.45; // Core refractive index of an fibre
d = 0.6; // Core diameter of fiber, m
NA = 0.16; // Numerical aperture of fiber
lambda_0 = 9e-007; // Wavelength of light, m
V = %pi*d*NA/lambda_0; // Normalized frequency (V-number)for the fiber
print... |
cb7d71b9cbb9d5c0810ffef4cbf775067865e760 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH5/EX5.27/5_27.sce | 5d44737f884a3ac4c731cf2f4b9099beaff8ca3f | [] | 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 | 5_27.sce | //Example 5.27
//Linear Iteration Method
//Page no. 198
clc;clear;close;
deff('x=f(x)','x=20/(x^2+2*x+10)')
printf('n\tx\t\tf(x)\n')
printf('-------------------------------------\n')
x=1;
for i=1:19
printf(' %i\t%.10f\t%.10f\n',i,x,f(x))
x1=x;
x=f(x);
end
printf('\n\nx = %.10f',x1) |
5d5c68857218045799bc00ffa860b2e62ea9b7af | d9e20e3e491ed05049f4f1a44021e96499a581ba | /src/teste.sce | f52108c2fb5be76469ff6f7faecaeceed4fca607 | [] | no_license | josenalde/applied-math | 1e13000bec5e92fa828bee3193607cf8a200a604 | 76a9aab93d69e4be6b564cae72c441bc648444d4 | refs/heads/master | 2021-01-10T09:21:01.369665 | 2020-09-21T22:56:42 | 2020-09-21T22:56:42 | 46,852,259 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | teste.sce | //a = input('Digite a:');
a = 1;
amplitude = 5;
numero = abs(amplitude)*sign(a);
x1 = -10:-6;
x2 = -5:-1;
x3 = 0:4;
x4 = 5:9;
y1 = numero*ones(1,5);
y2 = -numero*ones(1,5);
y3 = numero*ones(1,5);
y4 = -numero*ones(1,5);
plot(x1,y1,x2,y2,x3,y3,x4,y4);
|
27fbf4700defe4e1580b1c5adcb226990b0b72b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH5/EX5.20/ex5_20.sce | dff053a155844557a8fd1d2e206386c8f8b819f9 | [] | 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,069 | sce | ex5_20.sce | // Exa 5.20 Printed as 5.17
clc;
clear;
close;
// Given data
f_H = 100;// in Hz
f_L = 2;// in kHz
f_L = f_L * 10^3;// in Hz
C = 0.01;// in µF
C = C * 10^-6;// in F
R = 1/(2*%pi*f_L*C);// in ohm
R = R * 10^-3;// in k ohm
A_F = 2;
R1 = 10;// in k ohm
// A_F= 1+R_F/R1 or
R_F= (A_F-1)*R1;// in k ohm
disp("(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.