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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
90ecef522d23fefb8e6898e1d2821d91382154eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3169/CH9/EX9.8/Ex9_8.sce | e22e2caac32f7104a917363638f22a24f6a8a458 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 599 | sce | Ex9_8.sce | //developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear all;
//example 9.8
//calculation of voltage at balance
//given data
V=10000//applied voltage(in V)
R3=1000/%pi//resistance(in ohm) in CD branch
R4=62//variable resistance(in ohm)
Cs=100*10^-12//standard capacitance(in F)
f=50//freq... |
e5a6265b0ddc3ba1e1e469f0387bfbbb3ba4c1a7 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.13_8.tst | 35d5c3566c4a43a7557619077e3e03fba638d479 | [] | 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 | 14,897 | tst | bow.13_8.tst | 13 25:0.14285714285714285 32:0.5 163:0.25 167:0.1111111111111111 274:0.5 282:1.0 722:0.5 1210:1.0 1754:1.0 2907:0.5 3525:0.25 3988:1.0 4458:0.25 4514:2.0 4534:1.0 5453:0.3333333333333333
13 23:0.2 40:0.3333333333333333 162:1.0 163:0.25 396:0.3333333333333333 447:0.25 492:0.07692307692307693 1121:1.0 1903:0.333333333333... |
7524697501eb780eba94eacfbd126a764b4295e3 | a64701f569e51700e946b5eaf53f349984606883 | /PM.sce | 37b068b6085f194e38196b6b44cf94f1923e5c21 | [] | no_license | Connorrr/Prospective-Memory-S3---Andrew-Presentation | dd1254fee7226717fcaa2a2738d0bd6e04dd2d6f | 4784895f25443c083186040b823d7dbd93411f45 | refs/heads/master | 2021-01-01T04:05:47.139206 | 2016-05-09T03:51:32 | 2016-05-09T03:51:32 | 57,353,512 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,507 | sce | PM.sce | #Function: PM.sce
#Description: Scenario File for Prospective Memory
#Programmer: Connor Reid
#Created@: 7/7/14
#LastMod@: 29/04/16
#-------------------------------------------------------------------
scenario = "PM";
response_matching = simple_matching;
no_logfile = true;
active_buttons = 34;
button_codes = 1, 2... |
95e28c5b79155fca9f74e062fff209e5721fd2f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH4/EX4.2/Ex4_2.sce | 573c7465b6c0c9fe5f73e40241fe4e19d91c4bf7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | sce | Ex4_2.sce | //Example 4.2
//Convolution sum of x[n] and h[n]
clc
clear
n=-1:1;
n1=-2:2;
x=[0.5 0.5 0.5];
h=[3 2 1];
y=coeff(poly(h,'z','c')*poly(x,'z','c'))
disp("Convolution of x[n] and h[n] is...")
disp(y)
|
10e83f7a8c31e49e0d196efe748f0c0e416a3d17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH4/EX4.16/4_16.sce | 802c8ca54f740d36070cdc48ff5c90bce456d6c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | 4_16.sce | clc
clear
//Initialization of variables
q=240 //ft^3/sec/ft
v1=60 //ft/s
gam=62.4
rho=1.94 //slug/ft^3
g=32.2 //ft/s^2
//calculations
y1=q/v1
v2=8.6 //ft/s
y2=28 //ft
hl= (y1+ v1^2 /(2*g)) - (y2+ v2^2 /(2*g))
hpp=hl*q*gam/550
//results
printf("Downstream depth = %.1f ft",y2)
printf("\n Horsepower dissi... |
2980fe79d171d2ad4008308dec3ae0d6a8206dbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH25/EX25.3/Example25_3.sce | c74eaadf1a96450df442429a596759507959764f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 670 | sce | Example25_3.sce | clear ;
clc;
// Example 25.3
printf('Example 25.3\n\n');
//page no. 771
// Solution
// Given
// The main reaction is 4*NH3(g) + 5*O2(g) --> 4*NO(g) + 6*H2O (A)
H_fNH3 = -46.191 ;// Standard heat of formation of NH3 -[kJ/ g mol]
H_fO2 = 0 ;//Standard heat of formation of O2 -[kJ/ g mol]
H... |
9cd69d7400c68f3dc4e69e8792799526adc2d9f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH10/EX10.1/EX10_1.sce | 2e3655c4a3e4bfaf7014507bef042a9ecabb41da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | EX10_1.sce | // Example 10.1
// Calculation of the non linear coeffifient.
// Page no 429
clc;
clear;
close;
//Given data
n2=2.5*10^-20; // Kerr coefficient
lambda=1550*10^-9; // Wavelength
A=80*10^-12; // Effective area
// Non linear coeffifient
g=(n2*... |
9d199c1572aa106075f9c032d83c3eba68c99d72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1598/CH2/EX2.4/ex2_4.sce | 8c5cc4a8de2b47987e6bfeccc17c2df2ea1f9dd5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 700 | sce | ex2_4.sce | clc;
disp("Example2.4");
v=3500; //volume in metre cube.
n1=370-300; //no. of audience on wooden seats.
n2=300-70; //no. of empty wooden seats.
a1s1=0.04*60; //absorption due to wooden doors.
a2s2=0.03*700; //absorption due to plastered walls.
a3s3=0.06... |
727d908c54903681f6ec8bbf59d4c84e8462bb42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH8/EX8.8/Ex8_8.sce | 926bc10a1c62dd957aca46cfa4f8d06dfac5a6a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_8.sce | clear
//
//
//
//Variable declaration
a=4.28*10^-10; //side(m)
e=1.6*10^-19; //charge of electron
//Calculation
n=2/(a^3);
RH=-1/(n*e); //hall coefficient(m^3/C)
//Result
printf("\n hall coefficient is %0.3f *10^-9 m^3/C",RH*10^9)
|
4dad7f16ba3e7913444efb94a20511372f74522a | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/not_lvalue_05.tst | 04f7fcc20c2fe2b7173724e5f6ad9fa9a55cb04f | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | tst | not_lvalue_05.tst | // @Harness: verifier
// @Purpose: "Test for syntactic Lvalue correctness"
// @Result: "NotAnLvalue @ 7:8"
architecture not_lalue_01 {
operand-type A[5]: int [0,31];
subroutine foo(a: A): void {
read(a) = 0;
}
}
|
e91634a1b5d9e31e4a83b4fc2208ade4f3ab7903 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH11/EX11.3/Ex11_3.sce | 74e8123f8b320a5babba94aec6487bd65c5ec318 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | Ex11_3.sce |
//Example NO.11.3
//Page No.336
clc;clear;
E0 = (8.854*10^-12);
Er = (6);//Dielectric constant.
E = 100;//Electric field intensity -[V/m].
P = (E0*(Er-1)*E);//Polarization.
printf("\nPolarization produced in a dielectric medium is %3.3e C/m^2",P);
|
5edbb74236a36ec985aef6fd5ae18ec161b08afc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH17/EX17.8/Ex17_8.sce | 993d1c72fd11c298ca23ebb7bb09a132bd1007f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,548 | sce | Ex17_8.sce | // Example 17_8
clc;funcprot(0);
//Given data
T_s=38;// The temperature of the steam entering the condenser in °C
T_a=34;// The temperature of the air entering the air pump in °C
T_c=36;// The temperature of the air of the condensate in °C
m_a=3;// kg/hr
m_c=8000;//The condensate removed in kg/hr
R=287;// J/kg... |
6ce00ea3b23a36ca29f717da57a3925976b98252 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/m2sci/warning.sci | 2a412a9027e1406e1069d0c3a8343ba7d0176f24 | [
"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 | 85 | sci | warning.sci | function []=warning(txt)
//
//!
// Copyright INRIA
write(logfile,'WARNING:' +txt)
|
41a03aa7f7a303cd7e88c9223725215d9a1f7cba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH8/EX8.6/Example_8_6.sce | 5afde5050008624dbe5e71b809aedfd22242d146 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 636 | sce | Example_8_6.sce | //Example 8.6
clear;
clc;
//Given
T=298;//temperature in K
R=8.314;//gas constant in J K^-1 mol^-1
p=101325;//pressure in N m^-2
MoNH3=-16.6;//standard chemical potential of amonia at 298 K in kJ mol^-1
MoN2=0;//standard chemical potential of nitrogen at 298 K in kJ mol^-1
MoH2=0;//standard chemical potentia... |
63a68e5454720917be422cf5ed2e3555bbb09cc2 | 52cbfb547384bc9612dc59f5280971ed5a701a9d | /Discrete Exponential Signal.sce | 0eacbae50a98f8b2bfa7a4f387868d65fd9d9f68 | [] | no_license | allenbenny419/Scilab-Codes | efa5402bea6d03088f77dafcf9ed87bd1f93e915 | 48109cd70c8a66a56e87f88152e866565dd52362 | refs/heads/main | 2023-06-23T21:10:24.227426 | 2021-07-21T11:09:15 | 2021-07-21T11:09:15 | 388,086,261 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 108 | sce | Discrete Exponential Signal.sce | clear;
clc;
x=0:1:6
plot2d3(x,exp(x));
xlabel('t')
ylabel('y')
xtitle('Discrete Exponential Signal')
|
4a15e91d1414d5432eb6cdddc0920b1f1ead7c97 | 4e9df66700bcf9688afe22df0009cdf4a17bc61f | /Scilab_Lab/scimage/ch03/LBG.sci | 69e99f48aee8b66fd524a607bf57050ec41c1a26 | [] | no_license | vmebus/workspace | e18947a1f967e6a3a7dfbc5cce6f92380d8637fc | f251b8a8e6cec30a77c7ef7b4103c5ee6e6d1393 | refs/heads/master | 2021-01-09T21:53:45.183564 | 2015-10-03T06:42:23 | 2015-10-03T06:42:23 | 36,120,248 | 0 | 0 | null | null | null | null | BIG5 | Scilab | false | false | 2,311 | sci | LBG.sci | //函式LBG.m: LBG訓練法//
function [I_codebook,O_distortion]=LBG(t_image,nc,nd,th)
//I_codebook:最後所得之碼簿//
//O_distortion:向量到最後所得碼簿之間的平均誤差//
//t_image:訓練資料//
//Rearrangement of the training image//
[row,col]=size(t_image);
nt=row*col/nd;
R_image=[];
sqrt_nd=sqrt(nd);
x_count=fix(col/sqrt_nd);
y_count=fix(row/sqrt_nd);
for i=1... |
925645ee2c175b5d19d6aaf883d8438f3fb3d1d5 | 04e4dfecf86c47abbad9ad721bcbc552300a8834 | /mpc/mpc_init_local.sce | 189862b62bb73b0bec362ac143bb2d1b0ca1600a | [] | no_license | rupakrokade/scilab_local_codes | 702f741a5cadc6da56e428f7379971818238ff22 | 4de8383487def7f18a1f19906397ed4eaf42480e | refs/heads/master | 2021-01-19T06:58:47.689324 | 2015-10-24T11:55:34 | 2015-10-24T11:55:34 | 26,806,574 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | mpc_init_local.sce | // For scilab 5.1.1 or lower version users,
//use scicos command to open scicos diagrams instead of xcos
global err_count y p q xk_old Tsp heats fan temp heat
p = 40; //prediction horizon
q = 4; // control horizon
xk_old = zeros(8,1);
Tsp=1;
heats=1;
fan=1;
temp=1;
exec ("mpc_local.sci");
exec("mpc_run.sci");
|
d4245109c26ebe1155959c2ffd84a1b548bfe52b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH5/EX5.4/exp_5_4.sce | cf76dda7b55b901112b168ef90886c9965949969 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exp_5_4.sce | clear;
clc;
E=1;
Ig=.8;
pf=.8;
Xd=1.1;
Xq=.8;
p=E+complex(0,Xq)*Ig*complex(.8,-.6);
angle=atand(imag(p)/real(p));
dell=acosd(pf);
Iq=Xq*cosd(dell+angle);
Id=Xq*sind(dell+angle);
function [A] = p2z(R,Theta)
if argn(2) <> 2 then
error("incorrect number of arguments.");
end
if ~and(size(R) == size(T... |
0b5f5ffbe6a303068fd1e6598b6eb41fc791831a | efd8a524f4cb26e7523ef0e7211ba3ea3b60177d | /tests/test-bash-quote.tst | 7aa052eec478dbdb85811199824884b0862407d9 | [
"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 | 177 | tst | test-bash-quote.tst | FLAGS='-bi -p PA_'
STDIN=$'aaa,bbb,ccc\n\'aa\'xx\',"bb""yy",cc`zz\\ww\n'
STDOUT=$'PA_aaa=$\'\\\'aa\\\'xx\\\'\'; PA_bbb=\'bb"yy\'; PA_ccc=\'cc`zz\\ww\';\n'
STDERR=''
EXITVAL='0'
|
dc2bb66347f538afe3eea7db062d14bea603e40d | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.23/ex2_23.sce | 75b3a80f04e6a28d0fdd23f27a7e819079cd0b39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | ex2_23.sce | I1=2.12+%i*3.67 //Defining current equations in rectangular form
I2=-3.07+%i*1.77
I3=-1.84+%i*1.06;
I4=-(I1+I2+I3);
[Ro,Theta]=polar(I4);
function y=f(t), y=Ro*sqrt(2)*sin(t+Theta), endfunction
disp("Amperes",Ro*sqrt(2),"Maximum current value") |
909730919788c399f0b8161ec8faf30115d2a5d5 | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 9/Lista Baron/jacobi.sci | d005c52bd754c5d336b597dca0e7b0b5864fe998 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sci | jacobi.sci | function xout=jacobi(A,b)
[l,c]=size(A);
D=diag(diag(A));
L=-1*(D-tril(A));
U=-1*(D-triu(A));
invD=diag(diag(1/D));
x=zeros(l,1);
oldx=x;
M=D
N=-(L+U)
MN=-inv(D)*(L+U)
for i=1:1000
if (max(abs(x-oldx))<0.001) then
xout=x;
else
oldx=x;
x=inv(D)*b-inv(D)... |
a123308a1016386eb2bdb74d59485b8742ea9684 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH6/EX6.26/SolEx6_26.sce | 96781bc809b6623c55125fdf51e92be7861c0438 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | sce | SolEx6_26.sce | //Determine (a) the overall voltage-gain ratio Av = vL=vs, and (b) the overall current-gain ratio Ai = iL=is.
//Example 6.26 page no 193
clear
clc
hfe=100
Rl=3*10^3 //kΩ
Rc=3*10^3 //kΩ
hie=1*10^3
Av2=-((hfe*Rl*Rc)/(hie*(Rl+Rc)))
printf("\n The value of Av2=%0.3f " ,Av2)
Rc1=10*10^3 ... |
fde5a1aa77f321e601cdb3d379aa290a9eb6f7f3 | 01697f0dc71290a6b6e233849a73d19a883845f1 | /sem01/lab02/q01.sce | 42fdc773422a1e7c8ee7764cfcf1ca420a3bcc11 | [] | no_license | aaruni96/Math-Lab | 5d83a13547308bd9d1b7daa28be29a49e1020fbd | 488469c9aba9251f5725e0851fb19e2aef38d234 | refs/heads/master | 2021-01-12T06:29:53.790743 | 2018-04-27T09:21:40 | 2018-04-27T09:21:40 | 77,370,232 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 93 | sce | q01.sce | //find smaller of 2 numbers
clc;
clear;
x=2;
y=5; //dummy values
if x<y then
x
else
y
end
|
0acd3be783c6b25ab79c22ff1b5a75ab8fbc9757 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH6/EX6.5/Ex6_5.sce | 8be42293b561f22590780d7303e3c41eea0666de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sce | Ex6_5.sce | //Calculate the slope of the S-L (solid -liquid )Curve
//Example 6.5
clc;
clear;
Tf=273.15; //Phase transition temperature (two phase can coexist in equilibrium)in K
delfusHbar=6.01*1000*9.87*10^-3; //Change in Enthalpy in L atm mol^-1 (1 J=9.87*10^-3 L atm)
Vbarl=0.0180; //Molar volume of liquid w... |
28fae3a57fbbf61f435f1feebf42d4cbf0533329 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Quake LG 1v1 Rockets.sce | 0981f14349fe70a7d25d66f9ac51256534a1922d | [] | 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 | 51,494 | sce | Quake LG 1v1 Rockets.sce | Name=Quake LG 1v1 Rockets
PlayerCharacters=Quaker
BotCharacters=Quaker Bot.bot
IsChallenge=true
Timelimit=90.0
PlayerProfile=Quaker
AddedBots=Quaker Bot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=Classic.map
MapScale=3.8
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=true
Invin... |
84660266640dda663660c5bee903f45cad31721f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH4/EX4.6/4_6.sce | 5b1164559d511d364412c2ca91a6a7adc296f123 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | 4_6.sce | clc
//Initialization of variables
g=9.81 //m/s^2
rho=10^3 //kg/m^3
Vr=10 //m/s
u=8.5 //m/s
A=250/10^4 //m^2
//calculations
V=Vr-u
Q=A*Vr
R=rho*Q*V
P=R*u
eth=1/(1+ V/(2*u))
//results
printf("Power required = %.3f kW",P/1000)
printf("\n Efficiency of jet propulsion = %.2f percent",eth*100)
|
e3e97a7713877d3b296af7c6512408966a581a1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH2/EX2.26/Ex2_26.sce | 39ca7c4fde442671f5fbf8cdfc394a03691355ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | Ex2_26.sce | //Example 2-26,Page No - 82
clear
clc
Vpeak =3
f=48*10^3
fifth_harmonic = 5*f
Vrms=(4/3.14)*(3/5)*0.707
printf('The frequency of the fifth harmonic is %.1f Khz',fifth_harmonic/10^3)
printf('\n The RMS voltage of the fifth harmonic is %.2f',Vrms)
|
798c06d027ea3efd414f8ffdb469532c1e7623ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH10/EX10.21/10Ex21.sce | edbf2552e09fa877e6db4dad832334565910a837 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | 10Ex21.sce | //chapter 10 Ex 21
clc;
clear;
close;
red=10/100;
original=100;
newSal=original*(1-red);
increase=((original-newSal)/newSal)*100;
mprintf("The percentage reduction is %.2f percent",increase);
|
4d7b907003030e96c4f06793330b85c5a44b3342 | c6dbd1f6eb0fb1c96a3a4d485f8c049e34653a0a | /Genetic Algorithm.sce | 06dee360b32ec7d7ec4eba645a5b6e5c76f9f9fa | [] | no_license | Maycon708/Genetic-Algorithm-for-PID-Tunning | c1f2888851793f867a96000cc5f890a1b9f8cdb7 | 23be7b25717191677a1fe83cc5ba2667c9a9605f | refs/heads/master | 2020-05-15T13:16:58.646285 | 2019-05-21T13:40:51 | 2019-05-21T13:40:51 | 182,294,041 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,752 | sce | Genetic Algorithm.sce | numBits = 10; // numero de bits para cada parametro
minBound = 0; // menor valor que um parametro pode assumir
maxBound = 20; // maior valor que um parametro pode assumir
popSize = 30; // tamanho da população
nGenerations = 100; // numero de gerações
nSamples = 100; //... |
562eb7dc41c1faa432eedda0091a51366ebbe1da | 4a9f190afee555b0b80b83855ab62d9c529f5b34 | /Assignment5/code.sce | 1a6362e03592f03847953124533b83ae8e643459 | [] | no_license | imajou/IU-S20-DSP-Assignments | 5ab41f331f996d9764be41a56fb2eee9e7cd5267 | e518c52a1ef988a6871cb078b25e64e75ed0fc95 | refs/heads/master | 2022-10-22T09:24:33.601398 | 2020-06-12T21:24:23 | 2020-06-12T21:24:23 | 271,892,319 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,891 | sce | code.sce | // generate sin signal
function result = sin_signal(Fs, time, freqency, amplitude)
samples = time * Fs
step_size = (2 * %pi * freqency) / samples
x = [0:samples-1] * step_size
result = amplitude * sin(x)
endfunction
// generate cos signal
function result = cos_signal(Fs, time, freqency, amplitude)
... |
b7ff89e52cf5bcce15158df20e8a441d7e8d7f47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH15/EX15.13/Ex15_13.sce | 5fba06f20a5d77d333276b9efbc2312564d7a187 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 794 | sce | Ex15_13.sce | // Example 15_13
clc;funcprot(0);
// Given data
T=25+273.15;// K
n_C=1;// The stoichiometric coefficient of the reaction
n_H2=2;// The stoichiometric coefficient of the reaction
n_CH4=1;// The stoichiometric coefficient of the reaction
sbar0_CH4=186.256;// kJ/kgmole.K
sbar0_C=5.740;// kJ/kgmole.K
sbar0_H2=130.... |
2393419416663b51af273279ff6a0e230df27168 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH2/EX2.17/2_17.sce | 179b056335cd255ef4c54e6215525ac3a4229555 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,871 | sce | 2_17.sce | clear;
clc;
funcprot(0);
// Example - 2.17
// Page number - 70
printf("Example - 2.17 and Page number - 70\n\n");
//Given
T = 310.93;//[K] - Temperature
P = 2.76*10^(6);//[N/m^(2)] - Pressure
R = 8.314;//[J/mol*K] - Universal gas constant
y1 = 0.8942;// Mole fraction of component 1 (methane)
y2 = 1-y1;//... |
c84b1d4ea2559445d6fc086ccc8b66338e863ef7 | 3497c2d86f407202ec8c351b9e0bc4e68c8bc4e1 | /Algorithms/SGS.sci | a1ce49550a6060a8aafe0eafd0c9438b392a6dc4 | [] | no_license | sparshgupta3/Adam-Optimization-Project | dedc323207d5ca9d403890e7ced90858a15eeb6d | 5b8b3cbb0e331889d2595e04d4ac81ddefe706ab | refs/heads/master | 2020-09-22T10:07:12.106455 | 2019-12-01T11:32:01 | 2019-12-01T11:32:01 | 225,150,301 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sci | SGS.sci | function f=funcx(x)
f=100*((x(2) - x(1).^2).^2) + (x(1) - 1).^2;
endfunction
function g=grad(x)
g=[-400*x(1)*(x(2) - x(1).^2) + 2*(x(1) - 1);200 * (x(2) - x(1).^2)];
endfunction
x = [4;4];
alpha= 0.0001;
ep = 0.00000001;
d=1;
t=0;
while(d > ep)
g = grad(x)
xnew = x - alpha* grad(x);
t... |
95933257b18c809806aa1bdcda8aae5e73379325 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH3/EX3.4/ex3_4.sce | bfee4143729a36110e7867277b489aac33c34dda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex3_4.sce | // Exa 3.4
clc;
clear;
close;
// Given data
R = 0.29;// in kJ/kg-K
R = R * 10^3;// in J/kg-K
C_p = 1.005;// in kJ/kg-K
T = 185;// in degree C
T = T + 273;// in K
T2 = 70+273;// in K
V1 = 0.23;// in m^3
P = 500;// in kN/m^2
P = P * 10^3;// in N/m^2
m = (P*V1)/(R*T);// in kg
Q = m*C_p*(T2-T);// in kJ
disp... |
072d393b43bb36361454aa83f9dcd37975970b5c | bacfa2c3465b51443f9deef6b7990a723462ed6e | /Técnicas computacionais/Exercícios/5/5.sce | dde156d79798070c57929ff4dddda5bc33684b8a | [] | no_license | LuizFelipeNeves/Faculdade | eeeaeaba9413b1ef6fca26c07da7a950da116cd7 | 79b85bcca36a563a572ee9c872b50c5df1c10424 | refs/heads/master | 2022-09-08T05:47:08.502237 | 2022-09-01T01:10:19 | 2022-09-01T01:10:19 | 140,659,561 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | 5.sce | clear(); // Limpas as variaveis do Espaço
clc(); // Limpa o console
// Recebendo os dados
x1 = input("Digite o valor da x1:"); //= 2
y1 = input("Digite o valor de y1:"); //= 3
z1 = input("Digite o valor de z1:"); //= 4
x2 = input("Digite o valor de x2:"); //= 5
y2 = input("Digite o valor de y2:"); //= 6
z2 = input("D... |
c28d8e34a03c41e8d0cf079f24449efec4a680b6 | 717ddeb7e700373742c617a95e25a2376565112c | /503/CH5/EX5.4/ch5_4.sci | cc120a890b4c5ea8477e6146015372b47c6e941b | [] | 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 | 380 | sci | ch5_4.sci | // to calculate flux/pole
clc;
S=42;
p=2;
ph=3;
m=S/(p*ph); //slots/pole/phase
g=180*p/S; //slots angle
K_b=sind(m*g/2)/(m*sind(g/2)); //breadth factor
cp=17;
pp=S/p;
theta_sp=(pp-cp)*g; //short pitch angle
K_p=cosd(theta_sp/2);
N_ph=S*2/(ph*p*2); //2 parallel paths
E_p=2300/sqrt(3);
... |
a981a5e77cbf986e3fd8cf6e35cf83dede111d1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.31/EX3_31.sce | 84e8ff63c98f7de710cac367420612a818d7d606 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | EX3_31.sce | //EXAMPLE -3.31 PG NO -193
Zr=3333.33;
Vry=200;
X=16666.66;
Y=346.40; //Y=(300-j173.2)
I=Y/X;
R.V=I*Zr;
disp('i) I = '+string (I)+'<-29.99 A');
disp('ii) READING OF VOLTMETER = '+string (R.V)+' <-30 degree V');
|
689f21b72d028cd28b6fc206b3255ccbce72a5e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH29/EX29.2/G_2.sce | 7abb28878ce2d53d6ee1e4f7b023957638754852 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 933 | sce | G_2.sce | // sum 29-2
clc;
clear;
//Let reverse speed gear be RSG
RSG=5.5;
//Let T5/T6 = Z1
T1=2;
//Let T3/T7 = Z2
Z2=2.75;
T7=18;
T3=Z2*T7;
T3=50;
//Let T3/T1 =Z3
Z3=2.5;
T1=T3/Z3;
//Let T4/T2 = Z4
Z4=2.25/2;
T2=(T1+T3)/(Z4+1);
T4=T1+T3-T2;
//Let T5/T6=Z5
Z5=2;
T6=(T1+T3)/3;
T5=(T1+T3)-T6;
T7=18;
//let f... |
22e37023740843cfbde9b61ca8b589a6a317c42b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH1/EX1.34/34.sce | 7897ffac0df73428129504c7f3ad5048ac08132f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sce | 34.sce | clc
clear
//Input data
M=2 //Mach number
h=20 //Altitude in km
Tc=-56 //Ambient temperature in degree Centigrade
Ta=-56+273 //Ambient temperature in K
k=1.4 //Adiabatic constant
R=287 //Specific gas constant in J/kg-k
Cp=1005 //Specific heat capacity at constant pressure in J/kg-K
//Calculation
a=sqrt(k*... |
7e93af9db20cb327b48f86703e2031fb7d3bf4a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3417/CH10/EX10.2.8.5/Ex10_2_8_5.sce | 25615372842177bc5c9e207fa37b10174d4ca257 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,473 | sce | Ex10_2_8_5.sce | //Ex10.2.8.5;heat transfer rate would be involved under these circumstances
del_G_at25degree_celcius=-195500;//unit=cal/gm mole
del_H_at25degree_celcius=-212800;//unit=cal/gm mole
F=(96500/4.184);//since F=96500 coulombs/gm-mole
n=8
E_at25degree_celcius=-del_G_at25degree_celcius/(n*F);//Joules/coulomb
printf(" ... |
2b88ab50cea1d3a9843673c79e91a1adec3d2b7f | 20253970b7dd99e615215029609de822e2bf855d | /judge/tests/52063/15.tst | d3beca35487b6951c5523485c3ee6527e1567285 | [] | no_license | B-Rich/CATS | d26d6c85cfc1dbdc78fa16f691adbfccc615df03 | d299e328f9e7498ecd9f58f64069fcd57536db00 | refs/heads/master | 2021-01-01T06:10:11.322262 | 2011-06-21T15:06:06 | 2011-06-21T15:06:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 23 | tst | 15.tst | 9 10
2
6 7 2
3 3 2
|
4bbe94cbe4e0c422f60ab275ca5b6d1381abee80 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/m2sci/sci_qz.sci | e0250c86b28c30fd9a14271fc287bd44f524b4d8 | [
"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 | 466 | sci | sci_qz.sci | function [stk,txt,top]=sci_qz()
// Copyright INRIA
txt=[]
if lhs==1 then
stk=list('gschur('+stk(top-1)(1)+','+stk(top)(1)+')','0','?','?','1')
else
stk=list()
s=list('gschur('+stk(top-1)(1)+','+stk(top)(1)+')','-1','?','?','1')
if lhs==5 then
[AA, BB, Q, Z, V]=lhsvarsnames()
txt=[txt;lhsargs([AA, BB, Q... |
62f6b6c9508819bd90af5a3d217bf9b3218a8679 | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/wisselgeld-2/run-me-first.sce | fb6f4d7b492a516ad4c664aed54600d38372758e | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,533 | sce | run-me-first.sce | funcprot(0)
test_cases = list()
test_cases($+1) = struct('input', struct('munten', [], 'doel', 0), 'output', struct('mogelijk', %t))
test_cases($+1) = struct('input', struct('munten', [], 'doel', 1), 'output', struct('mogelijk', %f))
test_cases($+1) = struct('input', struct('munten', [1], 'doel', 1), 'output', struct('... |
892ba2eff0b76888ee098207888e783ae1337a50 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/falltime/falltime20.sce | c3119bad245b1e8d32cf15dc2df0ae05fd3fb65d | [] | 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 | 354 | sce | falltime20.sce | x=[2.30256624769934;
2.29071803023829;
2.26283604900314;
2.35145015316178;
2.27686291358213;
2.29805616201205;
2.32805830340568;
2.30878734371402;
2.29343801980763;
2.23019030245799*%i];
fs=4e6;
t=(1/fs);
[F,LT,UT,LL]=falltime(x);
disp(F);
disp(LT);
disp(UT);
disp(LL);
////output
//!--error 202
//min: Wrong type for a... |
f97d3c0a3fa5077e38dc07b3e14dca3554bf0652 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Happy Halloween.sce | 14e62fc602f88567f3641f610b6ebdc4f48b1cf5 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 50,955 | sce | Happy Halloween.sce | Name=Happy Halloween
PlayerCharacters=HH Player
BotCharacters=HH Target L.bot;HH Target R.bot;HH Target B.bot
IsChallenge=true
Timelimit=30.0
PlayerProfile=HH Player
AddedBots=HH Target L.bot;HH Target R.bot;HH Target B.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=happy_hallowee... |
b8790ceb611f6664ae9eaf8bd4e8a9c9ac0114d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH3/EX3.4/Ch03Ex4.sce | 846e4555c9a18097a2a9966bf39cdba667828c00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | sce | Ch03Ex4.sce | // Scilab Code Ex3.4 : Page-3.7 (2010)
clc;clear;
a = 0.27e-9; // Lattice constant for BCC, metre
c = 0.494e-9; // Height of the unit cell, metre
M = 65.37; // Atomic weight of zn, kg
N = 6.02e+26; // Avogadro number per k mol
m = 6*M/N; // Mass per unit cell in HCP structure, kg
V = 3*sqrt(3)*a^2*c/2; ... |
3feb447eb5fdccdf87f522b1915088b2e20960f9 | 6c7a728e11a427c93b15669517131a79a0703108 | /api/pdb_root/install/scripts/start_daemon.tst | e43b2ac9ed827ea57362b9e778bed0628e819a28 | [] | no_license | ZVlad1980/adm_scripts | 0b9fe4ff166213dc649d555c81e8d65b858074e4 | 9978a098c8140f5722b51e799969b76e2d68b42e | refs/heads/master | 2020-03-31T08:45:49.405822 | 2019-04-30T05:04:03 | 2019-04-30T05:04:03 | 152,071,490 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | tst | start_daemon.tst | PL/SQL Developer Test script 3.0
9
-- Created on 27.04.2018 by V.ZHURAVOV
declare
-- Local variables here
i integer;
begin
--dbms_session.reset_package; return;
-- Test statements here
pdb_daemon_api.start_daemon;
end;
0
0
|
174d5362a9b373863fcdb874602b4bcb9a4d4701 | efa427de3490f3bb884d8ac0a7d78829ec7990f9 | /square.sce | d1435a2007af1a40109969bb12f05e655a52c0b6 | [] | no_license | letyrobueno/Scilab | a47648473aa681556561d5cea20659d143e4f492 | 2f23623dccea89a3ab2db12ec1f615186f785aa4 | refs/heads/master | 2020-09-01T19:00:30.804237 | 2019-11-01T17:45:22 | 2019-11-01T17:45:22 | 219,031,973 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 199 | sce | square.sce | x = input("Give the square side length: ")
area = x^2
perimeter = 4*x
diagonal = sqrt(2)*x
printf("The area is %2.2f\n The perimeter is %2.2f\n The diagonal is %2.2f",area,perimeter,diagonal)
|
42efd330a0c4308dd44126edaa2c2398653ae64d | 872b5ff8852c926ca1261037de07449db7ac51db | /area-01/metodo_ponto_fixo.sce | 4b6526bd57bc06f878e534e13de1862858e27fb1 | [] | no_license | BerdaSantos/numeric-calculus | 20e4c50d9f66f8582e89533a5101f597df6665ec | 0698409e7fa4158d6f7dd7e4d60f8a38538b3335 | refs/heads/master | 2020-05-14T18:07:02.017600 | 2018-11-23T01:50:38 | 2018-11-23T01:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | metodo_ponto_fixo.sce | // funcao
function y=f(x)
y = x^6 - 3*x^5 + 30*x + 1
endfunction
// gráfico
x=-2:0.1:2
plot(x,f(x),'r.-'); xgrid
// numero de pontos fixos e' quantas vezes passa pelo zero
// raizes reais no caso
x = 2 // chute
for n=1:10
x=-1/(x^2 - x -2)
disp ( x )
end
|
1791546b9e44358323d871fa4f4b4208ec072c90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH2/EX2.15/2_15.sce | a3453f692c39730dadb129fa6d038f14217230cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | 2_15.sce | //acids and bases//
//example 2.15//
M1=0.2;//molarity of acetic acid//
M2=0.2;//molarity of sodium acetate//
K=1.8*10^-5;
pH=-log10(K)+log10(M2/M1);//by using Henderson's equation//
printf("The pH value of buffer solution is %f",pH); |
c31eaba1397bb54824424f6d0865f233a82f0675 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH5/EX5.4/Ex5_4.sce | 7192c51ccc8522326f592d1ef8ca7c3cb2bee351 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 616 | sce | Ex5_4.sce | sigma_cc=4//in MPa
sigma_sc=130//in MPa
Asc=6*0.785*12^2//six 12 mm dia bars, in sq mm
D=200//dia of column, in mm
Ag=0.785*D^2//in sq mm
Ac=Ag-Asc//in sq mm
P=sigma_cc*Ac+sigma_sc*Asc//in N
dia=6//dia of links used, in mm
//spacing of links
s1=D//in mm
s2=16*12//in mm
s3=48*dia//in mm
s=min(s1,s2,s3)
mpri... |
e753b0ee74d9ea24c6866f897b378cf32514ca82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH3/EX3.5/example3_5.sce | 4793a9525dde63240d21c25046a72f60aa2e1957 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sce | example3_5.sce | //example3.5
clc
disp("The given values are, R1=2.5 ohm, R2=0.01 ohm")
k=400/6600
disp(k,"K=400/6600=")
disp("While finding eqivalent resistance referred to primary, transfer R2 to primary as R2'',")
r=0.01/((0.0606)^2)
disp(r,"R2''(in ohm)=R2/K^2=")
r=2.5+2.7225
format(7)
disp(r,"Therefore, (R_1e)[in ohm]=R1... |
145b9bf076111ce380815aba46433ffb81ce8c7f | 10009b400a1cb3f79eac088e0da3485079ab5ef5 | /matlab/1/balka.sce | 027d256948c44118854ae0b32bd8dd1b57618ce3 | [] | no_license | Paimon97/7-semestr | 36e14102688103ead95b2d515ce926929893e642 | 99d21228b1c5b0fa08cf35f5aee5eb38eed7084d | refs/heads/master | 2020-07-31T10:57:10.938684 | 2019-12-24T15:22:54 | 2019-12-24T15:22:54 | 210,580,371 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | balka.sce | clear
L = 10;
EI=100;
function u = bendingUnderForces(xf)
u = xf(:,1);
R = -sum(xf(:,2));
M = xf(:,1)'*xf(:,2);
endfunction
bendingUnderForces([..
1, 10;..
2, 20;..
3, 30;..
])
|
c016f79684e1d2eba0b10614af4c42e278172b22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH23/EX23.1/23_1.sce | 6ede43c3639c5973f9ce734fea93646aecfe93b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | 23_1.sce |
clc
//initialisation of variables
h= 28 //ft
g= 32.2 //ft/sec^2
v1= 45.4 //ft/sec
A= 45 //degrees
Q= 1700 //ft^3/sec
w= 6.24 //lb/ft^3
c= 0.65
a= 60 //ft^2
r1= 10 //in
r2= 5 //in
//CALCULATIONS
V= v1-(Q/(w*a*c*tand(A)))
e= h*g*100/(V*v1)
a1= atand(Q*2/(v1*w*a*c*tand(A)))
w= sqrt(2*g*h*144/(r1^2-r2^2))... |
309ca98f70f749e9412d9010e132be79f6d69f4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH5/EX5.7/Example_5_7.sce | 850ae5e217d27af4851b7ede37df6979b61209aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 988 | sce | Example_5_7.sce | clear;
clc;
//Example 5.7
//Caption : Program to Find the Maximum Work obtained in a Steady state Flow
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
function[Q]=ICPH(T0,T,A,B,C,D)
t=T/T0;
Q=(A+((B/2)*T0*(t+1))+((C/3)... |
78eff34da9ee61122cdd79987dffe5b98521850e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/auto/minss.sci | d94882d740606c5d86626b9859303ba3be410a2e | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 539 | sci | minss.sci | function [Slmin]=minss(Sl,tol)
[lhs,rhs]=argn(0)
if Sl(1)<>'lss' then error(91,1),end
select rhs
case 1 then tol=[]
case 2 then tol=tol
else error('1 or 2 inputs: sl [,tol]')
end;
[a,b,c,d,x0,dom]=Sl(2:7)
//
if tol<>[] then
[nc,u1]=contr(a',c',tol)
else
[nc,u1]=contr(a',c')
end
u=u1(:,1:nc)
c=c*u;a=u... |
72ca3684fc21824153687f67b5378678bf37c412 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH4/EX4.1/exp_4_1.sce | dc020b3cc103f75415eb5c5f4b9927b4162b216c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | exp_4_1.sce | clear;
clc;
R=.11;
L=1.5;
c=.01;
l=150;
P=50;
V=complex(72128.8,0);
z=complex(.11,.471);
Y=complex(0,(3.14*10^(-6)));
Zc=complex(389.9,-44.925)
gama=sqrt(Y*z);
Ir=complex(230.94,-173.21);
a=gama*l;
sine=complex(.0148,.179);
cosi=complex(.9838,.0027);
Vs=(V*cosi)+(Zc*sine*Ir);
mprintf("sending end volta... |
684c9a2cf797ed9b2750eb2256925ba0a3d6f035 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH5/EX5.2/Ex5_2.sce | 586b8b3f188fe74469f9642dc97fa7693219d661 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_2.sce | clear
//
//
//
//Variable declaration
T=1500; //temperature(K)
lamda=5500; //wavelength(m)
lamda_m=20000; //wavelength(m)
//Calculations
T_dash=lamda_m*T/lamda; //temperature of sun(K)
//Result
printf("\n temperature is %0.0f K",T_dash)
|
5a00bf9950a06160abd0bb8bed6cf4a737d0a249 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH3/EX3.9/Ex3_9.sce | 06717fe13f81d132d95c12f3628f2d729a217be9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,741 | sce | Ex3_9.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : DC Circuits
// Chapter 3: Methods of Analysis
// Example 3 - 9
clear; clc; close;
//
// Given data
// Diagonal term of R
R11 = 9.00; ... |
55b56ee2ae29d506471f26ad0c24e345f0d94d9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH4/EX4.12/Ex4_12.sce | 22dce4421227ca241187280cefe263575563c4f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sce | Ex4_12.sce | clc;clear;
//Example 4.12
//given dara
mi=50;
T1i=80;//suffix i for iron
Vw=0.5;
T1w=25;//suffix w for water
v=0.001;//specific volume of liquid water at or about room temperature
//from Table A–3
ci=0.45;
cw=4.18;
//calculations
mw=Vw/v;
//Ein - Eout = Esystem
// du = 0 i.e (mcdT)iron + (mcdT)water... |
9d97eb210bb1bb3e9513ea61c8bc8269d5e7e0ec | 4038e640183a33a5edcfa99a2f4dcfe5153a500e | /interpolationLagrange.sce | bb4676f285ec0661e64c198aee68320b65fb5cd9 | [] | no_license | BrenoPeixotobr/scilabcodes | 2da4518cb6449942e39fae5b3319ed99ea226c43 | 213bdae495fc97ff24b7625a2be30449798e5e4d | refs/heads/master | 2020-07-11T12:43:20.753002 | 2019-09-17T14:58:34 | 2019-09-17T14:58:34 | 204,541,979 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | interpolationLagrange.sce | function y0 = lagrange_interp(x, y, x0)
/*x é a entrada obeservada.
y são os pontos medidos.
x0 ponto a ser interpolado
% y0 o valor interpolado
*/
y0 = 0;
n = length(x);
for j = 1 : n
t = 1;
for i = 1 : n
if i~=j
t = t * (x0-x(i))/(x(j)-x(i));
end
end
y0 = y0 + t*y(j);
end
... |
18e6cde2710741064165f10b62ece5af3b778935 | 57e3f1898d0364ee8f61b3eebfb77304d7b59bee | /DFP.sce | 1f40e94b225c76ba7f8c4d70aa7d9f9c8919638b | [] | no_license | Arma-X/Metodos-de-Otimizacao | 74d3cfebc74224ebda1c738273a29232c2317e74 | 599b0d1d50238bc27a612983ce63fb8d02e85219 | refs/heads/main | 2023-08-04T07:27:42.937906 | 2021-09-16T16:42:58 | 2021-09-16T16:42:58 | 407,217,368 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,729 | sce | DFP.sce | // @ metodo Davidon-Fletcher-Powell (DFP) @
global d;
global x;
x = [-5,-5];
global lamb;
lamb = 1 ;
global N ;
N = 2 ;
global p ;
global q ;
function z =f(x)
z = ((x(1)-5)^2 +(x(2)-350)^4) ;
endfunction
function dfdx = derivadaParcial_x(x)
h = 1e-6 ;
h2 = [h, 0] ;
dfdx = (f(x+h2)-f(x))... |
0258f8664ebd676344ea003f2374104606c0f1e0 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/mtlb/mtlb_is.sci | 91d5d0130dcc04f448ec030dc2c77be1e096a01e | [
"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 | 998 | sci | mtlb_is.sci | function str=mtlb_is(sto,sfrom,i,j)
//emulate the matlab syntax sto(i [,j])=sfrom for strings
[lhs,rhs]=argn()
[mto,nto]=size(sto)
// convert sto to a regular matrix
if type(sto)==10 then
if nto<>1 then error('First argument is not a Matlab vector of strings'),end
if mto==1 then
lnto=length(sto)
sto=ascii(... |
0c6160b8c05119c9685c6e26a2828c1e59c16d65 | 8d551e72c6940ca7341e78e63c9e6288225be46e | /algorithmes/Q5_Exemple_Cholesky.sce | b863f28e7b8d9ff4cac6dd1020036fbef047b703 | [] | no_license | aurelienpepin/Ensi_MethodesNumeriques | 8c3199d810285f610d060360ccbd23edee5abfcf | c80f9ad3da32aa0e65f62d5d1a327da40f01b5e8 | refs/heads/master | 2021-03-27T09:08:50.259386 | 2017-05-20T08:23:02 | 2017-05-20T08:23:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,560 | sce | Q5_Exemple_Cholesky.sce | // :::::::::::::::::::::::::::::::::::::::::
// :: ::
// :: Question 5. Cholesky, exemple ::
// :: ::
// :::::::::::::::::::::::::::::::::::::::::
funcprot(0);
exec("Q3_Factorisation_Cholesky.sce");
exec("Q4_Descente_Cholesky.sce");
exec("Q5_... |
f79f278161553d04433e0ad652dc622cbe8dc444 | 4476b6191b3546790b04ec8f975366bad6adce1d | /GRAM_SCHMIDT_ORTHOGONALIZATION.sce | c318f024e19dafcc6f90e1a7b399ad75ae10c097 | [] | no_license | shaazin19/linear_algebra_assignment4 | 1090bf931e0809874995b64cbb1a3c08b2717a7d | 6cb89739bf8876b988956f1801c7ef33a7da949f | refs/heads/master | 2023-07-12T20:20:40.495896 | 2021-08-21T08:22:25 | 2021-08-21T08:22:25 | 253,995,661 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 646 | sce | GRAM_SCHMIDT_ORTHOGONALIZATION.sce | clear;close;clc;
disp('Please enter the matrix A');
//Taking input of Matrix A
a11=input("Enter a11: ");
a12=input("Enter a12: ");
a13=input("Enter a13: ");
a21=input("Enter a21: ");
a22=input("Enter a22: ");
a23=input("Enter a23: ");
a31=input("Enter a31: ");
a32=input("Enter a32: ");
a33=input("Enter a33: ... |
f6277e18017bb7938583d9eb8a463e4260a75c9a | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/reloading36.sce | 6ccbd9e6e74d5961b3b201d14374e9a584a31aba | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,063 | sce | reloading36.sce | clc
clear
x=8
z=25
pop=20
iter=200000
a=zeros(pop,z)
rag=zeros(iter)
rag=zeros(iter)
cap=[288 95 115 133 107 22 34 28 186 190 33 56 100 90 82 143 68 166 44 73 72 60 68 8 20
]
tim=[0 12 6.2 5.6 27 17 20 29 44 18 16 23 24 34 11 9 11 11 13 17 14 30 25 28 27;
12 0 5.2 9.9 39 29 32 40 52 29 27 34 36 46 23 20 23 15 18 24 21 ... |
fcc9de5394c1b2bb2e36f96f106e05b29c32c359 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH3/EX3.2/2.sce | 80b44eaf38a7dc502bbad1b235d573d9f64a9b0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2.sce |
//Variable declaration
F_500=1*10**-10
T1=500+273
T2=1000+273
//Calculations
lnx=log(F_500)*T1/T2;
x=exp(lnx)
printf('Fraction of vacancies at 1000 degrees C =%0.3f *10**-7\n',(x*10**7))
|
60ee06d35a003b05d75f5d6f893f3f99087db2b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH2/EX2.26.b/ex2_26b.sce | 6776548002bd02cc698e269958420ef6fa861be6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 60 | sce | ex2_26b.sce | syms s;
x=ilaplace((2*s+3)/((s^2+4*s+5)*(s+1)));
disp (x); |
3ee6b50f3eb6fdc4ac06ca07c86e9acc2083b93c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH6/EX6.8/Ex6_8.sce | 337ee732e73d7ddf5f0aa8d63850f4323f597c88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Ex6_8.sce | // Problem no 6.8,Page No.159
clc;clear;
close;
L=6 //m //Length of beam
d=0.15 //m //diameter
y_max=1.035*10**-2 //m //Deflection
E=210*10**9
//Calculations
I=%pi*64**-1*d**4 //M.I of Beam
W=y_max*48*E*(L**3)**-1 //Point Load
theta_A=3*y_max*L**-1
theta_B=-theta_A
//Result
printf("The Heaviest central Point Load... |
df0d787aeca586532d4155517875d728e95156a8 | 57c454f881e3b3a28a3583edfb2fdc31f6ac4fa3 | /projects/06/add/Add.tst | b6487916f47f7ad92f87bd25f485de088a0010ec | [] | no_license | simmonmt/nand2tetris | 4d982f791ea90e1b53287790d209de1b3ddc3424 | b469c4a90cbadbdae9e4c066effdb68a530e3b91 | refs/heads/master | 2020-12-25T15:08:50.146240 | 2016-06-12T18:32:39 | 2016-06-12T18:32:39 | 60,982,292 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | tst | Add.tst | load Add.hack,
output-file Add.out,
compare-to Add.cmp,
output-list RAM[0]%D2.6.2;
repeat 50 {
ticktock;
}
output;
|
3e44dc0e5c3262997c7a9647ae849d72470f4b13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH24/EX24.4/RD_4.sce | 4abf5219f1c5ca0804a1c2b4d44c6ade602bb7cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | RD_4.sce | // sum 24-4
clc;
clear;
sigut=1770;
Pb=0.0018*sigut;
W=4000;
a=2.5/2;
Ws=90*0.5;
Wa=(W+Ws)*a/9.81;
Weff=W+Wa;
d=sqrt(Weff*2/(23*Pb));
d=12;
// printing data in scilab o/p window
printf("d is %0.0f mm ",d);
|
4fae86afdfa935656539d855c9d55362fd247888 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH7/EX7.5/exm7_5.sce | d5b8b41b36463d521a2ce13060e47b6be10ce465 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | exm7_5.sce | //page no 224
//example no 7.5
// INCREMENT A NUMBER.
clc;
disp('LXI B,2050H'); //loads the data 2050H in BC register pair.
disp('B=20H C=50H');
B=20;
C=50;
disp('INX B');
C=C+1;
printf('B= %d C= %d \n',B,C);
disp('The contents of BC register pair will be 2051H');
disp('INR B');
B=B+1;
printf('B= %d \n'... |
50a7b1e020559df864486371a0bff2100b315a75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH10/EX10.12/Ex10_12.sce | cbe7ab638d885ce8e43ae3727b6c4f06bbbc5ae3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 678 | sce | Ex10_12.sce | clc
clear
printf("Example 10.12 | Page number 361 \n\n");
//Find the work and heat interactions during the expansion process
//Given data
m =0.1 //kg
p1 = 10 //bar
p2 = 1 //bar
//Solution
//From saturated steam table
v1 = 0.1944 //m^3/kg
v2 = (p1/p2)^(1/1.3)*v1 //m^3/kg
W = m*(p1*v1-p2*v2)*100/(1.3-1) //kJ... |
3e6ad1052f24c7ddc5d0398d6769138e83a5b832 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PIL_r_nb.sci | a166867f70e50713d55883dd2677bed88974db82 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,116 | sci | PIL_r_nb.sci | // **** Purpose ****
// It generates the full space sites and their surrounding sites which
// helps you generate a Hamiltoian in real space
// **** Variables ****
// [surr_site]: total_nb x 9 x total_sublatt , real
// <= variable generated by PIL_uc_nb
// [r_mesh]: 1x3, integer
// <= how many unntcell along each pr... |
f46159a5c372b0b868f90d1b575b6e2342d6c330 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH1/EX1.11/Chapter1_Example11.sce | 329cb1ff6d480433f6595a4400fdcaa13ac04609 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,133 | sce | Chapter1_Example11.sce | //Chapter-1, Illustration 11, Page 24
//Title: Fuels and Combustion
//=============================================================================
clc
clear
//INPUT DATA
H2=0.5;//Percentage composition of H2 by volume
CO2=0.1;//Percentage composition of CO2 by volume
CO=0.05;//Percentage composition of CO by... |
e8edb80ef3dec426caf1c3d22591efcf4cf8780f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH15/EX15.13/Ex15_13.sce | 10bd065d4cdf0f8d57f1d9cfbedefafb94a08830 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | Ex15_13.sce | // Initilization of variables
W=10 // N // Weight of the ball
// Calculations
// consider the eq'n derived to find the reaction, given as
R=W*(1+((2*%pi^2)/9)) // N
// Results
clc
printf('The value of the reaction is %f N \n',R)
|
176e6c281be9d36318be76e3c9231d40417a3608 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH3/EX3.1/3_1.sce | ec62bb9f4c000e82606cdacc17eea8470b72cbfa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 771 | sce | 3_1.sce | //chapter 3
//example 3.1
//page 70
clear;
clc ;
//given
alphadc=0.98; //common base current gain factor
Icbo=5 ; //collector to base leakage current
Ib=100; ... |
2f2704cbe9e8a68b222d5c2523522bc779d4753b | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH6/EX6.7/example6_7.sce | 0b1ab2fc8b2508d3211dd37aec014690227a3cdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,074 | sce | example6_7.sce | disp('chapter 6 ex6.7')
disp('given')
disp("design a instrument amplifier circuit ")
disp("overall gain=900")
Av=900
disp("i/p signal amplitude=15mV")
Vi=0.015
disp("Supply voltage=15")
Vcc=15
disp("For stage 1")
disp("Äv1=Av2")
Av1=sqrt(Av)
Av2=Av1
disp(Av1,"Av1=Av2=")
disp("I2>>Ibmax")
disp("Ibmax=500... |
6ef993efda27089df02166ae9730833d6c8407fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH4/EX4.2/ex4_2.sce | c7b748db1b671a99de6762602f82d90d5f7360b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | ex4_2.sce | //AC Circuits:example 4.2:(pg4.4)
f=50;
Im=100;
i1=86.6;
t=(1/600);
pi=3.14;
disp("f=50 c/s");
disp("Im=100 A");
// part(a)
disp("i=Im*sin(2*pi*f*t)");
i=Im*sin(2*pi*f*t);
printf("i=%.f A",i);
// part (b)
disp("i=Im*sin(2*pi*f*t1)");
t1=(asind(i1/Im)/(2*pi*f));
printf("t1=%.e second",t1); |
6d45c75e80107cdd7dcf13ac79bf1b3366860d96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH9/EX9.19/19.sci | 4ac2a64b2be041c63565759ae4ae8020f6a1b50e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sci | 19.sci | clc;
clear all;
disp("heat transfer coefficient")
m=1800/3600;// kg/s
d=8/1000;//m
ts=24;// degree C
tsat=45.8;// degree C
rhov=0.0676;// kg/m^3
hf=2393*10^(3);// J/kg
rhol=993.95;// kg/m^3
k=62.53*10^(-2);// W/m.C
mu=728.15*10^(-6);// kg/m.s
n=400;
N=n^0.5;
h=0.725*(rhol*(rhol-rhov)*k^3*g*hfg/(N*mul*(tsa... |
5da5b37bd747537816c14f8cc0796ae6dd83325c | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH5/EX5.5/example5_5.sce | f5403b3ff9db6daefa9c4f25b5eb50b22efe7ba7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | example5_5.sce | //To find the number of pulses counted
//example5-5 in page 131
clc;
//data given
Vr=1.25;//peak voltage of ramp in volts
tr=125e-3;//time period of the ramp=1.25 ms
T=1/(1e+6);// frequency =1 Mhz and time period of the clock pulses is 1/f
for Vi=0.75:(0.9-0.75):0.9,// analog input voltages for which clock pulse... |
104aafa1b8354fd5516d3d7a227b53f2f1e9334f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH5/EX5.9/Ex5_9.sce | 1465579c055ff98d24cc67d310e413b522a13244 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_9.sce | clc
clear
//DATA GIVEN
T1=400+273; //temp. in K
T2=T1;
T3=40+273; //temp. in K
T4=T3;
W=130; //work produced in kJ
ETAth=(T1-T3)/T1; //Engine thermal efficiency
//ETAth=Work done/Heat added
Ha=W/ETAth; //Heat added in kJ
Hr=Ha-W; ... |
d846b8fe349a79183314831f1d838f1fbe0be229 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH5/EX5.1/ex5_1.sce | d2a6891af81bf3a5b116c100f7d5c5195d561a14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sce | ex5_1.sce | //Find voltage at sending end, percentage regulation and transmission efficiency
clear;
clc;
//soltion
//given
P=3300;//kW//power
Vr=33000;//kV//recieving voltage
pf=0.8;//peak factor
R=2;//ohm//resistance
X=3;//ohm//loop reactance
I=P*1000/(Vr*pf);
Vs=sqrt((Vr*pf+I*R)^2+((Vr*sind(acosd(pf)))+I*X)^2);
print... |
7b06283a4d4ea4bc93a1f2efb854617d0efe8570 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH9/EX9.12/example9_12.sce | 0535f7aa5cf541c797fb777a2f39b54a1a7b499d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 163 | sce | example9_12.sce | //Chapter 9
//Example 9_12
//Page 225
clear;clc;
r=1.25/2;
d=200;
e0=8.854*1e-12;
c=2*%pi*e0/log(d/r);
printf("Capacitance of the line = %.4f uF/km \n", c*1e9);
|
1770f814a2baa269048b460e423ae05b89b54ae7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH9/EX9.5a/eg9_5a.sce | e5d3e2ffbe38a763bbd23dad90d07461b5592867 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 487 | sce | eg9_5a.sce | x= [60 62 64 65 66 67 68 70 72 74];
y= [63.6 65.2 66 65.5 66.9 67.1 67.4 68.3 70.1 70];
xbar = mean(x);
ybar= mean(y);
n= 10;
SxY = 0;
for i= 1:n
SxY = SxY + (x(i)*y(i)) - (xbar*ybar);
end
Sxx = 0;
for i=1:n
Sxx= Sxx + (x(i)*x(i)) - (xbar*xbar);
end
SYY = 0;
for i=1:n
SYY = SYY + (y(i)*y(... |
83d3b7d3b1feeaabbfcbff7d72a4790eee11f9c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH8/EX8.1.5/example8_5.sce | 1ea6d5392343dc528607e947049371367def4cb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 832 | sce | example8_5.sce |
//exapple 8.4
clc; funcprot(0);
// Initialization of Variable
t=60*0.3/0.5;//time of 1 revollution
d=34/1000000;
S=6/d;
e=0.415;
J=0.154;
P=34.8*1000;
mu=1.17/1000;
L=2.35/1000;
rho=999;//density of water
rhos=4430;//density of barium carbonate
//calculation
//part1
nu=J*rho/((1-J)*(1-e)*rhos-J*e*rh... |
18a152e5c4b2a09905e408191d232faaefca9a7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3504/CH2/EX2.2/Ex2_2.sce | c40ec64031bc1fdbe9e03a8406144a9e905eade1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,388 | sce | Ex2_2.sce | //To calculate the current through each resistor,the voltage across each resistor and the voltage at each node of the circuit.
clc;
R_1=25
R_2=10
R_3=15
R_4=50
R_5=25
R_6=100
R_7=500
R_8=125
//Given resistances in kilo-ohm.
Req_123=R_1+R_2+R_3 //Equivalent of(R_1,R_... |
ca9dbad2b5384c777b8038b38f9c911bdfbcaec0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH16/EX16.6/ex_16_6.sce | 200b88673f9dbace6b018086bdd1f2421758a19f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | ex_16_6.sce | //Example 16.6 //energy of photoelectrons emitted
clc;
clear;
//given data :
h=6.62D-34;// plank's constant in joules-sec
c=3D8;//speed of ight
lamda=6D-7;// Threshlod wavelength in m
v=6D14;// frequency in Hz
E=h*(v-c/lamda);// energy in joules
E=E/1.6D-19;// to convert in eV
disp(E,"energy of electrons emi... |
62849fa3deb6bb663c096c2fb667646c225b6673 | f73ec22855f1c67e0dd31fff77c4f02c78300cad | /home/pi/Desktop/Test Progs/PACMAN_BOOT.TST | f2d4e32b704ab831049cd23d01698f4d1f8c4984 | [] | no_license | silverfox0786/Arcade-Tester-AR81 | 61c442b29c26e98be345ff3e8bbd74b7a878c741 | ad11a45f4f1071bc03ac60cdd60dfa206412e77b | refs/heads/master | 2020-02-26T15:39:45.970905 | 2019-01-06T13:56:26 | 2019-01-06T13:56:26 | 69,001,576 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | tst | PACMAN_BOOT.TST | !SADDR 5555 15 10000.000.00 52
!SDATA 2F 15 10000.000.00 52
!M2716 6E 1 7 Address line fault 0.00 10000.0011
!M2716 6E 2 15Address line fault 10000.000.00 52
!M2716 6E 3 15 ... |
4434e0bb6a70acebf0abc32c6b8d12cf1433d503 | 1168058644cd46df6b33f34aefae3d0c3218206c | /examples/ediorder.tst | 598be06cd84fd276ecbf4fa1352b93f4b9ae6d17 | [] | no_license | gitpan/Edi2SGML | 25e70092b6457025e9d17103d07e5f47efd5709a | 84e482f7a2510358e26d234279432af213d4934c | refs/heads/master | 2016-08-07T11:08:39.693024 | 1998-12-11T00:15:10 | 2014-10-21T00:46:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,033 | tst | ediorder.tst | UNA:+.? 'UNB+UNOC:2+STUB+BLA+960209:0843+72'UNH+0000090001+ORDERS:D:93A:UN:EAN00
7'BGM+220+B00404'DTM+137:19960209:102'NAD+BY+++STADT- UND UNIVERSITAETSBIBLIOTHE
K:FRANKFURT+BOCKENHEIMER LANDSTR. 134-138+FRANKFURT+++DE'RFF+API:DE114110388'RFF
+IT:STUB'NAD+SU+++B.H.BLACKWELL'CUX+2:GBP:9'LIN+1'PIA+5+0471949086:IB'QTY+21:... |
645fa356475dff18cf4ae34a10b8d2db04216d1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH5/EX5.15/EX5_15.sce | f85fbc7e737b6c801bb9f5b6d3d68fb93b66e24e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | EX5_15.sce | // Exa 5.15
format('v',6)
clc;
clear;
close;
// Given data
k= 0.05;// in mA/V^2
V_T= 1;// in V
V_DD= 6;// in V
R_S= 9.1;//in kΩ
//V_GS= V_DD-I_D*R_S
//I_D= k*(V_DD-I_D*R_S)^2
//I_D^2*R_S^2-I_D*(2*V_DD*R_S+1/k)+V_DD^2
A= R_S^2;// assumed
B=-(2*V_DD*R_S+1/k);// assumed
C= V_DD^2;// assumed
I_D= [A B C];
... |
979d8e954a5240ecdb9109c8019176f7164e96c2 | 8627886261b3eddf8440c0b470cd9ee25c762d97 | /сайлаб/20_lab_rabota.sce | 88597285c25e751cb0c073417d74d2a62fd6d074 | [] | no_license | timurzotov/pvis | ba75cf86fae91b6adc8dd3fe9cd2672eea561cca | d60e8e241d6ce0ad3a9b2a75c8771f92a9b039ba | refs/heads/master | 2020-09-08T07:59:31.719500 | 2019-11-11T21:14:13 | 2019-11-11T21:14:13 | 221,070,925 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,365 | sce | 20_lab_rabota.sce | clc;
f=figure();
set(f,'position',[200,20,400,400]);
set(f,'figure_name','Лабораторная работа №20');
set(f,'BackgroundColor',[0,1,1]);
button1=uicontrol(f,'style','pushbutton','string','Закрыть приложение.','position',[200,10,150,30],'CallBack','a1');
function a1
close(f);
endfunction
a=0;
while (a==0)
Str1=uico... |
54e7fa67807930b499e535d6b16750ab9326a8e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH7/EX2.6.2/U2_C6_2.sce | f64d6fe6ab744298ba14d1bf33574e6d43b1470e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | U2_C6_2.sce | //variable initialization
x=0:.001:(1/3);
y=0:.001:(1/3);
x0=0;
x1=1/3;
y0=0;
y1=1/3;
p=4*integrate('(sin(%pi*x))^2','x',x0,x1)*integrate('(sin(%pi*y))^2','y',y0,y1);
printf("The required probability = %.2f",p);
|
40d6b4e2b5bd01a3cf27c767ed0613ba487e0230 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH11/EX11.3/Ex11_3.sce | 8c9a51a6448afb12279d13d97e420eb799aa1921 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | Ex11_3.sce | //Example 11.3, page 410
clc
h=6.6*10^-34//in J-s
v=1*10^7//per sec
K=1.4*10^-23//in J-K
T=300//in K
n=exp(-((h*v)/(K*T)))
printf("\n The Boltzan factor is %e Tesla",1-n) |
95f88dc998b53b4c8547ebe913bc9e0ffd823a23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3159/CH16/EX16.4/Ex16_4.sce | 37b5d3ead0d96356c3b67832337679049fb5a46d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | Ex16_4.sce | // Calculation of hysteresis loss
clc
v = 0.01 // volume in m^3
x = 1e-4 // axis intercept
y = 1e2 // axis intercept
a = 60000 // Hysteresis loop area
f = 50 // frequency in Hz
printf("\n Example 16.4")
e = x*y*a // Energy loss in one loop
E = e*v // energy loss in core in one cycle
P = E*f // Power loss
pri... |
a50e26aa9a3419bd58b3ef46cd5380779192ee78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH12/EX12.9/Ex12_9.sce | 7dbb272b9149a30670ea8ebaa2e9302fc08c7ee5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | Ex12_9.sce | //Example number 12.9, Page number 266
clc;clear;
close;
//Variable declaration
n2=1.3; //Cladding refractive index
delta=0.140; //fractional index change
//Calculation
n1=n2/(1-delta); //Core refractive index
//Result
printf("refractive index of core is %.2f",n1)
|
ec76968fbc0ce5cfb439cd74000b0a66eff29027 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH6/EX6.11/Ex6_11.sce | 491d26b033f61379f7eda7833e32c4b10f3b5e2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | Ex6_11.sce | clc//
//
//
//Variable declaration
m=9.1*10^-31; //mass of electron(kg)
h=6.626*10^-34; //planck's constant
lamda=1.66*10^-10; //wavelength(m)
//Calculation
v=h/(m*lamda); //velocity(m/s)
KE=(1/2)*m*v^2; //kinetic energy(eV)
//Result
printf("\n velocity is %0.0f km/s",v/10^3)
printf("\... |
59fe95914590f580fa227201bf8d76993a159e6c | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PY1.prev.tst | e8c5843a695bebc4c9fa535f7d7aa519f6aca68c | [
"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 | 132 | tst | PY1.prev.tst | getMatrix(1) = [[1,-2,2],[2,-1,2],[2,-2,3]]
getMatrix(2) = [[1,2,2],[2,1,2],[2,2,3]]
getMatrix(3) = [[-1,2,2],[-2,1,2],[-2,2,3]]
|
4182a18775ad5b6259cabfa68d26a26f9ad0a448 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH11/EX11.14/Example11_14.sce | 39afce846c4d9d3421958487854c030a371ea66b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,083 | sce | Example11_14.sce | ///Chapter No 11 Steam Boilers
////Example 11.14 Page No 245
///Find Theoretical draught in millimeters of water
//Input data
clc;
clear;
H=24; //Chimney height in m
Ta=25+273; //Ambient temperature in degree celsius
Tg=300+273; //Temperature of fuel gases in degree celsius
ma=20; ... |
b50a2b43a20cbca993892d569a08302f632a0637 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH13/EX13.3/Ex13_3.sce | 65974b03c9f81a0785465cf466354a120c2bb7d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex13_3.sce | //Ex13_3
clc
Rf = 1.5*10^6//feeback resistance
Cf = 1*10^-9//capacitance across feedback
f0 = 1/(2*%pi*Rf*Cf)//frequency of oscillation
disp("Rf = "+string(Rf)+"ohm")
disp("Cf = "+string(Cf)+"F")
disp("f0 = 1/(2*pi*Rf*Cf) = "+string(f0)+"Hz")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.